/* Dance Classes Page Specific Styles */

/* Hero Section */
.hero-dance-classes {
    position: relative;
    padding: 5rem 0 4rem;
    background-color: #ffffff;
    overflow: hidden;
}

.hero-dance-classes .hero-content {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-dance-classes .hero-text {
    padding-right: 2rem;
}

.hero-dance-classes h1 {
    font-family: var(--font-body);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    color: #000000;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.hero-dance-classes .hero-city {
    display: block;
    font-size: clamp(2rem, 5vw, 3.5rem);
}

.hero-dance-classes .hero-details {
    font-size: 1.125rem;
    color: #666666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-dance-classes .hero-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-dance-classes .btn-outline {
    background: transparent;
    color: #000000;
    border: 2px solid #000000;
    padding: 0.875rem 2rem;
    border-radius: 0;
    font-weight: 500;
    text-transform: none;
    transition: all 0.3s ease;
}

.hero-dance-classes .btn-outline:hover {
    background: #000000;
    color: #ffffff;
    transform: translateY(-2px);
}

.hero-dance-classes .hero-image {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.hero-dance-classes .hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.hero-dance-classes .hero-image img:hover {
    filter: grayscale(0%);
}

/* Dance Classes Section */
.dance-classes-section {
    padding: 5rem 0;
    background-color: #f8f8f8;
}

.dance-classes-section .section-title {
    font-family: var(--font-body);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    text-align: center;
    color: #000000;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.title-underline {
    width: 120px;
    height: 4px;
    background-color: var(--accent);
    margin: 0 auto 3rem;
}

/* Dance Classes Grid */
.dance-classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.dance-class-card {
    background: #ffffff;
    border-radius: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.dance-class-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.dance-class-card .class-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.dance-class-card .class-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all 0.5s ease;
}

.dance-class-card:hover .class-image img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Hover button */
.dance-class-card .hover-button {
    position: absolute;
    top: 140px; /* Center of 280px height */
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.dance-class-card:hover .hover-button {
    opacity: 1;
}

.dance-class-card .hover-button a {
    display: inline-block;
    padding: 0.75rem 2rem;
    background-color: rgba(255, 255, 255, 0.95);
    color: #000000;
    text-decoration: none;
    font-weight: 500;
    border: 2px solid #000000;
    transition: all 0.3s ease;
}

.dance-class-card .hover-button a:hover {
    background-color: #000000;
    color: #ffffff;
}

.dance-class-card .class-content {
    padding: 1.5rem 1.5rem 0;
    position: relative;
}

.dance-class-card h3 {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 0.5rem;
}

.dance-class-card .class-description {
    color: #666666;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.class-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    margin: 0;
    border-top: 1px solid #f0f0f0;
    font-size: 0.875rem;
    color: #000000;
}

.class-details .level {
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.class-details .level::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: var(--accent);
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path><circle cx="9" cy="7" r="4"></circle><path d="M23 21v-2a4 4 0 0 0-3-3.87"></path><path d="M16 3.13a4 4 0 0 1 0 7.75"></path></svg>');
    mask-size: contain;
    mask-repeat: no-repeat;
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path><circle cx="9" cy="7" r="4"></circle><path d="M23 21v-2a4 4 0 0 0-3-3.87"></path><path d="M16 3.13a4 4 0 0 1 0 7.75"></path></svg>');
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
}

.class-details .duration {
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.class-details .duration::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: var(--accent);
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="12" cy="12" r="10"></circle><polyline points="12 6 12 12 16 14"></polyline></svg>');
    mask-size: contain;
    mask-repeat: no-repeat;
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="12" cy="12" r="10"></circle><polyline points="12 6 12 12 16 14"></polyline></svg>');
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
}

/* Section CTA */
.dance-classes-section .section-cta {
    text-align: center;
    margin-top: 3rem;
}

.dance-classes-section .cta-subtitle {
    margin-top: 1rem;
    color: #333333;
    font-size: 1.125rem;
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background-color: #f8f8f8;
    color: #000000;
    text-align: center;
}

.cta-section h2 {
    color: #000000;
    margin-bottom: 1rem;
}

.cta-section p {
    color: #666666;
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn-primary {
    background-color: #000000;
    color: #ffffff;
    border-color: #000000;
}

.cta-section .btn-primary:hover {
    background-color: #333333;
    border-color: #333333;
}

.cta-section .btn-secondary {
    background-color: transparent;
    color: #000000;
    border: 2px solid #000000;
}

.cta-section .btn-secondary:hover {
    background-color: #000000;
    color: #ffffff;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-dance-classes .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-dance-classes .hero-text {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .hero-dance-classes .hero-cta-group {
        justify-content: center;
    }
    
    .hero-dance-classes .hero-image {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero-dance-classes {
        padding: 3rem 0 2rem;
    }
    
    .dance-classes-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .dance-class-card .class-image {
        height: 220px;
    }
    
    .dance-class-card .class-content {
        padding: 1.5rem;
    }
    
    .dance-class-card h3 {
        font-size: 1.25rem;
    }
    
    .hero-dance-classes .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-dance-classes .btn-outline {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-dance-classes h1 {
        font-size: 2rem;
    }
    
    .hero-dance-classes .hero-city {
        font-size: 1.75rem;
    }
    
    .dance-classes-section .section-title {
        font-size: 1.75rem;
    }
    
    .dance-classes-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
}