:root { --primary: #0a5f50; --accent: #c49a6c; --dark: #3a3b3c; --white: #ffffff; --text-dark: #333333; }
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Montserrat', sans-serif; background: #f9f9f9; overflow-x: hidden; color: var(--text-dark); }
h1, h2, h3 { font-family: 'Playfair Display', serif; }

/* --- Ekran Powitalny (Overlay) --- */
.welcome-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.9); color: white; display: flex; align-items: center; justify-content: center; z-index: 2000; cursor: pointer; transition: opacity 0.5s ease; text-align: center; padding: 20px; }
.welcome-content h1 { font-size: 3rem; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 2px; }
.welcome-content p { font-size: 1rem; opacity: 0.7; font-weight: 300; }

/* --- Nawigacja --- */
.navbar { display: flex; justify-content: space-between; align-items: center; padding: 15px 5%; background: var(--white); position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.logo img { max-height: 50px; }
.nav-links { list-style: none; display: flex; gap: 25px; }
.nav-links a { text-decoration: none; color: var(--text-dark); font-weight: 600; font-size: 0.9rem; text-transform: uppercase; transition: color 0.3s; }
.nav-links a:hover { color: var(--primary); }

/* --- Sekcja Hero BEZ PRZYCIEMNIENIA --- */
.hero-section { position: relative; height: 75vh; display: flex; align-items: center; justify-content: center; overflow: hidden; color: var(--white); text-align: center; }
.hero-background { 
    position: absolute; 
    inset: 0; 
    background-image: url('hero-bg.jpg'); 
    background-size: cover; 
    background-position: center; 
    filter: brightness(1.0); /* <--- PRZYCIEMNIENIE WYŁĄCZONE */
    z-index: 1; 
}
.hero-content { 
    position: relative; 
    z-index: 2; 
    max-width: 800px; 
    padding: 0 20px; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 20px; 
    /* Dodajemy cień do tekstu, żeby był czytelny na jasnym zdjęciu */
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5); 
}
.hero-content h1 { font-size: 3.5rem; line-height: 1.2; margin-bottom: 10px; }
.hero-content p { font-size: 1.2rem; font-weight: 500; max-width: 600px; }

/* --- Przycisk "Chcę wycenę" --- */
.btn-quote { 
    display: inline-block; 
    margin-top: 30px; 
    padding: 18px 40px; 
    background: var(--accent); 
    color: white; 
    text-decoration: none; 
    border-radius: 50px; 
    font-weight: 600; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    font-size: 0.9rem; 
    transition: all 0.3s ease; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.3); 
    text-shadow: none; /* Usuwamy cień tekstu z samego przycisku */
}
.btn-quote:hover { background: #b3895c; transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.4); }

/* --- Cechy --- */
.features-section { background: var(--dark); padding: 0 5% 80px; }
.features-card { background: var(--white); border-radius: 30px; padding: 50px; display: flex; justify-content: space-around; gap: 30px; max-width: 1200px; margin: 0 auto; transform: translateY(-80px); box-shadow: 0 15px 40px rgba(0,0,0,0.2); }
.feature-item { text-align: center; flex: 1; display: flex; flex-direction: column; align-items: center; }
.feature-item i { font-size: 2.5rem; color: var(--primary); margin-bottom: 20px; }
.feature-item h3 { font-size: 1.3rem; margin-bottom: 10px; color: var(--text-dark); }
.feature-item p { font-size: 0.9rem; color: #666; line-height: 1.5; }

/* --- Galerie --- */
.galleries-preview { padding: 60px 5% 80px; text-align: center; }
.section-title { font-size: 2.5rem; margin-bottom: 50px; color: var(--text-dark); position: relative; display: inline-block; padding-bottom: 15px; }
.section-title::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 80px; height: 3px; background: var(--primary); }
.triple-gallery-grid { display: flex; gap: 30px; max-width: 1200px; margin: 0 auto; }
.mini-slider { flex: 1; height: 500px; position: relative; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 25px rgba(0,0,0,0.1); transition: transform 0.3s ease; }
.mini-slider-track { display: flex; height: 100%; transition: transform 0.8s ease-in-out; }
.mini-slider-track img { min-width: 100%; height: 100%; object-fit: cover; }
.mini-overlay { position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(0,0,0,0.9)); display: flex; align-items: flex-end; justify-content: center; padding-bottom: 30px; color: white; text-transform: uppercase; letter-spacing: 1px; }

