/* ========================================
   838 ASIAN KITCHEN — Custom Styles
   ======================================== */

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

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

body {
    background-color: #250d28;
    color: #ffffff;
    font-family: 'Outfit', system-ui, sans-serif;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* --- Container --- */
.container-max {
    max-width: 1280px;
    margin: 0 auto;
}

/* --- Section Shared --- */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #f5c518;
}

.section-label::before {
    content: '';
    display: block;
    width: 32px;
    height: 2px;
    background: linear-gradient(90deg, #f5c518, transparent);
    border-radius: 2px;
}

.section-title {
    line-height: 1.15;
}

.section-about {
    background: #250d28;
}

.section-products {
    background: linear-gradient(180deg, #250d28 0%, #1a0a1f 100%);
}

.section-visit {
    background: linear-gradient(180deg, #1a0a1f 0%, #250d28 100%);
}

/* --- Floating Background Shapes --- */
.floating-shapes {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.04;
    filter: blur(80px);
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: #f5c518;
    top: -200px;
    right: -200px;
    animation: floatShape1 20s ease-in-out infinite;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: #8b3d7e;
    bottom: 20%;
    left: -100px;
    animation: floatShape2 25s ease-in-out infinite;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: #f5c518;
    top: 50%;
    right: 10%;
    animation: floatShape3 18s ease-in-out infinite;
}

.shape-4 {
    width: 200px;
    height: 200px;
    background: #d4a017;
    bottom: 10%;
    right: 30%;
    animation: floatShape1 22s ease-in-out infinite reverse;
}

.shape-5 {
    width: 150px;
    height: 150px;
    background: #ba85be;
    top: 30%;
    left: 20%;
    animation: floatShape2 15s ease-in-out infinite;
}

@keyframes floatShape1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, -30px) scale(1.1); }
}

@keyframes floatShape2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-30px, 40px) rotate(10deg); }
}

@keyframes floatShape3 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(20px, -20px); }
    66% { transform: translate(-20px, 20px); }
}

/* --- Navigation --- */
.nav-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-glass {
    background: rgba(37, 13, 40, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(139, 61, 142, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-fixed.scrolled .nav-glass {
    background: rgba(37, 13, 40, 0.95);
    border-bottom-color: rgba(245, 197, 24, 0.15);
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.4);
}

.nav-link {
    position: relative;
}

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

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

.nav-link:hover {
    color: #ffffff;
}

.btn-nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #f5c518, #d4a017);
    color: #250d28;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(245, 197, 24, 0.25);
}

.btn-nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(245, 197, 24, 0.4);
    color: #250d28;
}

.btn-nav-cta svg {
    transition: transform 0.3s ease;
}

.btn-nav-cta:hover svg {
    transform: scale(1.1);
}

/* --- Mobile Menu --- */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    pointer-events: none;
    opacity: 0;
}

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

.mobile-menu-inner {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background: rgba(37, 13, 40, 0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    padding: 100px 40px 40px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid rgba(139, 61, 142, 0.3);
}

.mobile-menu.active .mobile-menu-inner {
    transform: translateX(0);
}

.mobile-menu-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.mobile-menu.active .mobile-menu-backdrop {
    opacity: 1;
}

.mobile-menu-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.25rem;
    font-weight: 500;
    padding: 16px 0;
    border-bottom: 1px solid rgba(139, 61, 142, 0.2);
    transition: all 0.2s ease;
}

.mobile-menu-link:hover {
    color: #f5c518;
    padding-left: 8px;
}

.mobile-menu-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    padding: 16px 24px;
    background: linear-gradient(135deg, #f5c518, #d4a017);
    color: #250d28;
    font-weight: 700;
    border-radius: 50px;
    font-size: 1rem;
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 40%, rgba(123, 45, 139, 0.8) 0%, rgba(79, 28, 86, 0.6) 40%, rgba(37, 13, 40, 0.95) 70%, #250d28 100%);
    z-index: 1;
}

/* Geometric decorations */
.hero-geo {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.geo-circle {
    position: absolute;
    border-radius: 50%;
}

.geo-circle-1 {
    width: 420px;
    height: 420px;
    border: 2px solid rgba(245, 197, 24, 0.12);
    top: 5%;
    right: -8%;
    animation: spinSlow 40s linear infinite;
}

.geo-circle-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(245, 197, 24, 0.15), transparent 70%);
    bottom: 15%;
    left: 5%;
    animation: pulse 6s ease-in-out infinite;
}

.geo-square {
    position: absolute;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(245, 197, 24, 0.2), rgba(139, 61, 142, 0.2));
    border-radius: 20px;
    top: 20%;
    left: 8%;
    transform: rotate(45deg);
    animation: floatShape1 12s ease-in-out infinite;
}

.geo-dots {
    position: absolute;
    bottom: 25%;
    right: 12%;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    opacity: 0.4;
}

.geo-dots::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #f5c518;
    border-radius: 50%;
    box-shadow:
        12px 0 0 #f5c518,
        24px 0 0 #f5c518,
        0 12px 0 #f5c518,
        12px 12px 0 #f5c518,
        24px 12px 0 #f5c518,
        0 24px 0 #f5c518,
        12px 24px 0 #f5c518,
        24px 24px 0 #f5c518;
}

