/* ================================================
   DANCE CLASSES PAGES CSS - Cardiff Dance Centre
   ================================================ */

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

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

.hero {
    height: 100vh;
    background-color: #000000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 0;
    padding-top: 60px; /* Account for fixed header */
}

.hero-content {
    text-align: center;
    color: var(--light);
    padding: 0 var(--spacing-xl);
    max-width: 1200px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    padding-bottom: 3rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 6rem);
    font-weight: 300;
    color: var(--light);
    margin: 0;
    line-height: 0.9;
    letter-spacing: -0.02em;
    flex: 1;
    display: flex;
    align-items: center;
    text-align: center;
    animation: slideDown 1s ease-out forwards;
}

/* Slide Down Animation */
@keyframes slideDown {
    0% {
        transform: translateY(-100vh);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.hero-buttons {
    display: flex;
    gap: 3rem;
    justify-content: center;
    align-items: center;
}

.hero-btn {
    color: var(--accent-yellow);
    text-decoration: none;
    font-family: var(--font-primary);
    font-size: 1.125rem;
    font-weight: 400;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-btn:hover {
    color: #ffffff;
    transform: translateY(-2px);
}

.hero-btn::after {
    content: '→';
    font-size: 1.125rem;
    transition: all 0.3s ease;
}

.hero-btn:hover::after {
    color: #ffffff;
}

/* ================================================
   BREADCRUMB NAVIGATION
   ================================================ */

.breadcrumb-section {
    background: #ffffff;
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 0.25rem 0;
}

.breadcrumb a:hover {
    color: var(--accent-color);
}

.breadcrumb-separator {
    margin: 0 0.75rem;
    color: #999;
    font-size: 0.75rem;
}

.breadcrumb-current {
    color: #333;
    font-weight: 500;
}

/* ================================================
   BENTO BOX SECTION
   ================================================ */

.bento-section {
    padding: 4rem 0;
    background-color: #ffffff;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto;
    gap: 1.5rem;
    grid-template-areas:
        "featured featured small1 small1"
        "medium1 medium1 small2 small2"
        "medium2 medium2 medium3 medium3";
}

/* Bento Box Base Styles */
.bento-box {
    background-color: #ffffff;
    padding: 2rem;
    border: 3px solid #000000;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

/* Bento Box Sizes and Positions */
.bento-featured {
    grid-area: featured;
    transform: rotate(-0.5deg);
}

.bento-box:nth-child(2) {
    grid-area: small1;
    transform: rotate(1deg);
}

.bento-box:nth-child(3) {
    grid-area: medium1;
    transform: rotate(0.5deg);
}

.bento-box:nth-child(4) {
    grid-area: small2;
    transform: rotate(-1deg);
}

.bento-box:nth-child(5) {
    grid-area: medium2;
    transform: rotate(-0.5deg);
}

.bento-box:nth-child(6) {
    grid-area: medium3;
    transform: rotate(0.5deg);
}

/* Hover Effects */
.bento-box:hover {
    transform: rotate(0deg) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

/* Accent Box */
.bento-accent {
    background-color: #fffbf0;
}

/* Typography */
.bento-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.bento-heading {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.bento-box p {
    font-size: 1rem;
    line-height: 1.7;
    color: #333333;
    margin: 0;
}

/* Lists */
.bento-list,
.bento-list-detailed {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bento-list li {
    padding: 0.35rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #333333;
    font-size: 0.95rem;
}

.bento-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-yellow);
    font-weight: bold;
    font-size: 1.2rem;
}

.bento-list-detailed li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #333333;
    font-size: 0.95rem;
    line-height: 1.6;
}

.bento-list-detailed li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-yellow);
    font-weight: bold;
}

.bento-list-detailed strong {
    color: #000000;
}

/* ================================================
   INFO AND BOOKING SECTION
   ================================================ */

.info-booking-section {
    padding: 4rem 0;
    background-color: #f5f5f5;
}

.info-booking-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Left Side - Information Wrapper */
.info-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Info Cards */
.info-card {
    background-color: #ffffff;
    padding: 2.5rem;
    border-radius: 8px;
    border: 3px solid #000000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transform: rotate(-1deg);
    transition: all 0.3s ease;
    position: relative;
}

.info-card:nth-child(even) {
    transform: rotate(1deg);
}

.info-card:hover {
    transform: rotate(0deg) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.info-title {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: #000000;
    font-family: var(--font-heading);
}

/* Accent Underline */
.accent-underline {
    position: relative;
    display: inline-block;
}

.accent-underline::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 3px;
    background-color: var(--accent-yellow);
    transform: skewX(-10deg);
}

.info-text {
    margin-bottom: 2rem;
}

.info-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: #333333;
    margin-bottom: 1.5rem;
}

.info-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #000000;
    font-family: var(--font-heading);
}

