.culture-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('../bannera/cult.png');
    background-size: cover;
    background-position: center;
    height: 751px;
    display: flex;
    flex-direction: column;
}

.culture-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.culture-section {
    margin-bottom: 80px;
}

.culture-section h2 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 36px;
    color: #04091e;
    margin-bottom: 25px;
    border-left: 5px solid rgb(198, 176, 105);
    padding-left: 20px;
}

.culture-section p {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

/* Heritage Grid */
.heritage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.heritage-card {
    position: relative;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.heritage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
    z-index: 1;
}

.heritage-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #04091e;
}

.heritage-bg i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 100px;
    color: rgba(198, 176, 105, 0.2);
}

.heritage-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    z-index: 2;
    color: white;
}

.heritage-content h3 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 28px;
    margin-bottom: 10px;
}

.heritage-content p {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.heritage-icon {
    width: 60px;
    height: 60px;
    background: rgb(198, 176, 105);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: #04091e;
}

/* Traditions Section */
.traditions-section {
    background: rgb(198, 176, 105);
    padding: 80px 20px;
    margin: 60px -20px;
}

.traditions-content {
    max-width: 1200px;
    margin: 0 auto;
}

.traditions-content h2 {
    color: white;
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 36px;
    margin-bottom: 50px;
}

.traditions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.tradition-card {
    background: white;
    border-radius: 15px;
    padding: 35px;
    text-align: center;
    transition: 0.3s;
}

.tradition-card:hover {
    transform: scale(1.05) rotate(2deg);
}

.tradition-card i {
    font-size: 50px;
    color: #04091e;
    margin-bottom: 20px;
}

.tradition-card h3 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 22px;
    color: #04091e;
    margin-bottom: 15px;
}

.tradition-card p {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* UNESCO Section */
.unesco-section {
    background: #04091e;
    padding: 100px 20px;
}

.unesco-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.unesco-content h2 {
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 36px;
    margin-bottom: 20px;
}

.unesco-content>p {
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 50px;
    line-height: 1.8;
}

.unesco-badge {
    display: inline-block;
    background: rgb(198, 176, 105);
    color: #04091e;
    padding: 10px 30px;
    border-radius: 30px;
    font-weight: bold;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin-bottom: 40px;
}

/* UNESCO Card Styles */
.unesco-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.unesco-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(198, 176, 105, 0.3);
    border-radius: 20px;
    overflow: hidden;
    transition: 0.3s;
}

.unesco-card:hover {
    border-color: rgb(198, 176, 105);
    transform: translateY(-10px);
}

/* Fixed UNESCO Image Container */
.unesco-image {
    height: 200px;
    background: #1a1f3a;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Style for actual images */
.unesco-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Style for Font Awesome icons */
.unesco-image i {
    font-size: 60px;
    color: rgba(198, 176, 105, 0.3);
}

/* When image is present, hide the icon */
.unesco-image:has(img) i {
    display: none;
}

/* Alternative: If using img with src, position icon as fallback */
.unesco-image img+i {
    display: none;
}

.unesco-info {
    padding: 30px;
    text-align: left;
}

.unesco-info h3 {
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 22px;
    margin-bottom: 10px;
}

.unesco-info p {
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.unesco-year {
    display: inline-block;
    background: rgb(198, 176, 105);
    color: #04091e;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    margin-top: 15px;
}

/* Figures Section */
/* Figure Card Styles */
.figures-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.figure-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.figure-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Fixed Figure Image Container */
.figure-image {
    height: 250px;
    background: linear-gradient(135deg, #04091e 0%, #1a1f3a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Style for actual images */
.figure-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* Fallback icon when no image */
.figure-image:empty::before,
.figure-image img[src=""]::before,
.figure-image img:not([src])::before {
    content: '\f007';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 80px;
    color: rgba(198, 176, 105, 0.2);
}

.figure-info {
    padding: 25px;
}

.figure-info h3 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 22px;
    color: #04091e;
    margin-bottom: 5px;
}

.figure-role {
    color: rgb(198, 176, 105);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 15px;
    display: block;
}

.figure-info p {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Music and Dance */
.music-section {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.9)), url('back.jpg');
    background-size: cover;
    background-attachment: fixed;
    padding: 100px 20px;
}

.music-content {
    max-width: 1200px;
    margin: 0 auto;
}

.music-content h2 {
    color: white;
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 36px;
    margin-bottom: 50px;
}

.music-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.music-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(198, 176, 105, 0.3);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
}

.music-card i {
    font-size: 60px;
    color: rgb(198, 176, 105);
    margin-bottom: 25px;
}

.music-card h3 {
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 26px;
    margin-bottom: 20px;
}

.music-card p {
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.8;
    margin: 0;
}

/* Language Section */
.language-section {
    background: #f9f9f9;
    padding: 80px 20px;
}

.language-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.language-content h2 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 36px;
    color: #04091e;
    margin-bottom: 30px;
}

.language-content>p {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 18px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 40px;
}

.language-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.language-feature {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.language-feature i {
    font-size: 40px;
    color: rgb(198, 176, 105);
    margin-bottom: 15px;
}

.language-feature h3 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 20px;
    color: #04091e;
    margin-bottom: 10px;
}

.language-feature p {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    color: #666;
    margin: 0;
}

@media (max-width: 768px) {
    .culture-hero {
        height: auto;
        min-height: 400px;
    }

    .heritage-grid {
        grid-template-columns: 1fr;
    }

    .heritage-card {
        height: 350px;
    }
}