/**
 * Cultural Immersion - Camp-US Style CSS
 * Adapted from Camp-US design with Cultural Immersion colors
 *
 * Color System:
 * - Primary Gold: #D4AF37 (CI gold instead of Camp-US #B7780D)
 * - Card Background: #F4F3F0 (light beige)
 * - Text Primary: #2C3338
 * - Text Secondary: #4B5563
 *
 * @version 1.0.0
 */

/* ============================================
   SWIPER CAROUSEL STYLES
   ============================================ */

.journey-swiper {
    padding: 0 20px 60px;
    position: relative;
}

.journey-swiper .swiper-slide {
    height: auto;
}

.journey-swiper .swiper-pagination {
    bottom: 20px;
}

.journey-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #D4AF37;
    opacity: 0.3;
    transition: all 0.3s ease;
}

.journey-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    transform: scale(1.2);
}

.journey-swiper .swiper-button-next,
.journey-swiper .swiper-button-prev {
    color: #D4AF37;
    background: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.journey-swiper .swiper-button-next:hover,
.journey-swiper .swiper-button-prev:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: scale(1.1);
}

.journey-swiper .swiper-button-next:after,
.journey-swiper .swiper-button-prev:after {
    font-size: 20px;
}

/* Journey Cards - Camp-US Style */
.journey-card {
    background: #F4F3F0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 4px solid #D4AF37;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.journey-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    border-left-color: #B8941F;
}

.journey-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.journey-card:hover img {
    transform: scale(1.05);
}

.journey-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2C3338;
    margin-bottom: 0.75rem;
}

.journey-card p {
    color: #4B5563;
    line-height: 1.6;
    flex-grow: 1;
}

/* Badge Styles */
.journey-card .badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: white;
    z-index: 10;
}

/* ============================================
   EXPERIENCE CARDS GRID (Camp-US Style)
   ============================================ */

.experience-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.experience-card {
    background: #F4F3F0;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 4px solid #D4AF37;
    position: relative;
}

.experience-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    border-left-color: #B8941F;
}

.experience-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 16px;
}

.experience-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2C3338;
    margin-bottom: 12px;
}

.experience-card p {
    color: #4B5563;
    line-height: 1.6;
}

/* Card Badges */
.card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #D4AF37;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet and below */
@media (max-width: 768px) {
    .experience-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .journey-swiper {
        padding: 0 10px 50px;
    }

    .journey-card h3 {
        font-size: 1.125rem;
    }

    .experience-card {
        padding: 20px;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .journey-swiper .swiper-button-next,
    .journey-swiper .swiper-button-prev {
        display: none;
    }

    .journey-card {
        border-left-width: 3px;
    }

    .experience-card {
        border-left-width: 3px;
        padding: 16px;
    }

    .experience-card-image {
        height: 160px;
    }
}

/* ============================================
   SECTION BACKGROUNDS (Camp-US Style)
   ============================================ */

.bg-camp-beige {
    background-color: #F4F3F0;
}

.bg-camp-white {
    background-color: #FFFFFF;
}

.bg-gradient-camp {
    background: linear-gradient(135deg, #F4F3F0 0%, #FFFFFF 100%);
}

/* ============================================
   TYPOGRAPHY ADJUSTMENTS
   ============================================ */

.text-camp-primary {
    color: #2C3338;
}

.text-camp-secondary {
    color: #4B5563;
}

.text-camp-gold {
    color: #D4AF37;
}

/* Hover State for Links */
a.text-camp-gold:hover {
    color: #B8941F;
}

/* ============================================
   BUTTON STYLES (Camp-US Adaptation)
   ============================================ */

.btn-camp-primary {
    background-color: #D4AF37;
    color: white;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-camp-primary:hover {
    background-color: #B8941F;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.btn-camp-secondary {
    background-color: transparent;
    color: #D4AF37;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid #D4AF37;
}

.btn-camp-secondary:hover {
    background-color: #D4AF37;
    color: white;
    transform: translateY(-2px);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.shadow-camp {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.shadow-camp-hover:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.border-camp-gold {
    border-color: #D4AF37;
}

.border-l-camp {
    border-left: 4px solid #D4AF37;
}

/* Transition Utilities */
.transition-camp {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   FOCUS STATES (Accessibility)
   ============================================ */

.journey-card:focus-within,
.experience-card:focus-within {
    outline: 3px solid #D4AF37;
    outline-offset: 2px;
}

button:focus,
a:focus {
    outline: 3px solid #D4AF37;
    outline-offset: 2px;
}

/* Skip focus indicator for mouse users */
:focus:not(:focus-visible) {
    outline: none;
}

/* ============================================
   ANIMATION KEYFRAMES
   ============================================ */

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-in-up {
    animation: slideInUp 0.5s ease-out;
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    .journey-swiper .swiper-button-next,
    .journey-swiper .swiper-button-prev,
    .journey-swiper .swiper-pagination {
        display: none;
    }

    .journey-card,
    .experience-card {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}