/* --- Dostawcy --- */
.partners-section { background: var(--dark); padding: 80px 5%; text-align: center; }
.white-text { color: white; margin-bottom: 15px; }
.partners-underline { width: 100px; height: 3px; background: var(--primary); margin: 0 auto 50px; }
.partners-grid { display: flex; gap: 30px; justify-content: center; max-width: 1200px; margin: 10px; margin-left: auto; margin-right: auto;}
.partner-card { background: rgba(255,255,255,0.05); flex: 1; height: 200px; border-radius: 25px; display: flex; align-items: center; justify-content: center; padding: 30px; transition: background 0.3s; border: 1px solid rgba(255,255,255,0.1);  }
.partner-card img { max-width: 100%; max-height: 100px; object-fit: contain; filter: grayscale(0) invert(0); opacity: 0.8; transition: opacity 0.3s, filter 0.3s; }
.partner-card:hover img { filter: grayscale(0) invert(0); opacity: 1; }

/* --- KONTAKT I MAPA --- */
.contact-section { padding: 80px 5%; background: var(--white); }
.contact-container { 
display: flex; gap: 50px; max-width: 1200px; 
margin: 0 auto; align-items: center; 
}
.contact-info { flex: 1; }
.service-bubble { 
display: flex; align-items: center; gap: 15px; 
background: rgba(10,95,80,0.08); padding: 15px 25px; 
border-radius: 50px; margin-bottom: 30px; color: var(--primary);
}
.contact-list { 
    list-style: none; 
    margin-bottom: 30px; 
    display: flex;          /* To ustawia elementy obok siebie */
    flex-wrap: wrap;        /* To sprawi, że na telefonie bezpiecznie przeskoczą pod spód */
    gap: 30px;              /* Odstęp między imieniem, telefonem a mailem */
}

.contact-list li { 
    font-size: 1.1rem;      /* Delikatnie mniejszy font, żeby lepiej pasował w linii */
    display: flex; 
    align-items: center; 
    gap: 10px; 
}

.contact-list li p { 
    margin: 0;              /* Usuwa domyślne marginesy paragrafu, które psuły linię */
}

.contact-list a { 
    color: inherit; 
    text-decoration: none; 
    font-weight: 600; 
}
.tiktok-link { 
display: inline-block; background: #000; color: #fff; 
padding: 12px 25px; text-decoration: none; border-radius: 8px; font-weight: bold;
}
.contact-map { flex: 1.2; height: 400px; border-radius: 20px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
/* --- Animacje --- */
.reveal { opacity: 0; transform: translateY(40px); transition: 1s ease; }
.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 768px) {
    .features-card, .triple-gallery-grid, .partners-grid, .contact-container { flex-direction: column; }
    .hero-content h1 { font-size: 2.5rem; }
    .mini-slider { height: 350px; }
}
/* --- Styl dla nowej podstrony galerii --- */
.gallery-header { padding: 80px 5% 20px; text-align: center; }
.gallery-header h1 { font-size: 3rem; color: var(--text-dark); margin-bottom: 10px; }
.gallery-header .underline { width: 60px; height: 4px; background: var(--primary); margin: 0 auto; }

.gallery-container { padding: 40px 5% 100px; max-width: 1400px; margin: 0 auto; }
.full-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }

.photo-item { height: 400px; border-radius: 15px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.photo-item img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.photo-item:hover img { transform: scale(1.05); }

/* Usuwamy brzydkie podkreślenie z linków-kafelków */
a.mini-slider { text-decoration: none; color: inherit; display: block; }
/* --- Styl Lightbox (Podgląd pełnoekranowy) --- */
.lightbox {
    display: none;
    position: fixed;
    z-index: 3000;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85vh;
    display: flex;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border: 3px solid rgba(255,255,255,0.1);
}

.lightbox .close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 50px;
    cursor: pointer;
}

.lightbox .prev, .lightbox .next {
    position: absolute;
    background: rgba(255,255,255,0.1);
    color: white;
    border: none;
    padding: 20px;
    font-size: 30px;
    cursor: pointer;
    transition: 0.3s;
}

.lightbox .prev { left: 20px; }
.lightbox .next { right: 20px; }
.lightbox .prev:hover, .lightbox .next:hover { background: var(--accent); }

@media (max-width: 768px) {
    .lightbox .prev, .lightbox .next { padding: 10px; font-size: 20px; }
    .lightbox .close { top: 10px; right: 20px; }
}