/* Kids Art Page Specific Styles */

/* Override page-hero for kids page to reduce gap below header */
.page-hero {
    padding: 60px 0 20px !important;
}

.classes-hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
    gap: 25px;
    padding: 20px 0 40px;
}

@media (max-width: 768px) {
    .page-hero {
        padding: 40px 0 10px !important;
    }
    .classes-hub-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding-top: 10px;
    }
}

.class-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.class-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(211, 23, 137, 0.1);
    border-color: #D31789;
}

.class-card-image {
    height: 220px;
    overflow: hidden;
    position: relative;
    padding: 15px 15px 0 15px;
}

.class-card-image figure {
    margin: 0;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.class-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.class-card:hover .class-card-image img {
    transform: scale(1.1);
}

.class-card-badge {
    position: absolute;
    top: 25px;
    right: 25px;
    background: #D31789;
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    z-index: 1;
    box-shadow: 0 4px 10px rgba(211, 23, 137, 0.3);
}

.class-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.class-card-content h2 {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: #2c3e50;
}

.class-card-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.class-card-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #f5f5f5;
}

.class-card-price {
    font-weight: 700;
    color: #D31789;
    font-size: 24px;
}

.class-card-meta {
    font-size: 11px;
    color: #999;
}

.class-card-actions {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 10px;
    padding: 0 25px 25px 25px;
}

.btn-book-sm {
    padding: 12px;
    background: #D31789;
    color: white;
    border-radius: 50px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
}

.btn-book-sm:hover {
    background: #b01372;
    box-shadow: 0 5px 15px rgba(211, 23, 137, 0.3);
}

/* Pricing Grid */
.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.pricing-grid > div {
    flex: 1;
    max-width: 180px;
    min-width: 0;
}

@media (max-width: 480px) {
    .pricing-grid {
        gap: 8px;
    }
    .pricing-grid > div {
        padding: 10px 5px !important;
    }
    .pricing-grid span:nth-child(2) {
        font-size: 18px !important;
    }
}

/* Enhancement Styles */
.kids-custom-session-cta {
    margin-top: 30px;
    padding: 40px;
    background: white;
    border-radius: 20px;
    border: 2px dashed #ff6b9d;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.kids-how-to-box {
    background: linear-gradient(135deg, rgba(211,23,137,0.08) 0%, rgba(255,107,157,0.08) 100%);
    border-radius: 20px;
    padding: 40px;
    margin: 10px 0;
}

.how-to-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.how-to-step {
    background: white;
    padding: 25px;
    border-radius: 15px;
    border-left: 4px solid #ff6b9d;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s ease;
}

.how-to-step:hover {
    transform: translateY(-5px);
}

.how-to-step strong {
    display: block;
    color: #ff6b9d;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.how-to-step p {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.gift-card-highlight {
    background: linear-gradient(135deg, #1a1a2e 0%, #2c3e50 100%);
    color: white;
    border-radius: 20px;
    padding: 60px;
    display: flex;
    align-items: center;
    gap: 40px;
    margin: 40px 0;
    overflow: hidden;
    position: relative;
}

.gift-card-highlight::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(211, 23, 137, 0.1);
    border-radius: 50%;
    z-index: 0;
}

.gift-card-content {
    flex: 1;
    z-index: 1;
}

.gift-card-image-box {
    flex: 1;
    display: flex;
    justify-content: center;
    z-index: 1;
}

.gift-card-image-box img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    transform: rotate(5deg);
}

@media (max-width: 992px) {
    .gift-card-highlight {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }
    .gift-card-image-box img {
        transform: none;
        max-width: 280px;
    }
}

/* Kids FAQ Styles */
.kids-faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.kids-faq-accordion {
    margin-top: 15px;
}

.kids-faq-item {
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.kids-faq-item[open] {
    box-shadow: 0 10px 25px rgba(211, 23, 137, 0.05);
    border-color: rgba(211, 23, 137, 0.2);
}

.kids-faq-summary {
    padding: 20px 25px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c3e50;
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 60px;
}

.kids-faq-summary::-webkit-details-marker {
    display: none;
}

.kids-faq-summary::after {
    content: '+';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: #D31789;
    transition: all 0.3s ease;
}

.kids-faq-item[open] .kids-faq-summary::after {
    content: '−';
    transform: translateY(-50%) rotate(180deg);
}

.kids-faq-content {
    padding: 0 25px 25px;
    color: #555;
    line-height: 1.7;
}

/* Spacing Helpers */
.section-padding { padding: 40px 0; }
.section-padding-sm { padding: 20px 0; }
.section-padding-bottom { padding-bottom: 40px; }
