* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
--primary-red: #d90429;
--dark-red: #8d0801;
--soft-white: #f8f9fa;
--dark-grey: #2b2d42;
--text-grey: #6c757d;
}

body {
font-family: 'Montserrat', sans-serif;
background-color: white;
color: var(--dark-grey);
overflow-x: hidden;
line-height: 1.7;
}

/* Navbar */
/* --- Navbar --- */
.navbar {
padding: 20px 0;
background: rgba(255, 255, 255, 0.95) !important;
backdrop-filter: blur(10px);
box-shadow: 0 4px 30px rgba(0,0,0,0.05);
}
.navbar-brand {
font-size: 1.5rem;
color: var(--primary-red) !important;
font-weight: 900;
}
.nav-link {
font-weight: 600;
color: var(--dark-grey) !important;
margin: 0 15px;
font-size: 0.9rem;
text-transform: uppercase;
}
.nav-link:hover {
color: var(--primary-red) !important;
}
.btn-nav-call {
background: var(--primary-red);
color: white !important;
border-radius: 50px;
padding: 10px 25px;
transition: 0.3s;
}
.btn-nav-call:hover {
background: var(--dark-red);
transform: translateY(-2px);
}


/* Hero Header */
.hero-gallery {
    background: linear-gradient(135deg, #2b2d42 0%, #1a1c2e 100%);
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}
.hero-gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}
.hero-gallery .container { position: relative; z-index: 2; }
.hero-gallery h1 {
    font-size: 4rem;
    font-weight: 900;
    color: white;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    letter-spacing: -2px;
}
.hero-gallery .subtitle {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.8);
    font-weight: 400;
    margin-bottom: 40px;
}
.hero-stats {
    display: flex;
    gap: 50px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 50px;
}
.stat-item {
    text-align: center;
}
.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: #d90429;
    display: block;
    line-height: 1;
}
.stat-label {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
}

/* Info Cards Section */
.info-cards {
    margin: -60px auto 60px;
    position: relative;
    z-index: 10;
}
.info-card {
    background: white;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    border-left: 5px solid #d90429;
}
.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
}
.info-card i {
    font-size: 2.5rem;
    color: #d90429;
    margin-bottom: 20px;
}
.info-card h4 {
    font-weight: 700;
    color: #2b2d42;
    margin-bottom: 15px;
}
.info-card p {
    color: #6c757d;
    line-height: 1.7;
    margin: 0;
}

/* Gallery Grid */
.gallery-section { padding: 60px 0 100px; }
.section-title {
    text-align: center;
    margin-bottom: 60px;
}
.section-title h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: #2b2d42;
    margin-bottom: 15px;
    letter-spacing: -1px;
}
.section-title p {
    color: #6c757d;
    font-size: 1.1rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}
.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    cursor: pointer;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    transition: transform 0.4s, box-shadow 0.4s;
}
.gallery-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(217, 4, 41, 0.2);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s, filter 0.4s;
}
.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(0.8);
}
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(217, 4, 41, 0.9) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s;
    display: flex;
    align-items: flex-end;
    padding: 25px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay-content h5 {
    color: white;
    font-weight: 700;
    margin: 0;
    font-size: 1rem;
}
.zoom-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 3rem;
    color: white;
    transition: transform 0.4s;
}
.gallery-item:hover .zoom-icon {
    transform: translate(-50%, -50%) scale(1);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #d90429 0%, #ef233c 100%);
    padding: 80px 0;
    margin-top: 80px;
}
.cta-section h2 {
    color: white;
    font-weight: 900;
    font-size: 2.5rem;
    margin-bottom: 20px;
}
.cta-section p {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    margin-bottom: 30px;
}
.btn-cta {
    background: white;
    color: #d90429;
    padding: 18px 50px;
    border-radius: 50px;
    font-weight: 900;
    font-size: 1.2rem;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: all 0.3s;
}
.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    background: #f8f9fa;
}
.hero-gallery {
    position: relative;
    /* Wysokość nagłówka - dostosuj jeśli chcesz wyższy/niższy */
    padding: 120px 0; 
    overflow: hidden; /* Ukrywa wystające, rozmyte krawędzie zdjęcia */
    background-color: #2b2d42; /* Kolor zabezpieczający, gdyby tło się nie wczytało */
}

/* WARSTWA 1: Rozmyte zdjęcie w tle */
.hero-gallery::before {
    content: '';
    position: absolute;
    top: -20px; left: -20px; right: -20px; bottom: -20px;
    background-image: url('https://images.unsplash.com/photo-1449965408869-eaa3f722e40d?q=80&w=1200');
    background-position: center;
    background-size: cover;
    filter: blur(8px); 
    z-index: 1;
}

/* WARSTWA 2: Przyciemniający gradient */
.hero-gallery::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Gradient od ciemnoszarego (góra) do lekko czerwonego (dół) */
    background: linear-gradient(to bottom, rgba(43, 45, 66, 0.32), rgba(52, 52, 52, 0.369));
    z-index: 2;
}

/* Dodatkowy styl dla podtytułu (letter-spacing) */
.ls-2 {
    letter-spacing: 2px;
}
@media (max-width: 768px) {
    .hero-gallery h1 { font-size: 2.5rem; }
    .hero-gallery .subtitle { font-size: 1rem; }
    .stat-number { font-size: 2rem; }
    .hero-stats { gap: 30px; }
    .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 15px; }
}