/* ── Custom Properties ── */
:root {
    --color-bg: #0a0f0d;
    --color-emerald-dark: #064e3b;
    --color-emerald: #059669;
    --color-emerald-light: #34d399;
    --color-amber: #d4a853;
    --color-amber-light: #fbbf24;
    --color-cream: #f5f0e8;
    --color-cream-soft: rgba(245, 240, 232, 0.05);
}

/* ── Base ── */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Raleway', sans-serif;
    background-color: var(--color-bg);
    color: var(--color-cream);
    overflow-x: hidden;
}

.font-playfair {
    font-family: 'Playfair Display', serif;
}

.font-raleway {
    font-family: 'Raleway', sans-serif;
}

/* ── Gold Button ── */
.gold-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #d4a853 0%, #b8860b 50%, #d4a853 100%);
    background-size: 200% 200%;
    color: #0a0f0d;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.gold-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #fbbf24 0%, #d4a853 50%, #b8860b 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gold-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(212, 168, 83, 0.3), 0 0 0 1px rgba(212, 168, 83, 0.2);
}

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

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

/* ── Navbar ── */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(10, 15, 13, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 168, 83, 0.1);
    padding-top: 0;
    padding-bottom: 0;
}

#navbar.scrolled .nav-link {
    color: rgba(245, 240, 232, 0.7);
}

/* ── Hero Badge ── */
.hero-badge {
    animation: fadeInDown 1s ease forwards;
    opacity: 0;
}

/* ── Hero Text ── */
#hero h1 {
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
}

#hero p {
    animation: fadeInUp 1s ease 0.4s forwards;
    opacity: 0;
}

#hero .flex-col {
    animation: fadeInUp 1s ease 0.6s forwards;
    opacity: 0;
}

#hero .grid {
    animation: fadeInUp 1s ease 0.8s forwards;
    opacity: 0;
}

/* ── Gold Particles ── */
.gold-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, #fbbf24, transparent);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    opacity: 0;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
        transform: scale(1);
    }
    90% {
        opacity: 0.3;
    }
    50% {
        transform: translateY(-120px) scale(0.5);
    }
}

/* ── Service Cards ── */
.service-card {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

/* ── Product Cards ── */
.product-card {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }

/* ── Scroll Reveal ── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ── Animations ── */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* ── Selection ── */
::selection {
    background: rgba(212, 168, 83, 0.3);
    color: var(--color-cream);
}

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #059669, #d4a853);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #34d399, #fbbf24);
}

/* ── Input Focus ── */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 1px rgba(212, 168, 83, 0.2);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    #hero h1 {
        font-size: 2.8rem;
    }

    .gold-btn {
        width: 100%;
        text-align: center;
    }
}
