/* General Styles */
:root {
    --primary-color: #ff4d4d;
    --secondary-color: #4a4a8a;
    --dark-color: #1a1a2e;
    --light-color: #f5f5f5;
    --overlay-color: rgba(0, 0, 0, 0.7);
}

body, html {
    height: 100%;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: #333;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn {
    border-radius: 30px;
    padding: 10px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #ff3333;
    border-color: #ff3333;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 77, 77, 0.3);
}

.btn-outline-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}

.section-title {
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Video Background */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

#carouselVideoBackground {
    width: 100%;
    height: 100%;
}

#carouselVideoBackground .carousel-inner,
#carouselVideoBackground .carousel-item {
    width: 100%;
    height: 100%;
}

#carouselVideoBackground video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.6) 100%);
}

/* Main Container */
.main-container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
}

/* Navbar */
.navbar {
    padding: 20px 0;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background-color: var(--dark-color);
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(45deg, var(--primary-color), #ff9966);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.navbar-nav .nav-link {
    font-weight: 600;
    padding: 10px 15px;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 70%;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.hero-content {
    max-width: 800px;
}

.animated-text {
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px rgba(255, 77, 77, 0.7), 0 0 20px rgba(255, 77, 77, 0.7);
    }
    to {
        text-shadow: 0 0 20px rgba(255, 77, 77, 0.9), 0 0 30px rgba(255, 77, 77, 0.9);
    }
}

/* Featured Section */
.featured-section {
    padding: 100px 0;
    background-color: #fff;
}

.video-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.video-thumbnail {
    position: relative;
    overflow: hidden;
}

.video-thumbnail img {
    transition: transform 0.5s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.1);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(255, 77, 77, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-card:hover .play-button {
    opacity: 1;
}

.video-info {
    padding: 20px;
}

.video-info h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.video-info p {
    color: #777;
    font-size: 14px;
}

/* Categories Section */
.categories-section {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.category-card {
    padding: 30px 20px;
    text-align: center;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.category-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 30px;
}

.category-card h3 {
    font-size: 18px;
    font-weight: 600;
}

/* About Section */
.about-section {
    padding: 100px 0;
    background-color: #fff;
}

.about-text {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
}

.about-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 80%;
    height: 80%;
    border: 3px solid var(--primary-color);
    border-radius: 10px;
    z-index: -1;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: var(--dark-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.social-link:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.contact-email {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    display: inline-block;
    margin-top: 10px;
}

.contact-form {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-control {
    border: none;
    border-bottom: 2px solid #ddd;
    border-radius: 0;
    padding: 15px 10px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: #fff;
    padding: 80px 0 30px;
}

.footer-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links li a {
    color: #ccc;
    font-size: 16px;
}

.footer-links li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer .social-link {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.newsletter-form .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    border-radius: 30px 0 0 30px;
}

.newsletter-form .btn {
    border-radius: 0 30px 30px 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .hero-section {
        height: 80vh;
    }
    
    .about-image::before {
        display: none;
    }
}

@media (max-width: 767px) {
    .navbar {
        background-color: var(--dark-color);
        padding: 15px 0;
    }
    
    .hero-section {
        height: 70vh;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .about-image {
        margin-top: 40px;
    }
    
    .contact-form {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .cta-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 15px;
    }
    
    .cta-buttons .btn:last-child {
        margin-bottom: 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}