.geo-triangle {
    position: absolute;
    top: 30%;
    right: 20%;
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 86px solid rgba(245, 197, 24, 0.08);
    animation: floatShape2 15s ease-in-out infinite;
}

.geo-ring {
    position: absolute;
    width: 280px;
    height: 280px;
    border: 3px solid rgba(139, 61, 142, 0.2);
    border-radius: 50%;
    bottom: 10%;
    left: 15%;
    animation: spinSlow 30s linear infinite reverse;
}

.geo-ring::before {
    content: '';
    position: absolute;
    inset: 20px;
    border: 2px solid rgba(245, 197, 24, 0.1);
    border-radius: 50%;
}

@keyframes spinSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

/* Hero Content */
.hero-content {
    padding-top: 80px;
}

.hero-badge {
    animation: fadeInDown 0.8s ease forwards;
}

.hero-headline {
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.hero-subtitle {
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.5s;
    opacity: 0;
}

.hero-ctas {
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.7s;
    opacity: 0;
}

.hero-scroll {
    animation: fadeInUp 1s ease forwards;
    animation-delay: 1s;
    opacity: 0;
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #f5c518, #d4a017);
    color: #250d28;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 60px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(245, 197, 24, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(245, 197, 24, 0.5);
    color: #250d28;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 60px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
    color: #ffffff;
}

/* Scroll indicator */
.hero-scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(245, 197, 24, 0.6), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; height: 48px; }
    50% { opacity: 0.4; height: 32px; }
}

/* --- About Section --- */
.about-bg-shape {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 61, 142, 0.15), transparent 70%);
    top: 50%;
    right: -10%;
    transform: translateY(-50%);
    pointer-events: none;
}

.about-images {
    position: relative;
}

.about-img-main {
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.4);
}

.about-img-float {
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.about-accent {
    animation: floatShape1 8s ease-in-out infinite;
}

/* --- Products Section --- */
.products-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 40% at 20% 50%, rgba(139, 61, 142, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 40% 30% at 80% 50%, rgba(245, 197, 24, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.product-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(139, 61, 142, 0.2);
    border-radius: 24px;
    padding: 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(245, 197, 24, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(245, 197, 24, 0.1);
}

.product-card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    background: linear-gradient(135deg, #f5c518, #d4a017);
    color: #250d28;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 2;
}

.product-card-img {
    border-radius: 18px;
    overflow: hidden;
}

/* --- Specials Strip --- */
.specials-strip {
    position: relative;
    background: linear-gradient(135deg, #39143d, #4f1c56, #39143d);
}

.specials-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 80% at 0% 50%, rgba(245, 197, 24, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 50% 80% at 100% 50%, rgba(139, 61, 142, 0.2) 0%, transparent 60%);
    pointer-events: none;
}

.special-item {
    transition: transform 0.3s ease;
}

.special-item:hover {
    transform: translateY(-4px);
}

/* --- Visit Section --- */
.visit-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 50% at 80% 20%, rgba(139, 61, 142, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 20% 80%, rgba(245, 197, 24, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.visit-info-item {
    transition: transform 0.3s ease;
}

.visit-info-item:hover {
    transform: translateX(8px);
}

.visit-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 4px;
}

.visit-value {
    line-height: 1.4;
}

/* Contact Form */
.contact-form-card {
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.3);
}

.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(139, 61, 142, 0.3);
    border-radius: 14px;
    color: #ffffff;
    font-family: 'Outfit', system-ui, sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.form-input:focus {
    border-color: #f5c518;
    background: rgba(245, 197, 24, 0.05);
    box-shadow: 0 0 0 3px rgba(245, 197, 24, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #f5c518, #d4a017);
    color: #250d28;
    font-family: 'Outfit', system-ui, sans-serif;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(245, 197, 24, 0.25);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(245, 197, 24, 0.4);
}

.btn-submit:active {
    transform: translateY(0);
}

.form-success {
    animation: fadeInUp 0.5s ease;
}

/* --- Footer --- */
.footer {
    background: #1a0a1f;
}

.footer-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(139, 61, 142, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.footer-bottom {
    border-top-color: rgba(139, 61, 142, 0.2);
}

/* --- Reveal Animations (progressive enhancement) --- */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* --- Responsive --- */
@media (max-width: 768px) {
    .hero-headline {
        font-size: 2.5rem !important;
    }

    .hero-headline span:nth-child(2) {
        font-size: 2rem !important;
    }

    .hero-headline span:nth-child(3) {
        font-size: 1.5rem !important;
    }

    .geo-circle-1 {
        width: 250px;
        height: 250px;
    }

    .geo-square {
        width: 70px;
        height: 70px;
    }

    .geo-ring {
        width: 160px;
        height: 160px;
    }

    .about-img-float {
        width: 120px;
        height: 120px;
        bottom: -16px;
        right: -8px;
    }

    .about-stats {
        gap: 8px !important;
    }

    .about-stats > div {
        flex: 1;
    }

    .section-title {
        font-size: 2.25rem !important;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 2rem !important;
    }

    .hero-headline span:nth-child(2) {
        font-size: 1.5rem !important;
    }

    .hero-headline span:nth-child(3) {
        font-size: 1.25rem !important;
    }

    .btn-primary, .btn-secondary {
        padding: 14px 24px;
        font-size: 0.9rem;
    }
}
