/*
Theme Name: Bharat-E-Hind Theme
Theme URI: https://bharatehind.com
Author: Antigravity
Author URI: https://github.com/google-deepmind
Description: Custom OTT-style media theme for Bharat-E-Hind NGO.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: beh-theme
*/

/* 
  Core Design System & Tokens
*/
:root {
    /* Colors */
    --color-bg: #0a0a0a;
    --color-surface: #1a1a1a;
    --color-surface-hover: #2a2a2a;
    --color-primary: #ff9933;
    /* Saffron */
    --color-primary-rgb: 255, 153, 51;
    --color-accent: #ffcc66;
    --color-text: #ffffff;
    --color-text-muted: #a0a0a0;

    /* Typography */
    --font-main: 'Outfit', sans-serif;
    --font-heading: 'Outfit', sans-serif;

    /* Spacing */
    --gap: 20px;
    --container-width: 1400px;

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html,
body {
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-main);
    margin: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-text);
    margin-bottom: 1rem;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-accent);
}

/* OTT Section Layouts */
.ott-slider-container {
    padding: 4rem 0;
    background: var(--color-bg);
    overflow: hidden;
}

.ott-slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    margin-bottom: 2rem;
}

.ott-slider-title {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    border-left: 4px solid var(--color-primary);
    padding-left: 1rem;
    margin: 0;
}

.category-slider {
    padding: 0 2rem !important;
    overflow: visible !important;
}

@media (max-width: 1024px) {

    .ott-slider-header,
    .category-slider {
        padding: 0 1.5rem !important;
    }

    .ott-slider-title {
        font-size: 1.5rem;
    }
}

/* OTT Slider & Video Card Styles */
.video-card-v2 {
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    margin-bottom: 2rem;
}

.video-card-v2:hover {
    transform: translateY(-10px);
}

