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

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

body {
    min-height: 100vh;
}

::selection {
    background: #FF6B6B;
    color: #1A1D23;
}

/* ── Navbar ── */
#navbar {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

#navbar.scrolled {
    background: rgba(255, 248, 245, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(26, 29, 35, 0.08);
}

/* ── Hero Decorative Shapes ── */
.hero-shape {
    position: absolute;
    pointer-events: none;
    will-change: transform;
}

.shape-circle-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    top: -100px;
    right: -100px;
    animation: float-slow 8s ease-in-out infinite;
}

.shape-circle-2 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    bottom: 10%;
    left: -50px;
    animation: float-slow 10s ease-in-out infinite reverse;
}

.shape-circle-3 {
    width: 120px;
    height: 120px;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 50%;
    top: 30%;
    right: 5%;
    animation: float-medium 6s ease-in-out infinite;
}

.shape-square-1 {
    width: 80px;
    height: 80px;
    background: rgba(26, 29, 35, 0.04);
    border-radius: 16px;
    top: 20%;
    left: 5%;
    transform: rotate(45deg);
    animation: float-medium 7s ease-in-out infinite;
}

.shape-triangle-1 {
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 70px solid rgba(255, 107, 107, 0.06);
    top: 60%;
    right: 15%;
    animation: float-slow 9s ease-in-out infinite reverse;
}

.shape-dots {
    width: 100px;
    height: 100px;
    background-image: radial-gradient(circle, rgba(255, 107, 107, 0.15) 1px, transparent 1px);
    background-size: 12px 12px;
    bottom: 20%;
    left: 40%;
    animation: float-medium 8s ease-in-out infinite;
}

/* ── Floating Cards ── */
.floating-card {
    animation: card-float 4s ease-in-out infinite;
}

.card-1 { animation-delay: 0s; }
.card-2 { animation-delay: 1s; }
.card-3 { animation-delay: 2s; }

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

/* ── Scroll Indicator ── */
@keyframes scroll-line {
    0% { top: -50%; }
    100% { top: 150%; }
}

.animate-scroll-line {
    animation: scroll-line 1.5s ease-in-out infinite;
}

/* ── Marquee ── */
.marquee-track {
    animation: marquee 30s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ── Menu Cards ── */
.menu-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ── Spin Animation ── */
.animate-spin-slow {
    animation: spin-slow 20s linear infinite;
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ── Mobile Menu ── */
.mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s 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.2s; }
#mobile-menu.open .mobile-link:nth-child(3) { transition-delay: 0.3s; }
#mobile-menu.open .mobile-link:nth-child(4) { transition-delay: 0.4s; }
#mobile-menu.open .mobile-link:nth-child(5) { transition-delay: 0.5s; }

/* ── Hamburger Animation ── */
.menu-line {
    transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
}

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

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

#menu-btn.active .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 1.25rem;
}

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

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

/* ── Responsive ── */
@media (max-width: 768px) {
    .shape-circle-1 { width: 200px; height: 200px; }
    .shape-circle-2 { width: 150px; height: 150px; }
    .shape-square-1 { display: none; }
    .shape-triangle-1 { display: none; }
    .shape-dots { display: none; }
}
