/* ===== Custom Properties ===== */
:root {
    --color-bg-dark: #0a1a12;
    --color-bg-card: #132a1c;
    --color-forest: #2d5a3d;
    --color-forest-light: #6fbf73;
    --color-gold: #c9a84c;
    --color-gold-light: #d4b85c;
    --color-cream: #f5f0e8;
    --color-cream-muted: #f5f0e899;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, sans-serif;
}

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

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

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-dark);
    color: var(--color-cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* ===== Typography ===== */
.font-playfair {
    font-family: var(--font-display);
}

.font-inter {
    font-family: var(--font-body);
}

/* ===== Gold Button ===== */
.btn-gold {
    background: linear-gradient(135deg, #c9a84c 0%, #b8943f 100%);
    color: #0a1a12;
    border-radius: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.25);
}

.btn-gold:hover {
    background: linear-gradient(135deg, #d4b85c 0%, #c9a84c 100%);
    box-shadow: 0 6px 30px rgba(201, 168, 76, 0.4);
    transform: translateY(-2px);
}

.btn-gold:active {
    transform: translateY(0);
}

/* ===== Outline Button ===== */
.btn-outline {
    background: transparent;
    color: var(--color-cream);
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    border-color: rgba(201, 168, 76, 0.6);
    background: rgba(201, 168, 76, 0.05);
    transform: translateY(-2px);
}

/* ===== Luxury Card ===== */
.card-luxury {
    background: var(--color-bg-card);
    border: 1px solid rgba(201, 168, 76, 0.12);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.4s ease;
}

.card-luxury:hover {
    border-color: rgba(201, 168, 76, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(201, 168, 76, 0.06);
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-gold);
    transition: width 0.3s ease;
}

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

/* ===== Navbar Scrolled State ===== */
#navbar.scrolled {
    background: rgba(10, 26, 18, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

#navbar.scrolled .nav-link {
    color: var(--color-cream);
}

/* ===== Mobile Menu ===== */
.mobile-menu-link {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(201, 168, 76, 0.06);
}

.mobile-menu-link:last-child {
    border-bottom: none;
}

/* ===== Floating Animation ===== */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

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

.animate-float {
    animation: float 4s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float-delayed 5s ease-in-out infinite;
    animation-delay: 1s;
}

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

.reveal.revealed {
    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; }

/* ===== Selection ===== */
::selection {
    background: rgba(201, 168, 76, 0.3);
    color: var(--color-cream);
}

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

::-webkit-scrollbar-track {
    background: var(--color-bg-dark);
}

::-webkit-scrollbar-thumb {
    background: rgba(201, 168, 76, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(201, 168, 76, 0.5);
}

/* ===== Focus ===== */
:focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: 2px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    html {
        scroll-padding-top: 70px;
    }
}
