/* === Base & Typography === */
html {
    scroll-behavior: smooth;
}

body {
    background-color: #091710;
    color: #faf8f4;
}

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

/* === Navbar === */
#navbar {
    background: transparent;
    transition: background-color 0.5s ease, box-shadow 0.5s ease, backdrop-filter 0.5s ease;
}

#navbar.scrolled {
    background: rgba(9, 23, 16, 0.9);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(201, 168, 76, 0.1);
}

.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%;
}

/* === Mobile Menu === */
.mobile-link {
    position: relative;
}

#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

#mobile-menu.open .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#mobile-menu.open .menu-line:nth-child(2) {
    opacity: 0;
}

#mobile-menu.open .menu-line:nth-child(3) {
    width: 24px;
    transform: rotate(-45deg) translate(5px, -5px);
}

/* === Floating Cards === */
.floating-card {
    animation: float1 6s ease-in-out infinite;
}

.floating-card-2 {
    animation: float2 7s ease-in-out infinite;
}

.floating-card-3 {
    animation: float3 5s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

@keyframes float2 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(10px); }
}

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

/* === Menu Tabs === */
.menu-tab {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(232, 224, 208, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
}

.menu-tab:hover {
    border-color: rgba(201, 168, 76, 0.4);
    color: #d4af5a;
}

.menu-tab.active {
    background: linear-gradient(135deg, #c9a84c, #b8943f);
    border-color: transparent;
    color: #0f251a;
    font-weight: 600;
}

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

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* === Image Hover === */
.rounded-2xl.overflow-hidden {
    position: relative;
}

.rounded-2xl.overflow-hidden::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    background: linear-gradient(to top, rgba(9, 23, 16, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.rounded-2xl.overflow-hidden:hover::after {
    opacity: 1;
}

/* === Gold Gradient Text (utility) === */
.text-gold-gradient {
    background: linear-gradient(135deg, #d4af5a, #c9a84c, #b8943f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #2a5636;
}

/* === Form Focus === */
input:focus,
textarea:focus {
    background: rgba(26, 58, 42, 0.5);
}

/* === Button Ripple === */
button {
    position: relative;
    overflow: hidden;
}

/* === Responsive === */
@media (max-width: 768px) {
    .floating-card,
    .floating-card-2,
    .floating-card-3 {
        display: none;
    }

    #hero {
        min-height: auto;
        padding-top: 8rem;
        padding-bottom: 4rem;
    }
}
