*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    overflow-x: hidden;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #1e2125;
}
::-webkit-scrollbar-thumb {
    background: #4a5159;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #e07a5f;
}

/* Selection */
::selection {
    background: rgba(224, 122, 95, 0.3);
    color: #f6f6f6;
}

/* Date input reset */
input[type="date"] {
    color: #f6f6f6;
}
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(0.7) sepia(1) saturate(3) hue-rotate(340deg);
    cursor: pointer;
}

/* Nav transitions */
.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #e07a5f;
    transition: width 0.3s ease;
}
.nav-link:hover::after {
    width: 100%;
}

/* Mobile menu */
.mobile-link {
    font-size: 1.125rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

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

#mobile-menu.closed {
    opacity: 0;
    pointer-events: none;
}

.menu-line {
    display: block;
    height: 1px;
    background: #f6f6f6;
    transition: all 0.3s ease;
}

#mobile-toggle.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(3px, 3px);
}
#mobile-toggle.active .menu-line:nth-child(2) {
    opacity: 0;
}
#mobile-toggle.active .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(3px, -3px);
    width: 1.5rem;
}

/* Hero animations */
.hero-subtitle {
    animation: fadeUp 0.8s ease forwards 0.3s;
}
.hero-title {
    animation: fadeUp 0.8s ease forwards 0.5s;
}
.hero-desc {
    animation: fadeUp 0.8s ease forwards 0.7s;
}
.hero-cta {
    animation: fadeUp 0.8s ease forwards 0.9s;
}
#scroll-indicator {
    animation: fadeIn 1s ease forwards 1.2s;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
    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; }

/* Parallax hero */
#hero-img {
    will-change: transform;
}

/* Select styling */
select option {
    background: #2e3338;
    color: #f6f6f6;
}

/* Focus styles */
input:focus, textarea:focus, select:focus {
    outline: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
}

@media (max-width: 360px) {
    html {
        font-size: 14px;
    }
}
