/* Hero Banner */
.haras-hero {
    height: 60vh;
    background-image: url('./img/IMG_1101.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.haras-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.haras-hero .hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
}

.haras-hero h1 {
    font-size: 3.5rem;
    color: white;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem;
}

.haras-hero p {
    font-size: 1.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Notre Histoire Section */
.histoire-section {
    padding: 5rem 0;
    background-color: white;
}

.histoire-section h2 {
    font-size: 2.5rem;
    color: var(--pakistan-green);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: bold;
}

.histoire-content {
    max-width: 900px;
    margin: 0 auto;
}

.histoire-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
    text-align: justify;
}

/* Nos Installations Section */
.installations-section {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.installations-section h2 {
    font-size: 2.5rem;
    color: var(--pakistan-green);
    margin-bottom: 3rem;
    text-align: center;
    font-weight: bold;
}

.installations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.installation-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.installation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.installation-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.installation-card h3 {
    font-size: 1.5rem;
    color: var(--pakistan-green);
    padding: 1.5rem 1.5rem 1rem;
    text-align: center;
    font-weight: bold;
}

.installation-description {
    padding: 0 1.5rem 1.5rem;
}

.installation-description p {
    color: #666;
    line-height: 1.6;
    text-align: center;
}

/* Gallery Section */
.gallery-section {
    padding: 5rem 0;
    background-color: white;
}

.gallery-section h2 {
    font-size: 2.5rem;
    color: var(--pakistan-green);
    margin-bottom: 3rem;
    text-align: center;
    font-weight: bold;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    .haras-hero h1 {
        font-size: 2.5rem;
        padding: 0 1rem;
    }

    .haras-hero p {
        font-size: 1.2rem;
        padding: 0 1rem;
    }

    .histoire-content p {
        text-align: left;
    }

    .installations-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item img {
        height: 250px;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .installations-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
