/* ============================================================
   MAGDALENA ROGALA — Elegancki motyw fryzjerski
   Czarne tło, złote akcenty, klasyczna typografia
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Jost:wght@300;400;500;600&display=swap');

/* --- Zmienne --- */
:root {
    --gold:        #c9a84c;
    --gold-light:  #e2c97e;
    --gold-dark:   #8b6914;
    --bg-deep:     #0a0a0a;
    --bg-card:     #111111;
    --bg-elevated: #181818;
    --surface:     #1f1f1f;
    --border:      rgba(201, 168, 76, 0.18);
    --border-gold: rgba(201, 168, 76, 0.45);
    --text-primary:#f5f0e8;
    --text-muted:  #9a8f7e;
    --radius-sm:   6px;
    --radius-md:   12px;
    --radius-lg:   20px;
}

/* --- Reset i baza --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    color: var(--text-primary);
    background-color: var(--bg-deep);
    background-image:
        radial-gradient(ellipse 80% 60% at 20% 10%, rgba(201,168,76,0.04) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 90%, rgba(20,20,60,0.6) 0%, transparent 60%);
    background-attachment: fixed;
    padding-bottom: 72px;
    line-height: 1.7;
}

h1, h2, h3 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    letter-spacing: 0.03em;
    line-height: 1.2;
}

/* ============================================================
   HEADER
   ============================================================ */
header {
    background: rgba(8, 8, 8, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--gold);
    padding: 0;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 3000;
    border-bottom: 1px solid var(--border);
}



/* Złota linia pod tytułem */
.header-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
    margin: 8px auto 0;
}

/* --- Menu --- */
.menu {
    background: transparent;
    padding: 10px 30px 14px;
}

.menu ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0;
    padding: 0;
    align-items: center;
    justify-content: center;
}

.menu li { position: relative; }

.menu a {
    display: inline-block;
    text-decoration: none;
    color: #b0a890;
    font-family: 'Jost', sans-serif;
    font-weight: 400;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 7px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    transition: color 0.25s, border-color 0.25s, background 0.25s;
}

.menu a:hover {
    color: var(--gold);
    border-color: var(--border-gold);
    background: rgba(201,168,76,0.07);
    transform: none;
    box-shadow: none;
}

@media (max-width: 768px) {
    .menu ul { flex-direction: column; gap: 8px; }
}

/* ============================================================
   CONTAINER
   ============================================================ */
.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px 60px;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
    padding: 70px 0 40px;
    margin-bottom: 20px;
}

.section h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 300;
    font-style: italic;
    color: var(--gold-light);
    margin-bottom: 36px;
    position: relative;
    display: inline-block;
}

.section h2::after {
    content: '';
    display: block;
    height: 1px;
    background: linear-gradient(to right, var(--gold), transparent);
    margin-top: 10px;
    width: 100%;
}

/* ============================================================
   SEKCJA O MNIE
   ============================================================ */
#o-mnie {
    text-align: center;
    padding: 80px 20px 50px;
    position: relative;
}

#o-mnie::before {
    content: '✦';
    display: block;
    font-size: 1.2rem;
    color: var(--gold);
    opacity: 0.5;
    margin-bottom: 24px;
    letter-spacing: 0.5em;
}

#o-mnie h2 {
    display: block;
    font-size: clamp(2rem, 4vw, 3.2rem);
}

#o-mnie p {
    max-width: 560px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.9;
}

/* ============================================================
   KALENDARZ
   ============================================================ */
#kalendarz .kalendarz-miesiac {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
    justify-content: flex-start;
}

.dzien {
    min-width: 110px;
    border-radius: var(--radius-sm);
    padding: 8px 14px;
    font-size: 0.78rem;
    font-family: 'Jost', sans-serif;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-align: center;
    cursor: pointer;
    transition: transform 0.18s, box-shadow 0.18s, opacity 0.18s;
    border: 1px solid transparent;
}

.dzien:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.wolny {
    background-color: rgba(34,139,34,0.12);
    border-color: rgba(80,180,80,0.25);
    color: #7ecf7e;
}

.zajety {
    background-color: rgba(180,80,0,0.12);
    border-color: rgba(200,100,0,0.25);
    color: #d49060;
}

