.heritage-hero {
    background-image: url('../images/slide.png');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 120px 20px 80px;
    position: relative;
    text-align: center;
}

.heritage-hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
}

.heritage-hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

.heritage {
    padding: 80px 20px;
    background-color: var(--light-bg);
}

.heritage-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.heritage-header::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--button-color);
}

.heritage-header h2 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.heritage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.heritage-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.heritage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.heritage-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.heritage-content {
    padding: 30px;
    position: relative;
}

.heritage-title {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.heritage-description {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    opacity: 0.8;
}

.learn-more {
    display: inline-flex;
    align-items: center;
    padding: 12px 25px;
    background-color: var(--button-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.learn-more i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.learn-more:hover {
    background-color: #c82333;
    transform: translateY(-2px);
}

.learn-more:hover i {
    transform: translateX(5px);
}

.heritage-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 60px auto 0;
    padding: 40px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    color: var(--button-color);
    font-weight: bold;
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-color);
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .heritage-hero h1 {
        font-size: 2.5rem;
    }
    
    .heritage-header h2 {
        font-size: 2rem;
    }
    
    .heritage-grid {
        grid-template-columns: 1fr;
    }
    
    .heritage-title {
        font-size: 1.5rem;
    }
    
    .heritage-stats {
        grid-template-columns: 1fr;
        padding: 20px;
    }
}