/* --- Baza sekcji --- */
.services-section {
    padding: 80px 20px;
    background-color: var(--bg-color); /* Korzystamy ze zmiennej, którą zdefiniowaliśmy wcześniej! */
}

.services-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 50px;
    text-align: left;
}

/* --- Siatka Kafelków (Grid) --- */
.services-grid {
    display: grid;
    /* Dwie kolumny na PC, tak jak na obrazku */
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* --- Wygląd pojedynczego kafelka --- */
.service-card {
    display: flex;
    text-decoration: none;
    color: var(--text-color);
    background-color: #f1f3f5; /* Bardzo jasny szary, jak na Twoim zdjęciu */
    height: 120px; /* Stała wysokość kafelka */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Animacja Hover (Unoszenie kafelka) */
.service-card:hover {
    transform: translateY(-8px); /* Podnosi kafelek o 8 pikseli do góry */
    box-shadow: 0 15px 30px rgba(0,0,0,0.1); /* Dodaje ładny, miękki cień */
}

/* --- Sekcja Ikony (Lewa strona kafelka) --- */
.service-icon {
    width: 30%;
    min-width: 120px;
    background-color: var(--primary-color); /* Automatycznie dobierze kolor okien lub transportu! */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Jeśli znajdziesz czarne ikony, ten kod zamieni je na czystą biel! */
.service-icon img {
    width: 50px;
    height: 50px;
    filter: brightness(0) invert(1); 
    transition: transform 0.3s ease;
}

/* Przy najechaniu na kafelek, ikona lekko pulsuje/rośnie */
.service-card:hover .service-icon img {
    transform: scale(1.15);
}

/* --- Sekcja Tekstu (Prawa strona kafelka) --- */
.service-text {
    width: 70%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    text-align: center;
}

.service-text h3 {
    font-size: 1.2rem;
    text-transform: uppercase;
    margin: 0;
    font-weight: 800;
    letter-spacing: 0.5px;
}

/* --- Informacja o tonażu (Transport) --- */
.weight-limit {
    margin-top: 8px;
    font-size: 0.9rem;
    font-weight: bold;
    color: var(--accent-color); /* Użyje pomarańczu/żółtego zdefiniowanego w navbar.css */
    background-color: rgba(0,0,0,0.05);
    padding: 4px 12px;
    border-radius: 20px;
}

/* --- RWD - Telefony --- */
@media (max-width: 768px) {
    .section-title {
        text-align: center;
    }
    
    .services-grid {
        /* Na telefonach zmieniamy na 1 kolumnę (jeden pod drugim) */
        grid-template-columns: 1fr; 
    }
    
    .service-card {
        height: 100px;
    }
}