.polowa {
    background: linear-gradient(to right, rgba(34,139,34,0.12) 50%, rgba(180,80,0,0.12) 50%);
    border-color: rgba(201,168,76,0.2);
    color: var(--text-primary);
}

.info-kalendarz {
    margin-top: 18px;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ============================================================
   MODAL
   ============================================================ */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.82);
    backdrop-filter: blur(6px);
    justify-content: center;
    align-items: center;
    z-index: 4000;
}

.modal-content {
    background: var(--bg-card);
    color: var(--text-primary);
    padding: 32px;
    border-radius: var(--radius-lg);
    max-width: 440px;
    width: 90%;
    max-height: 84vh;
    overflow-y: auto;
    position: relative;
    border: 1px solid var(--border-gold);
    box-shadow: 0 30px 80px rgba(0,0,0,0.7), 0 0 0 1px rgba(201,168,76,0.08);
    animation: modalIn 0.25s cubic-bezier(0.34,1.56,0.64,1);
}

@keyframes modalIn {
    from { transform: scale(0.92) translateY(10px); opacity: 0; }
    to   { transform: scale(1) translateY(0); opacity: 1; }
}

.modal-content h3 {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    color: var(--gold-light);
    font-size: 1.4rem;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    cursor: pointer;
    font-size: 22px;
    color: var(--text-muted);
    line-height: 1;
    transition: color 0.2s;
    font-weight: 300;
}

.modal-close:hover { color: var(--gold); }

/* Godziny w modalu */
.godzina {
    padding: 0;
    margin: 6px 0;
    border-radius: var(--radius-sm);
    text-align: left;
    color: var(--text-primary);
    font-size: 0.82rem;
    letter-spacing: 0.05em;
    font-family: 'Jost', sans-serif;
    border: 1px solid var(--border);
    overflow: hidden;
}

.godzina.wolny  { background: rgba(34,139,34,0.08);  border-color: rgba(80,180,80,0.2); }
.godzina.zajety { background: rgba(180,80,0,0.1); border-color: rgba(200,100,0,0.2); cursor: not-allowed; }
.godzina.polowa { background: linear-gradient(to right, rgba(34,139,34,0.08) 50%, rgba(180,80,0,0.1) 50%); }

/* ============================================================
   FORMULARZ REZERWACJI
   ============================================================ */
#rezerwacje { color: var(--text-primary); padding: 70px 0 50px; }

#rezerwacje h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 300;
    font-style: italic;
    color: var(--gold-light);
    margin-bottom: 36px;
    position: relative;
    display: inline-block;
}

#rezerwacje h2::after {
    content: '';
    display: block;
    height: 1px;
    background: linear-gradient(to right, var(--gold), transparent);
    margin-top: 10px;
    width: 100%;
}

.card {
    max-width: 500px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 36px 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-gold);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(201,168,76,0.05);
    transition: box-shadow 0.3s;
}

.card:hover {
    box-shadow: 0 28px 70px rgba(0,0,0,0.6), 0 0 30px rgba(201,168,76,0.06);
}

#rezerwacje form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#rezerwacje label {
    font-family: 'Jost', sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 4px;
}

#rezerwacje input[type="date"],
#rezerwacje input[type="time"],
#rezerwacje select,
#rezerwacje textarea,
input, select, textarea {
    width: 100%;
    background: var(--surface);
    border: 1px solid rgba(201,168,76,0.2);
    border-radius: var(--radius-sm);
    padding: 11px 14px;
    color: var(--text-primary);
    font-family: 'Jost', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

#rezerwacje input:focus,
#rezerwacje select:focus,
#rezerwacje textarea:focus,
input:focus, select:focus, textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
    outline: none;
}

/* Kolor kalendarza/zegara w date/time inputach */
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
    filter: invert(0.6) sepia(1) saturate(2) hue-rotate(5deg);
    cursor: pointer;
    opacity: 0.7;
}

select option {
    background: var(--bg-card);
    color: var(--text-primary);
}

#rezerwacje textarea { resize: vertical; min-height: 80px; }

button, #rezerwacje button {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: #0a0a0a;
    font-family: 'Jost', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 14px 24px;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 16px rgba(201,168,76,0.25);
    width: 100%;
}

button:hover, #rezerwacje button:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(201,168,76,0.35);
}

button:active { transform: translateY(0); }

