/*
Theme Name: Saint-Pacôme Theme
Theme URI: https://cdstpacome.ca
Description: Custom WordPress block theme for cdstpacome.ca. Designed for specific NGO/Grant requirements.
Author: Comité de Développement de Saint-Pacôme
Author URI: https://cdstpacome.ca
Version: 1.2.1
*/

/* =========================================
   CDSTPACOME MODERN THEME VARIABLES
   ========================================= */
:root {
    --primary-color: #4fa89d;
    --secondary-color: #6db33f;
    --accent-color: #2c7a7b;
    --tertiary-color: #8fbc8f;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --border-color: #e9ecef;
    --gradient-1: linear-gradient(135deg, #4fa89d, #6db33f);
    --gradient-2: linear-gradient(135deg, #2c7a7b, #8fbc8f);
    --gradient-hero: linear-gradient(135deg, rgba(79, 168, 157, 0.9), rgba(109, 179, 63, 0.8));
    --cd-shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --cd-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #f8fffe;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
}

/* =========================================
   UTILITIES & ANIMATIONS
   ========================================= */

/* Cursor Effects */
.custom-cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    display: none;
    /* Hidden on mobile by default via JS check usually, but safe here */
}

@media (min-width: 992px) {
    .custom-cursor {
        display: block;
    }
}

.cursor-follower {
    width: 40px;
    height: 40px;
    background: rgba(79, 168, 157, 0.1);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: all 0.1s ease;
    z-index: 9998;
    display: none;
}

@media (min-width: 992px) {
    .cursor-follower {
        display: block;
    }
}

/* Scroll Reveal */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Magnetic Hover */
.magnetic-hover {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
}

/* Button Styles Overrides */
.btn-primary,
.wp-block-button__link {
    background: linear-gradient(135deg, #4fa89d 0%, #6db33f 100%) !important;
    color: white !important;
    padding: 16px 40px !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    text-transform: none !important;
    letter-spacing: 0.3px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(79, 168, 157, 0.3) !important;
    border: none !important;
    display: inline-block !important;
}

.btn-primary:hover,
.wp-block-button__link:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(79, 168, 157, 0.4) !important;
    background: linear-gradient(135deg, #5bb8ad 0%, #7dc34f 100%) !important;
}

.btn-secondary,
.is-style-outline .wp-block-button__link {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px);
    color: #4fa89d !important;
    border: 2px solid rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    padding: 16px 40px !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.btn-secondary:hover,
.is-style-outline .wp-block-button__link:hover {
    background: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
    color: #4fa89d !important;
}

/* =========================================
   COMPONENTS
   ========================================= */

/* Section Title */
.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    padding-top: 60px;
}

.section-title h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    display: inline-block;
    position: relative;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Service / Mandat Card */
.service-card {
    background-color: var(--white);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(30, 58, 95, 0.08);
    padding: 40px 30px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(30, 58, 95, 0.15);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 1.8rem;
    color: white;
}

/* Stats */
.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, var(--light-bg), var(--white));
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    font-family: 'Playfair Display', serif;
}

/* Why Move Cards */
.move-card {
    background: var(--white);
    border-radius: 25px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.5s ease;
    height: 100%;
}

.move-card:hover {
    transform: translateY(-20px) scale(1.05);
}

.move-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Center the icon */
    font-size: 2rem;
    color: white;
    margin: 0 auto 30px;
    /* Center with margin */
}

/* Contact Form */
.contact-form-container {
    background: linear-gradient(135deg, var(--light-bg), var(--white));
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(30, 58, 95, 0.08);
    border: 1px solid var(--border-color);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: white;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: var(--cd-shadow-sm);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, var(--primary-color), #0f1e33);
    color: white;
    padding: 60px 0 20px;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--white);
}

.site-footer h3 {
    color: white;
    border-bottom: 2px solid var(--secondary-color);
    display: inline-block;
    padding-bottom: 10px;
}

/* WP Layout Adjustments */
.wp-block-columns {
    margin-bottom: 40px;
}

.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 12px 25px;
    border-radius: 50px;
    margin-bottom: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

