/*
Theme Name: Restaurant Divino
Theme URI: https://divino-offenbach.de
Author: HAITCON
Description: Modernes, dunkles Theme für Restaurant Divino Offenbach
Version: 1.0.0
Text Domain: divino
*/

:root {
    --primary: #d4af37;
    --primary-light: #f3e5ab;
    --primary-dark: #aa8625;
    --bg-dark: #0f0f10;
    --bg-card: #18181a;
    --bg-surface: #141416;
    --text-light: #f5f5f7;
    --text-muted: #a0a0a0;
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

.cuisine-badge-container {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.cuisine-badge {
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.15);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 15, 16, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
    padding: 0.8rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

.logo-img-custom {
    height: 65px;
    width: auto;
    display: block;
}

.logo-subtext {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: var(--font-body);
}

.logo-subtext .dot {
    font-size: 0.5rem;
    color: var(--primary);
    opacity: 0.8;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.btn-reserve-nav {
    background: var(--primary);
    color: #000 !important;
    padding: 0.6rem 1.4rem;
    border-radius: 4px;
    font-weight: 600 !important;
    transition: all 0.3s !important;
}

.btn-reserve-nav:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    font-size: 1.4rem;
    padding: 0.5rem 0.8rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.mobile-toggle:hover {
    background: var(--primary);
    color: #000;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    padding-top: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-bottom: 4rem;
}

.hero h1 {
    font-size: 4.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.05;
    text-shadow: 2px 4px 20px rgba(0,0,0,0.9);
}

.hero h1 span {
    color: var(--primary);
    font-style: italic;
}

.hero p {
    font-size: 1.25rem;
    max-width: 780px;
    margin: 0 auto 2.5rem auto;
    color: #e0e0e0;
    text-shadow: 1px 1px 8px rgba(0,0,0,0.9);
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 4rem;
}

.btn-primary {
    background: var(--primary);
    color: #000;
    padding: 1rem 2.5rem;
    border: 2px solid var(--primary);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s;
    border-radius: 4px;
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.4);
}

.btn-outline {
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 1rem 2.5rem;
    border: 2px solid #fff;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s;
    border-radius: 4px;
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

/* Hero Food Cards */
.hero-food-strip {
    width: 100%;
    max-width: 1240px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

.food-card-hero {
    position: relative;
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.35);
    box-shadow: 0 12px 30px rgba(0,0,0,0.7);
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.food-card-hero:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 18px 35px rgba(212, 175, 55, 0.25);
}

.food-card-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.food-card-hero:hover img {
    transform: scale(1.12);
}

.food-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 10%, rgba(0,0,0,0.7) 60%, transparent);
    text-align: left;
}

.food-card-tag {
    font-size: 0.72rem;
    text-transform: uppercase;
    color: var(--primary);
    letter-spacing: 1.5px;
    font-weight: 700;
    margin-bottom: 3px;
}

.food-card-title {
    font-size: 1.15rem;
    color: #fff;
    font-weight: 600;
    font-family: var(--font-heading);
    line-height: 1.2;
}

/* Section Global */
section {
    padding: 6rem 2rem;
    max-width: 1240px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header .sub {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 600;
}

.section-header h2 {
    font-size: 3.2rem;
    color: #fff;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background-color: var(--primary);
}

/* Culinary Showcase */
.culinary-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.culinary-box {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.06);
    transition: all 0.4s ease;
}

.culinary-box:hover {
    border-color: rgba(212, 175, 55, 0.45);
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
}

.culinary-img-wrap {
    height: 300px;
    position: relative;
    overflow: hidden;
}

.culinary-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.culinary-box:hover .culinary-img-wrap img {
    transform: scale(1.08);
}

.culinary-badge-overlay {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(15,15,16,0.85);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    backdrop-filter: blur(4px);
}

.culinary-content {
    padding: 2.2rem;
}

.culinary-content h3 {
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 1rem;
}

.culinary-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    font-weight: 300;
}

.dish-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.dish-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #e0e0e0;
    font-size: 0.95rem;
}

.dish-list li i {
    color: var(--primary);
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    height: 270px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.06);
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-caption {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.3rem;
    opacity: 0.95;
}

.gallery-caption h4 {
    font-size: 1.25rem;
    color: #fff;
    line-height: 1.2;
}

.gallery-caption span {
    color: var(--primary);
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 2px;
}

/* Menu Section */
.menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.menu-item {
    background: var(--bg-surface);
    padding: 1.6rem;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border: 1px solid rgba(255,255,255,0.04);
    border-left: 3px solid var(--primary);
    transition: transform 0.3s, background 0.3s;
}

.menu-item:hover {
    transform: translateY(-3px);
    background: var(--bg-card);
}

.menu-info {
    padding-right: 1.2rem;
}

.menu-title {
    font-size: 1.35rem;
    color: #fff;
    margin-bottom: 0.4rem;
    font-weight: 600;
    font-family: var(--font-heading);
}

.menu-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 300;
}

.menu-price {
    font-size: 1.35rem;
    color: var(--primary);
    font-weight: 700;
    font-family: var(--font-heading);
    white-space: nowrap;
}

/* Contact & Reservation Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info-box {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.25);
}

.info-item {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-top: 5px;
}

.info-item h4 {
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 0.3rem;
}

.info-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 300;
}

.booking-form {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-control {
    width: 100%;
    padding: 0.95rem;
    background: #121212;
    border: 1px solid #333;
    color: #fff;
    border-radius: 6px;
    font-family: var(--font-body);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

/* Footer & Legal Nav */
footer {
    background: #080809;
    padding: 3.5rem 2rem 1.8rem 2rem;
    border-top: 1px solid #222;
    text-align: center;
}

.footer-content {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--text-light);
    font-size: 1.6rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--primary);
}

.legal-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.legal-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.legal-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #1a1a1a;
    color: #666;
    font-size: 0.85rem;
    width: 100%;
}

/* Generic WordPress Page Layout (Impressum & Datenschutz) */
.page-container {
    max-width: 1000px;
    margin: 140px auto 6rem auto;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.page-container h1 {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    padding-bottom: 0.5rem;
}

.page-container h2 {
    font-size: 1.8rem;
    color: #fff;
    margin: 1.5rem 0 0.8rem 0;
}

.page-container p, .page-container li {
    color: #e0e0e0;
    margin-bottom: 1rem;
}

/* Mobile Breakpoints */
@media (max-width: 992px) {
    .mobile-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(15, 15, 16, 0.98);
        flex-direction: column;
        padding: 2rem 1.5rem;
        gap: 1.5rem;
        border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    }

    .nav-links.active {
        display: flex;
    }

    .hero h1 {
        font-size: 3.2rem;
    }

    .hero-food-strip {
        grid-template-columns: 1fr 1fr;
    }

    .culinary-showcase, .menu-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-food-strip, .gallery-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}