/* ================================================
   HARISTHENICS - COMPONENTS STYLESHEET
   components.css - Pricing Section, Booking Modal
   ================================================ */

/* ================================
   PRICING SECTION
   ================================ */
.pricing-section {
    padding: 40px 20px;
    background: #000;
}

.pricing-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px;
}

.pricing-header__title {
    font-size: clamp(28px, 5vw, 40px);
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 5px 0;
    line-height: 1.2;
}

.pricing-header__subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Pricing Options Container */
.pricing-options-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

/* Individual Pricing Option Card */
.pricing-option {
    background: rgba(124, 156, 181, 0.05);
    border: 2px solid rgba(124, 156, 181, 0.2);
    border-radius: 20px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pricing-option:hover {
    border-color: rgba(124, 156, 181, 0.4);
    background: rgba(124, 156, 181, 0.08);
}

.pricing-option.active {
    background: rgba(124, 156, 181, 0.1);
}

/* Option Header */
.pricing-option__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pricing-option__title {
    font-size: clamp(22px, 4vw, 30px);
    font-weight: 700;
    color: #7C9CB5;
    margin: 0;
    line-height: 1.3;
}

.pricing-option__icon {
    font-size: 28px;
    color: #7C9CB5;
    transition: transform 0.3s ease;
}

.pricing-option.active .pricing-option__icon {
    transform: rotate(180deg);
}

.pricing-option__subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin: 4px 0 0 0;
    padding-left: 2px;
}

.fordelhi {
    margin: -2px 0 0 0
}

/* Expandable Content */
.pricing-option__content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, margin-top 0.4s ease;
}

.pricing-option.active .pricing-option__content {
    max-height: 800px;
    margin-top: 20px;
}

.pricing-option__inner {
    padding-top: 0;
}

.pricing-option__description {
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 28px 0;
}

.pricing-option__description strong {
    color: #ffffff;
}

/* Details Box */
.pricing-option__details {
    background: rgba(124, 156, 181, 0.08);
    border: 1px solid rgba(124, 156, 181, 0.2);
    border-radius: 16px;
    padding: 24px;
    margin: 0 0 28px 0;
}

.pricing-detail-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 14px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.pricing-detail-item:last-child {
    margin-bottom: 0;
}

.pricing-detail-icon {
    margin-right: 12px;
    font-size: 18px;
    flex-shrink: 0;
}

.pricing-detail-item strong {
    color: #ffffff;
}

.pricing-detail-highlight {
    color: #7C9CB5;
    font-weight: 600;
}

.pricing-location-link {
    color: #7C9CB5;
    text-decoration: underline;
}

.pricing-location-link:hover {
    opacity: 0.8;
}

/* CTA Button */
.pricing-option__cta {
    display: inline-block;
    padding: 18px 48px;
    background: linear-gradient(135deg, #7C9CB5 0%, #A3C1D8 100%);
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
}

.pricing-option__cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(124, 156, 181, 0.4);
}

.pricing-option__cta:active {
    transform: translateY(-1px);
}

/* Hide dropdown arrows on desktop */
@media (min-width: 1024px) {
    #option1-icon,
    #option2-icon,
    #option3-icon {
        display: none !important;
    }
}

/* ================================
   BOOKING MODAL
   ================================ */
.booking-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.booking-modal.active {
    opacity: 1;
    visibility: visible;
}

.booking-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    cursor: pointer;
}

.booking-modal__container {
    position: relative;
    width: 100%;
    max-width: 500px;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.booking-modal.active .booking-modal__container {
    transform: scale(1) translateY(0);
}

.booking-modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.booking-modal__close:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.booking-modal__close svg {
    width: 20px;
    height: 20px;
}

.booking-modal__content {
    padding: 48px 32px 40px;
}

.booking-modal__icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border: 1px solid rgba(124, 156, 181, 0.3);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.booking-modal__icon::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(124, 156, 181, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(20px);
    z-index: -1;
}

.booking-modal__icon svg {
    width: 32px;
    height: 32px;
    color: #7C9CB5;
}

.booking-modal__title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 8px 0;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.booking-modal__subtitle {
    font-size: 15px;
    text-align: center;
    margin: 0 0 32px 0;
    color: rgba(255, 255, 255, 0.6);
}

/* Booking Form */
.booking-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.booking-form__group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.booking-form__label {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.3px;
}

.booking-form__input {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: #ffffff;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
    outline: none;
}

.booking-form__input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.booking-form__input:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(124, 156, 181, 0.5);
    box-shadow: 0 0 0 3px rgba(124, 156, 181, 0.1);
}

