*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    overflow-x: hidden;
}

.font-cormorant {
    font-family: 'Cormorant Garamond', serif;
}

.font-montserrat {
    font-family: 'Montserrat', sans-serif;
}

/* Hero Background */
.hero-bg {
    will-change: transform;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #C9A84C 0%, #D4AF57 50%, #B8943F 100%);
    color: #0D1B2A;
    border: none;
    cursor: pointer;
    transition: all duration-300;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #D4AF57 0%, #E0C068 50%, #C9A84C 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.btn-primary span {
    position: relative;
    z-index: 1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(201, 168, 76, 0.3);
}

.btn-secondary:hover {
    border-color: #C9A84C;
    color: #C9A84C;
}

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

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

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

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

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(13, 27, 42, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(201, 168, 76, 0.1);
}

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

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

/* Hero animations */
.hero-subtitle {
    animation: heroFadeUp 0.8s ease forwards 0.3s;
}

.hero-title {
    animation: heroFadeUp 0.8s ease forwards 0.6s;
}

.hero-desc {
    animation: heroFadeUp 0.8s ease forwards 0.9s;
}

.hero-cta {
    animation: heroFadeUp 0.8s ease forwards 1.2s;
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

::-webkit-scrollbar-track {
    background: #0D1B2A;
}

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

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

/* Focus styles */
input:focus,
textarea:focus,
button:focus {
    outline: none;
}

/* Selection */
::selection {
    background: rgba(201, 168, 76, 0.3);
    color: #0D1B2A;
}

/* Image lazy load placeholder */
img {
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Smooth image hover */
div > img,
a > img {
    transition: transform 0.6s ease;
}

/* Parallax helper */
.hero-bg {
    transform: translateZ(0);
}

/* Mobile menu transitions */
#mobile-menu {
    transition: opacity 0.5s ease, pointer-events 0.5s ease;
}

/* Gold accent line */
.gold-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #C9A84C, transparent);
}