.thumbnail-wrapper {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 8px;
    overflow: hidden;
    background: #1a1a1a;
    margin-bottom: 0.8rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.thumbnail-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.video-card-v2:hover .thumbnail-wrapper img {
    transform: scale(1.1);
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s;
    box-shadow: 0 0 20px rgba(255, 102, 0, 0.5);
    z-index: 2;
}

.video-card-v2:hover .play-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.video-info {
    padding: 0 0.2rem;
}

.video-title {
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.thumbnail-placeholder {
    background: #222;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumbnail-placeholder::after {
    content: "\f03d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #444;
    font-size: 2rem;
}

.view-all-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.view-all-link:hover {
    color: #fff;
}

/* Video Modal */
.video-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-content {
    width: 100%;
    max-width: 1000px;
    aspect-ratio: 16/9;
    position: relative;
    background: #000;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
}

.close-modal:hover {
    color: var(--color-primary);
}

/* Professional Footer Styles */
.site-footer {
    background: #000;
    padding: 6rem 0 0;
    border-top: 1px solid rgba(255, 153, 51, 0.1);
    margin-top: 4rem;
    color: var(--color-text);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 4rem;
    padding-bottom: 4rem;
}

.footer-column h3.footer-title {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-column h3.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--color-primary);
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo img {
    max-height: 60px;
    width: auto;
}

.footer-description {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--color-primary);
    transform: translateX(5px);
}

.footer-contact p {
    color: var(--color-text-muted);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.95rem;
}

.footer-contact i {
    color: var(--color-primary);
    width: 20px;
}

.social-links {
    display: flex;
    gap: 1.2rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    transition: var(--transition);
    text-decoration: none;
}

.social-links a:hover {
    background: var(--color-primary);
    color: #000;
    transform: translateY(-5px);
}

.footer-bottom {
    background: #050505;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    color: #666;
    font-size: 0.85rem;
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: #666;
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--color-primary);
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding-top: 4rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .footer-column h3.footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-contact p {
        justify-content: center;
    }

    .footer-logo img {
        max-height: 40px;
        width: auto;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom .flex-justify {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

/* Rich Campaign Page Styles */
/* Cinematic OTT Elite Campaign Page Styles */
.campaign-detail-page {
    background: #080808;
    /* Deep Cinematic Black */
    color: #ffffff;
}

.campaign-hero.v2 {
    height: 90vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0;
    overflow: hidden;
    background: #000;
}

.campaign-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.campaign-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.campaign-hero-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, #080808 0%, transparent 70%),
        linear-gradient(to right, #080808 0%, transparent 50%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 900px;
    justify-items: center;
    text-align: center;
}

.campaign-tagline {
    display: block;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 5px;
    font-weight: 800;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    opacity: 0.9;
}

.campaign-title {
    font-size: clamp(3rem, 8vw, 6rem);
    /* Responsive font size to prevent cutoff */
    line-height: 1;
    font-weight: 900;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: -2px;
    word-break: break-word;
}

.hero-subtitle {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    line-height: 1.4;
    font-weight: 400;
    max-width: 700px;
}

.hero-cta-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.btn-primary,
.btn-secondary,
.btn-outline {
    padding: 1.2rem 3rem;
    border-radius: 4px;
    /* Sharp modern corners */
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--color-primary);
    color: #000;
}

.btn-secondary {
    background: #1a1a1a;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-primary:hover {
    background: #fff;
    transform: scale(1.05);
}

.btn-secondary:hover {
    background: #252525;
    border-color: #fff;
}

.btn-outline:hover {
    background: var(--color-primary);
    color: #000;
}

.section-padding {
    padding: 4rem 0;
}

.bg-surface {
    background: #121212;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.title-accent {
    width: 80px;
    height: 6px;
    background: var(--color-primary);
    margin: 2rem 0;
}

.title-accent.center {
    margin: 2rem auto;
}

.grid-2col {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 6rem;
}

.problem-text h2 {
    margin-bottom: 2rem;
}

.problem-image img {
    width: 100%;
    border-radius: 4px;
    filter: grayscale(20%);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.mission-grid,
.focus-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
}

.mission-card,
.focus-card {
    background: #1a1a1a;
    padding: 4rem 2.5rem;
    border-radius: 4px;
    border-bottom: 4px solid transparent;
    transition: all 0.4s ease;
}

.mission-card:hover,
.focus-card:hover {
    background: #222;
    border-bottom-color: var(--color-primary);
    transform: translateY(-10px);
}

.card-icon {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 2rem;
}

.mission-card h3,
.focus-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.mission-card p,
.focus-card p {
    color: #aaa;
    line-height: 1.6;
    font-size: 1.1rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 4px;
    transition: filter 0.3s;
}

.gallery-item img:hover {
    filter: brightness(1.2);
}

/* FAQ Accordion Elite */
.faq-accordion {
    margin-top: 4rem;
}

.faq-item {
    margin-bottom: 1rem;
    background: #1a1a1a;
    border-radius: 4px;
    transition: all 0.3s;
}

.faq-question {
    width: 100%;
    padding: 2rem 2.5rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-item.active {
    background: #111;
    border-color: var(--color-primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 2.5rem;
    color: #888;
    font-size: 1rem;
    line-height: 1.8;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 2rem;
    opacity: 1;
}

.faq-item.active .faq-question {
    color: var(--color-primary);
}

/* Join Movement Elite */
.join-card {
    background: #111;
    padding: 8rem 2rem;
    border-radius: 4px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.join-card h2 {
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}

.join-card p {
    font-size: 1.4rem;
    color: #aaa;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.join-actions {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.btn-primary-large {
    padding: 1.5rem 4rem;
    background: var(--color-primary);
    color: #000;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 4px;
    font-size: 1.1rem;
}

.btn-primary-large:hover {
    background: #fff;
    transform: scale(1.05);
}

/* Responsive Elite */
@media (max-width: 1200px) {
    .campaign-title {
        font-size: 4.5rem;
    }

    .section-title {
        font-size: 3rem;
    }

    .mission-grid,
    .focus-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .grid-2col {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .campaign-hero.v2 {
        height: auto;
        padding: 10rem 0;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .campaign-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .mission-grid,
    .focus-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .join-card h2 {
        font-size: 2.5rem;
    }

    .hero-cta-wrapper,
    .join-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary,
    .btn-secondary,
    .btn-outline {
        width: 70%;
    }

    .section-padding {
        padding: 3rem 0;
    }
}