/* ========================================
   DANCE CLASS PAGE STYLES
   For regular dance class pages (non-hen party)
   ======================================== */

/* Color Variables for Dance Classes */
:root {
    --dance-primary: #D4145A;  /* Passionate red/pink for Latin dances */
    --dance-secondary: #FBB03B;  /* Warm gold/orange */
    --dance-accent: #9C27B0;  /* Purple accent */
    --dance-dark: #2C2C2C;
    --dance-light: #F5F5F5;
    --dance-white: #FFFFFF;
}

/* Reset body background for dance class pages */
html {
    background: #FFFFFF !important;
}

body.dance-class-page {
    background: #FFFFFF !important;
    background-color: #FFFFFF !important;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    min-height: 100vh;
}

/* First Viewport Container */
/* Adjust for sticky nav being outside viewport */
.first-viewport {
    display: flex;
    flex-direction: column;
    height: 100vh; /* Full viewport height */
    overflow: hidden;
    position: relative;
}

.first-viewport .info-banner {
    flex-shrink: 0;
}

.first-viewport .class-hero {
    flex: 1;
    overflow: hidden;
    position: relative;
}

/* Mobile specific adjustments */
@media (max-width: 768px) {
    body.dance-class-page {
        overflow-x: hidden;
    }

    .first-viewport {
        height: 100vh;
        max-height: 100vh;
    }
}

/* ========================================
   HERO SECTION
   ======================================== */

.class-hero {
    background: #FFFFFF;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    min-height: 500px; /* Minimum height for content */
}

.hero-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 8vw, 5.5rem);
    font-weight: 200;
    color: #000000;
    text-align: center;
    letter-spacing: 0.02em;
    margin: 0 auto;
    padding: 0 20px;
    max-width: 900px;  /* Constrains width on large screens */
    width: 100%;
    animation: slideDown 1.2s ease-out forwards;
    opacity: 0;
    transform: translateY(-100px);
}

/* Hero Links at Bottom */
.hero-links {
    position: absolute;
    bottom: 60px;
    display: flex;
    gap: 60px;
    justify-content: center;
    align-items: center;
}

.hero-link {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 300;
    color: #FF6B35;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.8s;
}

.hero-link:hover {
    color: #FF8C42;
    transform: translateX(5px);
}

.hero-link .arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.hero-link:hover .arrow {
    transform: translateX(5px);
}

