/* ── Reset & Base ── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    overflow-x: hidden;
}

::selection {
    background: rgba(232, 115, 74, 0.3);
    color: #fff;
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #1A1A1A;
}
::-webkit-scrollbar-thumb {
    background: #3A3A3A;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #E8734A;
}

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

#navbar.scrolled {
    background: rgba(26, 26, 26, 0.95);
    backdrop-blur-lg;
    border-bottom: 1px solid rgba(232, 115, 74, 0.1);
}

/* ── Hero Floating Cards ── */
.floating-card-1 {
    animation: float1 6s ease-in-out infinite;
}
.floating-card-2 {
    animation: float2 7s ease-in-out infinite;
}
.floating-card-3 {
    animation: float3 5.5s ease-in-out infinite;
}

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

@keyframes float2 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-16px) rotate(-0.5deg); }
}

@keyframes float3 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(0.5deg); }
}

/* ── Scroll Line ── */
.scroll-line {
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.2); }
}

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

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

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

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

/* ── Mobile Menu ── */
#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-link {
    opacity: 0;
    transform: translateY(20px);
    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; }
#mobile-menu.open .mobile-link:nth-child(5) { transition-delay: 0.3s; }

/* ── Gallery Images ── */
.gallery-img {
    transition: transform 0.7s ease;
}

.gallery-img:hover {
    transform: scale(1.05);
}

/* ── Menu Items ── */
.group:hover h4 {
    text-shadow: 0 0 40px rgba(232, 115, 74, 0.3);
}

/* ── Form Focus States ── */
input:focus, select:focus, textarea:focus {
    box-shadow: 0 0 0 1px rgba(232, 115, 74, 0.3);
}

/* ── Button Hover ── */
button[type="submit"]:hover {
    box-shadow: 0 8px 30px rgba(232, 115, 74, 0.25);
}

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

    #hero {
        min-height: 100vh;
    }
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
}
