/**
 * Camp EU Page - Custom Styles
 * Version: 1.0.0
 * Styles specific to the camp-eu.php page template
 * Extends camp-shared.css and camp.css
 */

/* ====================================
   BODY CLASS SCOPE EXTENSION
   Add camp-eu to shared design system
==================================== */

body.page-template-camp-eu {
    font-family: var(--font-primary, 'Lato', sans-serif);
    color: var(--color-text-primary, #2B2823);
    background-color: var(--color-bg-primary, #fff);
}

body.page-template-camp-eu *:not(.intercom-help-button):not(#intercom-container) {
    box-sizing: border-box;
}

.page-template-camp-eu h1,
.page-template-camp-eu h2,
.page-template-camp-eu h3,
.page-template-camp-eu h4,
.page-template-camp-eu h5,
.page-template-camp-eu h6 {
    font-family: var(--font-heading, 'Montserrat', sans-serif);
    font-weight: var(--font-weight-bold, 700);
    line-height: var(--line-height-snug, 1.2);
}

.page-template-camp-eu img:not(.hero-background-image) {
    max-width: 100%;
    height: auto;
    display: block;
}


/* ====================================
   ENHANCED PROGRAM TRANSPARENCY
   "Inaugural Programme, Established Expertise"
==================================== */

.program-transparency {
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f5e9 100%);
    border: 2px solid #4caf50;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-top: 1.5rem;
    text-align: center;
}

.program-transparency p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #2B2823;
}

.program-transparency strong {
    color: #1b5e20;
    font-weight: 700;
}

.program-transparency a {
    color: #d8a81b;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.program-transparency a:hover {
    border-bottom-color: #d8a81b;
}


/* ====================================
   TRUST CREDENTIALS BAR (EU-specific)
==================================== */

.trust-credentials-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.75rem 1.5rem;
    padding: 1rem 0;
    margin: 1.5rem 0;
    font-size: 0.9rem;
    color: #2B2823;
}