/* Animations */
@keyframes slideDown {
    0% {
        opacity: 0;
        transform: translateY(-100px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Main Content Below First Viewport */
.dance-class-content {
    position: relative;
    background: #FFFFFF;
}

/* Footer stays visible with its normal styling */

/* ========================================
   CLASS INFO SECTION
   ======================================== */

.class-info {
    padding: 40px 20px 80px 20px;
    background: #FFFBF7; /* Light cream background */
}

.class-info-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Breadcrumb Wrapper */
.breadcrumb-wrapper {
    background: #FFFFFF;
    margin: -40px -20px 40px -20px; /* Extend to full width of section */
    border-top: 1px solid #E0E0E0; /* Light grey border top */
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* Breadcrumb Navigation */
.breadcrumb {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-item {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 300;
    letter-spacing: 0.02em;
}

.breadcrumb-item a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #FF6B35;
}

.breadcrumb-item.active {
    color: #000;
    font-weight: 400;
}

.breadcrumb-separator {
    margin: 0 12px;
    color: #999;
    font-size: 0.85rem;
    font-weight: 300;
}

/* Mobile breadcrumb adjustments */
@media (max-width: 768px) {
    .breadcrumb-wrapper {
        margin: -40px -20px 30px -20px;
    }

    .breadcrumb {
        padding: 15px 20px;
    }

    .breadcrumb-item {
        font-size: 0.9rem;
    }

    .breadcrumb-separator {
        margin: 0 8px;
    }
}

/* Two Column Grid Layout */
.info-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Left Column - Class Information */
.info-left {
    padding-right: 20px;
}

.title-card {
    background: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
    text-align: center;
    padding: 25px 30px;
}

.info-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 400;
    color: #2C2C2C;
    margin: 0;
    line-height: 1.2;
    background: linear-gradient(180deg, transparent 30%, rgba(255, 107, 53, 0.3) 30%, rgba(255, 107, 53, 0.3) 80%, transparent 80%);
    display: inline-block;
    padding: 0 10px;
}

.intro-card {
    padding: 30px;
    background: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

.intro-card .info-intro {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.intro-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 1.5rem;
}

.intro-card p:last-child {
    margin-bottom: 0;
}

.class-details {
    padding: 25px;
    background: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.class-details h3,
.dance-benefits h3 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.3rem;
    font-weight: 400;
    color: #2C2C2C;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.details-list {
    list-style: none;
    padding: 0;
}

.details-list li {
    padding: 8px 0;
    font-size: 0.95rem;
    color: #555;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.details-list li:last-child {
    border-bottom: none;
}

.details-list strong {
    color: #333;
    font-weight: 500;
    margin-right: 8px;
}

.dance-benefits {
    margin-top: 2rem;
    padding: 25px;
    background: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    position: relative;
    padding: 10px 0 10px 25px;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

.benefits-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #FF6B35;
    font-weight: bold;
}

/* Right Column - Registration Card */
.info-right {
    position: sticky;
    top: 100px;
}

.register-card {
    background: #FFFFFF;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform-origin: center center;
}

.register-card:hover {
    transform: rotate(-0.5deg) scale(1.01);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.register-card .register-form {
    text-align: left;
}

.register-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 400;
    color: #2C2C2C;
    margin-bottom: 0.5rem;
    background: linear-gradient(180deg, transparent 30%, rgba(255, 107, 53, 0.3) 30%, rgba(255, 107, 53, 0.3) 80%, transparent 80%);
    display: inline-block;
    padding: 0 10px;
}

.register-subtitle {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.register-form {
    display: flex;
    flex-direction: column;
}

.register-form .form-group {
    margin-bottom: 1.2rem;
}

.register-form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 5px;
    letter-spacing: 0.02em;
}

.register-form input,
.register-form select {
    width: 100%;
    padding: 10px 12px;
    font-size: 0.95rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #FAFAFA;
    transition: all 0.3s ease;
}

.register-form input:focus,
.register-form select:focus {
    outline: none;
    border-color: #FF6B35;
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.register-submit {
    background: #FF6B35;
    color: #FFFFFF;
    padding: 14px 30px;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.register-submit:hover {
    background: #FF8C42;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

/* Highlight Title Style */
.highlight-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #2C2C2C;
    margin-bottom: 1.5rem;
    background: linear-gradient(180deg, transparent 30%, rgba(255, 107, 53, 0.3) 30%, rgba(255, 107, 53, 0.3) 80%, transparent 80%);
    display: inline-block;
    padding: 0 10px;
}

.class-details {
    background: #FFFFFF;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-top: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform-origin: center center;
}

.class-details:hover {
    transform: rotate(-1deg) scale(1.02);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.class-details .highlight-title {
    margin-bottom: 1.5rem;
}

.class-details ul {
    text-align: left;
}

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

.details-list li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95rem;
    color: #555;
}

.details-list li:last-child {
    border-bottom: none;
}

.details-list strong {
    color: #2C2C2C;
    margin-right: 10px;
}

/* Bachata Benefits Section */
.dance-benefits {
    margin-top: 30px;
    background: #FFFFFF;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform-origin: center center;
}

.dance-benefits:hover {
    transform: rotate(1deg) scale(1.01);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.dance-benefits .highlight-title {
    display: inline-block;
    margin-bottom: 1.5rem;
}

.dance-benefits ul {
    text-align: left;
}

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

.benefits-list li {
    position: relative;
    padding: 12px 0 12px 30px;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    border-bottom: 1px solid #F0F0F0;
}

.benefits-list li:last-child {
    border-bottom: none;
}

.benefits-list li::before {
    content: "✨";
    position: absolute;
    left: 0;
    color: #FF6B35;
    font-size: 1.2rem;
}

/* Bachata Image Card */
.dance-image-card {
    margin-top: 20px;
    margin-bottom: 20px;
    background: #2C2C2C;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
}

.dance-image-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #F77A36 0%, transparent 30%);
    opacity: 0.3;
    z-index: 1;
    transition: opacity 0.4s ease;
}

.dance-image-card:hover::before {
    opacity: 0.5;
}

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

.image-card-content {
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.dance-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
    filter: brightness(0.9);
}

.dance-image-card:hover .dance-image {
    transform: rotate(-3deg) scale(1.1);
    filter: brightness(1);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(44, 44, 44, 0.95) 0%, transparent 100%);
    color: white;
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.dance-image-card:hover .image-overlay {
    transform: translateY(0);
}

.image-overlay h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    margin-bottom: 5px;
    color: #FFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.image-overlay p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .info-content-grid {
        gap: 40px;
    }

    .info-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .info-content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .info-left {
        padding-right: 0;
    }

    .info-right {
        position: relative;
        top: 0;
    }

    .register-card {
        padding: 25px;
    }

    .title-card {
        padding: 20px;
        margin-bottom: 1.5rem;
    }

    .info-title {
        font-size: 1.8rem;
        padding: 0 10px;
    }

    .intro-card {
        padding: 20px;
        margin-bottom: 1.5rem;
    }

    .class-details {
        margin-top: 1.5rem;
        padding: 20px;
    }

    .dance-benefits {
        margin-top: 20px;
        padding: 20px;
    }

    .dance-image-card {
        margin-top: 15px;
        margin-bottom: 15px;
    }

    .dance-image {
        height: 200px;
    }

    .image-card-content {
        clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    }
}

/* ========================================
   YOUR BACHATA JOURNEY SECTION
   ======================================== */

.dance-journey {
    padding: 80px 20px;
    background: #FFFFFF;
}

.journey-container {
    max-width: 1200px;
    margin: 0 auto;
}

.journey-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 400;
    color: #2C2C2C;
    text-align: center;
    margin-bottom: 1rem;
}

.journey-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 4rem;
    font-weight: 300;
}

/* Journey Grid Cards */
.journey-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 3rem;
}

.journey-card {
    background: #FFFFFF;
    border-radius: 0;
    position: relative;
    padding: 30px;
    transition: all 0.3s ease;
    border: 2px solid #F5F5F5;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
}

/* Animated top bar */
.journey-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #FF6B35 0%, #FFD4B8 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.journey-card:hover::before {
    transform: scaleX(1);
}

