/* Details Page Specific Styles */
.details-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 80px;
}

.course-header-section {
    margin-bottom: 24px;
}

.course-title-large {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 8px;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    color: var(--text-color);
}

.meta-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.reviews-link {
    text-decoration: underline;
    font-weight: 500;
}

.location {
    font-weight: 500;
    text-decoration: underline;
}

.dot {
    color: var(--text-light);
}

.meta-right {
    display: flex;
    gap: 16px;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    text-decoration: underline;
}

.action-btn:hover {
    background-color: var(--hover-bg);
}

.hero-image-wrapper {
    width: 100%;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 48px;
}

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

.details-layout {
    display: flex;
    gap: 80px;
}

.main-content {
    flex: 1;
}

.host-section h2 {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 4px;
}

.host-section p {
    font-size: 1rem;
    color: var(--text-light);
}

.divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 32px 0;
}

.divider.small {
    margin: 16px 0;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    font-size: 1.5rem;
}

.feature-text h3 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
}

.description-section h2 {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 16px;
}

.description-section p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.learning-list {
    list-style-type: disc;
    padding-left: 20px;
    font-size: 1rem;
    line-height: 1.8;
}

.sidebar {
    width: 350px;
    flex-shrink: 0;
}

.booking-card {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
    position: sticky;
    top: 100px;
}

.booking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.booking-price {
    font-size: 1.4rem;
}

.price-suffix {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-light);
}

.booking-rating {
    font-size: 0.95rem;
}

.booking-inputs {
    border: 1px solid #B0B0B0;
    border-radius: 8px;
    margin-bottom: 16px;
    overflow: hidden;
}

.date-picker {
    display: flex;
    border-bottom: 1px solid #B0B0B0;
}

.date-field {
    flex: 1;
    padding: 12px;
    cursor: pointer;
}

.date-field:first-child {
    border-right: 1px solid #B0B0B0;
}

.date-field label, .guest-picker label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    display: block;
    margin-bottom: 4px;
}

.date-field div, .guest-picker div {
    font-size: 0.9rem;
}

.guest-picker {
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
}

.reserve-btn {
    width: 100%;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 14px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    margin-bottom: 16px;
}

.reserve-btn:hover {
    background: #E31C5F;
}

.no-charge-text {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 24px;
}

.price-breakdown {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 1rem;
}

.price-row {
    display: flex;
    justify-content: space-between;
}

.price-row span:first-child {
    text-decoration: underline;
}

.price-row.total {
    font-weight: 500;
}

.price-row.total span:first-child {
    text-decoration: none;
}

/* Responsiveness for details page */
@media (max-width: 1100px) {
    .details-layout {
        gap: 40px;
    }
}

@media (max-width: 900px) {
    .details-layout {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
    }
    .booking-card {
        position: static;
    }
    .hero-image-wrapper {
        height: 350px;
    }
    .details-container {
        padding: 32px 40px;
    }
}

@media (max-width: 600px) {
    .details-container {
        padding: 24px 20px;
    }
    .hero-image-wrapper {
        height: 250px;
    }
    .course-title-large {
        font-size: 1.6rem;
    }
}