/* Navigation & Header */
.wp-block-navigation ul,
.wp-block-navigation .wp-block-navigation__container,
.wp-block-navigation ul.wp-block-navigation__container,
body .wp-block-navigation ul.wp-block-navigation__container {
    gap: 2rem !important;
}

.wp-block-navigation a,
.wp-block-navigation .wp-block-navigation-item a,
.wp-block-navigation a.wp-block-navigation-item__content,
body .wp-block-navigation .wp-block-navigation-item a,
body .wp-block-navigation a.wp-block-navigation-item__content {
    text-transform: uppercase !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    color: var(--text-dark) !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
    padding: 12px 16px !important;
    position: relative !important;
}

.wp-block-navigation a:hover {
    color: var(--primary-color) !important;
}

.wp-block-navigation a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

.wp-block-navigation a:hover::after {
    width: 100%;
}

/* Contact Form 7 Styling */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: #f8f9fa;
    margin-bottom: 20px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 168, 157, 0.1);
    background: white;
    outline: none;
}

.wpcf7-submit {
    background: linear-gradient(135deg, var(--secondary-color), var(--tertiary-color)) !important;
    color: white !important;
    padding: 15px 40px !important;
    border-radius: 50px !important;
    border: none !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.4s ease !important;
    box-shadow: 0 10px 30px rgba(109, 179, 63, 0.4);
    font-size: 1rem;
    margin-top: 10px;
}


/* =========================================
   PROMO GALLERY COMPONENT
   ========================================= */
.promo-gallery-wrapper {
    margin: 40px 0;
    width: 100%;
}


.promo-gallery-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px 5px;
    /* Removed scroll properties for grid */
}

/* Remove scrollbar styles as no longer needed */
.promo-gallery-carousel::-webkit-scrollbar {
    display: none;
}

.promo-gallery-item {
    /* Removed flex properties */
    width: 100%;
    /* Fluid width in grid */
    height: 300px;
    /* Fixed height for consistency */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 4px solid white;
    background: #eee;
    position: relative;
    cursor: pointer;
    /* Interaction hint */
}

.promo-gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.promo-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Crucial: forces image to fill the box without distortion */
    object-position: center;
    display: block;
}

/* Overlay Icon */
.promo-gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.promo-gallery-item:hover .promo-gallery-overlay {
    opacity: 1;
}

.promo-gallery-overlay i {
    color: white;
    font-size: 3rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* =========================================
   LIGHTBOX & VOTING
   ========================================= */
.promo-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.promo-lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    text-align: center;
}

.promo-lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 5px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

.promo-vote-panel {
    margin-top: 20px;
    color: white;
    font-family: 'Montserrat', sans-serif;
}

.promo-vote-btn {
    background: white;
    color: #e74c3c;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.promo-vote-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(231, 76, 60, 0.4);
}

.promo-vote-btn.voted {
    background: #e74c3c;
    color: white;
    cursor: default;
    transform: none;
    box-shadow: none;
}

.promo-vote-count {
    display: block;
    margin-top: 10px;
    font-size: 1rem;
    opacity: 0.8;
}

.promo-lightbox-close {
    position: absolute;
    top: -50px;
    right: -20px;
    color: white;
    font-size: 4rem;
    /* Bigger X */
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
    /* Ensure on top */
}

.promo-lightbox-close:hover {
    color: #e74c3c;
    transform: rotate(90deg);
}

