/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Outfit', system-ui, sans-serif;
    overflow-x: hidden;
}

/* Hero Pattern */
.hero-pattern {
    background-image:
        radial-gradient(circle at 25% 25%, rgba(212, 160, 23, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(212, 160, 23, 0.1) 0%, transparent 50%);
    background-size: 60px 60px, 80px 80px;
}

/* Navigation */
.nav-text {
    transition: color 0.3s ease;
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #d4a017;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: #d4a017;
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

.navbar-scrolled .nav-text {
    color: #1a2744 !important;
}

.navbar-scrolled .nav-link {
    color: #1a2744 !important;
}

/* Mobile Menu */
.mobile-link {
    transition: all 0.3s ease;
}

/* Floating Cards */
.floating-card {
    animation: float 6s ease-in-out infinite;
}

.card-1 {
    animation-delay: 0s;
}

.card-2 {
    animation-delay: 2s;
}

.card-3 {
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

/* Product Cards */
.product-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.product-card:hover {
    transform: translateY(-8px);
}

/* Gallery Items */
.gallery-item {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
}

.gallery-item:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Info Cards */
.info-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateX(8px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

/* Stat Items */
.stat-item {
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: scale(1.05);
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Back to Top */
#backToTop.visible {
    opacity: 1;
    pointer-events: all;
}

/* Geometric Decorations */
.geo-shape {
    position: absolute;
    pointer-events: none;
}

/* Selection */
::selection {
    background: #d4a017;
    color: #0d1529;
}

/* Focus styles */
:focus-visible {
    outline: 2px solid #d4a017;
    outline-offset: 2px;
}

/* Smooth transitions for all interactive elements */
button, a {
    transition: all 0.3s ease;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #faf8f5;
}

::-webkit-scrollbar-thumb {
    background: #d4a017;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #b8860b;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .floating-card {
        display: none;
    }

    .hero-pattern {
        background-size: 40px 40px;
    }
}

/* Print styles */
@media print {
    nav, #backToTop, .floating-card {
        display: none;
    }

    body {
        color: #000;
        background: #fff;
    }
}