.komunikat {
    max-width: 500px;
    margin: 20px auto 0;
    padding: 14px 20px;
    background: var(--surface);
    border-left: 3px solid var(--gold);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.88rem;
    text-align: center;
}

@media (max-width: 600px) {
    .card { padding: 24px 20px; }
}

/* ============================================================
   PORTFOLIO FRYZUR
   ============================================================ */
#fryzury { padding: 70px 0 50px; }

.fryzury {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 10px;
}

.fryzura-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    text-align: center;
    transition: transform 0.28s cubic-bezier(0.34,1.2,0.64,1), box-shadow 0.28s, border-color 0.28s;
    padding: 0 0 16px;
}

.fryzura-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    border-color: var(--border-gold);
}

.fryzura-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}

.fryzura-card:hover img { transform: scale(1.04); }

.fryzura-card p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    font-style: italic;
    color: var(--gold-light);
    margin: 14px 12px 4px;
    line-height: 1.3;
}

.fryzura-card small {
    display: block;
    font-size: 0.76rem;
    color: var(--text-muted);
    margin: 0 12px;
    line-height: 1.5;
}

/* ============================================================
   KOMENTARZE / OPINIE
   ============================================================ */
.comments-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding: 40px;
}

.comment-form {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    background: var(--bg-card);
    padding: 28px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-gold);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.comment-form h2 {
    margin-top: 0;
    color: var(--gold-light);
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 300;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 14px;
    margin: 8px 0 18px;
    border: 1px solid rgba(201,168,76,0.2);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--text-primary);
    font-family: 'Jost', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    resize: vertical;
    transition: border-color 0.2s;
}

.comment-form input::placeholder,
.comment-form textarea::placeholder { color: var(--text-muted); }

.comment-form input:focus,
.comment-form textarea:focus { border-color: var(--gold); outline: none; }

.comment-form textarea[name="comment"] { height: 220px; }

.comment-form button {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: #0a0a0a;
    border: none;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    width: auto;
    transition: opacity 0.2s, transform 0.2s;
}

.comment-form button:hover { opacity: 0.88; transform: translateY(-1px); }

.comments-list { flex: 2; min-width: 320px; }

.feed-back-card {
    background: var(--bg-elevated);
    padding: 22px;
    margin-bottom: 18px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: border-color 0.2s, transform 0.2s;
}

.feed-back-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-2px);
}

.feed-back-card h3 {
    margin: 0 0 10px;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    color: var(--gold-light);
    font-weight: 300;
}

.feed-back-card p {
    margin: 0 0 10px;
    line-height: 1.6;
    color: #c0b8a8;
}

.comment-card {
    background: rgba(255,255,255,0.03);
    padding: 12px 14px;
    margin-top: 10px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    position: relative;
}

.comment-card .comment-author {
    font-weight: 500;
    font-size: 0.8rem;
    color: var(--gold);
    letter-spacing: 0.06em;
}

.comment-card .comment-text {
    font-size: 0.88rem;
    margin-top: 5px;
    white-space: pre-wrap;
    color: #b8b0a0;
}

.comment-card .comment-actions { margin-top: 8px; font-size: 0.78rem; }

.comment-card .comment-actions a {
    color: var(--gold);
    text-decoration: none;
    margin-right: 10px;
    transition: color 0.2s;
    letter-spacing: 0.04em;
}

.comment-card .comment-actions a:hover { color: var(--gold-light); }

.comment-card .replies {
    margin-top: 10px;
    margin-left: 20px;
    border-left: 2px solid rgba(201,168,76,0.3);
    padding-left: 12px;
}

.comment-card form { display: inline-block; margin-right: 5px; }

.comment-card button {
    background: rgba(201,168,76,0.12);
    border: 1px solid rgba(201,168,76,0.3);
    color: var(--gold);
    padding: 4px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.76rem;
    font-weight: 500;
    width: auto;
    letter-spacing: 0.06em;
    box-shadow: none;
    transition: background 0.2s;
}

.comment-card button:hover { background: rgba(201,168,76,0.22); }

@media (max-width: 900px) {
    .comments-wrapper { flex-direction: column; }
    .comments-list, .comment-form { max-width: 100%; }
}

/* ============================================================
   MODAL LOGOWANIE / REJESTRACJA
   ============================================================ */
#popup-modal {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0.82);
    backdrop-filter: blur(8px);
    z-index: 9999;
}

