/* --- FUNDAMENT --- */
:root {
    --bg: #0a0a0a;
    --text: #ffffff;
    --accent: #c5a059;
    --gray: #888;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }

body { background-color: var(--bg); color: var(--text); line-height: 1.6; }

/* --- NAGŁÓWEK --- */
header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 8%; border-bottom: 1px solid #222;
}

.logo-container { display: flex; align-items: center; gap: 15px; text-decoration: none; }
.header-logo { height: 40px; }
.logo-text { font-size: 1.2rem; letter-spacing: 5px; font-weight: 300; color: var(--text); }

nav ul { display: flex; list-style: none; gap: 25px; }
nav a { text-decoration: none; color: var(--text); font-size: 0.9rem; letter-spacing: 1px; transition: 0.3s; }
nav a:hover, nav a.active { color: var(--accent); }

/* --- SEKCJE TYTUŁOWE --- */
.section-title { text-align: center; padding: 60px 20px 30px; }
.section-title h2 { color: var(--accent); letter-spacing: 4px; text-transform: uppercase; font-weight: 300; font-size: 2rem; }
.section-title p { color: var(--gray); font-style: italic; margin-top: 10px; }

/* --- KONTAKT & FORMULARZ --- */
.contact-container { max-width: 600px; margin: 0 auto; padding: 40px 20px; }

/* Rozdzielenie telefonu i Instagrama do pionu */
.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.contact-item {
    text-decoration: none;
    color: var(--text);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.contact-item:hover { color: var(--accent); }

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.contact-form input, .contact-form select, .contact-form textarea {
    width: 100%; padding: 15px; background: #151515; border: 1px solid #333; color: white; font-size: 1rem;
}

.submit-btn {
    background: var(--accent); color: black; padding: 15px; border: none; 
    cursor: pointer; text-transform: uppercase; letter-spacing: 2px; font-weight: bold; transition: 0.3s;
}

.submit-btn:hover { background: #d4b477; transform: translateY(-2px); }

/* --- O MNIE & PRZYCISKI CTA --- */
.about-container { padding: 60px 8%; }
.about-content { display: flex; gap: 50px; align-items: center; }
.about-image img { max-width: 400px; border-radius: 2px; }

.cta-button {
    display: inline-block; margin-top: 30px; padding: 15px 35px;
    background: transparent; color: var(--accent); border: 1px solid var(--accent);
    text-decoration: none; text-transform: uppercase; letter-spacing: 2px; transition: 0.3s;
}

.cta-button:hover { background: var(--accent); color: black; }

/* --- STRONA GŁÓWNA - UKŁAD KAFELKÓW --- */
.home-hero {
    display: flex;
    height: calc(100vh - 80px);
    overflow: hidden;
}

.category-tile {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: flex 0.5s ease;
}

.category-tile:hover { flex: 1.1; }

.category-tile img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.5;
    transition: opacity 0.5s ease;
}

.category-tile:hover img { opacity: 0.8; }

.tile-content { z-index: 2; text-align: center; }

.tile-content h2 {
    color: white;
    font-size: 3rem;
    letter-spacing: 10px;
    text-transform: uppercase;
    font-weight: 300;
    border: 1px solid white;
    padding: 15px 40px;
}

/* --- GALERIA, MODAL & SENSUAL --- */
main {
    position: relative;
    width: 100%;
    min-height: 80vh;
    overflow: hidden; /* To utnie poświatę wychodzącą poza obszar galerii */
}

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 15px; padding: 0 8% 60px; }
.gallery-grid img { width: 100%; cursor: pointer; transition: 0.3s; }

.modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); justify-content: center; align-items: center; }
.modal-content { max-width: 90%; max-height: 90%; }

/* Nakładka 18+ (Poprawiona widoczność) */
.overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85); /* Zwiększone krycie dla lepszego efektu */
    display: flex; justify-content: center; align-items: center;
    z-index: 100;
}

.overlay-content { text-align: center; padding: 20px; border: 1px solid var(--accent); background: rgba(10, 10, 10, 0.9); }

.blurred {
    filter: blur(25px);
    pointer-events: none;
    transition: filter 1s ease;
}

.overlay-btn {
    background: transparent; color: var(--accent); border: 1px solid var(--accent);
    padding: 15px 30px; margin-top: 20px; cursor: pointer;
    text-transform: uppercase; letter-spacing: 2px; transition: 0.3s;
}

.overlay-btn:hover { background: var(--accent); color: black; }

/* --- RESPONSYWNOŚĆ --- */
@media (max-width: 768px) {
    .about-content { flex-direction: column; text-align: center; }
    header { flex-direction: column; gap: 15px; }
    .home-hero { flex-direction: column; height: auto; }
    .category-tile { height: 50vh; }
    .tile-content h2 { font-size: 2rem; letter-spacing: 5px; }
}
/* --- STYLIZACJA STRZAŁEK W MODALU --- */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%); /* Idealne środkowanie w pionie */
    color: rgba(255, 255, 255, 0.5); /* Półprzezroczyste białe */
    font-size: 60px; /* Duży, wyraźny rozmiar */
    font-weight: 100; /* Cienkie, eleganckie linie */
    cursor: pointer;
    padding: 40px;
    user-select: none;
    transition: all 0.3s ease;
    z-index: 1010;
}

/* Po najechaniu myszką strzałka się rozjaśnia i lekko powiększa */
.nav-btn:hover {
    color: var(--accent); /* Zmienia kolor na Twoje złoto */
    transform: translateY(-50%) scale(1.1);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

/* Ukrycie strzałek na bardzo małych ekranach, żeby nie zasłaniały zdjęcia (użytkownik i tak przesuwa palcem) */
@media (max-width: 600px) {
    .nav-btn {
        font-size: 40px;
        padding: 10px;
    }
}
.close-modal {
    position: absolute;
    top: 30px;
    right: 40px;
    color: rgba(255, 255, 255, 0.5); /* Ten sam szary co strzałki */
    font-size: 50px;
    font-weight: 100;               /* Cienka, elegancka linia */
    cursor: pointer;
    transition: 0.3s;
    z-index: 1020;
    line-height: 1;                 /* Zapobiega przesunięciom w pionie */
}

.close-modal:hover {
    color: var(--accent);           /* Zmienia się na złoty przy najechaniu */
    transform: scale(1.1);          /* Delikatne powiększenie jak przy strzałkach */
}