/* ========================================
   GRIECHISCHE TAVERNE - DESIGN SYSTEM
   Authentische mediterrane Farbpalette
   ======================================== */

:root {
    /* Primäre Farben - Griechischer Stil */
    --primary-blue: #1a3a52;        /* Tiefes griechisches Blau */
    --accent-blue: #2563eb;          /* Helles Akzent-Blau */
    --gold: #d4a574;                 /* Warm-Gold */
    --terracotta: #c85a2d;          /* Terrakotta */
    
    /* Neutrals */
    --white: #f5f1e8;               /* Warmes Weiß */
    --cream: #ede8df;               /* Creme */
    --dark: #1a1a1a;                /* Dunkel */
    --gray: #6b7280;                /* Mittelgrau */
    --light-gray: #e5e7eb;          /* Hell-Grau */
    
    /* Typografie */
    --font-serif: 'Georgia', serif;
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Abstand & Größen */
    --spacing-unit: 1rem;
    --border-radius: 4px;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* ========================================
   GENERELLE STYLES
   ======================================== */

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

html {
    scroll-behavior: smooth;
    background-color: var(--white);
}

body {
    font-family: var(--font-sans);
    color: var(--dark);
    background-color: var(--white);
    line-height: 1.6;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    color: var(--primary-blue);
    margin-bottom: var(--spacing-unit);
    font-weight: 600;
    letter-spacing: 0.5px;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--accent-blue) 100%);
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
}

p {
    margin-bottom: 1rem;
    color: var(--gray);
    font-size: 1.05rem;
}

a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--gold);
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

.header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2c5aa0 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--gold);
}

.navbar {
    padding: 0.5rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.logo-wrapper {
    background-color: #ffffff;
    border: 3px solid var(--gold);
    border-radius: 6px;
    padding: 4px;
    box-shadow: 0 0 0 2px var(--primary-blue), 0 4px 12px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    height: 72px;
    width: 72px;
    object-fit: contain;
    display: block;
}

.taverna-name {
    color: var(--gold);
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 2rem;
    flex: 1;
    justify-content: flex-end;
}

.nav-link {
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.nav-link:hover {
    color: var(--gold);
    background-color: rgba(255, 255, 255, 0.1);
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 6px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ========================================
   BUTTONS & FORMS
   ======================================== */

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-size: 1.05rem;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--primary-blue) 100%);
    color: white;
    border: 2px solid var(--accent-blue);
    box-shadow: 0 4px 8px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(37, 99, 235, 0.4);
    background: linear-gradient(135deg, #1d4ed8 0%, #1a3a52 100%);
}

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

/* ========================================
   FORMS
   ======================================== */

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-blue);
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--light-gray);
    border-radius: var(--border-radius);
    font-family: var(--font-sans);
    font-size: 1rem;
    background-color: var(--white);
    transition: all 0.3s ease;
    color: var(--dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    background-color: #fafafa;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* ========================================
   SECTIONS & CONTAINER
   ======================================== */

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

.section {
    padding: 4rem 0;
}

.section:nth-child(even) {
    background-color: var(--cream);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2c5aa0 100%),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M20,30 Q40,20 60,30 T100,30" fill="none" stroke="rgba(212,165,116,0.1)" stroke-width="2"/></svg>');
    background-size: cover, 400px;
    color: white;
    text-align: center;
    padding: 8rem 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 4px solid var(--gold);
}

.hero-content h2 {
    color: var(--gold);
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero-content h2::after {
    background-color: white;
    width: 100px;
}

.hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-style: italic;
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-left: 4px solid var(--gold);
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
}

.about-text p {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* ========================================
   MENU SECTION
   ======================================== */

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.menu-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border-top: 4px solid var(--accent-blue);
    transition: all 0.3s ease;
}

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

.menu-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    border-bottom: 2px solid var(--gold);
    padding-bottom: 0.5rem;
}

.menu-card ul {
    list-style: none;
}

.menu-card li {
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--light-gray);
    color: var(--gray);
    font-size: 1rem;
    transition: all 0.2s ease;
}

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

.menu-card li:hover {
    padding-left: 0.5rem;
    color: var(--accent-blue);
    font-weight: 500;
}

/* ========================================
   RESERVATION SECTION
   ======================================== */

.reservation {
    background-color: white !important;
}

.reservation-form {
    max-width: 600px;
    margin: 2rem auto;
    background: var(--cream);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 2px solid var(--gold);
}

.message {
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-top: 1rem;
    text-align: center;
    font-weight: 600;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-info {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--accent-blue);
}

.contact-info h3 {
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.contact-info p {
    margin-bottom: 0.8rem;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-info a {
    color: var(--accent-blue);
    font-weight: 500;
}

.contact-info a:hover {
    color: var(--gold);
    text-decoration: underline;
}

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

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--accent-blue);
    color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-icon:hover {
    background-color: var(--gold);
    transform: scale(1.1);
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1a3a52 100%);
    color: var(--white);
    text-align: center;
    padding: 2rem;
    border-top: 3px solid var(--gold);
}

.footer p {
    color: rgba(245, 241, 232, 0.9);
    margin: 0 0 1.5rem 0;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-accordion-btn {
    background: none;
    border: none;
    color: var(--gold);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s ease;
    padding: 0;
    text-decoration: underline;
}

.footer-accordion-btn:hover {
    color: var(--white);
}

/* ========================================
   ACCORDION
   ======================================== */

.accordion-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 998;
}

.accordion-overlay.is-active {
    display: block;
}

.accordion-container {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 90%;
    max-width: 500px;
    height: 100vh;
    background: white;
    z-index: 999;
    transition: right 0.3s ease;
    overflow-y: auto;
    box-shadow: -4px 0 15px rgba(0, 0, 0, 0.2);
}

.accordion-container.is-active {
    display: block;
    right: 0;
}

.accordion-panel {
    display: none;
}

.accordion-panel.is-active {
    display: block;
    padding: 2rem;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--gold);
}

.accordion-header h2 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin: 0;
}

.accordion-close {
    background: none;
    border: none;
    font-size: 2.5rem;
    cursor: pointer;
    color: var(--primary-blue);
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.accordion-close:hover {
    color: var(--gold);
}

.accordion-content {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--gray);
}

.accordion-content p {
    margin-bottom: 1rem;
}

.accordion-content strong {
    color: var(--primary-blue);
}

@media (max-width: 768px) {
    .accordion-container {
        width: 100%;
        max-width: none;
    }

    .accordion-header h2 {
        font-size: 1.5rem;
    }

    .accordion-panel {
        padding: 1.5rem;
    }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: var(--primary-blue);
        padding: 1rem;
        gap: 0;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-link {
        padding: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .logo-section {
        width: 100%;
    }

    .logo {
        height: 56px;
        width: 56px;
    }

    .logo-wrapper {
        padding: 3px;
    }

    h2 {
        font-size: 2rem;
    }

    .hero {
        padding: 4rem 0;
        min-height: auto;
    }

    .hero-content h2 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .section {
        padding: 2.5rem 0;
    }

    .reservation-form {
        padding: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }

    h2 {
        font-size: 1.7rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    .hero-content h2 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .logo {
        height: 50px;
    }

    .taverna-name {
        font-size: 1.2rem;
    }

    .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.95rem;
    }

    .about-content {
        padding: 1.5rem;
    }

    .menu-card,
    .contact-info {
        padding: 1.5rem;
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
    .header,
    .footer,
    .nav-menu,
    .btn {
        display: none;
    }

    body {
        color: black;
        background: white;
    }
}