.journey-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.15);
    border-color: #FF6B35;
}

/* Big watermark numbers */
.journey-card:nth-child(1)::after,
.journey-card:nth-child(2)::after,
.journey-card:nth-child(3)::after,
.journey-card:nth-child(4)::after {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 4rem;
    font-weight: 700;
    color: rgba(255, 107, 53, 0.1);
    font-family: 'Josefin Sans', sans-serif;
    z-index: 0;
}

.journey-card:nth-child(1)::after { content: '01'; }
.journey-card:nth-child(2)::after { content: '02'; }
.journey-card:nth-child(3)::after { content: '03'; }
.journey-card:nth-child(4)::after { content: '04'; }

/* Diagonal cuts */
.journey-card:nth-child(1),
.journey-card:nth-child(3) {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}

.journey-card:nth-child(2),
.journey-card:nth-child(4) {
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
}

/* Card Icon - removed, using numbers instead */
.card-icon {
    display: none;
}

.journey-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #2C2C2C;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.journey-list {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 1;
}

.journey-list li {
    position: relative;
    padding: 8px 0 8px 25px;
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 10px;
}

.journey-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #FF6B35;
    font-weight: bold;
}

.journey-list li strong {
    color: #2C2C2C;
    font-weight: 600;
}

/* Extra Info Cards - Edgy Design */
.journey-extras {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 4rem 0;
    position: relative;
}

.extra-card {
    background: linear-gradient(135deg, #FFF5E4 0%, #FFFBF7 100%);
    padding: 0;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(255, 107, 53, 0.15);
}

.extra-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, #FF6B35 0%, #FFD4B8 100%);
    transition: width 0.3s ease;
}

