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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: #1A0F20;
    color: #ffffff;
    font-family: 'Inter', system-ui, sans-serif;
    overflow-x: hidden;
}

::selection {
    background: rgba(200, 150, 62, 0.3);
    color: #ffffff;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1A0F20;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #4D315A;
}

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

/* ===== Header ===== */
#header {
    background: transparent;
    transition: background 0.5s ease, backdrop-filter 0.5s ease;
}

#header.scrolled {
    background: rgba(26, 15, 32, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-link {
    position: relative;
}

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

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

.nav-link:hover {
    color: #D4A036 !important;
}

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

/* ===== Hero Animations ===== */
.hero-tagline {
    animation: slideUp 0.8s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
    transform: translateY(20px);
}

.hero-heading {
    animation: slideUp 0.8s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
    transform: translateY(30px);
}

.hero-subtitle {
    animation: slideUp 0.8s ease forwards;
    animation-delay: 0.6s;
    opacity: 0;
    transform: translateY(20px);
}

.hero-cta-primary {
    animation: slideUp 0.8s ease forwards;
    animation-delay: 0.8s;
    opacity: 0;
    transform: translateY(20px);
}

.hero-cta-secondary {
    animation: slideUp 0.8s ease forwards;
    animation-delay: 0.9s;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Scroll Line Animation ===== */
.scroll-line {
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(400%); }
}

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

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

/* ===== Image Hover Glow ===== */
.group:hover img {
    filter: brightness(1.05);
}

/* ===== Form Styles ===== */
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(0.6) sepia(1) saturate(5) hue-rotate(10deg);
    cursor: pointer;
}

select option {
    background: #3D2648;
    color: #ffffff;
}

/* ===== Divider ===== */
div[class*="h-px mx-auto"]::before {
    content: '';
    display: block;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 767px) {
    .font-display {
        line-height: 1.1;
    }
}

/* ===== Focus Visible ===== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #C8963E;
    outline-offset: 2px;
}

/* ===== Print ===== */
@media print {
    #header,
    #mobileMenu {
        display: none;
    }

    body {
        background: #ffffff;
        color: #000000;
    }
}
