.heritage-detail-hero {
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 100px 20px 60px;
    position: relative;
    overflow: hidden;
}

.heritage-detail-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.heritage-detail-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Playfair Display', serif;
}

.heritage-detail-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.heritage-detail-section {
    margin-bottom: 40px;
}

.heritage-detail-section h2 {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.heritage-detail-section p {
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.heritage-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

.heritage-info-box {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 10px;
    margin: 40px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.info-item {
    text-align: center;
    padding: 20px;
}

.info-item i {
    font-size: 2rem;
    color: var(--button-color);
    margin-bottom: 15px;
}

.info-item h3 {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

.info-item p {
    color: var(--text-color);
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .heritage-detail-hero h1 {
        font-size: 2rem;
    }
    
    .heritage-detail-section h2 {
        font-size: 1.8rem;
    }
    
    .heritage-gallery {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .heritage-detail-content {
        padding: 40px 20px;
    }
}