/* ===== Base & Utilities ===== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

::selection {
    background: rgba(201, 168, 76, 0.3);
    color: #FAF8F5;
}

/* ===== Navbar ===== */
#navbar {
    background: transparent;
    backdrop-filter: none;
}

#navbar.scrolled {
    background: rgba(1, 6, 4, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.08);
}

#navbar.scrolled .menu-line {
    background: #FAF8F5;
}

/* ===== Mobile Menu ===== */
.mobile-link {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s ease, transform 0.4s ease, color 0.3s ease;
}

#mobile-menu.open .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

#mobile-menu.open .mobile-link:nth-child(1) { transition-delay: 0.1s; }
#mobile-menu.open .mobile-link:nth-child(2) { transition-delay: 0.15s; }
#mobile-menu.open .mobile-link:nth-child(3) { transition-delay: 0.2s; }
#mobile-menu.open .mobile-link:nth-child(4) { transition-delay: 0.25s; }

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

/* ===== Hero Headline ===== */
#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;
}

/* ===== Menu Cards ===== */
.menu-card {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.menu-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.menu-card:hover img {
    transform: scale(1.08);
}

/* ===== Info Cards ===== */
.info-card {
    background: rgba(11, 61, 44, 0.25);
    border: 1px solid rgba(201, 168, 76, 0.08);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateX(20px);
}

.info-card.visible {
    opacity: 1;
    transform: translateX(0);
}

.info-card:hover {
    border-color: rgba(201, 168, 76, 0.25);
    background: rgba(11, 61, 44, 0.4);
    transform: translateY(-2px);
}

/* ===== Section Headers ===== */
.section-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section-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);
    }
}

/* ===== Form Styles ===== */
input:focus,
textarea:focus {
    background: rgba(11, 61, 44, 0.3);
}

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

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

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

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

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .info-card {
        opacity: 0;
        transform: translateY(20px);
    }
}
