/* Camps Page Styles */

.camps-page {
    min-height: 100vh;
}

/* Hero Section */
.camps-hero {
    background: linear-gradient(135deg, 
        rgba(var(--nav-base-rgb), 0.9), 
        rgba(var(--nav-mid-rgb), 0.8)), 
        url('../images/hero/camps-hero.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 8rem 2rem 5rem;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    background: linear-gradient(120deg, 
        rgba(var(--nav-accent-rgb), 1), 
        rgba(var(--nav-accent-rgb), 0.8));
    color: white;
    text-decoration: none;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(var(--nav-accent-rgb), 0.3);
}

.hero-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(var(--nav-accent-rgb), 0.4);
}

/* Camps Section */
.camps-section {
    padding: 5rem 2rem;
    background: #f8f9fa;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Camps Info Banner */
.camps-info-banner {
    background: linear-gradient(135deg, #e8f4f8, #f0f8ff);
    border: 2px solid var(--primary-medium);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 3rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(18, 57, 90, 0.1);
}

.info-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.info-content i {
    color: var(--primary-medium);
    font-size: 1.5rem;
    min-width: 25px;
}

.info-content p {
    color: var(--primary-dark);
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.6;
    max-width: 800px;
}

/* Camps Grid */
.camps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

/* Camp Card */
.camp-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

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

/* Camp Image */
.camp-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.camp-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.camp-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(45deg, #ff6b6b, #ee5a52);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 2px 10px rgba(255, 107, 107, 0.3);
}

.camp-price {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(45deg, #ff6b6b, #ee5a52);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 2px 10px rgba(255, 107, 107, 0.3);
    transform: rotate(-8deg);
    backdrop-filter: blur(10px);
}

.camp-card--disabled { opacity:0.7; position:relative; }
.camp-card--disabled .camp-btn { pointer-events:none; background:#888; }

/* Badge Nouveau */
.nouveau-badge {
    display: inline-block;
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-left: 10px;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Camp Content */
.camp-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.camp-content h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

/* Camp Details */
.camp-details {
    margin-bottom: 1.5rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.detail-item i {
    color: rgba(var(--nav-accent-rgb), 1);
    width: 16px;
    text-align: center;
}

.detail-item strong {
    color: var(--primary-dark);
}

/* Camp Features */
.camp-features {
    margin-bottom: 1.5rem;
    padding: 1.2rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.camp-features h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.camp-features h4 i {
    color: rgba(var(--nav-accent-rgb), 1);
}

.camp-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.camp-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.camp-subtitle {
    margin: -0.25rem 0 0.5rem;
    color: var(--text-muted, #666);
    font-size: 0.95rem;
}

.camp-features li:before {
    content: "✓";
    color: rgba(var(--nav-accent-rgb), 1);
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

/* Camp Sessions (collapsible) */
.camp-sessions {
    margin: 1rem 0 1.25rem;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    background: #ffffff;
    overflow: hidden;
}

.sessions-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1.1rem;
    background: #f8f9fa;
    border: 0;
    cursor: pointer;
    font-weight: 700;
    color: var(--primary-dark);
}

.camp-sessions .chevron {
    transition: transform 0.2s ease;
    font-size: 1.1rem;
    line-height: 1;
    color: var(--primary-dark);
    text-shadow: 0 0 0.5px currentColor;
}

.camp-sessions[data-collapsed="false"] .chevron {
    transform: rotate(180deg);
}

.sessions-content {
    padding: 0.75rem 1rem 1rem;
}

.session-section + .session-section {
    margin-top: 0.75rem;
    padding-top: 0.5rem;
    border-top: 1px dashed #e9ecef;
}

.session-section h5 {
    margin: 0 0 0.4rem;
    font-size: 1rem;
    color: var(--primary-dark);
}

.session-section ul {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--text-secondary);
    font-size: 0.92rem;
}

/* Camp Services */
.camp-services {
    margin-bottom: 1.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid #e9ecef;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.service-item i {
    color: rgba(var(--nav-accent-rgb), 1);
    width: 16px;
    text-align: center;
}

.service-badge {
    display: inline-block;
    padding: 0.3rem 0.7rem;
    border-radius: 16px;
    background: #eef6ff;
    border: 1px solid #cfe3ff;
    color: #123b63;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: none;
    line-height: 1;
}

/* Camp Button */
.camp-btn {
    margin-top: auto; /* push button to the bottom */
    align-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    max-width: 240px;
    text-align: center;
    background: linear-gradient(120deg,
        rgba(var(--nav-mid-rgb), 1),
        rgba(var(--nav-accent-rgb), 1));
    color: #fff;
    text-decoration: none;
    padding: 0.75rem 1.25rem;
    border-radius: 9999px;
    font-size: 1rem;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: 0.2px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    box-shadow: 0 6px 18px rgba(18, 57, 90, 0.18);
}

.camp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(18, 57, 90, 0.25);
}

.camp-btn:active {
    transform: translateY(0);
}

.camp-btn:focus-visible {
    outline: 3px solid rgba(var(--nav-accent-rgb), 0.35);
    outline-offset: 2px;
}

.camp-btn i { font-size: 1rem; }

.camp-card--disabled .camp-btn,
.camp-btn[aria-disabled="true"] {
    background: #d1d5db;
    color: #6b7280;
    box-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
  .camp-btn { transition: box-shadow 0.18s ease; }
  .camp-btn:hover, .camp-btn:active { transform: none; }
}

/* Final CTA */
.camps-cta {
    text-align: center;
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.camps-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.camps-cta p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    background: linear-gradient(120deg, 
        rgba(var(--nav-base-rgb), 1), 
        rgba(var(--nav-mid-rgb), 1), 
        rgba(var(--nav-accent-rgb), 0.9));
    color: white;
    text-decoration: none;
    padding: 1.3rem 3rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(var(--nav-base-rgb), 0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(var(--nav-base-rgb), 0.3);
    background: linear-gradient(120deg, 
        rgba(var(--nav-mid-rgb), 1), 
        rgba(var(--nav-accent-rgb), 1), 
        rgba(var(--nav-accent-rgb), 0.8));
}

.cta-button:focus-visible {
    outline: 3px solid rgba(var(--nav-accent-rgb), 0.35);
    outline-offset: 3px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .camps-hero {
        padding: 6rem 1rem 3rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .camps-section {
        padding: 3rem 1rem;
    }
    
    .camps-info-banner {
        padding: 20px;
        margin-bottom: 2.5rem;
    }
    
    .info-content {
        flex-direction: column;
        gap: 10px;
    }
    
    .info-content p {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .camps-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .camp-content {
        padding: 1.5rem;
    }
    
    .camps-cta {
        padding: 2rem 1rem;
    }
    
    .camps-cta h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .camps-hero {
        padding: 5rem 1rem 2rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-cta-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .camp-image {
        height: 200px;
    }
    
    .camp-content h3 {
        font-size: 1.4rem;
    }
    
    .camp-features {
        padding: 1rem;
    }
    
    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}
