/* Homepage Styles */

/* Hero Section */
#hero {
    position: relative;
    height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    overflow: hidden;
    padding: 0; /* Removed padding to ensure full-width */
    margin: 0; /* Ensures it stretches edge-to-edge */
    width: 100%;
}

/* Background Video Styling */
#hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* Video Overlay */
.video-overlay {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 5%;
    background: rgba(0, 0, 0, 0.3);
}

/* Hero Text */
.hero-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-text h1 {
    font-family: var(--font-secondary);
    font-size: clamp(2rem, 5vw, 4rem);
    margin: 0;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
    text-transform: uppercase;
    color: white;
}

.hero-text p {
    font-family: Arial, sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    line-height: var(--body-line-height);
    margin: 1.5rem 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    color: white;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.hero-buttons .button {
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.hero-buttons .button:hover {
    background-color: var(--secondary-color);
}

/* Classes Section */
#classes {
    padding: 4rem 2rem;
    background-color: var(--light-gray);
    text-align: center;
}

#classes h2 {
    font-family: var(--font-secondary);
    font-size: 3rem;
    color: var(--dark-gray);
    text-transform: uppercase;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

/* Classes Container */
.classes-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Class Summary */
.class-summary {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: var(--default-padding);
    transition: transform 0.3s ease;
}

.class-summary:hover {
    transform: scale(1.05);
}

/* Class Details */
.class-details {
    flex: 1;
    padding: 1.5rem;
    text-align: left;
}

.class-details h3 {
    font-family: var(--font-secondary);
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-transform: uppercase;
}

.class-details p {
    font-family: Arial, sans-serif;
    font-size: 1rem;
    color: var(--dark-gray);
    line-height: var(--body-line-height);
    margin-bottom: 1.5rem;
}

/* Class Images */
.class-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    object-fit: cover;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.class-summary:hover .class-image {
    transform: scale(1.05);
}

/* Reviews Section */
#reviews {
    background-color: var(--light-gray);
    padding: 3rem 1.5rem;
    text-align: center;
    font-family: var(--font-secondary);
}

#reviews h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--dark-gray);
    text-transform: uppercase;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

/* Reviews Container */
.review-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

/* Review Card */
.review-item {
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    flex: 1 1 300px;
    max-width: 350px;
    text-align: left;
}

/* Reviewer Name */
.review-name {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

/* Review Text */
.review-text {
    font-size: 1rem;
    color: #555;
    line-height: var(--body-line-height);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .class-summary {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text p {
        font-size: 1.2rem;
    }

    .hero-buttons .button {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 480px) {
    #hero {
        padding: 0.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }

    .review-item {
        flex: 1 1 90%;
    }
}

@media (max-width: 360px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .class-details p {
        font-size: 0.9rem;
    }

    .review-item {
        padding: 1rem;
    }
}