/* Submit Button */
.booking-form__submit {
    width: 100%;
    padding: 16px 24px;
    margin-top: 8px;
    background: linear-gradient(135deg, #7C9CB5 0%, #A3C1D8 100%);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.booking-form__submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(124, 156, 181, 0.4);
}

.booking-form__submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.booking-form__submit-text {
    display: inline-block;
    transition: opacity 0.3s ease;
}

.booking-form__submit.loading .booking-form__submit-text {
    opacity: 0;
}

.booking-form__submit-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    opacity: 0;
    animation: spin 0.8s linear infinite;
}

.booking-form__submit.loading .booking-form__submit-loader {
    opacity: 1;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Success/Error Messages */
.booking-form__success,
.booking-form__error {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 14px;
    margin-top: 8px;
}

.booking-form__success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #4ade80;
}

.booking-form__error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

.booking-form__success.show,
.booking-form__error.show {
    display: flex;
}

.booking-form__success svg,
.booking-form__error svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* ================================
   CALLBACK MODAL (Legacy Support)
   ================================ */
.callback-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.callback-modal.active {
    opacity: 1;
    visibility: visible;
}

.callback-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    cursor: pointer;
}

.callback-form__submit {
    width: 100%;
    padding: 16px 24px;
    margin-top: 8px;
    background: linear-gradient(135deg, #7C9CB5 0%, #A3C1D8 100%);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.callback-form__submit:hover {
    box-shadow: 0 12px 32px rgba(124, 156, 181, 0.4);
}

.callback-form__input:focus,
.callback-form__select:focus {
    border-color: rgba(124, 156, 181, 0.5);
    box-shadow: 0 0 0 3px rgba(124, 156, 181, 0.1);
}

/* ================================
   ACCESSIBILITY
   ================================ */
.pricing-option__cta:focus,
.booking-form__submit:focus,
.booking-modal__close:focus {
    outline: 2px solid rgba(124, 156, 181, 0.5);
    outline-offset: 3px;
}

*:focus-visible {
    outline: 2px solid rgba(124, 156, 181, 0.5);
    outline-offset: 2px;
}

/* ================================================
   WORKSHOP VIDEOS SECTION
   ================================================ */
.workshop-section {
    padding: 60px 20px;
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.workshop-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.workshop-heading {
    font-size: clamp(28px, 5vw, 40px);
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.workshop-subtitle {
    font-size: clamp(14px, 3vw, 18px);
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* Slider Container */
.workshop-slider {
    position: relative;
    overflow: hidden;
    margin-bottom: 35px;
    max-width: 100%;
}

.workshop-slider__track {
    display: flex;
    animation: workshopSlide 12s ease-in-out infinite;
}

@keyframes workshopSlide {
    0%, 22% {
        transform: translateX(0);
    }
    25%, 47% {
        transform: translateX(-100%);
    }
    50%, 72% {
        transform: translateX(-200%);
    }
    75%, 97% {
        transform: translateX(-300%);
    }
    100% {
        transform: translateX(0);
    }
}

/* Individual Slide */
.workshop-slide {
    flex: 0 0 100%;
    min-width: 100%;
    text-decoration: none;
    padding: 0 5px;
    box-sizing: border-box;
}

.workshop-slide__thumbnail {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(124, 156, 181, 0.2);
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.workshop-slide__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.workshop-slide__thumbnail:hover {
    border-color: rgba(124, 156, 181, 0.5);
    box-shadow: 0 8px 30px rgba(124, 156, 181, 0.3);
}

/* Play Icon */
.workshop-slide__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 60px;
    height: 60px;
    background: rgba(124, 156, 181, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.workshop-slide__play svg {
    width: 28px;
    height: 28px;
    color: #ffffff;
    margin-left: 4px;
}

.workshop-slide__thumbnail:hover .workshop-slide__play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* CTA Button */
.workshop-cta {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(135deg, #7C9CB5 0%, #A3C1D8 100%);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(124, 156, 181, 0.3);
}

.workshop-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(124, 156, 181, 0.5);
}

.workshop-cta:active {
    transform: translateY(-1px);
}