/* Import nowoczesnego, technicznego fontu Montserrat */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #0f172a; /* Głęboki grafit */
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    overflow-x: hidden;
    position: relative;
    background: #0f172a;
}

/* Czarno-białe industrialne tło */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* Możesz użyć tego samego zdjęcia co na głównej stronie lub dedykowanego (np. bg-montaz.jpg) */
    background: url('images/bg.jpg') no-repeat center center;
    background-size: cover;
    filter: grayscale(100%) brightness(55%) contrast(110%);
}

/* Główny kontener - Szklana satynowa karta */
.container {
    max-width: 1000px;
    width: 100%;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 50px 60px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25), 
                inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* --- NAGŁÓWEK I LOGO --- */
.main-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.logo img {
    max-width: 260px;
    height: auto;
    margin-bottom: 25px;
}

.main-header h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.4);
}

.subtitle {
    font-size: 1.05rem;
    font-weight: 500;
    color: #1e293b;
    letter-spacing: 0.3px;
}

/* Linia rozdzielająca sekcje */
.divider {
    border: none;
    height: 1px;
    background: rgba(15, 23, 42, 0.15);
    margin: 35px 0;
}

/* --- NAWIGACJA (MENU) --- */
.navigation ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 40px;
    margin-top: 25px;
}

.nav-link {
    text-decoration: none;
    color: #1e293b;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 4px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: #0f172a;
}

/* Nowoczesna linia podświetlająca pod aktywne menu */
.nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #0f172a;
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* --- MECHANIZM ZAKŁADEK (UKRYWANIE/POKAZYWANIE) --- */
.tab-content {
    display: none; /* Domyślnie ukryte */
    animation: fadeIn 0.4s ease forwards;
    text-align: left;
}

.tab-content.active {
    display: block; /* Pokazuje tylko aktywną zakładkę */
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.tab-content h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #0f172a;
    position: relative;
    display: inline-block;
}

.tab-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #1e293b;
    font-weight: 500;
}

/* --- O NAS --- */
#o-nas p strong {
    color: #0f172a;
    font-weight: 700;
}

/* --- OFERTA (SIATKA USŁUG) --- */
.services-grid {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.service-item {
    flex: 1;
    min-width: 260px;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
}

.service-item .icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 15px;
}

.service-item h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}

.service-item p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- REALIZACJE (GALERIA) --- */
.section-desc {
    margin-bottom: 25px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.gallery-item {
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.gallery-desc {
    padding: 15px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #0f172a;
    background: rgba(255, 255, 255, 0.2);
}

/* --- KONTAKT --- */
.contact-lead {
    margin-bottom: 30px;
}

.contact-info {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.contact-link {
    display: inline-flex;
    align