/* Individual Dance Style Pages */

/* Pricing Section */
.pricing-section {
    margin: 15px 0;
}

.pricing-option {
    padding: 12px 15px;
    margin-bottom: 8px;
    border-radius: 8px;
}

.pricing-option.highlighted {
    background: #fff;
    color: #000;
    border: 2px solid #FFD700;
}

.pricing-option.special {
    background: #fff;
    color: #000;
    border: 2px solid #FFD700;
}

.price-highlight {
    font-weight: 600;
    font-size: 1em;
}

.pack-title {
    font-weight: 700;
    font-size: 1em;
    margin-bottom: 3px;
}

.savings {
    font-weight: 600;
    font-size: 0.9em;
}

/* CTA Buttons */
.cta-buttons {
    margin-top: 15px;
}

.book-class-btn {
    display: block;
    width: 100%;
    background-color: #000;
    color: #FFD700;
    text-decoration: none;
    text-align: center;
    padding: 15px 20px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1px;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.book-class-btn:hover {
    background-color: #333;
    color: #FFD700;
    transform: scale(1.02);
}

.more-info-btn {
    display: block;
    width: 100%;
    background-color: orangered;
    color: #fff;
    text-decoration: none;
    text-align: center;
    padding: 15px 20px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.more-info-btn:hover {
    background-color: #CC4125;
    color: #fff;
}

/* Class Enquiry Button */
.class-enquiry-btn {
    display: block;
    width: 100%;
    background-color: #000;
    color: #FFD700;
    text-decoration: none;
    text-align: center;
    padding: 12px 20px;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    border: none;
    margin-top: 15px;
    position: relative;
    transform: rotate(-0.5deg);
    transition: all 0.3s ease;
    border-radius: 8px;
}

.class-enquiry-btn:hover {
    background-color: #333;
    color: #FFD700;
    transform: rotate(0deg) scale(1.02);
}

/* Breadcrumb */
.breadcrumb {
    background-color: #f8f8f8;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
}

.breadcrumb .container {
    padding: 0 20px;
}

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

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

.breadcrumb li:not(:last-child)::after {
    content: "/";
    margin: 0 10px;
    color: #999;
}

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

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

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

/* Hero Section */
.hero {
    background-color: #000;
    color: var(--primary-color);
    min-height: 95vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 100;
    margin-bottom: 0;
    line-height: 1.1;
    color: var(--primary-color);
    font-family: 'Josefin Sans', sans-serif;
}

.hero h1 .highlight {
    color: white;
    font-weight: 200;
    display: block;
    margin-top: 0.5rem;
}

.hero-links {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    gap: 40px;
    justify-content: center;
}

.hero-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

.hero-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.hero-link:hover {
    color: white;
}

.hero-link:hover::after {
    width: 100%;
}

/* Class Content Section */
.class-content {
    padding: 60px 0;
    background-color: #f8f8f8;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.left-column,
.right-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Content Cards */
.content-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 2px solid #000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Alternating card rotations */
.left-column .content-card:nth-child(odd) {
    transform: rotate(-1deg);
}

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

.right-column .content-card:nth-child(odd) {
    transform: rotate(1deg);
}

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

/* Hover animations - only for alternating cards, not the form */
.left-column .content-card:nth-child(odd):hover,
.right-column .content-card:nth-child(even):not(.form-card):hover {
    transform: rotate(-2deg) scale(1.03);
    box-shadow: 0 10px 35px rgba(0,0,0,0.2);
    z-index: 5;
    position: relative;
}

.left-column .content-card:nth-child(even):hover,
.right-column .content-card:nth-child(odd):not(.form-card):hover {
    transform: rotate(2deg) scale(1.03);
    box-shadow: 0 10px 35px rgba(0,0,0,0.2);
    z-index: 5;
    position: relative;
}

/* Form card hover - subtle effect only */
.form-card:hover {
    transform: rotate(0deg) scale(1.01);
    box-shadow: 0 6px 25px rgba(0,0,0,0.12);
}

.card-title {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.4rem;
    font-weight: 400;
    margin: 0 0 20px 0;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
    position: relative;
    display: inline-block;
    z-index: 1;
}

.card-title::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: -0.2em;
    right: -0.2em;
    height: 50%;
    background-color: var(--primary-color);
    z-index: -1;
    opacity: 0.9;
}

.card-title.highlight {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 15px;
    margin: -30px -30px 20px -30px;
    border-radius: 10px 10px 0 0;
    position: static;
    display: block;
}

.card-title.highlight::before {
    display: none;
}

/* Classes Starting Soon Card */
.class-announcement {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 15px;
    margin: -30px -30px 20px -30px;
    border-radius: 10px 10px 0 0;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.class-start-info {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 20px;
    text-align: center;
    font-style: italic;
}

.class-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-item {
    display: flex;
    flex-direction: column;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item strong {
    color: #333;
    font-weight: 600;
    margin-bottom: 4px;
}

.info-item.best-value {
    background-color: #ffd700;
    color: #000;
    padding: 12px 15px;
    margin: 8px -15px;
    border-radius: 6px;
    border: 2px solid #ffb300;
}

.info-item.best-value strong {
    color: #000;
    font-weight: 700;
}

.book-now-btn {
    display: inline-block;
    background: #000;
    color: #ffd700;
    padding: 8px 15px;
    margin-top: 10px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: 2px solid #000;
}

.book-now-btn:hover {
    background: #ffd700;
    color: #000;
    transform: translateY(-1px);
}

.book-now-container {
    text-align: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

/* Booking Card */
.booking-card {
    border: 2px solid #000;
    border-radius: 12px;
}

.booking-title {
    position: relative;
    display: inline-block;
    z-index: 1;
    text-align: center;
    width: 100%;
}

.booking-title::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 50%;
    background-color: #ffd700;
    z-index: -1;
    opacity: 0.9;
}

.booking-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.booking-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #f8f8f8;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.booking-option.best-deal {
    background: #ffd700;
    border-color: #ffb300;
    font-weight: 600;
}

.option-name {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.95rem;
    color: #000;
}

.option-price {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.booking-option.best-deal .option-price {
    color: #000;
}

.booking-cta-btn {
    display: block;
    background: var(--primary-color);
    color: white;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-align: center;
    margin: 0 auto;
    width: fit-content;
}

.booking-cta-btn:hover {
    background: #e63946;
    transform: translateY(-1px);
}

/* Class Breakdown Lists */
.breakdown-list,
.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.breakdown-list li,
.benefits-list li {
    position: relative;
    padding: 8px 0 8px 20px;
    border-bottom: 1px solid #eee;
}

.breakdown-list li:before,
.benefits-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

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

/* Registration Form */
.form-card {
    /* Form styling - no sticky positioning to avoid overlap */
}

.form-subtitle {
    color: #666;
    font-size: 0.95rem;
    margin: -10px 0 20px 0;
    line-height: 1.4;
}

.registration-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.form-group input,
.form-group select {
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background-color: white;
    color: #333;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Scroll offset for sticky navigation */
#form {
    scroll-margin-top: 150px;
}

/* iOS Safari select styling fix */
.form-group select {
    color: #333 !important;
    background-color: white !important;
}

.form-group select option {
    color: #333 !important;
    background-color: white !important;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.submit-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 25px;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    background-color: #e63946;
}

/* Image Card */
.image-card {
    padding: 0;
    overflow: hidden;
    height: 350px;
    position: relative;
}

.dance-image {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 10px;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    bottom: 20%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    color: var(--primary-color);
    padding: 15px 20px;
    font-size: 1.8rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    font-family: 'Josefin Sans', sans-serif;
    transform: rotate(-5deg);
    margin: 0 -10px;
}

/* Enquiry Button */
.enquiry-btn {
    background: white;
    color: #000;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    display: inline-block;
    margin: 20px 0 0 20px;
    transform: rotate(-1deg);
    text-align: center;
    width: auto;
}

.enquiry-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: rotate(0deg) translateY(-2px);
}

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

/* What to Expect Section */
.what-to-expect {
    padding: 60px 0;
    background-color: #fff;
}

.expect-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.expect-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 2px solid #000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.expect-card:nth-child(odd) {
    transform: rotate(-0.5deg);
}

.expect-card:nth-child(even) {
    transform: rotate(0.5deg);
}

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

.expect-card h3 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.4rem;
    font-weight: 400;
    margin: 0 0 20px 0;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
    position: relative;
    display: inline-block;
    z-index: 1;
}

.expect-card h3::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: -0.2em;
    right: -0.2em;
    height: 50%;
    background-color: var(--primary-color);
    z-index: -1;
    opacity: 0.9;
}