.extra-card:hover::before {
    width: 100%;
    opacity: 0.1;
}

.extra-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, transparent 50%, rgba(255, 107, 53, 0.08) 50%);
}

.extra-card h4 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.1rem;
    color: #2C2C2C;
    margin: 0;
    padding: 20px 30px 15px 30px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.extra-card p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.7;
    margin: 0;
    padding: 0 30px 25px 30px;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.extra-card:hover h4 {
    color: #FF6B35;
}

.extra-card:hover p {
    color: #333;
}

.extra-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.12);
    border-color: rgba(255, 107, 53, 0.3);
}

/* Number badges for extra cards */
.extra-card:nth-child(1) h4::before,
.extra-card:nth-child(2) h4::before,
.extra-card:nth-child(3) h4::before {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(255, 107, 53, 0.15);
    font-family: 'Josefin Sans', sans-serif;
}

.extra-card:nth-child(1) h4::before { content: 'i'; }
.extra-card:nth-child(2) h4::before { content: 'ii'; }
.extra-card:nth-child(3) h4::before { content: 'iii'; }

/* CTA Section */
.journey-cta {
    text-align: center;
    margin-top: 40px;
}

.journey-btn {
    display: inline-block;
    padding: 15px 40px;
    background: #FF6B35;
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.journey-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.5s ease;
}

.journey-btn:hover {
    background: #FF8C42;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.3);
}

.journey-btn:hover::before {
    left: 100%;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .journey-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .journey-title {
        font-size: 2.2rem;
    }

    .journey-subtitle {
        font-size: 1rem;
        margin-bottom: 3rem;
    }

    .journey-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .journey-card {
        padding: 25px;
        clip-path: none !important;
    }

    .journey-card:nth-child(1)::after,
    .journey-card:nth-child(2)::after,
    .journey-card:nth-child(3)::after,
    .journey-card:nth-child(4)::after {
        font-size: 3rem;
    }

    .journey-card h3 {
        font-size: 1.4rem;
    }

    .journey-extras {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .extra-card h4 {
        padding: 18px 25px 12px 25px;
        font-size: 1rem;
    }

    .extra-card p {
        padding: 0 25px 20px 25px;
        font-size: 0.85rem;
    }

    .extra-card:nth-child(1) h4::before,
    .extra-card:nth-child(2) h4::before,
    .extra-card:nth-child(3) h4::before {
        font-size: 2rem;
        right: 25px;
        color: rgba(255, 107, 53, 0.15);
    }

    .journey-cta {
        padding: 30px 20px;
    }

    .journey-cta p {
        font-size: 1.1rem;
    }
}

/* ========================================
   FAQ SECTION
   ======================================== */

.faq-section {
    padding: 80px 20px;
    background: #FFFBF7; /* Light cream background */
}

.faq-container {
    max-width: 1000px;
    margin: 0 auto;
}

.faq-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 400;
    color: #2C2C2C;
    text-align: center;
    margin-bottom: 1rem;
}

.faq-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 4rem;
    font-weight: 300;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* FAQ Items */
.faq-item {
    background: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.1);
}

/* Hide checkbox */
.faq-checkbox {
    display: none;
}

/* Question Styling */
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    cursor: pointer;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: #2C2C2C;
    transition: all 0.3s ease;
    position: relative;
}

.faq-question:hover {
    color: #FF6B35;
    background: #FFFBF7;
}

/* Plus/Minus Icon */
.faq-icon {
    position: relative;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: #FF6B35;
    transition: all 0.3s ease;
}