.experience-list,
.perfect-for-list {
    list-style: none;
    padding: 0;
}

.experience-list li,
.perfect-for-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #333333;
    line-height: 1.6;
}

.experience-list li::before,
.perfect-for-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-yellow);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Package Card / Coming Soon Card */
.package-card {
    background-color: #f9f9f9;
}

.package-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.coming-soon-content {
    text-align: center;
}

.price-highlight {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-yellow);
    margin-bottom: 2rem;
}

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

.class-details p {
    margin-bottom: 1rem;
    color: #333333;
    line-height: 1.6;
}

.class-details strong {
    color: #000000;
    display: block;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.register-note {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid #e0e0e0;
    font-style: italic;
    color: #666666;
}

/* Right Side Container */
.booking-right-side {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Right Side - Form */
.booking-form-container {
    background-color: #ffffff;
    padding: 2.5rem;
    border-radius: 8px;
    border: 3px solid #000000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transform: rotate(0.5deg);
    transition: all 0.3s ease;
    position: relative;
}

.booking-form-container:hover {
    transform: rotate(0deg) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.booking-form h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #000000;
    text-align: center;
    font-family: var(--font-heading);
}

.form-subtitle {
    font-size: 0.95rem;
    color: #666666;
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.4;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #000000;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-yellow);
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background-color: var(--accent-yellow);
    color: #000000;
    border: 2px solid var(--accent-yellow);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: #000000;
    color: #ffffff;
    border-color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Image Card with Diagonal Banner */
.image-card {
    padding: 0;
    overflow: hidden;
}

.image-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    max-height: 400px;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.diagonal-banner {
    position: absolute;
    bottom: 15%;
    left: -20%;
    width: 140%;
    padding: 1.5rem 4rem;
    background-color: rgba(0, 0, 0, 0.85);
    transform: rotate(-15deg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.diagonal-banner span {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent-yellow);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

/* Enquiry Scroll Button */
.enquiry-scroll-btn {
    display: block;
    width: 100%;
    padding: 1rem 2rem;
    margin-top: 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background-color: #000000;
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    border: 2px solid #000000;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.enquiry-scroll-btn:hover {
    background-color: var(--accent-yellow);
    color: #000000;
    border-color: var(--accent-yellow);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 210, 48, 0.3);
}

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

.cta-section {
    background-color: #000000;
    padding: 5rem 0;
    text-align: center;
    border-bottom: 1px solid var(--accent-yellow);
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.cta-accent {
    color: var(--accent-yellow);
    position: relative;
    display: inline-block;
}

.cta-text {
    font-family: var(--font-primary);
    font-size: 1.125rem;
    line-height: 1.8;
    color: #cccccc;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 1.25rem 3rem;
    background-color: var(--accent-yellow);
    color: #000000;
    text-decoration: none;
    font-family: var(--font-primary);
    font-size: 1.125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 3px solid var(--accent-yellow);
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.cta-button:hover {
    background-color: transparent;
    color: var(--accent-yellow);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 210, 48, 0.3);
}

/* ================================================
   RESPONSIVE STYLES
   ================================================ */

/* Tablet - 2 column to 1 column */
@media (max-width: 991px) {
    .info-booking-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Bento Grid - Tablet Layout */
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-areas:
            "featured featured"
            "small1 small2"
            "medium1 medium1"
            "medium2 medium3";
    }
}

/* Mobile - Stack Bento Boxes */
@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "featured"
            "small1"
            "medium1"
            "small2"
            "medium2"
            "medium3";
    }

    .bento-box {
        padding: 1.5rem;
    }

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

    .bento-heading {
        font-size: 1.25rem;
    }
}

@media (max-width: 575px) {
    .hero {
        height: 95vh;
        padding-top: 80px;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero-buttons {
        gap: 1.5rem;
        flex-direction: column;
    }

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

    .info-booking-section {
        padding: 2rem 0;
    }

    .info-card {
        padding: 1.5rem;
    }

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

    .booking-form-container {
        padding: 1.5rem;
    }

    .price-highlight {
        font-size: 1.5rem;
    }

    .cta-section {
        padding: 3rem 0;
    }

    .cta-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .cta-text {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}
