/* ============================================
   CAFÉ KLATSCH - STYLESHEET
   ============================================
   Farben und Grundeinstellungen ganz oben,
   so kannst du sie leicht ändern!
   ============================================ */

/* === FARB-VARIABLEN === */
:root {
    --braun-dunkel: #3d2314;
    --braun-mittel: #6b4423;
    --creme: #f5f0e8;
    --gold: #c9a961;
    --weiss: #ffffff;
}

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

body {
    font-family: 'Lato', sans-serif;
    background-color: var(--creme);
    color: var(--braun-dunkel);
    line-height: 1.6;
}

/* === HEADER === */
header {
    /* HINTERGRUNDBILD - hier deinen eigenen Pfad eintragen */
    background-image: url(Whiskey.jpg);

    /* Bild-Einstellungen */
    background-size: cover;          /* Bild füllt den ganzen Bereich */
    background-position: center;     /* Bild ist zentriert */
    background-repeat: no-repeat;    /* Bild wiederholt sich nicht */
    background-attachment: fixed;    /* Parallax-Effekt beim Scrollen */

    color: var(--creme);
    text-align: center;
    padding: 100px 20px;             /* Mehr Höhe für das Bild */
    position: relative;
    overflow: hidden;
}

/* Dunkles Overlay - macht Text besser lesbar */
header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
            135deg,
            rgba(61, 35, 20, 0.35) 0%,    /* braun-dunkel mit 85% Deckkraft */
            rgba(107, 68, 35, 0.75) 100%  /* braun-mittel mit 75% Deckkraft */
    );
    z-index: 1;
}

header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 4px 8px rgba(0,0,0,0.5);
    position: relative;
    z-index: 2;    /* Text liegt ÜBER dem Overlay */
}

header p {
    font-size: 1.3rem;
    font-weight: 300;
    position: relative;
    z-index: 2;    /* Text liegt ÜBER dem Overlay */
    text-shadow: 1px 2px 4px rgba(0,0,0,0.5);
}

/* === NAVIGATION === */
nav {
    background: var(--braun-dunkel);
    padding: 15px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav a {
    color: var(--creme);
    text-decoration: none;
    margin: 0 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

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

/* === HAUPT-CONTAINER === */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* === SEKTIONS-TITEL === */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--braun-dunkel);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

/* Goldene Linie unter Titeln */
.section-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background: var(--gold);
    margin: 15px auto 0;
}

/* === AKTUELLES SEKTION === */
#aktuelles {
    margin-bottom: 60px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background: var(--weiss);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.news-card p {
    white-space: pre-line;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.news-card .datum {
    color: var(--gold);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: block;
}

.news-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--braun-dunkel);
}

/* === FACEBOOK SEKTION === */
#facebook {
    margin-bottom: 60px;
    text-align: center;
}

.facebook-container {
    background: var(--weiss);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: inline-block;
}

.facebook-hinweis {
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--braun-mittel);
}

/* === PREISLISTE === */
#preisliste {
    margin-bottom: 60px;
}

.preis-kategorie {
    background: var(--weiss);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.preis-kategorie h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--braun-mittel);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gold);
}

.preis-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed #ddd;
}

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

.preis-item .name {
    font-weight: 400;
}

.preis-item .beschreibung {
    font-size: 0.85rem;
    color: #888;
    font-style: italic;
}

.preis-item .preis {
    font-weight: 700;
    color: var(--braun-dunkel);
    font-size: 1.1rem;
}

/* === FOOTER === */
footer {
    background: var(--braun-dunkel);
    color: var(--creme);
    text-align: center;
    padding: 40px 20px;
}

footer a {
    color: var(--gold);
    text-decoration: none;
}

/* === FOOTER LAYOUT (zweispaltig) === */
.footer-content {
    display: flex;              /* Elemente nebeneinander */
    justify-content: space-between;  /* Links und rechts verteilen */
    max-width: 800px;
    margin: 0 auto 20px;
    text-align: left;
}

.footer-right {
    text-align: right;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
    header h1 {
        font-size: 2.5rem;
    }

    nav a {
        display: block;
        margin: 10px 0;
    }

    .section-title {
        font-size: 2rem;
    }
    
    /* Footer untereinander auf Handys */
    .footer-content {
        flex-direction: column;  /* Untereinander statt nebeneinander */
        text-align: center;
    }
    .footer-right {
        text-align: center;
        margin-top: 20px;
    }
}

.news-card .news-bild {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
    display: block;
}

/* === GALERIE === */
#galerie { margin-bottom: 60px; }

.galerie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
}

.galerie-item {
    background: var(--weiss);
    border-radius: 12px;
    overflow: hidden;              /* Bild wird an den runden Ecken beschnitten */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.3s;
}
.galerie-item:hover { transform: translateY(-5px); }

.galerie-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;             /* Bild fuellt den Rahmen ohne zu verzerren */
    display: block;
}

.galerie-item figcaption {
    padding: 10px;
    font-size: 0.9rem;
    text-align: center;
    color: var(--braun-mittel);
}

/* === LIGHTBOX === */
#lightbox {
    display: none;                 /* wird per JS auf flex gesetzt */
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.9);
    align-items: center;
    justify-content: center;
    z-index: 200;
    cursor: zoom-out;
}
#lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
}


/* === INHALTSSEITEN (Impressum, Datenschutz) === */
.inhalt-box { background: var(--weiss); padding: 40px; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.inhalt-box h2 { margin-bottom: 20px; }
.inhalt-box h2 + p { margin-top: 0; }
.inhalt-box h2:not(:first-child), .inhalt-box h3 { margin-top: 30px; }
