/* ===========================
   CSS Reset & Base Styles
   =========================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #264653;
    background-color: #fafafa;
    overflow-x: hidden;
}

/* ===========================
   Typography
   =========================== */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Crimson Pro', serif;
    font-weight: 600;
    line-height: 1.2;
    color: #264653;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
    font-size: clamp(1rem, 1.5vw, 1.125rem);
}

a {
    color: #2B7A78;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #E76F51;
}

/* ===========================
   Layout Utilities
   =========================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 4rem 0;
}

/* ===========================
   Hero Section
   =========================== */

.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(38, 70, 83, 0.4), rgba(38, 70, 83, 0.7));
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: white;
    padding: 2rem;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 300;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
    color: #F4F1DE;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 300;
    margin-bottom: 2rem;
    color: #F4F1DE;
    opacity: 0.95;
}

.hero-details {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 500;
}

.hero-date,
.hero-location {
    position: relative;
    padding: 0.5rem 1.5rem;
    background-color: rgba(231, 111, 81, 0.9);
    border-radius: 2rem;
    color: white;
}

/* ===========================
   Workshop Description
   =========================== */

.workshop-description {
    background-color: #F4F1DE;
    padding: 6rem 0;
}

.workshop-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.workshop-text h2 {
    color: #264653;
    margin-bottom: 2rem;
}

.description-text {
    line-height: 1.8;
}

.description-text p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    color: #264653;
}

.workshop-image {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
}

.workshop-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===========================
   About the Teacher
   =========================== */

.about-teacher {
    padding: 6rem 0;
    background-color: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

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

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* ===========================
   Video Showcase
   =========================== */

.video-showcase {
    padding: 6rem 0;
    background-color: #264653;
    color: white;
}

.video-showcase h2 {
    text-align: center;
    color: #F4F1DE;
    margin-bottom: 3rem;
}

.video-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
}

.video-container {
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    height: 500px;
    flex: 0 1 auto;
}

.video-container video {
    height: 100%;
    width: auto;
    display: block;
    object-fit: contain;
}

/* Video controls use default browser styling */

/* ===========================
   Details Section
   =========================== */

.details {
    padding: 6rem 0;
    background-color: #F4F1DE;
}

.details h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #264653;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.detail-card {
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(38, 70, 83, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(38, 70, 83, 0.2);
}

.detail-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.detail-card h3 {
    color: #2B7A78;
    margin-bottom: 0.5rem;
}

.detail-card p {
    margin-bottom: 0;
    color: #264653;
    font-size: 1.125rem;
}

.detail-coming-soon {
    color: #E76F51;
    font-style: italic;
    font-weight: 500;
}

/* ===========================
   Contact Section
   =========================== */

.contact {
    padding: 6rem 0;
    background-color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-text {
    text-align: left;
}

.contact-text h2 {
    color: #264653;
    margin-bottom: 1.5rem;
}

.contact-text p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.contact-email {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #E76F51;
    color: white;
    border-radius: 3rem;
    font-weight: 500;
    font-size: 1.125rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
    min-height: 44px;
    min-width: 44px;
}

.contact-email:hover {
    background-color: #2B7A78;
    transform: translateY(-2px);
    color: white;
}

.contact-image {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    box-shadow: 0 10px 40px rgba(38, 70, 83, 0.15);
}

.contact-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.contact-image:hover img {
    transform: scale(1.05);
}

/* ===========================
   Footer
   =========================== */

.footer {
    background-color: #264653;
    color: #F4F1DE;
    padding: 2rem 0;
    text-align: center;
}

.footer p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.footer a {
    color: #F4F1DE;
}

.footer a:hover {
    color: #E76F51;
}

/* ===========================
   Animations
   =========================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================
   Responsive Design
   =========================== */

/* Tablet */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .workshop-content,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-image,
    .contact-image {
        order: -1;
    }
    
    .video-grid {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .video-container {
        height: auto;
        width: 100%;
    }
    
    .video-container video {
        height: auto;
        width: 100%;
    }
    
    .details-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .hero-details {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    section {
        padding: 2rem 0;
    }
    
    .workshop-description,
    .about-teacher,
    .video-showcase,
    .details,
    .contact {
        padding: 3rem 0;
    }
    
    .workshop-image {
        order: -1;
    }
    
    .hero {
        min-height: 500px;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-details {
        font-size: 1rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .description-text p,
    .about-text p,
    .contact-text p {
        font-size: 1rem;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
    }
    
    .detail-card {
        padding: 1.5rem;
    }
    
    .contact-email {
        padding: 0.875rem 1.75rem;
        font-size: 1rem;
    }
    
    .video-grid {
        flex-direction: column;
    }
    
    .video-container {
        height: auto;
        width: 100%;
    }
    
    .video-container video {
        height: auto;
        width: 100%;
    }
}

/* Desktop enhancement */
@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
    }
    
    section {
        padding: 5rem 0;
    }
    
    .workshop-description,
    .about-teacher,
    .video-showcase,
    .details,
    .contact {
        padding: 7rem 0;
    }
}

/* Touch-friendly elements */
@media (hover: none) and (pointer: coarse) {
    .contact-email,
    a {
        min-height: 44px;
        min-width: 44px;
    }
    
    .detail-card:hover {
        transform: none;
    }
    
    .about-image:hover img,
    .contact-image:hover img {
        transform: none;
    }
}
