/* ============================================
   RETREATS SECTION - PREMIUM DESIGN
   ============================================ */

.retreats-section {
    padding: var(--spacing-xxl) 0;
    background: var(--color-white);
    position: relative;
}

/* Section Header */
.retreats-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto var(--spacing-xl);
}

.retreats-eyebrow {
    font-family: var(--font-primary);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent-gold);
    margin-bottom: 1rem;
}

.retreats-main-heading {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 400;
    color: var(--color-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.retreats-supporting {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    color: var(--color-accent-gold);
    font-style: italic;
    margin-bottom: 2rem;
}

.retreats-intro {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-dark);
    max-width: 800px;
    margin: 0 auto;
}

.retreats-intro p {
    margin-bottom: 1.5rem;
}

.retreats-intro p:last-child {
    margin-bottom: 0;
}

/* Retreat Cards Grid */
.retreats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: var(--spacing-xl);
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

/* Individual Retreat Card */
.retreat-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    background: var(--color-white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.retreat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.retreat-card-image {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
}

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

.retreat-card:hover .retreat-card-image img {
    transform: scale(1.08);
}

.retreat-card-content {
    padding: 2rem;
}

.retreat-card-name {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.retreat-card-location {
    font-family: var(--font-primary);
    font-size: 0.95rem;
    color: var(--color-accent-gold);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.retreat-card-details {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    color: var(--color-dark);
    opacity: 0.8;
    margin-bottom: 1rem;
}

.retreat-card-tagline {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-style: italic;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.retreat-card-cta {
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent-gold);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.retreat-card:hover .retreat-card-cta {
    gap: 0.75rem;
}

.retreat-card-cta::after {
    content: '→';
    font-size: 1.2rem;
}

/* ============================================
   RETREAT MODAL
   ============================================ */

.retreat-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 62, 48, 0.92);
    backdrop-filter: blur(8px);
    z-index: 9998;
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.retreat-modal-overlay.active {
    display: block;
    opacity: 1;
}

.retreat-modal {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 900px;
    height: 100vh;
    background: var(--color-white);
    z-index: 9999;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.3);
}

.retreat-modal.active {
    transform: translateX(0);
}

/* Close Button */
.retreat-modal-close {
    position: fixed;
    top: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-primary);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.retreat-modal-close:hover {
    background: var(--color-white);
    transform: rotate(90deg);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Modal Content */
.retreat-modal-content {
    padding: 0;
}

/* Hero Image */
.retreat-modal-hero {
    width: 100%;
    height: 60vh;
    position: relative;
    overflow: hidden;
}

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

/* Modal Body */
.retreat-modal-body {
    padding: 3rem;
}

.retreat-modal-title {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 400;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.retreat-modal-subtitle {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    color: var(--color-accent-gold);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.retreat-modal-detail {
    font-family: var(--font-primary);
    font-size: 0.95rem;
    color: var(--color-dark);
    opacity: 0.8;
    margin-bottom: 1rem;
}

.retreat-modal-tagline {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    font-style: italic;
    color: var(--color-primary);
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(44, 62, 48, 0.15);
}

.retreat-modal-description {
    font-family: var(--font-primary);
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--color-dark);
    margin-bottom: 3rem;
}

.retreat-modal-description p {
    margin-bottom: 1.5rem;
}

/* Photo Gallery */
.retreat-gallery {
    margin-bottom: 3rem;
}

.retreat-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.retreat-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-sm);
    cursor: pointer;
    aspect-ratio: 4/3;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.retreat-gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.retreat-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.retreat-gallery-item:hover img {
    transform: scale(1.08);
}

.retreat-gallery-item:first-child {
    grid-column: 1 / -1;
    aspect-ratio: 16/9;
}

/* Lightbox */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: fixed;
    top: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 100000;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 100000;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.lightbox-prev {
    left: 2rem;
}

.lightbox-next {
    right: 2rem;
}

.lightbox-counter {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    z-index: 100000;
}

/* Experience Details */
.retreat-experience-details {
    background: rgba(184, 152, 106, 0.08);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 3rem;
}

.retreat-experience-details h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.retreat-experience-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.retreat-experience-item {
    font-family: var(--font-primary);
    font-size: 0.95rem;
    color: var(--color-dark);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.retreat-experience-item::before {
    content: '✓';
    color: var(--color-accent-gold);
    font-weight: 600;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Dates Section */
.retreat-dates {
    margin-bottom: 3rem;
}

.retreat-dates h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.retreat-dates p {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-dark);
    margin-bottom: 0.75rem;
}

/* Modal CTA */
.retreat-modal-cta {
    text-align: center;
    padding: 2rem 0;
}

.btn-retreat-request {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-white);
    background: var(--color-primary);
    padding: 1.25rem 3rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(44, 62, 48, 0.3);
}

.btn-retreat-request:hover {
    background: #1f2d22;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 62, 48, 0.4);
}

/* ============================================
   RESPONSIVE - TABLET
   ============================================ */

@media (max-width: 1024px) {
    .retreats-main-heading {
        font-size: 2.5rem;
    }
    
    .retreat-card-image {
        height: 380px;
    }
    
    .retreat-modal {
        max-width: 700px;
    }
    
    .retreat-experience-list {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */

@media (max-width: 768px) {
    .retreats-section {
        padding: var(--spacing-xl) 0;
    }
    
    .retreats-header {
        padding: 0 1.5rem;
    }
    
    .retreats-main-heading {
        font-size: 2rem;
    }
    
    .retreats-supporting {
        font-size: 1rem;
    }
    
    .retreats-intro {
        font-size: 0.95rem;
        padding: 0 1.5rem;
    }
    
    /* Stack cards vertically on mobile */
    .retreats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1.5rem;
    }
    
    .retreat-card-image {
        height: 300px;
    }
    
    .retreat-card-content {
        padding: 1.5rem;
    }
    
    .retreat-card-name {
        font-size: 1.5rem;
    }
    
    /* Modal on mobile */
    .retreat-modal {
        max-width: 100%;
        width: 100%;
    }
    
    .retreat-modal-close {
        top: 1rem;
        right: 1rem;
        width: 44px;
        height: 44px;
    }
    
    .retreat-modal-hero {
        height: 40vh;
    }
    
    .retreat-modal-body {
        padding: 2rem 1.5rem;
    }
    
    .retreat-modal-title {
        font-size: 2rem;
    }
    
    .retreat-gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .retreat-experience-details {
        padding: 1.5rem;
    }
    
    .retreat-experience-list {
        grid-template-columns: 1fr;
    }
    
    .btn-retreat-request {
        width: 100%;
        padding: 1.25rem 2rem;
    }
}

@media (max-width: 480px) {
    .retreats-main-heading {
        font-size: 1.75rem;
    }
    
    .retreat-card-image {
        height: 250px;
    }
    
    .retreat-modal-title {
        font-size: 1.75rem;
    }
    
    .lightbox-close,
    .lightbox-nav {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }
    
    .lightbox-close {
        top: 1rem;
        right: 1rem;
    }
    
    .lightbox-prev {
        left: 1rem;
    }
    
    .lightbox-next {
        right: 1rem;
    }
    
    .lightbox-counter {
        bottom: 1rem;
        font-size: 0.85rem;
    }
}
