/* ============================================
   KÜDELL GOURMET — Design System
   ============================================ */

/* --- Custom Properties --- */
:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: #161616;
    --bg-card-hover: #1c1c1c;
    --bg-glass: rgba(22, 22, 22, 0.7);

    --accent-orange: #ea580c;
    --accent-amber: #f59e0b;
    --accent-lime: #84cc16;
    --accent-warm: #d97706;

    --text-primary: #f5f5f4;
    --text-secondary: #a8a29e;
    --text-muted: #78716c;

    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(245, 158, 11, 0.3);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.6);
    --shadow-glow-orange: 0 0 40px rgba(234, 88, 12, 0.15);
    --shadow-glow-amber: 0 0 30px rgba(245, 158, 11, 0.1);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 50px;

    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

    --whatsapp: #25D366;
    --instagram: #E1306C;

    --container-max: 1200px;
    --section-gap: 100px;
}

/* --- 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 {
    font-family: 'Urbanist', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

/* --- Utility --- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.section-spacing {
    padding: var(--section-gap) 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

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

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

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

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(234, 88, 12, 0.1); }
    50% { box-shadow: 0 0 40px rgba(234, 88, 12, 0.25); }
}

.animate-in {
    animation: fadeInUp 0.6s var(--transition-smooth) both;
}

.animate-in-delay-1 { animation-delay: 0.1s; }
.animate-in-delay-2 { animation-delay: 0.2s; }
.animate-in-delay-3 { animation-delay: 0.3s; }
.animate-in-delay-4 { animation-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   NAVIGATION BAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 16px 0;
    transition: var(--transition-smooth);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 10px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo img {
    height: 44px;
    transition: var(--transition-fast);
}

.navbar.scrolled .navbar-logo img {
    height: 36px;
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.navbar-links a {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
    transition: var(--transition-fast);
    position: relative;
}

.navbar-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-amber);
    transition: var(--transition-smooth);
}

.navbar-links a:hover {
    color: var(--text-primary);
}

.navbar-links a:hover::after {
    width: 100%;
}

.navbar-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: var(--accent-orange);
    color: #fff;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
}

.navbar-cta:hover {
    background: #c2410c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(234, 88, 12, 0.4);
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 10, 0.5) 0%,
        rgba(10, 10, 10, 0.7) 50%,
        rgba(10, 10, 10, 0.95) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 24px;
}

.hero-logo {
    max-height: 120px;
    margin: 0 auto 24px;
    animation: fadeIn 1s ease both;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.5));
}

.hero-tagline {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 8px;
    color: var(--accent-amber);
    margin-bottom: 16px;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease 0.5s both;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-amber));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 550px;
    margin: 0 auto 36px;
    animation: fadeInUp 0.8s ease 0.7s both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.9s both;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    animation: fadeIn 1s ease 1.5s both;
}

.hero-scroll-indicator a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--transition-fast);
}

.hero-scroll-indicator a:hover {
    color: var(--accent-amber);
}

.hero-scroll-indicator i {
    font-size: 1.2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(8px); }
    60% { transform: translateY(4px); }
}

/* ============================================
   BUTTONS (Shared)
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
    text-decoration: none;
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-warm));
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(234, 88, 12, 0.4);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--accent-amber);
    color: var(--accent-amber);
    transform: translateY(-3px);
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: #000;
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.btn-instagram {
    background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7);
    color: #fff;
}

.btn-instagram:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(238, 42, 123, 0.3);
}

/* ============================================
   ABOUT / FEATURES SECTION
   ============================================ */
.about-section {
    position: relative;
}

.about-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--accent-amber);
    margin-bottom: 12px;
    display: block;
}

.section-heading {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-orange), var(--accent-amber));
    opacity: 0;
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-lg), var(--shadow-glow-amber);
    background: var(--bg-card-hover);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 20px;
    border: 1px solid;
}

.feature-icon.orange {
    background: rgba(234, 88, 12, 0.1);
    color: var(--accent-orange);
    border-color: rgba(234, 88, 12, 0.2);
}

.feature-icon.amber {
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent-amber);
    border-color: rgba(245, 158, 11, 0.2);
}

.feature-icon.lime {
    background: rgba(132, 204, 22, 0.1);
    color: var(--accent-lime);
    border-color: rgba(132, 204, 22, 0.2);
}

.feature-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feature-card p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ============================================
   PROCESS SECTION (How it works)
   ============================================ */
.process-section {
    background: var(--bg-secondary);
    position: relative;
}