.trust-credentials-bar .credential-item {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.trust-credentials-bar .separator {
    color: #d8a81b;
    font-weight: 300;
}

@media (max-width: 768px) {
    .trust-credentials-bar {
        font-size: 0.85rem;
        gap: 0.5rem 1rem;
    }

    .trust-credentials-bar .separator {
        display: none;
    }
}


/* ====================================
   HERO PRICING PREVIEW (EU-specific)
==================================== */

.hero-pricing-preview {
    background: linear-gradient(135deg, #fff9e6 0%, #fff3cc 100%);
    border: 2px solid #d8a81b;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-align: center;
}

.hero-pricing-preview .price-label {
    font-size: 0.95rem;
    color: #666;
}

.hero-pricing-preview .price-amount {
    font-size: 2rem;
    font-weight: 700;
    color: #d8a81b;
}

.hero-pricing-preview .price-duration {
    font-size: 0.95rem;
    color: #666;
}

.hero-pricing-preview .price-separator {
    color: #d8a81b;
    font-weight: 300;
    margin: 0 0.5rem;
}

.hero-pricing-preview .payment-highlight {
    font-size: 0.95rem;
    color: #2B2823;
    font-weight: 600;
}

.hero-pricing-preview .price-details-link {
    color: #d8a81b;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.hero-pricing-preview .price-details-link:hover {
    border-bottom-color: #d8a81b;
}

@media (max-width: 768px) {
    .hero-pricing-preview {
        flex-direction: column;
        gap: 0.5rem;
    }

    .hero-pricing-preview .price-separator {
        display: none;
    }
}


/* ====================================
   MONTH SELECTOR WITH TOOLTIPS
==================================== */

.month-selector {
    margin: 2rem 0;
}

.month-selector h3 {
    text-align: center;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: #2B2823;
}

.month-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    position: relative;
}

.month-btn {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.month-btn:hover,
.month-btn:focus {
    border-color: #d8a81b;
    box-shadow: 0 4px 12px rgba(216, 168, 27, 0.2);
    outline: none;
}

.month-btn.active {
    border-color: #d8a81b;
    background: linear-gradient(135deg, #fff9e6 0%, #fff3cc 100%);
}

.month-btn .month-name {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #2B2823;
}

.month-btn .dates {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.month-btn .highlight {
    font-size: 0.9rem;
    font-weight: 600;
    color: #d8a81b;
    margin-bottom: 0.5rem;
}

.month-btn .availability {
    font-size: 0.85rem;
    color: #4caf50;
    font-weight: 600;
}

.month-btn .info-icon {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    font-size: 1rem;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.month-btn:hover .info-icon,
.month-btn:focus .info-icon {
    opacity: 1;
}

.month-tooltip {
    position: absolute;
    background: #2B2823;
    color: white;
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 350px;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    margin-top: 0.5rem;
}

.month-tooltip[hidden] {
    display: none;
}

@media (max-width: 768px) {
    .month-grid {
        grid-template-columns: 1fr;
    }

    .month-tooltip {
        max-width: 100%;
    }
}


/* ====================================
   PM PROFILE CARD (Peter Ansah)
==================================== */

.pm-profile-card {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 2rem;
    margin: 3rem 0;
}

.pm-profile-card picture {
    flex: 0 0 350px;
}

.pm-profile-card img {
    border-radius: 8px;
}

.pm-credentials {
    flex: 1;
    min-width: 300px;
}

.pm-credentials h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: #2B2823;
}

.pm-title {
    font-size: 1.1rem;
    color: #d8a81b;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.credential-list p {
    margin: 0.75rem 0;
    font-size: 1rem;
    line-height: 1.6;
}

.pm-quote {
    margin-top: 1.5rem;
    padding: 1.25rem;
    background: #f8f9fa;
    border-left: 4px solid #d8a81b;
    font-style: italic;
    line-height: 1.7;
}

.pm-quote cite {
    display: block;
    margin-top: 0.75rem;
    font-style: normal;
    font-weight: 600;
    color: #2B2823;
}

@media (max-width: 768px) {
    .pm-profile-card {
        flex-direction: column;
    }

    .pm-profile-card picture {
        flex: 0 0 100%;
    }
}


/* ====================================
   OPERATIONAL EXCELLENCE
   Guarantee badges
==================================== */

.operational-excellence {
    margin: 3rem 0;
    text-align: center;
}

.operational-excellence h3 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: #2B2823;
}

.guarantee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.guarantee-item {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.guarantee-item:hover {
    border-color: #4caf50;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.2);
}

.guarantee-item .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.guarantee-item h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #2B2823;
}

.guarantee-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
}


/* ====================================
   LEARNING OUTCOMES SECTION
==================================== */

.learning-outcomes {
    padding: 4rem 0;
    background: white;
}

.learning-outcomes h2 {
    font-size: 2.25rem;
    text-align: center;
    margin-bottom: 1rem;
    color: #2B2823;
}

.learning-outcomes .section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.instructor-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.instructor-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.instructor-card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.instructor-card h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #2B2823;
}

.instructor-card .credentials {
    font-size: 0.9rem;
    color: #d8a81b;
    font-weight: 600;
    margin-bottom: 1rem;
}

.learning-outcomes-list {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.learning-outcomes-list strong {
    color: #2B2823;
    display: block;
    margin-bottom: 0.5rem;
}

.learning-outcomes-list ul {
    margin: 0;
    padding-left: 1.25rem;
    list-style-type: disc;
}

.learning-outcomes-list li {
    margin: 0.5rem 0;
    font-size: 0.95rem;
    line-height: 1.6;
}


/* ====================================
   SKILL PROGRESSION
==================================== */

.skill-progression {
    margin: 4rem 0 2rem;
}

.skill-progression h3 {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: #2B2823;
}

.progression-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.progression-stage {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
}

.progression-stage .stage-number {
    display: inline-block;
    background: #d8a81b;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 700;
    margin-bottom: 1rem;
}

.progression-stage h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #2B2823;
}

.progression-stage p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
}


/* ====================================
   FAQ SECTION - ACCESSIBLE ACCORDION
==================================== */

.faq-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.faq-section h2 {
    text-align: center;
    font-size: 2.25rem;
    margin-bottom: 3rem;
    color: #2B2823;
}

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

