/* Base & Typography */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

::selection {
    background: rgba(201, 168, 76, 0.2);
    color: #1a2d42;
}

/* Gold Button */
.btn-gold {
    background: linear-gradient(135deg, #c9a84c 0%, #b08d3a 100%);
    position: relative;
    overflow: hidden;
}

.btn-gold::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #dfc06a 0%, #c9a84c 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-gold:hover::before {
    opacity: 1;
}

.btn-gold span,
.btn-gold > * {
    position: relative;
    z-index: 1;
}

/* Nav */
.nav-link {
    position: relative;
}

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

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

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(254, 253, 248, 0.92) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(26, 45, 66, 0.06), 0 4px 20px rgba(26, 45, 66, 0.04);
}

.navbar-transparent {
    background: transparent !important;
    box-shadow: none !important;
}

.navbar-transparent .nav-link {
    color: #1a2d42;
}

/* Mobile menu */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

.mobile-link {
    position: relative;
}

/* Scroll animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* Image hover containers */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

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

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

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

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

/* Form focus styles */
input:focus,
textarea:focus,
select:focus {
    outline: none;
}

/* Smooth image loading */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Subtle parallax-like effect for hero */
@media (prefers-reduced-motion: no-preference) {
    .hero-image {
        will-change: transform;
    }
}

/* Print styles */
@media print {
    header, footer, .btn-gold { display: none; }
    body { color: #000; background: #fff; }
}
