/* =============================================
   Restaurant Moeders — Modern Redesign
   Brand colors: Magenta/Pink (#C2185B), warm browns, cream
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --pink: #C2185B;
    --pink-light: #E91E8C;
    --pink-dark: #9B1348;
    --brown: #4A3728;
    --brown-light: #6B5344;
    --cream: #FFF8F0;
    --cream-dark: #F5EDE3;
    --warm-white: #FFFDF9;
    --amber: #C8965A;
    --amber-light: #E8C799;
    --text: #2D2A26;
    --text-light: #6B6560;
    --text-muted: #9B958E;
    --overlay: rgba(42, 30, 20, 0.6);
    --overlay-dark: rgba(42, 30, 20, 0.75);
    --shadow: 0 2px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    line-height: 1.2;
}

a { color: var(--pink); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--pink-dark); }

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== NAVIGATION ===== */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 0.75rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
    background: transparent;
}

nav.scrolled {
    background: rgba(255, 253, 249, 0.97);
    box-shadow: var(--shadow);
    padding: 0.5rem 2rem;
    backdrop-filter: blur(10px);
}

.nav-logo img, .nav-logo-img {
    height: 50px;
    transition: height var(--transition), filter var(--transition);
}

nav.scrolled .nav-logo img, nav.scrolled .nav-logo-img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    padding: 0.4rem 0;
    position: relative;
    transition: color var(--transition);
}

nav.scrolled .nav-links a { color: var(--brown); }

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--pink);
    transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-links a:hover { color: var(--pink); }

.lang-switch {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all var(--transition);
}

nav.scrolled .lang-switch {
    background: rgba(194, 24, 91, 0.08);
    border-color: var(--pink);
    color: var(--pink);
}

.lang-switch:hover {
    background: var(--pink);
    color: white;
    border-color: var(--pink);
}

/* Mobile hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: white;
    transition: all var(--transition);
}

nav.scrolled .nav-toggle span { background: var(--brown); }

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

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.7);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(42, 30, 20, 0.3) 0%,
        rgba(42, 30, 20, 0.5) 50%,
        rgba(42, 30, 20, 0.7) 100%
    );
}

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

.hero-badge {
    display: inline-block;
    background: var(--pink);
    color: white;
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero h1 em {
    font-style: italic;
    color: var(--amber-light);
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all var(--transition);
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--pink);
    color: white;
}

.btn-primary:hover {
    background: var(--pink-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(194, 24, 91, 0.35);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.5);
}

.btn-outline:hover {
    background: white;
    color: var(--brown);
    border-color: white;
}

.btn-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== SECTIONS ===== */
.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--brown);
    margin-bottom: 0.75rem;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-label {
    display: inline-block;
    color: var(--pink);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

/* ===== HIGHLIGHTS / CARDS ===== */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card-img {
    height: 220px;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-img img { transform: scale(1.05); }

.card-body {
    padding: 1.5rem;
}

.card-body h3 {
    font-size: 1.3rem;
    color: var(--brown);
    margin-bottom: 0.5rem;
}

.card-body p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ===== STORY / ABOUT SECTION ===== */
.story-section {
    background: var(--brown);
    color: white;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-content h2 { color: white; }
.story-content .section-label { color: var(--amber-light); }

.story-content p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.story-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.story-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* ===== MENU PAGE ===== */
.page-hero {
    position: relative;
    height: 50vh;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.page-hero .hero-bg { filter: brightness(0.5); }

.page-hero-content {
    position: relative;
    z-index: 2;
    color: white;
}

.page-hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 0.5rem;
}

.page-hero-content p {
    font-size: 1.1rem;
    opacity: 0.85;
}

.menu-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.menu-cat-btn {
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    border: 2px solid var(--cream-dark);
    background: white;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
}

.menu-cat-btn:hover,
.menu-cat-btn.active {
    background: var(--pink);
    border-color: var(--pink);
    color: white;
}

.menu-section { margin-bottom: 3rem; }

.menu-section h3 {
    font-size: 1.6rem;
    color: var(--brown);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--pink);
    display: inline-block;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--cream-dark);
    gap: 1rem;
}

.menu-item:last-child { border-bottom: none; }

.menu-item-info { flex: 1; }

.menu-item-name {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text);
    margin-bottom: 0.25rem;
}

