/* ========================================
   TAKOYAKI BARDO — Custom Styles
   ======================================== */

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

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

body {
    margin: 0;
}

/* ========================================
   FLOATING BACKGROUND SHAPES
   ======================================== */
.floating-shapes {
    z-index: 0;
}

.shape-circle,
.shape-square,
.shape-triangle,
.shape-ring {
    position: fixed;
    pointer-events: none;
    opacity: 0.03;
}

.shape-1 {
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, #D4A017 0%, transparent 70%);
    top: -200px;
    right: -150px;
    animation: float-slow 20s ease-in-out infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: #415F9F;
    bottom: 20%;
    left: -80px;
    transform: rotate(45deg);
    animation: float-slow 15s ease-in-out infinite reverse;
}

.shape-3 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: #D4A017;
    top: 50%;
    right: 10%;
    animation: float-slow 18s ease-in-out infinite;
}

.shape-4 {
    width: 0;
    height: 0;
    border-left: 150px solid transparent;
    border-right: 150px solid transparent;
    border-bottom: 260px solid #415F9F;
    top: 40%;
    left: 5%;
    opacity: 0.02;
    animation: float-slow 22s ease-in-out infinite reverse;
}

.shape-5 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 2px solid #D4A017;
    bottom: -100px;
    right: 20%;
    animation: float-slow 25s ease-in-out infinite;
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-30px) rotate(2deg); }
    66% { transform: translateY(20px) rotate(-1deg); }
}

/* ========================================
   NAVBAR
   ======================================== */
.nav {
    background: rgba(12, 19, 34, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav.scrolled {
    background: rgba(12, 19, 34, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #D4A017;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

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

/* Mobile Menu */
.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.mobile-menu.open {
    max-height: 400px;
}

.mobile-nav-link {
    display: block;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
}

.hero-card-main {
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.hero-float-1 {
    animation: float-card-1 6s ease-in-out infinite;
}

.hero-float-2 {
    animation: float-card-2 7s ease-in-out infinite;
}

.hero-float-3 {
    animation: float-card-3 5s ease-in-out infinite;
}

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

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

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

/* ========================================
   MARQUEE
   ======================================== */
.marquee-strip {
    position: relative;
    z-index: 10;
}

.marquee-track {
    animation: marquee 30s linear infinite;
}

.marquee-content {
    flex-shrink: 0;
}

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

/* ========================================
   SECTIONS
   ======================================== */
.section {
    position: relative;
}

/* ========================================
   MENU CARDS
   ======================================== */
.menu-card {
    perspective: 1000px;
}

.menu-card > div {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.menu-card:hover > div {
    transform: translateY(-4px);
}

/* ========================================
   BUTTONS
   ======================================== */
button, a[role="button"] {
    cursor: pointer;
}

/* ========================================
   SCROLL REVEAL ANIMATIONS
   (Progressive Enhancement — content visible without JS)
   ======================================== */
@media (prefers-reduced-motion: no-preference) {
    .reveal-up,
    .reveal-left,
    .reveal-right {
        opacity: 1;
        transform: none;
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .reveal-up.revealed,
    .reveal-left.revealed,
    .reveal-right.revealed {
        opacity: 1;
        transform: none;
    }
}

/* ========================================
   BOUNCE SLOW (map pin)
   ======================================== */
@keyframes bounce-slow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.animate-bounce-slow {
    animation: bounce-slow 2s ease-in-out infinite;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .hero-float-1 {
        top: -10px;
        left: -10px;
    }

    .hero-float-2 {
        top: 50%;
        left: -10px;
    }

    .hero-float-3 {
        bottom: 0;
        right: -10px;
    }

    .hero-visual {
        h: 400px !important;
    }

    .hero-card-main {
        width: 60% !important;
    }
}

@media (max-width: 640px) {
    .shape-1 {
        width: 300px;
        height: 300px;
    }

    .shape-2, .shape-3, .shape-4, .shape-5 {
        display: none;
    }
}

/* ========================================
   FOCUS STYLES
   ======================================== */
*:focus-visible {
    outline: 2px solid #D4A017;
    outline-offset: 2px;
}

/* ========================================
   SELECTION
   ======================================== */
::selection {
    background: rgba(212, 160, 23, 0.3);
    color: #fff;
}
