/* Culture.css - Modern Gallery Style */
:root {
    --primary: #1a1a1a;
    --secondary: #e63946;
    --light: #f8f9fa;
    --dark: #212529;
    --text: #333;
    --text-light: #777;
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text);
    background-color: var(--light);
    line-height: 1.6;
}

.culture-header {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), 
                url('https://images.unsplash.com/photo-1581337204873-ef36aa186caa');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 2rem;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
}

.culture-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.nav-left a {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: white;
    text-decoration: none;
    font-weight: 700;
}

.nav-right {
    display: flex;
    gap: 2rem;
}

.nav-right a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav-right a.active {
    color: var(--secondary);
    border-bottom: 2px solid var(--secondary);
}

.nav-right a:hover {
    color: var(--secondary);
}

.header-content {
    margin-top: auto;
    margin-bottom: 5rem;
    text-align: center;
}

.header-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    margin: 0;
    letter-spacing: 2px;
}

.subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    margin-top: 1rem;
    opacity: 0.9;
}

.culture-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: -5rem auto 3rem;
    padding: 0 2rem;
}

.culture-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.full-width {
    grid-column: 1 / -1;
}

.split-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 400px;
}

.text-side {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.image-side {
    background-size: cover;
    background-position: center;
}

.card-image {
    position: relative;
    min-height: 500px;
    background-size: cover;
    background-position: center;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.8));
}

.card-content {
    position: relative;
    z-index: 2;
    color: white;
    padding: 3rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin: 0 0 1rem;
    color: black;
}

.card-content p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 0 2rem;
        color: black;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: auto;
}

.grid-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    transition: transform 0.3s;
}

.grid-item img:hover {
    transform: scale(1.03);
}

.grid-item p {
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.highlight-box {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 4px;
    margin-top: 2rem;
    border-left: 3px solid var(--secondary);
}

.highlight-box h3 {
    margin: 0 0 0.5rem;
    color: var(--secondary);
}

.dark {
    background-color: var(--primary);
    color: white;
}

.video-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.video-placeholder {
    background: rgba(0,0,0,0.3);
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.video-placeholder:hover {
    background: rgba(230,57,70,0.2);
}

.play-button {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.video-captions {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.caption {
    background: rgba(255,255,255,0.1);
    padding: 1rem;
    border-radius: 4px;
}

.caption h3 {
    margin: 0 0 0.3rem;
    color: var(--secondary);
}

.gallery-card {
    padding: 3rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 300px 150px;
    gap: 1rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.gallery-item p {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: white;
    margin: 0;
    padding: 1rem;
    font-size: 0.9rem;
}

.main-item {
    grid-row: 1 / -1;
}

.culture-footer {
    background-color: var(--primary);
    color: white;
    padding: 3rem 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--secondary);
}

.back-home {
    margin: 2rem 0;
}

.back-home a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    .split-card {
        grid-template-columns: 1fr;
    }
    
    .header-content h1 {
        font-size: 2.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .nav-right {
        gap: 1rem;
    }
}

/* Sanskrit Glyph Animation */
        .sanskrit-glyph {
            position: absolute;
            pointer-events: none;
            color: #e63946;
            opacity: 0;
            animation: floatUp 1.5s forwards;
            z-index: 10;
        }

        @keyframes floatUp {
            0% { transform: translateY(0); opacity: 1; }
            100% { transform: translateY(-100px); opacity: 0; }
        }

        /* Bollywood Card Enhancements */
        .bollywood-card {
    background-color: #000 !important;
    position: relative;
}

.bollywood-card .card-content {
    padding: 3rem;
    transition: all 0.3s ease;
}

.bollywood-card h2 {
    color: #e63946;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    transition: color 0.3s;
}

.bollywood-card p {
    color: #aaa;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    transition: color 0.3s;
}

.video-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.video-placeholder {
    background: #111;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border: 2px solid #333;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.video-placeholder:hover {
    border-color: #e63946;
}

.play-button {
    font-size: 3rem;
    color: #e63946;
    margin-bottom: 1rem;
    transition: transform 0.3s;
}

.video-placeholder:hover .play-button {
    transform: scale(1.2);
}

.video-placeholder p {
    color: #fff;
    font-size: 1.1rem;
    margin: 0;
}

.video-captions {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.caption {
    background: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 4px;
    border-left: 3px solid #e63946;
    transition: all 0.3s;
}

.caption:hover {
    background: rgba(230,57,70,0.2);
}

.caption h3 {
    color: #e63946;
    margin: 0 0 0.5rem;
    font-size: 1.5rem;
}

.caption p {
    color: #ddd;
    margin: 0;
    font-size: 1rem;
}

.film-strip {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    overflow-x: auto;
    padding-bottom: 1rem;
}

.film-cell {
    flex: 0 0 150px;
    height: 100px;
    background: #111;
    border: 1px solid #333;
    overflow: hidden;
}

.film-cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.film-cell:hover img {
    transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .video-container {
        grid-template-columns: 1fr;
    }
    
    .bollywood-card h2 {
        font-size: 2rem;
    }
    
    .video-placeholder {
        height: 200px;
    }
}

/* Add to Culture.css */
.video-embed {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 4px;
    background: #111;
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-credit {
    position: absolute;
    bottom: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 0.5rem 1rem;
    margin: 0;
    font-size: 0.8rem;
    border-top-left-radius: 4px;
}