.expect-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.expect-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.expect-item:last-child {
    border-bottom: none;
}

.expect-item strong {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.expect-item span {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
}

/* Location Section */
.location-section {
    padding: 80px 0;
    background-color: #f8f8f8;
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.location-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 2px solid #000;
    transform: rotate(-0.5deg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.address-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.address-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.address-item:last-child {
    border-bottom: none;
}

.address-item strong {
    font-weight: 600;
    color: #333;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.address-item span {
    color: #666;
    line-height: 1.5;
    font-size: 0.95rem;
}

.address-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.address-item a:hover {
    color: #e63946;
}

.map-container {
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 2px solid #000;
    transform: rotate(0.5deg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.map-container:hover {
    transform: rotate(0deg) scale(1.01);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.map-note {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 15px;
    text-align: center;
    font-style: italic;
}

.map-directions {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
}

.directions-btn {
    display: block;
    background: var(--primary-color);
    color: white;
    padding: 10px 15px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.directions-btn:hover {
    background-color: #e63946;
    transform: translateY(-1px);
    color: white;
}

/* CTA Hero Section */
.cta-hero {
    background-color: #000;
    color: white;
    padding: 100px 0;
    text-align: center;
}

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

.cta-title {
    font-family: 'Josefin Sans', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.highlight-text {
    color: var(--primary-color);
    font-weight: 400;
}

.cta-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 18px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

.cta-button:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: #fff;
}

.section-title {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 2.5rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 50px;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 50%;
    background-color: var(--primary-color);
    z-index: -1;
    opacity: 0.9;
}

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

.faq-item {
    margin-bottom: 20px;
    border: 2px solid #000;
    border-radius: 12px;
    overflow: hidden;
    background: white;
    transition: transform 0.3s ease;
}

.faq-item:nth-child(odd) {
    transform: rotate(-0.5deg);
}

.faq-item:nth-child(even) {
    transform: rotate(0.5deg);
}

.faq-item:hover {
    transform: rotate(0deg) scale(1.01);
    box-shadow: 0 6px 25px rgba(0,0,0,0.1);
}

.faq-toggle {
    display: none;
}

.faq-question {
    width: 100%;
    padding: 25px 30px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: #000;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
    line-height: 1.4;
}

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

.faq-toggle:checked + .faq-question {
    background-color: var(--primary-color);
    color: white;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
}

.faq-toggle:checked + .faq-question .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-toggle:checked ~ .faq-answer {
    max-height: 500px;
    padding: 0 30px 25px 30px;
}

.faq-answer p {
    color: #333;
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
}

.faq-bottom-btn {
    text-align: center;
    margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .class-content {
        padding: 40px 0;
    }
    
    .content-card {
        padding: 20px;
    }
    
    .card-title.highlight {
        margin: -20px -20px 15px -20px;
    }
    
    .form-card {
        /* No special positioning needed on mobile */
    }
    
    /* What to Expect Mobile */
    .expect-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .expect-card {
        padding: 20px;
    }
    
    /* CTA Hero Mobile */
    .cta-hero {
        padding: 60px 0;
    }
    
    .cta-content {
        padding: 0 15px;
    }
    
    .cta-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .cta-button {
        padding: 15px 30px;
        font-size: 1rem;
    }
    
    /* Location Section Mobile */
    .location-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .location-card {
        padding: 20px;
        transform: rotate(0deg);
    }
    
    .map-container {
        height: 300px;
        transform: rotate(0deg);
    }
    
    .address-item {
        padding: 10px 0;
    }
}