/* Horizontal line */
.faq-icon::before {
    width: 16px;
    height: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Vertical line */
.faq-icon::after {
    width: 2px;
    height: 16px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Rotate icon when checked */
.faq-checkbox:checked + .faq-question .faq-icon {
    transform: rotate(45deg);
}

/* Hide vertical line when checked (making it a minus) */
.faq-checkbox:checked + .faq-question .faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

/* Answer Styling */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    border-top: 1px solid transparent;
}

.faq-answer p {
    padding: 0 30px;
    margin: 0;
    color: #555;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Show answer when checkbox is checked */
.faq-checkbox:checked ~ .faq-answer {
    max-height: 500px;
    padding: 20px 0 25px 0;
    border-top: 1px solid #F5F5F5;
}

/* Active state for question */
.faq-checkbox:checked + .faq-question {
    color: #FF6B35;
    background: #FFFBF7;
}

/* Add number to each FAQ */
.faq-item:nth-child(1) .faq-question::before,
.faq-item:nth-child(2) .faq-question::before,
.faq-item:nth-child(3) .faq-question::before,
.faq-item:nth-child(4) .faq-question::before,
.faq-item:nth-child(5) .faq-question::before,
.faq-item:nth-child(6) .faq-question::before,
.faq-item:nth-child(7) .faq-question::before,
.faq-item:nth-child(8) .faq-question::before {
    content: counter(faq-counter);
    counter-increment: faq-counter;
    position: absolute;
    left: -40px;
    font-size: 2rem;
    font-weight: 700;
    color: rgba(255, 107, 53, 0.1);
    font-family: 'Josefin Sans', sans-serif;
}

.faq-grid {
    counter-reset: faq-counter;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .faq-title {
        font-size: 2.2rem;
    }

    .faq-subtitle {
        font-size: 1rem;
        margin-bottom: 3rem;
    }

    .faq-question {
        padding: 20px;
        font-size: 1rem;
    }

    .faq-answer p {
        padding: 0 20px;
        font-size: 0.9rem;
    }

    .faq-checkbox:checked ~ .faq-answer {
        padding: 15px 0 20px 0;
    }

    .faq-item:nth-child(1) .faq-question::before,
    .faq-item:nth-child(2) .faq-question::before,
    .faq-item:nth-child(3) .faq-question::before,
    .faq-item:nth-child(4) .faq-question::before,
    .faq-item:nth-child(5) .faq-question::before,
    .faq-item:nth-child(6) .faq-question::before,
    .faq-item:nth-child(7) .faq-question::before,
    .faq-item:nth-child(8) .faq-question::before {
        display: none;
    }
}

/* ========================================
   SCHEDULE SECTION - To be designed
   ======================================== */

.class-schedule {
    /* Placeholder for schedule design */
    padding: 80px 20px;
    background: #F5F5F5;
    min-height: 0; /* Remove any min-height */
}

/* ========================================
   INSTRUCTORS SECTION - To be designed
   ======================================== */

.class-instructors {
    /* Placeholder for instructors design */
    padding: 80px 20px;
    background: #FFFFFF;
    min-height: 0; /* Remove any min-height */
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    /* Hero Section Mobile - uses flexbox from body */
    .hero-content {
        flex: none;  /* Remove flex: 1 to better center */
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
    }

    .hero-links {
        gap: 40px;
        bottom: 40px;
    }

    .hero-link {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    /* Hero Section Small Mobile */
    .hero-content {
        top: 45%;  /* Slightly higher for better visual balance */
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-links {
        flex-direction: column;
        gap: 20px;
        bottom: 30px;
    }

    .hero-link {
        font-size: 0.95rem;
    }
}

/* ========================================
   LOCATION SECTION
   ======================================== */

.location-section {
    background: #FFFFFF;
    padding: 80px 20px;
}

.location-container {
    max-width: 1200px;
    margin: 0 auto;
}

.location-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #2C2C2C;
    margin-bottom: 60px;
}

.location-title .highlight-text {
    background: linear-gradient(180deg, transparent 30%, rgba(255, 107, 53, 0.3) 30%, rgba(255, 107, 53, 0.3) 80%, transparent 80%);
    padding: 0 10px;
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

/* Location Info Card - Edgy Design */
.location-info-card {
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 30px 100%, 0 calc(100% - 30px));
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.location-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #F77A36, #FF9D5C);
}

.location-info-card:hover {
    transform: translateY(-5px) rotate(-0.5deg);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.card-corner {
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #F77A36 0%, #FF9D5C 100%);
    clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.location-content {
    padding: 40px;
    position: relative;
}

.location-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #2C2C2C;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #F0F0F0;
}

.address-info {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.address-info i {
    color: #F77A36;
    font-size: 1.5rem;
    margin-top: 5px;
}

.address-info p {
    margin: 5px 0;
    color: #555;
}

.transport-info {
    background: #FFF5E4;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.transport-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.transport-item:last-child {
    margin-bottom: 0;
}

.transport-item i {
    color: #F77A36;
    font-size: 1.2rem;
    width: 25px;
}

.transport-item span {
    color: #555;
    font-size: 0.95rem;
}

.expansion-notice {
    background: linear-gradient(135deg, #FFF5E4 0%, #FDD9AF 100%);
    padding: 25px;
    border-radius: 8px;
    margin-top: 25px;
    position: relative;
    overflow: hidden;
    border: 2px solid #F77A36;
}

.expansion-notice::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    background: rgba(247, 122, 54, 0.15);
    border-radius: 50%;
}

.expansion-notice::before {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 80px;
    height: 80px;
    background: rgba(247, 122, 54, 0.1);
    border-radius: 50%;
}

.expansion-notice h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #2C2C2C;
}

.expansion-notice h4 i {
    color: #F77A36;
    margin-right: 10px;
}

.coming-soon-areas {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.area-tag {
    background: #FFFFFF;
    color: #F77A36;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 2px solid #F77A36;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(247, 122, 54, 0.15);
}

.area-tag:hover {
    background: #F77A36;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(247, 122, 54, 0.3);
}

.expansion-text {
    font-size: 0.9rem;
    color: #555;
    margin: 0;
    font-style: italic;
}

/* Map Card - Edgy Design */
.map-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    clip-path: polygon(30px 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%, 0 30px);
    transition: transform 0.3s ease;
}

.map-card:hover {
    transform: translateY(-5px) rotate(0.5deg);
}

.map-container {
    width: 100%;
    height: 450px;
    position: relative;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-overlay-corner {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, transparent 50%, rgba(247, 122, 54, 0.9) 50%);
    pointer-events: none;
}

.map-overlay-corner::before {
    content: 'MAP';
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: white;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 2px;
    transform: rotate(-45deg);
    transform-origin: bottom left;
}

/* Responsive Design for Location Section */
@media (max-width: 992px) {
    .location-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .location-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .location-section {
        padding: 60px 20px;
    }

    .location-content {
        padding: 30px 20px;
    }

    .location-content h3 {
        font-size: 1.5rem;
    }

    .map-container {
        height: 300px;
    }

    .coming-soon-areas {
        justify-content: center;
    }

    .location-info-card,
    .map-card {
        clip-path: none;
        border-radius: 12px;
    }

    .card-corner {
        display: none;
    }

    .map-overlay-corner {
        display: none;
    }
}

/* ========================================
   CALL TO ACTION SECTION
   ======================================== */

.cta-section {
    background: #FFF5E4;
    padding: 100px 20px;
    text-align: center;
}

.cta-container {
    max-width: 900px;
    margin: 0 auto;
}

.cta-heading {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 300;
    color: #2C2C2C;
    line-height: 1.4;
    margin-bottom: 50px;
    letter-spacing: -0.5px;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: transparent;
    color: #2C2C2C;
    padding: 15px 40px;
    border: 2px solid #2C2C2C;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #F77A36;
    transition: left 0.3s ease;
    z-index: -1;
}

.cta-btn:hover {
    color: white;
    border-color: #F77A36;
}

.cta-btn:hover::before {
    left: 0;
}

.btn-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.cta-btn:hover .btn-arrow {
    transform: translateX(5px);
}

/* Responsive Design for CTA */
@media (max-width: 768px) {
    .cta-section {
        padding: 60px 20px;
    }

    .cta-heading {
        font-size: 1.8rem;
        margin-bottom: 35px;
    }

    .cta-btn {
        padding: 12px 30px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .cta-heading {
        font-size: 1.5rem;
    }
}