/* ============================================
   Kinder Creperie - Main Stylesheet
   Converted from React/Tailwind to vanilla CSS
   ============================================ */

/* CSS Variables */
:root {
    --font-sans: 'DM Sans', sans-serif;
    --font-serif: 'Playfair Display', serif;
    
    /* Colors */
    --color-background: #0f0202;
    --color-foreground: #f5ebe0;
    --color-card: #1a0505;
    --color-primary: #641010;
    --color-primary-foreground: #FFFFFF;
    --color-gold: #c69b7b;
    --color-secondary: #2b0a0a;
    --color-muted: #250808;
    --color-muted-foreground: #a08c8a;
    --color-accent: #3d0a0a;
    --color-border: #330c0c;
    
    --neon-glow: 0 0 10px rgba(100, 16, 16, 0.5), 0 0 20px rgba(100, 16, 16, 0.3);
    --neon-gold: 0 0 10px rgba(198, 155, 123, 0.4), 0 0 20px rgba(198, 155, 123, 0.2);
    
    --radius: 1rem;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
    color-scheme: dark;
}

html::-webkit-scrollbar {
    display: none;
}

body {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    font-family: var(--font-sans);
    background-color: var(--color-background);
    color: var(--color-foreground);
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    text-rendering: geometricPrecision;
}