#popup-modal .modal-content {
    
    color: var(--text-primary);
    padding: 28px;
    border-radius: var(--radius-lg);
    min-width: 340px;
    max-width: 490px;
    border: 1px solid var(--border-gold);
    box-shadow: 0 30px 80px rgba(0,0,0,0.8);
    position: relative;
}

#popup-close {
    position: absolute;
    right: 14px;
    top: 10px;
    font-size: 22px;
    cursor: pointer;
    color: var(--text-muted);
    font-weight: 300;
    line-height: 1;
}

#popup-close:hover { color: var(--gold); }

#popup-body { margin-top: 8px; }

/* ============================================================
   STOPKA
   ============================================================ */
.footer {
    background: var(--bg-card);
    color: var(--text-muted);
    text-align: center;
    padding: 18px 20px;
    font-size: 0.76rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-top: 1px solid var(--border);
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 3000;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.footer:hover { opacity: 1; }

/* ============================================================
   CHAT & OPINIE (generyczne)
   ============================================================ */
.chat, .opinie {
    background: var(--bg-card);
    color: var(--text-primary);
    padding: 20px;
    border-radius: var(--radius-md);
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid var(--border);
}

.chat textarea { resize: none; }

.email-input {
    color: yellow;
}



/* ============================================================
   LIGHT MODE
   ============================================================ */
body.light-mode {
    /* =========================
       PALETA PREMIUM GOLD
       ========================= */
    --gold:        #7a5c10;
    --gold-light:  #9a7a2a;
    --gold-dark:   #4e3a08;

    --bg-deep:     #f3ede3;
    --bg-card:     rgba(255, 255, 255, 0.72);
    --bg-elevated: #eee6d8;
    --surface:     rgba(240, 232, 220, 0.65);

    --border:      rgba(122, 92, 16, 0.18);
    --border-gold: rgba(122, 92, 16, 0.35);

    --text-primary:#1b1712;
    --text-muted:  #6a5c4a;

    /* =========================
       TŁO — ŚWIATŁO + PROMIENIE
       ========================= */
    background:
        /* promienie z góry (bardzo subtelne) */
        repeating-linear-gradient(
            180deg,
            rgba(122, 92, 16, 0.04) 0px,
            rgba(122, 92, 16, 0.00) 140px
        ),

        /* światło centralne */
        radial-gradient(
            ellipse at 50% 0%,
            rgba(201, 168, 76, 0.14),
            transparent 60%
        ),

        /* ciepły narożnik */
        radial-gradient(
            ellipse at 85% 85%,
            rgba(240, 220, 180, 0.25),
            transparent 65%
        ),

        /* baza */
        linear-gradient(
            180deg,
            #f4ede3,
            #ece3d6
        );

    min-height: 100vh;
}

/* =========================
   HEADER — STABILNY GLASS
   ========================= */
body.light-mode header {
    background: rgba(244, 237, 227, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

/* =========================
   FOOTER
   ========================= */
body.light-mode .footer {
    background: #e9e0d2;
    border-top: 1px solid var(--border);
}

/* =========================
   NAWIGACJA — BEZ RUCHU
   (celowo brak transform / letter-spacing)
   ========================= */
body.light-mode .menu a {
    color: #5a4e3a;
    transition: color 0.2s ease;
}

body.light-mode .menu a:hover {
    color: var(--gold);
}

/* =========================
   MODALE — PREMIUM GLASS
   ========================= */
body.light-mode .modal-content {
    background: var(--bg-card);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}

/* =========================
   INPUTY — MIĘKKIE POWIERZCHNIE
   ========================= */
body.light-mode input,
body.light-mode select,
body.light-mode textarea {
    background: rgba(240, 232, 220, 0.75);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

/* select option — neutral */
body.light-mode select option {
    background: #ffffff;
    color: var(--text-primary);
}

/* =========================
   PRZEŁĄCZNIK — GOLD PREMIUM
   ========================= */
.theme-toggle {
    background: linear-gradient(
        135deg,
        rgba(122, 92, 16, 0.18),
        rgba(154, 122, 42, 0.10)
    );

    border: 1px solid var(--border-gold);
    border-radius: 999px;

    padding: 5px 14px;

    cursor: pointer;

    font-family: 'Jost', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    color: var(--gold);

    display: flex;
    align-items: center;
    gap: 6px;

    transition: background 0.2s ease;
}

.theme-toggle:hover {
    background: rgba(122, 92, 16, 0.12);
    opacity: 1;
    transform: none; /* ważne: brak ruchu */
}

.theme-toggle-icon {
    font-size: 1rem;
}


/* ============================================================
   RESPONSYWNOŚĆ — MOBILE & TABLET
   ============================================================ */

/* --- Tablet (do 1024px) --- */
@media (max-width: 1024px) {
    .container {
        padding: 0 16px 60px;
    }

    .fryzury {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }

    .card {
        padding: 28px 24px;
    }
}

/* --- Mobile i tablet (do 768px) --- */
@media (max-width: 768px) {

    /* Header */
    header {
        position: sticky;
        top: 0;
    }

   
   

      .header-left         { display:flex; align-items:center; gap:10px; padding:0 10px; }
.header-left img     { height:200px; width:200px; object-fit:contain; }
.header-title        { margin:0; line-height:1; white-space:nowrap; }
.nav.menu ul          { display:flex; align-items:center; margin:0; padding:0; }
.site-header         { display:flex; align-items:center; justify-content:space-between; padding:0 20px; }

    /* Nawigacja */
    .menu {
        padding: 8px 12px 12px;
        width: 100%;
    }

    .menu ul {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px;
    }

    .menu a {
        font-size: 0.7rem;
        padding: 6px 10px;
        letter-spacing: 0.08em;
    }

    /* Theme toggle i lang switch */
    .theme-toggle {
        padding: 4px 10px;
        font-size: 0.7rem;
    }

    .lang-btn {
        padding: 4px 8px;
        font-size: 0.7rem;
    }

    /* Sekcje */
    .section {
        padding: 40px 0 24px;
    }

    .section h2 {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: 24px;
    }

    /* O mnie */
    #o-mnie {
        padding: 50px 12px 30px;
    }

    #o-mnie p {
        font-size: 0.95rem;
    }

    /* Kalendarz */
    #kalendarz .kalendarz-miesiac {
        gap: 6px;
    }

    .dzien {
        min-width: 80px;
        font-size: 0.72rem;
        padding: 6px 8px;
    }

    /* Formularz rezerwacji */
    .card {
        padding: 20px 16px;
        border-radius: var(--radius-md);
    }

    /* Portfolio fryzur */
    .fryzury {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .fryzura-card img {
        height: 140px;
    }

    /* Komentarze */
    .comments-wrapper {
        flex-direction: column;
        padding: 20px 12px;
        gap: 20px;
    }

    .comment-form {
        max-width: 100%;
        padding: 20px 16px;
    }

    .comment-form textarea[name="comment"] {
        height: 140px;
    }

    /* Modal */
    .modal-content {
        padding: 20px 18px;
        max-width: 95vw;
        border-radius: var(--radius-md);
    }

    /* Godziny w modalu */
    #hours-container {
        max-height: 55vh;
        overflow-y: auto;
    }

    /* Stopka */
    .footer {
        font-size: 0.68rem;
        padding: 14px 12px;
    }
}

/* --- Małe mobile (do 480px) --- */
@media (max-width: 480px) {

    .header-title {
        font-size: 1.3rem;
        padding: 8px 12px 4px;
    }

    .menu ul {
        gap: 2px;
    }

    .menu a {
        font-size: 0.65rem;
        padding: 5px 7px;
    }

    .fryzury {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .fryzura-card img {
        height: 120px;
    }

    .fryzura-card p {
        font-size: 0.88rem;
    }

    .dzien {
        min-width: 70px;
        font-size: 0.68rem;
    }

    .card {
        padding: 16px 12px;
    }

    .section h2 {
        font-size: 1.4rem;
    }

    /* Jeden kafelek na wiersz na bardzo małych ekranach */
    .rez-grid {
        grid-template-columns: 1fr;
    }

    .comments-wrapper {
        padding: 16px 8px;
    }
}

/* --- Bardzo małe (do 360px) --- */
@media (max-width: 360px) {

    .menu a {
        font-size: 0.6rem;
        padding: 4px 6px;
    }

    .fryzury {
        grid-template-columns: 1fr;
    }

    .header-title {
        font-size: 1.1rem;
    }
}



