/* home.css */

/* --- Hero Styles (from hero.css) --- */
.youtube-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 80px 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background-color: #0a0617;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin-bottom: 50px;
    padding: 20px;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

.hero-subtitle {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #ccc;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-button {
    display: inline-block;
    padding: 14px 35px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    min-width: 180px;
}

.hero-button.primary {
    background-color: #007aff;
    color: #fff;
    border: 1px solid #007aff;
}

.hero-button.primary:hover {
    background-color: #005bb5;
    border-color: #005bb5;
}

.hero-button.secondary {
    background-color: transparent;
    color: #57C4E5;
    border: 1px solid #57C4E5;
}

.hero-button.secondary:hover {
    background-color: #57C4E5;
    color: #0a0617;
}

.video-display {
    position: relative;
    width: 80%;
    max-width: 1200px;
    padding-bottom: 45%;
    height: 0;
    background-color: #000;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    margin-top: 30px;
}

.video-display iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* --- Featured Section/Card Styles (from card.css) --- */
.featured-section {
    width: 100%;
    padding: 100px 20px;
    background-color: #0a0617;
    text-align: center;
}

.section-header {
    max-width: 800px;
    margin: 0 auto 50px;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.section-header p {
    font-size: 1.2rem;
    color: #999;
}

.card-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    padding: 50px 0;
}

.card {
    width: 300px;
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover img {
    transform: scale(1.05);
}

.card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0));
    color: white;
}

.card-info h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.card-info p {
    font-size: 1rem;
    margin-bottom: 20px;
}

.explore-button {
    display: inline-block;
    padding: 10px 25px;
    border: 1px solid #fff;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.explore-button:hover {
    background-color: #fff;
    color: #000;
}
.index-image-container {
    margin: 20px 0;
}


/* Responsive adjustments */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }
    .video-display {
        width: 90%;
        padding-bottom: 50%;
    }
}

@media (max-width: 768px) {
    .youtube-hero {
        padding: 60px 15px;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .hero-button {
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
    }
    .video-display {
        width: 100%;
        padding-bottom: 56.25%;
    }
}
