/* Global Styles */
:root {
    --primary-color: #ff2e63;
    --secondary-color: #252a34;
    --accent-color: #08d9d6;
    --light-color: #eaeaea;
    --dark-color: #121212;
    --text-color: #333;
    --gradient: linear-gradient(135deg, var(--primary-color), #b91e48);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

section.animated {
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.6s ease-out forwards;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fafafa;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

html {
    scroll-behavior: smooth;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary-color);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.primary-btn {
    background: var(--gradient);
    color: white;
    border: none;
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 46, 99, 0.3);
}

.secondary-btn {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.secondary-btn:hover {
    background: var(--primary-color);
    color: white;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 5px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 2px;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    position: relative;
    font-weight: 500;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/hero-bg.jpg');
    background-size: cover;
    background-position: top center;
    color: white;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    letter-spacing: 5px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* About Section */
.about {
    padding: 100px 0;
    background: white;
}

.about-content {
    display: flex;
    gap: 5%;
    align-items: center;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Music Section */
.music {
    padding: 100px 0;
    background: #f9f9f9;
}

.music-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.music-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.music-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.music-thumbnail {
    position: relative;
    overflow: hidden;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 46, 99, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.play-button i {
    color: white;
    font-size: 1.5rem;
}

.music-thumbnail:hover .play-button {
    opacity: 1;
}

.music-info {
    padding: 20px;
}

.music-info h3 {
    margin-bottom: 5px;
    font-weight: 600;
}

.music-info p {
    color: #777;
    font-size: 0.9rem;
}

.streaming-links {
    display: flex;
    justify-content: center;
    padding: 0 20px 20px;
}

.streaming-links a {
    font-size: 1rem;
    color: #555;
    transition: all 0.3s ease;
    background-color: #f5f5f5;
    padding: 8px 15px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.streaming-links a:hover {
    color: white;
    background-color: var(--primary-color);
}

.boomplay-logo {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    vertical-align: middle;
    aspect-ratio: 1/1;
}

.spotify-link {
    background-color: #1DB954 !important;
    color: white !important;
}

.spotify-link:hover {
    background-color: #1aa34a !important;
}

.spotify-link i {
    font-size: 1.2rem;
}

.spotify-embed {
    margin-top: 3rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Gallery Section */
.gallery {
    padding: 100px 0;
    background: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-auto-rows: 300px;
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border: 5px solid white;
    border-radius: 5px;
}

.close-lightbox {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-lightbox:hover {
    color: var(--primary-color);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: #f9f9f9;
}

.contact-content {
    display: flex;
    gap: 5%;
}

.contact-form {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.success-message {
    background-color: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    font-size: 1.1rem;
    border: 1px solid rgba(76, 175, 80, 0.3);
    margin-top: 20px;
}

.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 5%;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 15px;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px);
}

/* Footer */
footer {
    background: var(--secondary-color);
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.footer-logo {
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: white;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--primary-color);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Stories Page Styles */
.stories-hero {
    padding: 150px 0 80px;
    background: var(--gradient);
    color: white;
    text-align: center;
}

.stories-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.stories-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.stories-content {
    padding: 80px 0;
    background: #f9f9f9;
    min-height: 60vh;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 2rem;
    align-items: start;
}

.story-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.story-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.story-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: #f0f0f0;
    position: relative;
}

.story-image.no-image {
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-image.no-image i {
    font-size: 3rem;
    color: white;
    opacity: 0.7;
}

.story-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.story-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.story-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-color);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.story-excerpt {
    color: #666;
    line-height: 1.7;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.95rem;
    text-align: justify;
    -webkit-hyphens: auto;
    hyphens: auto;
}

.story-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.story-author {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 500;
}

.story-read-time {
    font-size: 0.8rem;
    color: #999;
}

.read-more-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    background: #d12b56;
    transform: translateX(5px);
}

/* Loading, Error, and Empty States */
.loading-container,
.error-container,
.empty-container {
    text-align: center;
    padding: 60px 20px;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.error-container i,
.empty-container i {
    font-size: 4rem;
    color: #ccc;
    margin-bottom: 20px;
}

.error-container h3,
.empty-container h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.error-container p,
.empty-container p {
    color: #666;
    margin-bottom: 20px;
}

/* Story Modal */
.story-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    overflow-y: auto;
}

.story-modal.active {
    display: block;
}

.story-modal-content {
    background: white;
    max-width: 800px;
    margin: 50px auto;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.story-modal-header {
    position: relative;
    height: 300px;
    background-size: cover;
    background-position: center;
    background-color: var(--primary-color);
}

.story-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.story-modal-close:hover {
    background: rgba(0, 0, 0, 0.9);
}

.story-modal-body {
    padding: 40px;
}

.story-modal-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
}

.story-modal-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.story-modal-date,
.story-modal-author {
    color: #666;
    font-size: 0.9rem;
}

.story-modal-text {
    line-height: 1.8;
    color: var(--text-color);
    font-size: 1.1rem;
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 10px;
}

.story-modal-text::-webkit-scrollbar {
    width: 6px;
}

.story-modal-text::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.story-modal-text::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.story-modal-text::-webkit-scrollbar-thumb:hover {
    background: #d12b56;
}

.story-paragraph {
    margin-bottom: 24px;
    text-align: justify;
    text-indent: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.story-paragraph:first-child {
    text-indent: 0;
    font-weight: 500;
    color: var(--secondary-color);
}

.story-paragraph:last-child {
    margin-bottom: 0;
}

/* Media Queries */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .about-image, .about-text {
        flex: none;
        width: 100%;
    }
    
    .contact-content {
        flex-direction: column;
        gap: 3rem;
    }
    
    .contact-info {
        padding-left: 0;
    }
    
    /* Stories grid for tablets */
    .stories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        flex-direction: column;
        align-items: center;
        background: rgba(255, 255, 255, 0.95);
        padding: 30px 0;
        gap: 1.5rem;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
    }
    
    .nav-links.active {
        transform: translateY(0);
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .hero {
        background-position: 25% top;
    }
    
    /* Stories responsive styles */
    .stories-hero h1 {
        font-size: 2.5rem;
    }
    
    .stories-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .story-modal-content {
        margin: 20px;
        max-width: none;
    }
    
    .story-modal-body {
        padding: 20px;
    }
    
    .story-modal-title {
        font-size: 1.5rem;
    }
    
    .story-modal-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    /* Fix horizontal overflow on mobile */
    body, html {
        max-width: 100vw;
        overflow-x: hidden !important;
    }
    
    .container {
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
    }
    
    nav {
        padding: 1rem 3%;
    }
    
    /* Ensure all elements stay within viewport */
    * {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Fix any potential image overflow */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Ensure story cards don't overflow */
    .story-card {
        max-width: 100%;
        width: 100%;
    }
    
    .story-image {
        max-width: 100%;
        width: 100%;
    }
}

/* Videos Page Styles */
.videos-content {
    padding: 4rem 0 4rem;
    background: #fafafa;
    min-height: 80vh;
}

.videos-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 3rem 0 2rem;
}

.videos-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.videos-header h1 i {
    color: #ff0000; /* YouTube red */
    font-size: 2.2rem;
}

.videos-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* YouTube-like Video Grid */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 2rem;
}

.video-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #000;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 0, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.video-card:hover .video-play-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-btn i {
    color: white;
    font-size: 1.2rem;
    margin-left: 3px; /* Slight offset for play button centering */
}

.video-info {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.video-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 0.85rem;
    color: #666;
}

.video-date {
    font-weight: 500;
}

.video-views {
    position: relative;
}

.video-views::before {
    content: '•';
    margin-right: 10px;
    color: #999;
}

.video-description {
    font-size: 0.85rem;
    color: #777;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Video Modal Styles */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    overflow-y: auto;
}

.video-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-modal-content {
    background: #000;
    border-radius: 8px;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
}

.video-modal-header {
    background: #1a1a1a;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
}

.video-modal-header h2 {
    color: white;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
}

.video-modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.video-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.video-modal-body {
    padding: 0;
}

.video-iframe-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
}

.video-iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Videos Responsive Styles */
@media (max-width: 992px) {
    .videos-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 15px;
    }
    
    .videos-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .videos-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .videos-header h1 {
        font-size: 1.8rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .video-modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .video-modal-header {
        padding: 12px 15px;
    }
    
    .video-modal-header h2 {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .videos-header {
        margin-bottom: 2rem;
        padding: 1rem 0;
    }
    
    .videos-header h1 {
        font-size: 1.6rem;
    }
    
    .videos-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .video-card {
        margin: 0 auto;
        max-width: 400px;
    }
    
    .video-info {
        padding: 12px;
    }
    
    .video-title {
        font-size: 0.95rem;
    }
} 