.faq-item {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item h4 {
    padding: 1.5rem;
    margin: 0;
    cursor: pointer;
    font-size: 1.1rem;
    color: #2B2823;
    background: white;
    transition: all 0.3s ease;
    position: relative;
    padding-right: 3rem;
}

.faq-item h4::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: 300;
    color: #d8a81b;
    transition: transform 0.3s ease;
}

.faq-item h4:hover {
    background: #f8f9fa;
}

.faq-item h4:focus {
    outline: 2px solid #d8a81b;
    outline-offset: -2px;
}

.faq-item.active h4 {
    background: linear-gradient(135deg, #fff9e6 0%, #fff3cc 100%);
    border-bottom: 2px solid #e0e0e0;
}

.faq-item.active h4::after {
    content: '−';
    transform: translateY(-50%) rotate(180deg);
}

.faq-item p,
.faq-item ul {
    padding: 0 1.5rem 1.5rem 1.5rem;
    margin: 0;
    line-height: 1.7;
    color: #666;
    display: none;
}

.faq-item.active p,
.faq-item.active ul {
    display: block;
}

.faq-item ul {
    padding-left: 3rem;
    list-style-type: disc;
}

.faq-item li {
    margin: 0.5rem 0;
}

@media (max-width: 768px) {
    .faq-item h4 {
        font-size: 1rem;
        padding: 1.25rem;
        padding-right: 2.5rem;
    }

    .faq-item h4::after {
        right: 1.25rem;
    }
}


/* ====================================
   ACCOMMODATION SECTION
==================================== */

.accommodation-section {
    padding: 4rem 0;
    background: white;
}

.accommodation-section .section-title {
    text-align: center;
    font-size: 2.25rem;
    margin-bottom: 1rem;
    color: #2B2823;
}

.accommodation-section .section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
}

.accommodation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.accommodation-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.accommodation-card:hover {
    border-color: #d8a81b;
    box-shadow: 0 4px 12px rgba(216, 168, 27, 0.2);
}

.accommodation-card.featured {
    border-color: #d8a81b;
    box-shadow: 0 4px 12px rgba(216, 168, 27, 0.2);
}

.accommodation-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #d8a81b;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    z-index: 1;
}

.accommodation-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.accommodation-title {
    text-align: center;
    font-size: 1.5rem;
    padding: 1.5rem 1.5rem 1rem;
    margin: 0;
    color: #2B2823;
}

.accommodation-features {
    padding: 0 1.5rem 1.5rem;
}

.accommodation-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0.75rem 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.accommodation-feature .feature-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.accommodation-price {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: #d8a81b;
    padding: 1rem 1.5rem 1.5rem;
    margin: 0;
    border-top: 2px solid #e0e0e0;
}


/* ====================================
   PACKAGE COMPARISON TABLE
==================================== */

.package-comparison-wrapper {
    overflow-x: auto;
    margin: 2rem 0;
}

.package-comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
}

.package-comparison-table thead {
    background: linear-gradient(135deg, #2B2823 0%, #3d3530 100%);
    color: white;
}

.package-comparison-table th {
    padding: 1.5rem 1rem;
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
}

.package-comparison-table th.featured {
    background: linear-gradient(135deg, #d8a81b 0%, #c99a18 100%);
}

.package-comparison-table th .price {
    display: block;
    font-size: 1.5rem;
    margin-top: 0.5rem;
    color: #d8a81b;
}

.package-comparison-table th.featured .price {
    color: white;
}

.package-comparison-table td {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

.package-comparison-table tbody tr:nth-child(even) {
    background: #f8f9fa;
}

.package-comparison-table tbody td:first-child {
    text-align: left;
    font-weight: 600;
    color: #2B2823;
}

@media (max-width: 768px) {
    .package-comparison-table {
        font-size: 0.9rem;
    }

    .package-comparison-table th,
    .package-comparison-table td {
        padding: 0.75rem 0.5rem;
    }
}


/* ====================================
   RESPONSIVE UTILITIES
==================================== */

@media (max-width: 768px) {
    .page-template-camp-eu h1 {
        font-size: 1.75rem;
    }

    .page-template-camp-eu h2 {
        font-size: 1.5rem;
    }

    .page-template-camp-eu .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}