.process-section::before,
.process-section::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
}

.process-section::before { top: 0; }
.process-section::after { bottom: 0; }

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    counter-reset: step;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-warm));
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 20px rgba(234, 88, 12, 0.3);
}

.process-step h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.process-step p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    max-width: 250px;
    margin: 0 auto;
}

/* ============================================
   CATALOG / MENU SECTION
   ============================================ */
.catalog-section {
    position: relative;
}

/* Filter Tabs */
.filter-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Urbanist', sans-serif;
}

.filter-btn:hover {
    border-color: var(--accent-orange);
    color: var(--text-primary);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-warm));
    color: white;
    border-color: var(--accent-orange);
    box-shadow: 0 4px 20px rgba(234, 88, 12, 0.3);
}

/* Menu Section */
.menu-section {
    margin-bottom: 60px;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding-left: 20px;
    border-left: 4px solid var(--accent-lime);
    letter-spacing: 0.5px;
}

.section-badge {
    font-size: 0.95rem;
    color: var(--accent-amber);
    font-weight: 600;
    font-family: 'Urbanist', sans-serif;
    margin-left: auto;
    background: rgba(245, 158, 11, 0.08);
    padding: 6px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(245, 158, 11, 0.15);
}

/* Card Grid */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px;
}

/* Food Card */
.menu-item {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    padding: 28px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition-smooth);
    overflow: hidden;
}

.menu-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(234, 88, 12, 0.03), transparent);
    opacity: 0;
    transition: var(--transition-smooth);
    pointer-events: none;
}

.menu-item:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md), var(--shadow-glow-amber);
}

.menu-item:hover::after {
    opacity: 1;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
}

.item-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.3px;
}

.item-price {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--accent-amber);
    background: rgba(245, 158, 11, 0.08);
    padding: 4px 12px;
    border-radius: 6px;
    white-space: nowrap;
    border: 1px solid rgba(245, 158, 11, 0.15);
    flex-shrink: 0;
}

.item-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* Multi-format (Quiches) */
.format-matrix {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    background: rgba(255, 255, 255, 0.02);
    padding: 16px;
    border-radius: var(--radius-sm);
    margin-top: 16px;
    border: 1px solid var(--border-subtle);
}

.format-option {
    text-align: center;
}

.format-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.format-price {
    font-weight: 700;
    color: var(--accent-amber);
    font-size: 1.1rem;
}

/* Hidden utility */
.hidden {
    display: none !important;
}

/* ============================================
   CTA / CONTACT SECTION
   ============================================ */
.cta-section {
    position: relative;
}

.cta-card {
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 70px 40px;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-orange), var(--accent-amber), var(--accent-lime));
}

.cta-card h2 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 14px;
}

.cta-card p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 36px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    border-top: 1px solid var(--border-subtle);
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.footer-logo img {
    height: 40px;
    opacity: 0.6;
    transition: var(--transition-fast);
}

.footer-logo:hover img {
    opacity: 1;
}

.footer-text {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.footer-socials a:hover {
    color: var(--text-primary);
    border-color: var(--accent-amber);
    transform: translateY(-3px);
    background: rgba(245, 158, 11, 0.1);
}

/* ============================================
   DIVIDER LINE
   ============================================ */
.gradient-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-orange), var(--accent-amber), var(--accent-lime), transparent);
    border: none;
    margin: 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    :root {
        --section-gap: 70px;
    }

    /* Nav mobile */
    .navbar-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        z-index: 200;
    }

    .navbar-links.open {
        display: flex;
    }

    .navbar-links a {
        font-size: 1.2rem;
    }

    .nav-toggle {
        display: block;
        z-index: 300;
    }

    .navbar-cta.desktop-only {
        display: none;
    }

    /* Hero */
    .hero {
        min-height: 90vh;
    }

    .hero-logo {
        max-height: 80px;
    }

    .hero-tagline {
        font-size: 0.8rem;
        letter-spacing: 5px;
    }

    .hero-scroll-indicator {
        display: none;
    }

    /* Sections */
    .section-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        font-size: 1.5rem;
    }

    .section-badge {
        margin-left: 0;
    }

    .grid-container {
        grid-template-columns: 1fr;
    }

    .filter-container {
        flex-direction: column;
        width: 100%;
    }

    .filter-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* Process */
    .process-steps {
        gap: 30px;
    }

    /* CTA */
    .cta-card {
        padding: 50px 24px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    /* Hero actions */
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .menu-item {
        padding: 22px;
    }
}
