/*
Theme Name: Cafe & Wine Prestige
Theme URI: https://cafewine.pl
Author: Twój Pomocnik w Programowaniu
Description: Nastrojowy, ekskluzywny motyw dla kawiarni i barów z radiem internetowym.
Version: 1.7
Text Domain: cafewine
*/

/* --- ZMIENNE KOLORYSTYCZNE "PRESTIŻ I CIEPŁO" --- */
:root {
    /* Tła i ogólny nastrojowy komfort */
    --cw-bg-dark: #2B1D19;       /* Deep Espresso / Rich Mahogany */
    --cw-bg-subtle: #3D2924;     /* Roasted Coffee */
    --cw-text-on-dark: #FDF9F3;  /* Champagne Cream */

    /* Akcenty Bogactwa (Złoto i Wino) */
    --cw-gold: #D4AF37;          /* Champagne Gold */
    --cw-gold-light: rgba(212, 175, 55, 0.3); 
    --cw-accent-burgundy: #6D1F23; /* Prestige Burgundy */

    /* Sekcje Treści (Zmienione na Ciemny Prestiż!) */
    --cw-content-bg: #2B1D19;    /* Ciemne tło dla całej strony */
    --cw-text-main: #FDF9F3;     /* Jasny, czytelny kremowy tekst */
    --cw-text-subtle: #AFAFAF;   /* Jasnoszary do opisów */

    /* Fonty */
    --font-heading: 'Playfair Display', serif; 
    --font-body: 'Lato', sans-serif;           
}

/* --- RESET I BAZA --- */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    background-color: var(--cw-bg-dark); 
    color: var(--cw-text-on-dark);    
    line-height: 1.6; 
    -webkit-font-smoothing: antialiased;
}

/* --- TYPOGRAFIA PRESTIŻOWA --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--cw-gold); 
    margin-top: 0;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

p {
    margin-bottom: 1.2rem;
    font-size: 1.05rem; 
    color: var(--cw-text-main);
}

a {
    color: var(--cw-gold); 
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

a:hover {
    color: #FFFFFF; 
}

/* --- KLASY POMOCNICZE --- */
.container {
    max-width: 1100px; 
    margin: 0 auto;
    padding: 0 20px;
}

/* --- LUKSUSOWY NAGŁÓWEK --- */
.site-header {
    background-color: var(--cw-bg-dark); 
    padding: 1rem 0; 
    border-bottom: 1px solid rgba(212, 175, 55, 0.5); 
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    position: relative;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    margin: 0;
    font-size: 1.8rem; 
    letter-spacing: 2px;
    font-weight: 900;
}

.site-title a {
    color: var(--cw-gold); 
    text-shadow: 0 2px 8px rgba(212, 175, 55, 0.2);
}

.site-description {
    color: var(--cw-text-on-dark);
    opacity: 0.8;
    font-size: 0.8rem; 
}

/* --- MENU GŁÓWNE (Desktop) --- */
.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 2rem; 
}

.main-navigation a {
    color: var(--cw-text-on-dark); 
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem; 
    letter-spacing: 1.5px;
    position: relative;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px; 
    bottom: -4px;
    left: 0;
    background-color: var(--cw-gold);
    transition: width 0.3s ease;
}

.main-navigation a:hover {
    color: var(--cw-gold);
}

.main-navigation a:hover::after {
    width: 100%;
}

/* --- KAFELEK DLA TREŚCI --- */
.typography-tile {
    background: rgba(15, 15, 15, 0.75); 
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.3); 
    border-radius: 12px; 
    padding: 2.5rem 2rem; 
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8); 
    margin: 0 auto;
    max-width: 650px; 
    z-index: 1;
    color: #FFFFFF; 
}

.typography-tile p {
    color: #F8F8F8; 
    font-size: 1rem; 
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8); 
}

.typography-tile h1, .typography-tile h2, .typography-tile h3 {
    color: var(--cw-gold); 
    text-shadow: 0 4px 15px rgba(0,0,0,0.9);
}

/* --- PRZYCISKI "BOGACTWO" --- */
.btn, .header-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px; 
    background-color: transparent; 
    color: var(--cw-gold);          
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.8rem; 
    text-transform: uppercase;
    letter-spacing: 1.5px; 
    border-radius: 50px; 
    border: 1px solid var(--cw-gold); 
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover, .header-btn:hover {
    background-color: var(--cw-gold);
    color: var(--cw-bg-dark); 
    transform: translateY(-2px);
    box-shadow: 0 6px 15px var(--cw-gold-light);
}

/* --- GLOBALNE SEKCJE TREŚCI (NAPRAWIONE KOLORY) --- */
.content-section {
    background-color: var(--cw-content-bg); 
    color: var(--cw-text-main);          
    padding: 4rem 0; 
}

.content-section p, 
.content-section li, 
.content-section span,
.content-section div {
    color: var(--cw-text-main) !important;
}

.content-section h1, 
.content-section h2, 
.content-section h3, 
.content-section h4 {
    color: var(--cw-gold) !important; 
}

/* --- STOPKA --- */
.site-footer {
    background-color: var(--cw-bg-dark); 
    color: var(--cw-text-on-dark);
    text-align: center;
    padding: 3rem 0; 
    margin-top: 0; 
    border-top: 1px solid rgba(212, 175, 55, 0.4); 
}

.site-footer p {
    margin: 0 0 0.5rem; 
    opacity: 0.9;
    font-size: 0.85rem;
}

.theme-credits {
    font-size: 0.85rem;
    color: var(--cw-gold) !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
}