/* Nav Arrows */
.promo-lightbox-prev,
.promo-lightbox-next {
    position: fixed;
    /* Fixed to viewport */
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 3rem;
    cursor: pointer;
    z-index: 10001;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-lightbox-prev:hover,
.promo-lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.promo-lightbox-prev {
    left: 20px;
}

.promo-lightbox-next {
    right: 20px;
}

.promo-gallery-empty {
    padding: 20px;
    text-align: center;
    color: #666;
    background: #f5f5f5;
    border-radius: 8px;
}

/* =========================================
   CONCOURS PAGE (Poster Style)
   ========================================= */
.concours-hero {
    background: linear-gradient(135deg, #3498db 0%, #2ecc71 100%);
    /* Blue to Green like poster */
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 60px 20px;
    font-family: 'Montserrat', sans-serif;
}

.concours-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.concours-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.concours-prizes {
    background: #e67e22;
    /* Poster Orange */
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 15px;
    transform: rotate(-2deg);
    /* Dynamic tilt */
    margin: 20px 0;
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.4);
    display: inline-block;
    width: 100%;
}

.concours-illustration i {
    font-size: 5rem;
    margin: 20px 0;
    color: rgba(255, 255, 255, 0.8);
}

.concours-details {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
}

.concours-cta-box {
    background: white;
    color: #333;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.concours-cta-box h2 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #666;
}

.concours-email {
    font-size: 1.8rem;
    font-weight: 700;
    color: #e74c3c;
    text-decoration: none;
    word-break: break-all;
}

.concours-email:hover {
    text-decoration: underline;
}

.concours-footer-text {
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    opacity: 0.8;
}

.btn-concours {
    display: inline-block;
    padding: 15px 30px;
    background: transparent;
    border: 2px solid white;
    color: white;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-concours:hover {
    background: white;
    color: #2ecc71;
    transform: translateY(-3px);
}


.promo-gallery-empty {
    padding: 20px;
    text-align: center;
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
    border-radius: 10px;
}

/* =========================================
   WINTER LANDING PAGE
   ========================================= */
.winter-landing {
    background-color: #fff;
    font-family: 'Montserrat', sans-serif;
}

/* Hero Section */
.winter-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.winter-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.winter-hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
}

.winter-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.winter-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.winter-cta {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--secondary-color);
    color: white;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.winter-cta:hover {
    background-color: transparent;
    border-color: white;
    transform: translateY(-3px);
}

/* Navigation Grid */
.winter-nav-section {
    position: relative;
    margin-top: -50px;
    z-index: 10;
    padding-bottom: 4rem;
}

.winter-nav-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.winter-nav-item {
    text-align: center;
    text-decoration: none;
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease;
}

.winter-nav-item:hover {
    transform: translateY(-10px);
}

.winter-nav-circle {
    width: 120px;
    height: 120px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: background-color 0.3s ease;
    border: 4px solid white;
}

.winter-nav-item:hover .winter-nav-circle {
    background-color: var(--primary-color);
}

.winter-nav-item span {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Content Sections */
.winter-content-section {
    padding: 4rem 1rem;
}

.winter-feature-card {
    background: #fdfdfd;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #efefef;
    height: 100%;
}

.winter-list {
    list-style: none;
    padding: 0;
}

.winter-list li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.winter-list li::before {
    content: '•';
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Pricing Table */
.winter-price-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    margin-bottom: 2rem;
}

.winter-price-table th {
    background-color: var(--primary-color);
    color: white;
    padding: 1.5rem;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.winter-price-table td {
    padding: 1.25rem;
    border-bottom: 1px solid #eee;
    text-align: center;
    color: var(--text-dark);
}

.winter-price-table tr:last-child td {
    border-bottom: none;
}

.winter-price-table tr:hover td {
    background-color: #f9f9f9;
}

.winter-price-table td:first-child {
    text-align: left;
    font-weight: 600;
}

@media (max-width: 768px) {
    .winter-nav-circle {
        width: 90px;
        height: 90px;
        font-size: 2rem;
    }

    .winter-price-table th,
    .winter-price-table td {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
}

/* Added Styles for Winter Layout Fix */
.winter-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.winter-section-logo {
    max-width: 150px;
    margin: 0 auto 1.5rem;
    display: block;
}

.winter-section-title {
    font-size: 2.25rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.winter-prose {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.winter-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.winter-card-title {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.winter-pricing-section {
    background: #f8f9fa;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    text-align: center;
    max-width: 1000px;
    /* Constrain width */
    margin: 0 auto 4rem;
}

.table-responsive {
    overflow-x: auto;
}

.price-free {
    color: var(--secondary-color);
    font-weight: bold;
}

.price-row-equip {
    background-color: #f1f1f1;
    font-size: 0.9rem;
    font-style: italic;
}

.winter-contact {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #ddd;
}

.winter-map {
    text-align: center;
    margin-top: 4rem;
}

.winter-map-img {
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    height: auto;
}

/* Hide default elements for Winter Page */
.page-template-page-activites-hivernales .wp-block-site-title a,
.page-template-page-activites-hivernales .wp-block-site-title {
    display: none !important;
}

.page-template-page-activites-hivernales .powered-by-wordpress,
.page-template-page-activites-hivernales .site-info {
    display: none !important;
}

/* =========================================
   HOME PAGE HERO SECTION
   ========================================= */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
    background-size: cover !important;
    background-position: center !important;
    overflow: hidden;
}

.hero .container {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    text-align: center;
    color: white;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    opacity: 0.95;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

@media (max-width: 768px) {
    .hero {
        min-height: 500px;
        padding: 60px 20px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

}

/* =========================================
   CUSTOM COOKIE CONSENT BANNER
   ========================================= */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(44, 62, 80, 0.95);
    color: white;
    padding: 20px;
    z-index: 99999;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(100%);
    animation: slideUp 0.5s ease forwards 1s;
    backdrop-filter: blur(5px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes slideUp {
    to {
        transform: translateY(0);
    }
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-text {
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    flex: 1 1 300px;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
}

.cookie-btn {
    border: none;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.cookie-accept {
    background-color: var(--secondary-color);
    color: white;
}

.cookie-accept:hover {
    background-color: #5da035;
    transform: translateY(-2px);
}

.cookie-reject {
    background-color: transparent;
    color: #ccc;
    border: 1px solid #666;
}

.cookie-reject:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}

/* =========================================
   RESPONSIVE HEADER STYLES
   ========================================= */

/* Laptop (1024px - 1200px) */
@media (max-width: 1200px) {
    .wp-block-navigation ul {
        gap: 1.5rem !important;
    }

    .wp-block-navigation a {
        font-size: 0.98rem;
        padding: 10px 12px;
    }

    /* Logo adjustment */
    .wp-block-group img[src*="comiterlogo"] {
        max-width: 110px !important;
    }
}

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
    .wp-block-navigation ul {
        gap: 1.2rem !important;
        flex-wrap: wrap;
    }

    .wp-block-navigation a {
        font-size: 0.95rem;
        padding: 10px 8px;
        letter-spacing: 0.3px;
    }

    /* Logo adjustment */
    .wp-block-group img[src*="comiterlogo"] {
        max-width: 90px !important;
    }

    /* Header padding adjustment */
    .wp-block-group[style*="padding-top:1.5rem"] {
        padding-top: 1.2rem !important;
        padding-bottom: 1.2rem !important;
    }
}

/* Mobile (<768px) - Hamburger Menu */
@media (max-width: 768px) {
    /* Hide desktop navigation */
    .wp-block-navigation {
        display: none;
    }

    /* Show mobile toggle */
    .mobile-menu-toggle {
        display: block !important;
        background: var(--primary-color);
        color: white;
        border: none;
        padding: 10px 15px;
        border-radius: 5px;
        cursor: pointer;
        font-size: 1.5rem;
    }

    /* Mobile menu overlay */
    .mobile-menu-active .wp-block-navigation {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(44, 62, 80, 0.98);
        z-index: 9999;
        padding: 2rem;
        overflow-y: auto;
    }

    .mobile-menu-active .wp-block-navigation ul {
        flex-direction: column;
        width: 100%;
        gap: 0 !important;
    }

    .mobile-menu-active .wp-block-navigation a {
        display: block;
        width: 100%;
        padding: 1rem;
        text-align: left;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        color: white !important;
    }

    .mobile-menu-active .wp-block-navigation a:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    /* Logo adjustment */
    .wp-block-group img[src*="comiterlogo"] {
        max-width: 70px !important;
    }

    /* Donate button adjustment */
    .wp-block-button__link[href*="zeffy"] {
        padding: 8px 20px !important;
        font-size: 0.9rem;
    }
}