/* Detail Page Styles */
.detail-page header {
    background: var(--glass);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.detail-container {
    padding-top: 8rem;
    padding-bottom: 5rem;
}

.breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
}

.detail-hero-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 2.5rem;
    box-shadow: var(--shadow);
    height: 400px;
}

.detail-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.detail-info-row {
    display: flex;
    gap: 3rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    margin-bottom: 2.5rem;
    border: 1px solid #f1f5f9;
}

.info-item .label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
}

.info-item .value {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.description-section h2 {
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.description-section p {
    font-size: 1.1rem;
    color: var(--secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.feature-checklist {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 3rem;
}

.feature-checklist li {
    font-weight: 500;
    color: var(--text-dark);
}

.instructor-card {
    padding: 2rem;
    background: var(--primary-light);
    border-radius: 15px;
    border-left: 5px solid var(--primary);
}

/* Sidebar & Booking Form */
.booking-card {
    position: sticky;
    top: 10rem;
    padding: 3rem 2rem;
    border-radius: 25px;
    color: var(--text-dark);
}

.glass-premium {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.booking-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.booking-card p {
    margin-bottom: 2.5rem;
    color: var(--text-muted);
}

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

.booking-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.booking-form input {
    width: 100%;
    padding: 1rem 1.2rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
}

.booking-form input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-light);
}

.guarantee-box {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

@media (max-width: 1024px) {
    .detail-container {
        padding-top: 6rem;
    }

    .detail-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .detail-hero-image {
        height: 250px;
        margin-bottom: 2rem;
    }

    .detail-content h1 {
        font-size: 2.2rem;
    }

    .detail-info-row {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }

    .info-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid #f1f5f9;
        padding-bottom: 0.5rem;
    }

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

    .info-item .label {
        margin-bottom: 0;
    }

    .feature-checklist {
        grid-template-columns: 1fr;
    }

    .booking-card {
        position: static;
        padding: 2rem 1.5rem;
    }
}
/* Reviews Section */
.reviews-section {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.rating-summary {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.rating-stars {
    display: inline-flex;
    gap: 0.2rem;
    font-size: 1.2rem;
}

.rating-stars.large {
    font-size: 1.8rem;
}

.star {
    color: #e5e7eb;
    transition: color 0.2s;
}

.star.filled {
    color: #fbbf24;
}

.star.half {
    background: linear-gradient(90deg, #fbbf24 50%, #e5e7eb 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rating-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 600;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.review-item {
    padding: 1.5rem;
    border-radius: 12px;
    background: #f9fafb;
    transition: transform 0.2s, box-shadow 0.2s;
}

.review-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
}

.reviewer-info strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.review-date {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.review-text {
    color: var(--text);
    line-height: 1.6;
    margin: 0;
}