img {
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    backface-visibility: hidden;
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    background-color: var(--color-background);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 12px 24px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.navbar.scrolled {
    padding: 8px 24px;
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-logo {
    font-family: var(--font-serif);
    font-weight: bold;
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: white;
    text-shadow: 0 0 10px rgba(239, 68, 68, 0.7), 0 0 20px rgba(239, 68, 68, 0.4);
    cursor: pointer;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: clamp(20px, 3vw, 40px);
}

.nav-link {
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: clamp(0.65rem, 1vw, 0.75rem);
    transition: color 0.3s;
}

.nav-link:hover {
    color: #DC2626;
}

.navbar-cart {
    position: relative;
    cursor: pointer;
}

.cart-icon {
    font-size: 1.2rem;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
}

.btn-order, .btn-order-mobile {
    padding: clamp(8px, 1.5vw, 12px) clamp(16px, 3vw, 32px);
    font-size: clamp(0.65rem, 1vw, 0.75rem);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
    color: white;
    background-color: var(--color-primary);
    border-radius: 6px;
    transition: all 0.3s;
}

.btn-order:hover {
    background-color: var(--color-accent);
}

.btn-login, .btn-login-mobile {
    padding: 8px 16px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    color: white;
    background-color: transparent;
    border: 1px solid white;
    border-radius: 6px;
    transition: all 0.3s;
}

.btn-login:hover {
    background-color: white;
    color: #4A3728;
}

.user-menu {
    position: relative;
}

.user-menu-dropdown {
    position: relative;
}

.btn-user {
    padding: 8px 16px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    color: var(--color-gold);
    background-color: transparent;
    border: 1px solid var(--color-gold);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-user:hover {
    background-color: var(--color-gold);
    color: var(--color-background);
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: 0.5rem;
    min-width: 150px;
    box-shadow: var(--neon-glow);
    z-index: 1000;
}

.user-dropdown a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--color-foreground);
    text-decoration: none;
    transition: background 0.2s;
    font-size: 0.9rem;
}

.user-dropdown a:hover {
    background: var(--color-muted);
    color: var(--color-gold);
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.mobile-only {
    display: none;
}

.desktop-only {
    display: flex;
}

.mobile-menu-toggle {
    padding: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 44px;
    height: 44px;
    gap: 5px;
    z-index: 100001;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: white;
    border-radius: 9999px;
    transition: all 0.3s;
}

.mobile-menu {
    position: fixed;
    inset: 0;
    top: 80px;
    z-index: 100000;
    background-color: var(--color-background);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 32px 16px;
    gap: 24px;
    overflow-y: auto;
    max-height: calc(100vh - 80px);
}

.mobile-menu.active {
    display: flex;
}

.mobile-nav-link {
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 1.5rem;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(15, 2, 2, 0.8), rgba(26, 5, 5, 0.6), transparent);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px;
    width: 100%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    min-height: 100vh;
    padding: 80px 0;
}

.hero-text {
    max-width: 36rem;
    padding-top: 3rem;
}

.hero-location {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.hero-location-line {
    height: 1px;
    width: 3rem;
    background: var(--color-primary);
}

.hero-location-text {
    color: var(--color-primary);
    font-weight: 500;
    letter-spacing: 0.15em;
    font-size: clamp(0.625rem, 1vw, 0.875rem);
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(1.875rem, 5vw, 6rem);
    font-family: var(--font-serif);
    font-weight: bold;
    line-height: 0.95;
    margin-bottom: 1.5rem;
    color: #FFFFFF;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.7), 0 2px 10px rgba(255, 215, 0, 0.4);
}

.hero-title-primary {
    color: var(--color-primary);
    text-shadow: 0 4px 15px rgba(239, 68, 68, 0.6);
}

.hero-description {
    font-size: clamp(0.875rem, 2vw, 1.25rem);
    margin-bottom: 2rem;
    line-height: 1.75;
    color: #FFFFFF;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.6);
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn-primary {
    border-radius: 9999px;
    padding: clamp(0.75rem, 2vw, 1.75rem) clamp(1.25rem, 3vw, 2.5rem);
    font-size: clamp(0.875rem, 1.5vw, 1.125rem);
    background: var(--color-primary);
    color: white;
    transition: all 0.3s;
    box-shadow: var(--neon-glow);
    border: 1px solid rgba(100, 16, 16, 0.5);
}

.btn-primary:hover {
    background: rgba(100, 16, 16, 0.9);
    transform: translateY(-2px);
}

/* Section Styles */
.section {
    position: relative;
    padding: 4rem 1rem;
    overflow: hidden;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: bold;
    color: white;
    margin-bottom: 2rem;
}

.section-subtitle {
    font-size: clamp(0.75rem, 1.5vw, 1rem);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

/* About Section */
.about-section {
    background: linear-gradient(to bottom, #0f0202, #1a0505, #2b0a0a);
    min-height: 100vh;
    padding: 6rem 1rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 0.25rem;
    overflow: hidden;
    aspect-ratio: 3/4;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 2s;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-content {
    background: rgba(26, 5, 5, 0.8);
    backdrop-filter: blur(12px);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: var(--neon-glow);
    border: 1px solid rgba(100, 16, 16, 0.3);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    background: rgba(26, 5, 5, 0.8);
    backdrop-filter: blur(12px);
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: var(--neon-glow);
    border: 1px solid rgba(100, 16, 16, 0.3);
}

.stat-value {
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 2vw, 1.875rem);
    color: white;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: clamp(0.625rem, 1vw, 0.75rem);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
}

/* Menu Section */
.menu-section {
    background: linear-gradient(to bottom, #0f0202, #1a0505, #2b0a0a);
    padding: 6rem 1rem;
}

.menu-header {
    text-align: center;
    margin-bottom: 3rem;
    background: rgba(26, 5, 5, 0.8);
    backdrop-filter: blur(12px);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(100, 16, 16, 0.3);
    box-shadow: var(--neon-glow);
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
}

.menu-title-large {
    font-size: clamp(2rem, 4vw, 3.75rem);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-primary);
    font-weight: 900;
    margin-bottom: 1rem;
}

.menu-title {
    font-family: var(--font-serif);
    font-size: clamp(1.875rem, 3vw, 3.75rem);
    font-weight: 500;
    color: white;
}

/* Reviews Section */
.reviews-section {
    background: linear-gradient(to bottom, #2b0a0a, #1a0505, #0f0202);
    padding: 6rem 1rem;
}

.reviews-header {
    text-align: center;
    margin-bottom: 4rem;
}

.reviews-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 300;
    color: white;
    margin-bottom: 1rem;
}

/* Why Us Section */
.whyus-section {
    background: linear-gradient(to bottom, rgba(15, 2, 2, 0.9), rgba(26, 5, 5, 0.85), rgba(15, 2, 2, 0.9));
    padding: 4rem 1rem;
}

.whyus-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.feature-item {
    display: flex;
    flex-direction: column;
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: rgba(100, 16, 16, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.feature-title {
    font-weight: bold;
    font-size: 1.125rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.feature-description {
    font-size: 0.875rem;
    color: rgba(245, 235, 224, 0.7);
}

/* Contact Section */
.contact-section {
    background: linear-gradient(to bottom, rgba(26, 5, 5, 0.9), rgba(15, 2, 2, 0.85), rgba(0, 0, 0, 0.95));
    padding: 6rem 1rem;
    color: #FDFBF7;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

.contact-info h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.875rem, 4vw, 4.5rem);
    font-weight: 500;
    margin-bottom: 2rem;
    line-height: 1;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-detail label {
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
    display: block;
}

.contact-detail p,
.contact-detail a {
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-family: var(--font-serif);
    line-height: 1.75;
    color: white;
}

.contact-form {
    background: rgba(26, 5, 5, 0.8);
    backdrop-filter: blur(4px);
    padding: 2.5rem;
    border-radius: 0.25rem;
    border: 1px solid rgba(100, 16, 16, 0.3);
    box-shadow: var(--neon-glow);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.5rem;
    display: block;
}

.form-input,
.form-textarea {
    width: 100%;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0;
    padding: 0.5rem 0;
    color: white;
    font-size: 1.125rem;
    transition: all 0.3s;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-bottom-color: var(--color-primary);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.form-textarea {
    min-height: 100px;
    resize: none;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

/* Footer */
.footer {
    position: relative;
    z-index: 10;
    border-top: 1px solid rgba(100, 16, 16, 0.3);
    box-shadow: 0 -10px 30px rgba(100, 16, 16, 0.3);
    min-height: 14rem;
}

.footer-bubbles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1rem;
    background-color: var(--color-primary);
    filter: url(#blob);
}

.footer-content {
    position: relative;
    z-index: 20;
    padding-top: 5rem;
    padding-bottom: 2.5rem;
    background-color: var(--color-primary);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.footer-col-wide {
    grid-column: 1 / -1;
}

.footer-title {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    font-weight: bold;
    margin-bottom: 1rem;
    color: white;
}

.footer-title-light {
    color: rgba(255, 255, 255, 0.8);
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    max-width: 24rem;
    margin-bottom: 1.5rem;
    font-size: clamp(0.875rem, 1.5vw, 1rem);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s;
}

.social-link:hover {
    background: white;
    color: var(--color-primary);
    transform: scale(1.1);
}

.social-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.footer-heading {
    font-family: var(--font-serif);
    font-weight: bold;
    font-size: clamp(1rem, 2vw, 1.125rem);
    margin-bottom: 1.5rem;
    color: white;
}

.footer-links,
.footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: clamp(0.875rem, 1.5vw, 1rem);
}

.footer-links a,
.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-contact li {
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: clamp(0.75rem, 1.5vw, 0.875rem);
    color: rgba(255, 255, 255, 0.7);
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: white;
}

/* Utility Classes */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px;
}

.text-center {
    text-align: center;
}

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }

.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }

/* Responsive Design */
@media (min-width: 768px) {
    .mobile-only {
        display: flex;
    }
    
    .desktop-only {
        display: flex;
    }
    
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .footer-col-wide {
        grid-column: span 2;
    }
    
    .footer-bottom {
        flex-direction: row;
    }
    
    .form-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    .mobile-only {
        display: flex;
    }
    
    .desktop-only {
        display: none;
    }
    
    html {
        font-size: 14px;
    }
    
    .section {
        padding: 3rem 1rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-out;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

