/**
 * TravelPackages — page-6-packages.css
 * Couleurs : bleu #1e88e5 + orange GoExploria #f26522
 */

/* ============================================================
   SECTION WRAPPER
   ============================================================ */
.pkg-section {
    font-family: 'Montserrat', sans-serif;
    background: #ffffff;
    color: #333333;
}

.page6-wrapper {
    background: #ffffff;
    overflow: hidden;
}

/* ============================================================
   CONTENU — zone sous l'entête
   ============================================================ */
.pkg-content-area {
    padding: 40px 40px 60px;
    max-width: 1400px;
    margin: 0 auto;
}

/* ============================================================
   EN-TÊTES DE CATÉGORIE (Forfaits Québec / Europe)
   ============================================================ */
.pkg-category-section {
    margin-bottom: 60px;
}

.pkg-category-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f0f4f8;
}

.pkg-cat-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #ffffff;
    flex-shrink: 0;
}

.pkg-cat-icon--quebec {
    background: linear-gradient(135deg, #1565c0, #1e88e5);
}

.pkg-cat-icon--europe {
    background: linear-gradient(135deg, #1565c0, #1e88e5);
}

.pkg-cat-titles {
    flex: 1;
}

.pkg-category-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1a2942;
    margin: 0 0 2px;
    line-height: 1.2;
}

.pkg-category-subtitle {
    font-size: 0.9rem;
    color: #888888;
    margin: 0;
    font-weight: 500;
}

.pkg-category-count {
    background: linear-gradient(135deg, #1565c0, #1e88e5);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    white-space: nowrap;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.3px;
}

/* ============================================================
   FILTRES — pilules style events-vedette
   ============================================================ */
.pkg-filters {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.pkg-filter-btn {
    padding: 8px 18px;
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #333333;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pkg-filter-btn:hover {
    background: #e3f2fd;
    border-color: #1e88e5;
    color: #1565c0;
    transform: translateY(-1px);
}

.pkg-filter-btn.active {
    background: linear-gradient(135deg, #1565c0, #1e88e5);
    border-color: #1e88e5;
    color: #ffffff;
}

/* ============================================================
   GRILLE DE CARTES
   ============================================================ */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* ============================================================
   CARTE FORFAIT
   ============================================================ */
.package-card {
    background: #ffffff;
    border: 1px solid #e8edf5;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.package-card:hover {
    transform: translateY(-8px);
    border-color: #bbdefb;
    box-shadow: 0 16px 40px rgba(30, 136, 229, 0.15);
}

.package-image {
    height: 230px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.package-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.package-card:hover .package-image img {
    transform: scale(1.07);
}

/* Badges typés */
.package-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    z-index: 2;
    font-family: 'Montserrat', sans-serif;
}

.pkg-badge--popular  { background: linear-gradient(135deg, #e84c10, #f26522); box-shadow: 0 4px 12px rgba(242,101,34,0.45); }
.pkg-badge--new      { background: linear-gradient(135deg, #2e7d32, #43a047); box-shadow: 0 4px 12px rgba(67,160,71,0.4); }
.pkg-badge--luxe     { background: linear-gradient(135deg, #b8860b, #d4af37); box-shadow: 0 4px 12px rgba(212,175,55,0.4); }
.pkg-badge--couple   { background: linear-gradient(135deg, #ad1457, #e91e8c); box-shadow: 0 4px 12px rgba(233,30,140,0.4); }
.pkg-badge--exclusif { background: linear-gradient(135deg, #4527a0, #7b1fa2); box-shadow: 0 4px 12px rgba(123,31,162,0.4); }
.pkg-badge--top      { background: linear-gradient(135deg, #0277bd, #0288d1); box-shadow: 0 4px 12px rgba(2,119,189,0.4); }

/* Corps de la carte */
.package-content {
    padding: 22px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.package-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.package-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a2942;
    line-height: 1.3;
    margin: 0;
    flex: 1;
}

.package-price {
    font-size: 1.45rem;
    font-weight: 800;
    color: #1e88e5;
    white-space: nowrap;
    flex-shrink: 0;
}

.package-price span {
    font-size: 0.8rem;
    font-weight: 500;
    color: #999999;
}

.package-location {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #666666;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.package-location i {
    color: #1e88e5;
    font-size: 12px;
}

.package-description {
    font-size: 0.88rem;
    color: #777777;
    line-height: 1.65;
    flex-grow: 1;
    margin-bottom: 16px;
}

.package-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.feature {
    background: #e3f2fd;
    border: 1px solid #bbdefb;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    color: #1565c0;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.feature i {
    color: #1e88e5;
    font-size: 10px;
}

/* Bouton carte — bleu clair */
.pkg-btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 20px;
    background: linear-gradient(135deg, #1565c0, #1e88e5, #42a5f5);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
    box-shadow: 0 4px 16px rgba(30, 136, 229, 0.35);
    letter-spacing: 0.3px;
}

.pkg-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(30, 136, 229, 0.5);
    color: #ffffff;
}

/* ============================================================
   SECTION SHOWCASE
   ============================================================ */
.showcase-packages {
    margin: 60px 0 40px;
}

.showcase-header {
    text-align: center;
    margin-bottom: 36px;
}

.showcase-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #1a2942;
    margin-bottom: 8px;
}

.showcase-header p {
    font-size: 1rem;
    color: #777777;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.showcase-item {
    background: #ffffff;
    border: 1px solid #e8edf5;
    border-top: 4px solid #1e88e5;
    border-radius: 14px;
    padding: 24px 22px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.showcase-item:hover {
    transform: translateY(-6px);
    border-top-color: #f26522;
    box-shadow: 0 12px 32px rgba(30, 136, 229, 0.12);
}

.showcase-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #1a2942;
    margin: 0 0 8px;
    line-height: 1.3;
}

.showcase-item p {
    font-size: 0.85rem;
    color: #888888;
    flex-grow: 1;
    margin-bottom: 12px;
    line-height: 1.5;
}

.showcase-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: #1e88e5;
}

.showcase-price span {
    font-size: 0.8rem;
    color: #999999;
    font-weight: 500;
}

.showcase-item-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 4px;
}

.showcase-details-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    background: transparent;
    color: #1e88e5;
    border: 1.5px solid #1e88e5;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.22s ease;
}

.showcase-details-btn:hover {
    background: #1e88e5;
    color: #ffffff;
    transform: translateY(-1px);
}

.showcase-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    margin-bottom: 12px;
    align-self: flex-start;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.showcase-badge.quebec {
    background: linear-gradient(135deg, #1565c0, #42a5f5);
    color: #ffffff;
}

.showcase-badge.europe {
    background: linear-gradient(135deg, #1565c0, #1e88e5);
    color: #ffffff;
}

/* ============================================================
   SECTION CRÉATION
   ============================================================ */
.creation-section {
    margin-top: 60px;
}

.creation-card {
    background: #f8fafd;
    border: 1px solid #e3ecf7;
    border-radius: 20px;
    padding: 48px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.creation-info h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1a2942;
    margin-bottom: 14px;
}

.creation-info p {
    font-size: 0.95rem;
    color: #666666;
    margin-bottom: 24px;
    line-height: 1.7;
}

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

.features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #444444;
    font-weight: 500;
    font-size: 0.92rem;
    padding: 8px 0;
    border-bottom: 1px solid #eef2f8;
}

.features-list li:last-child {
    border-bottom: none;
}

.features-list i {
    color: #1e88e5;
    font-size: 14px;
    flex-shrink: 0;
}

.creation-form {
    background: #ffffff;
    border: 1px solid #e3ecf7;
    border-radius: 16px;
    padding: 36px;
}

.creation-form h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #1a2942;
    margin-bottom: 24px;
}

.pkg-form-group {
    margin-bottom: 18px;
}

.pkg-form-group label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    color: #555555;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.pkg-form-group input,
.pkg-form-group select,
.pkg-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: #f7fafc;
    border: 1px solid #dde6f0;
    border-radius: 10px;
    color: #333333;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.pkg-form-group input:focus,
.pkg-form-group select:focus,
.pkg-form-group textarea:focus {
    outline: none;
    border-color: #1e88e5;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.12);
}

.pkg-form-group textarea {
    height: 100px;
    resize: vertical;
}

.btn-create {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px 20px;
    background: linear-gradient(135deg, #1565c0, #1e88e5, #42a5f5);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
    box-shadow: 0 4px 16px rgba(30, 136, 229, 0.3);
}

.btn-create:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(30, 136, 229, 0.45);
    color: #ffffff;
}

/* ============================================================
   BOUTONS CARTE — actions
   ============================================================ */
.pkg-card-actions {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.pkg-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    flex: 1;
    padding: 10px 14px;
    background: transparent;
    color: #1e88e5;
    border: 2px solid #1e88e5;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.pkg-btn-secondary:hover {
    background: #e3f2fd;
    border-color: #1565c0;
    color: #1565c0;
    transform: translateY(-1px);
}

.pkg-btn-primary {
    flex: 1;
}

/* ============================================================
   SLIDER SECTION CRÉATION
   ============================================================ */
.creation-slider {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 22px;
    aspect-ratio: 5 / 3;
    background: #e3f2fd;
}

.creation-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.7s ease;
}

.creation-slide.active {
    opacity: 1;
    position: relative;
}

.creation-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.creation-slide-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}

.creation-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255,255,255,0.55);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    border: 2px solid rgba(255,255,255,0.8);
}

.creation-dot.active {
    background: #ffffff;
    transform: scale(1.25);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
    .packages-grid { grid-template-columns: repeat(2, 1fr); }
    .creation-card { grid-template-columns: 1fr; }
}

@media (max-width: 992px) {
    .showcase-grid { grid-template-columns: repeat(2, 1fr); }
    .pkg-content-area { padding: 32px 24px 48px; }
}

@media (max-width: 768px) {
    .pkg-content-area { padding: 24px 16px 40px; }
    .packages-grid { grid-template-columns: 1fr; gap: 20px; }
    .showcase-grid { grid-template-columns: 1fr; gap: 14px; }
    .creation-card { padding: 28px 20px; gap: 28px; }
    .creation-form { padding: 24px 16px; }
    .pkg-category-title { font-size: 1.3rem; }
    .pkg-filter-btn { font-size: 11px; padding: 6px 12px; }
}

@media (max-width: 480px) {
    .pkg-content-area { padding: 16px 12px 32px; }
    .creation-card { padding: 20px 12px; }
    .packages-grid { gap: 16px; }
}
