/* ========================================= */
/* --- STYLY PRO GARÁŽ  --- */
/* ========================================= */



/* 1. Hlavní kontejner pro garáž  */
.garaz-kontejner {
    max-width: 1200px; 
    margin: 0 auto;
    padding: 60px 20px 100px;
    width: 100%; 
}

/* 2. Hlavička garáže */
.garaz-hlavicka {
    text-align: center; 
    margin-bottom: 50px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 30px;
}

.garaz-hlavicka h1 {
    font-size: 42px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 15px;
}

.garaz-perex {
    font-size: 20px;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.6;
}

/* 3. Mřížka galerie  */
.galerie-grid {
    display:flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
  
    gap: 30px;
    margin-top: 40px;
}

/* Karta auta v galerii */
.galerie-item {
    min-width: 250px;
    background-color: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    
}

.galerie-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(14, 165, 233, 0.15); 
    border-color: #0ea5e9;
}

.galerie-item img {
    width: 100%;
    height: 220px;
    object-fit: cover; 
    display: block;
}

.popis-auta {
    padding: 20px;
    text-align: center;
    flex-grow: 1; 
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.popis-auta h3 {
    font-size: 18px;
    color: #0f172a;
    margin-bottom: 5px;
    font-weight: 700;
}

.popis-auta p {
    font-size: 14px;
    color: #64748b;
}



.auto-foto {
    flex: 1.2; 
}

.auto-foto img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.auto-info {
    flex: 1;
}

.auto-info h2 {
    font-size: 28px;
    color: #0f172a;
    margin-bottom: 15px;
}



/* 5. Spodní CTA tlačítko */
.garaz-cta-box {
    text-align: center;
    margin-top: 60px;
}

.garaz-cta-box .tlacitko-hlavicka {
    display: inline-flex; 
    justify-content: center;
    align-items: center;
    padding: 15px 40px;
    font-size: 18px;
    width: auto; 
    max-width: 100%;
}

/* --- Responzivita pro Garáž --- */
@media (max-width: 900px) {
    
    
    .garaz-hlavicka h1 {
        font-size: 32px;
    }

    .garaz-kontejner {
        padding: 40px 20px 60px;
    }
}