.menu-item-desc {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

.menu-item-badges {
    display: flex;
    gap: 0.4rem;
    margin-top: 0.3rem;
}

.menu-badge {
    font-size: 0.7rem;
    padding: 0.15rem 0.5rem;
    border-radius: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-veg { background: #E8F5E9; color: #2E7D32; }
.badge-gf { background: #FFF3E0; color: #E65100; }
.badge-lf { background: #E3F2FD; color: #1565C0; }

.menu-item-price {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--pink);
    white-space: nowrap;
}

/* ===== CONTACT / INFO BLOCKS ===== */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.info-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--pink), var(--pink-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

.info-card h3 {
    font-size: 1.2rem;
    color: var(--brown);
    margin-bottom: 0.75rem;
}

.info-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.info-card a { color: var(--pink); font-weight: 500; }

/* ===== MAP ===== */
.map-container {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 400px;
    margin-top: 3rem;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ===== RESERVATION ===== */
.reserveren-box {
    background: white;
    border-radius: var(--radius);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.reserveren-box h3 {
    color: var(--brown);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.reserveren-box p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.reserveren-note {
    background: var(--cream);
    border-left: 4px solid var(--pink);
    padding: 1rem 1.5rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    text-align: left;
    margin: 2rem 0;
    font-size: 0.95rem;
    color: var(--text-light);
}

/* ===== CTA BANNER ===== */
.cta-banner {
    background: linear-gradient(135deg, var(--brown) 0%, var(--brown-light) 100%);
    color: white;
    text-align: center;
    padding: 4rem 2rem;
}

.cta-banner h2 {
    color: white;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    margin-bottom: 1rem;
}

.cta-banner p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

/* ===== FOOTER ===== */
footer {
    background: var(--brown);
    color: rgba(255,255,255,0.7);
    padding: 3rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand img {
    height: 45px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-brand p { font-size: 0.9rem; line-height: 1.6; }

footer h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

footer ul { list-style: none; }

footer li { margin-bottom: 0.5rem; }

footer li a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    transition: color var(--transition);
}

footer li a:hover { color: var(--pink-light); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.social-links { display: flex; gap: 1rem; }

.social-links a {
    color: rgba(255,255,255,0.6);
    font-size: 1.2rem;
    transition: color var(--transition);
}

.social-links a:hover { color: var(--pink-light); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(74, 55, 40, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
    }

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

    .nav-links a {
        color: white !important;
        font-size: 1.2rem;
    }

    .nav-toggle { display: flex; }

    .story-grid { grid-template-columns: 1fr; gap: 2rem; }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .hero { min-height: 100svh; }

    .menu-item { flex-direction: column; gap: 0.5rem; }

    .menu-item-price { align-self: flex-start; }

    nav { padding: 0.75rem 1rem; }
    nav.scrolled { padding: 0.5rem 1rem; }
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
    .highlights-grid { grid-template-columns: 1fr; }
    .btn-group { flex-direction: column; align-items: center; }
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== GALLERY ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.gallery-item {
    border-radius: var(--radius-sm);
    overflow: hidden;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.08); }

/* ===== OPENING HOURS TABLE ===== */
.hours-table {
    width: 100%;
    border-collapse: collapse;
}

.hours-table tr { border-bottom: 1px solid var(--cream-dark); }
.hours-table tr:last-child { border-bottom: none; }

.hours-table td {
    padding: 0.75rem 0;
    font-size: 0.95rem;
}

.hours-table td:first-child {
    font-weight: 500;
    color: var(--text);
}

.hours-table td:last-child {
    text-align: right;
    color: var(--text-light);
}

/* ===== FEATURES LIST ===== */
.features-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-light);
}

.features-list li .icon {
    color: var(--pink);
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

/* Mobile menu toggle animation */
.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}
body.menu-open {
    overflow: hidden;
}
