/* Akropolis Restaurant - Stylesheet */

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Farben — mediterran/griechisch */
    --color-primary: #1a5276;       /* Aegaeis-Blau */
    --color-primary-light: #2980b9;
    --color-accent: #d4a84b;        /* Gold/Olive */
    --color-accent-light: #f0d78c;
    --color-bg: #faf8f5;            /* Warmweiss */
    --color-bg-dark: #1a1a2e;       /* Dunkel fuer Footer/Header */
    --color-text: #2c2c2c;
    --color-text-light: #f5f5f5;
    --color-text-muted: #6b6b6b;
    --color-border: #e0ddd8;

    /* Typografie */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Open Sans', system-ui, sans-serif;

    /* Spacing */
    --section-padding: 5rem 1.5rem;
    --container-max: 1100px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
}

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

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

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

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===== Header / Navigation ===== */
.header {
    background: var(--color-bg-dark);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header__container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.header__logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--color-accent);
    text-decoration: none;
    letter-spacing: 1px;
}

.header__nav {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.header__nav a {
    color: var(--color-text-light);
    text-decoration: none;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
    position: relative;
}

.header__nav a:hover,
.header__nav a.active {
    color: var(--color-accent);
}

.header__nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.3s;
}

.header__nav a:hover::after,
.header__nav a.active::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.header__toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.header__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text-light);
    margin: 5px 0;
    transition: transform 0.3s, opacity 0.3s;
}

/* ===== Hero ===== */
.hero {
    background: linear-gradient(rgba(26, 26, 46, 0.65), rgba(26, 26, 46, 0.75)),
                url('../images/hero.jpg') center/cover no-repeat;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-text-light);
    padding: 4rem 1.5rem;
}

.hero__content {
    max-width: 700px;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--color-accent-light);
}

.hero__subtitle {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.hero__tagline {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.1rem;
    margin-top: 1.5rem;
    color: var(--color-accent);
}

/* ===== Sections ===== */
.section {
    padding: var(--section-padding);
}

.section--alt {
    background: #f0ede8;
}

.section__title {
    font-family: var(--font-heading);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.section__subtitle {
    text-align: center;
    color: var(--color-text-muted);
    margin-bottom: 3rem;
}

/* ===== Info Cards (Oeffnungszeiten, Kontakt) ===== */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.info-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-top: 3px solid var(--color-accent);
}

.info-card__icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.info-card__title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.info-card__text {
    color: var(--color-text-muted);
    line-height: 1.8;
}

/* ===== Speisekarte (Menu) ===== */
.menu-category {
    margin-bottom: 3rem;
}

.menu-category__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-primary);
    border-bottom: 2px solid var(--color-accent);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.75rem 0;
    border-bottom: 1px dotted var(--color-border);
}

.menu-item__name {
    font-weight: 600;
}

.menu-item__desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-top: 0.25rem;
}

.menu-item__price {
    font-weight: 600;
    color: var(--color-primary);
    white-space: nowrap;
    margin-left: 1rem;
}

/* ===== Kontakt ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.contact-info strong {
    color: var(--color-primary);
}

.map-embed {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.map-embed iframe {
    width: 100%;
    height: 350px;
    border: 0;
}

/* ===== CTA Banner ===== */
.cta-banner {
    background: var(--color-primary);
    color: var(--color-text-light);
    text-align: center;
    padding: 3rem 1.5rem;
}

.cta-banner__title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.cta-banner__text {
    font-size: 1.1rem;
    opacity: 0.9;
}

.cta-banner a {
    color: var(--color-accent-light);
    font-weight: 600;
}

/* ===== Footer ===== */
.footer {
    background: var(--color-bg-dark);
    color: var(--color-text-light);
    padding: 3rem 1.5rem 1.5rem;
}

.footer__container {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.footer__title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.footer__text {
    font-size: 0.9rem;
    color: #aaa;
    line-height: 1.8;
}

.footer__links {
    list-style: none;
}

.footer__links li {
    margin-bottom: 0.5rem;
}

.footer__links a {
    color: #aaa;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer__links a:hover {
    color: var(--color-accent);
}

.footer__bottom {
    max-width: var(--container-max);
    margin: 2rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid #333;
    text-align: center;
    font-size: 0.85rem;
    color: #777;
}

/* ===== Legal Pages ===== */
.legal {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.legal h1 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 2rem;
}

.legal h2 {
    font-size: 1.3rem;
    color: var(--color-primary);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.legal p, .legal li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.legal ul {
    padding-left: 1.5rem;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .header__nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--color-bg-dark);
        flex-direction: column;
        padding: 1rem 1.5rem 1.5rem;
        gap: 0;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    }

    .header__nav.is-open {
        display: flex;
    }

    .header__nav li {
        padding: 0.75rem 0;
        border-bottom: 1px solid #333;
    }

    .header__toggle {
        display: block;
    }

    .hero__title {
        font-size: 2rem;
    }

    .hero__subtitle {
        font-size: 1rem;
    }

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

    .section {
        padding: 3rem 1rem;
    }
}
