/* 
   Workshops Page Styles 
   Maintain the premium aesthetic: dark modes, glassmorphism, smooth animations
*/

:root {
    --workshop-primary: #a38560;
    /* Similar to existing themes, can be adjusted */
    --workshop-bg: #fdfbf7;
    --workshop-text: #6c7677;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
}

body {
    background-color: var(--workshop-bg);
}

/* Hero Section */
.workshop-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
    overflow: hidden;
}

.workshop-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
    z-index: 1;
}

.workshop-hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
    animation: fadeInDown 1s ease-out;
}

.workshop-hero h1 {
    font-size: 4rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 10px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.workshop-hero p {
    font-size: 1.5rem;
    font-weight: 300;
}

/* Section Headings */
.workshop-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--workshop-text);
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--workshop-primary);
    margin: 15px auto 0;
}

/* Gallery */
.workshop-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* What Happens */
.what-happens-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Location Card & Upcoming Card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(31, 38, 135, 0.15);
}

.card-image {
    flex: 1 1 300px;
    border-radius: 12px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    flex: 2 1 400px;
}

.card-content h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
}

.card-content p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 10px;
}

.map-link {
    display: inline-flex;
    align-items: center;
    color: var(--workshop-primary);
    font-weight: 600;
    text-decoration: none;
    margin-top: 15px;
    transition: color 0.3s;
}

.map-link i {
    margin-right: 8px;
}

.map-link:hover {
    color: #8c7150;
    text-decoration: underline;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    font-family: serif;
    font-size: 4rem;
    color: rgba(163, 133, 96, 0.2);
    position: absolute;
    top: 10px;
    left: 20px;
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    font-weight: 600;
    /* Bolder font as requested */
    color: #333;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-size: 1rem;
    font-weight: 700;
    color: var(--workshop-primary);
    text-align: right;
}

/* Why Join */
.why-join-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.why-join-item {
    text-align: center;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.why-join-item:hover {
    transform: translateY(-5px);
}

.why-join-icon {
    font-size: 2.5rem;
    color: var(--workshop-primary);
    margin-bottom: 20px;
}

.why-join-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 20px 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s;
}

.faq-question:hover {
    color: var(--workshop-primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: #555;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 20px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-question i {
    transition: transform 0.3s;
}

/* CTA */
.cta-section {
    background: var(--color-primary);
    color: white;
    text-align: center;
    padding: 80px 20px;
    border-radius: 16px;
    margin-bottom: 80px;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    font-family: 'Playfair Display', serif;
    color: white;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-cta i {
    margin-right: 10px;
}

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

.btn-email:hover {
    background: #fdfbf7;
    transform: scale(1.05);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background: #1ebe57;
    transform: scale(1.05);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .workshop-hero {
        background-attachment: scroll; /* Prevents weird zoom on iOS/mobile */
        height: 50vh;
        min-height: 300px;
    }

    .workshop-hero h1 {
        font-size: 2.5rem;
    }

    .glass-card {
        flex-direction: column;
        padding: 20px;
    }
}