@charset "UTF-8";
/* css/itinerary.css */

.itinerary-content-wrapper {
    background-color: var(--theme-smoke, #deddda);
    padding-bottom: 10px;
}

.itinerary-container {
    max-width: var(--content-max-width);
    margin: 0 auto;
}

/* 
   Hero specific tweaks (Slideshow handles the background)
*/
.itinerary-hero-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    max-width: 1000px;
    margin: 0 auto;
}

.package-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 32px;
}

.meta-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--theme-orange, #F37021);
    letter-spacing: 1px;
}

.meta-value {
    background: rgba(255,255,255,0.2);
    padding: 4px 15px;
    border-radius: 2px;
    backdrop-filter: blur(5px);
    font-size: 15px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    color: whitesmoke;
}

/* 
   Overview Section
*/
.overview-card {
    background: #ffffff;
    padding: clamp(28px, 5vw, 64px) clamp(20px, 4vw, 48px);
    border-radius: 2px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    margin-bottom: 64px;
    text-align: center;
}

.overview-card .eyebrow {
    color: var(--theme-orange, #F37021);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.overview-card p {
    font-size: 18px;
    line-height: 1.8;
    color: #111;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

.trip-highlights-box {
    background: #fafafa;
    border-left: 4px solid var(--theme-orange, #F37021);
    padding: 40px;
    border-radius: 0 2px 2px 0;
    text-align: left;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.trip-highlights-box h3 {
    margin-top: 0;
    color: var(--theme-green);
    margin-bottom: 24px;
}

.trip-highlights-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.trip-highlights-box li {
    position: relative;
    padding-left: 25px;
    color: #111;
    line-height: 1.5;
}

.trip-highlights-box li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--theme-green, #2c3e20);
    font-weight: bold;
}

.overview-highlights {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 48px;
    font-weight: 600;
    color: #333;
    font-size: 18px;
}

.cta-button {
    display: inline-block;
    background-color: var(--theme-orange, #F37021);
    color: #fff;
    padding: 18px 45px;
    border-radius: 2px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    transition: all var(--header-transition);
}

.cta-button:hover {
    background-color: #d95e19;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(243,112,33,0.3);
}

/* 
   Included / Excluded Grid
*/
.itinerary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 64px;
}

.info-card {
    background: #ffffff;
    padding: clamp(24px, 4vw, 48px);
    border-radius: 2px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    border-top: 5px solid var(--theme-green, #2c3e20);
}

.info-card:nth-child(2) {
    border-top-color: #d9534f;
}

.info-card h2 {
    color: var(--theme-green);
    margin-top: 0;
    margin-bottom: 32px;
    font-size: 29px;
}

.info-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-card li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    color: #111;
    position: relative;
    padding-left: 35px;
    line-height: 1.5;
}

.info-card li:last-child {
    border-bottom: none;
}

.info-card:nth-child(1) li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--theme-green, #2c3e20);
    font-weight: bold;
    font-size: 18px;
}

.info-card:nth-child(2) li::before {
    content: '✕';
    position: absolute;
    left: 0;
    color: #d9534f;
    font-weight: bold;
    font-size: 18px;
}

/* 
   Accordion
*/
.itinerary-section-alt {
    margin-bottom: 80px;
}

.section-heading {
    text-align: center;
    margin-bottom: 48px;
}

.section-heading h2 {
    font-size: 40px;
    color: var(--theme-green);
    margin: 0;
}

.section-heading .eyebrow {
    color: var(--theme-orange, #F37021);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

/* 
   Timeline Accordion
*/
.itinerary-timeline {
    max-width: 1080px;
    margin: 0 auto 48px auto;
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 0 20px;
}

.timeline-item {
    display: flex;
    position: relative;
    margin-bottom: 24px;
}

.timeline-node {
    width: 50px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.node-dot {
    width: 16px;
    height: 16px;
    background-color: var(--theme-brown, #3b2417);
    border: 3px solid #fff;
    border-radius: 50%;
    margin-top: 32px; /* align with header */
    z-index: 2;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 0 0 2px rgba(59, 36, 23, 0.2);
}

.timeline-item.is-open .node-dot {
    background-color: var(--theme-orange, #f37021);
    transform: scale(1.2);
    box-shadow: 0 0 0 3px rgba(243, 112, 33, 0.2);
}

.node-line {
    position: absolute;
    top: 48px;
    bottom: -48px; /* extend down to next item */
    width: 2px;
    background-color: #eaeaea;
    z-index: 1;
}

.timeline-item:last-child .node-line {
    display: none;
}

.timeline-content {
    flex-grow: 1;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    border: 1px solid #eaeaea;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.timeline-item.is-open .timeline-content {
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.timeline-toggle {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.timeline-toggle:hover {
    background: #fafafa;
}

.timeline-toggle__main {
    display: flex;
    align-items: center;
    gap: 16px;
}

.day-badge {
    color: var(--theme-orange, #f37021);
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.timeline-toggle__main strong {
    font-size: 20px;
    color: var(--theme-brown, #3b2417);
    font-weight: 600;
}

.timeline-toggle__icon {
    font-size: 18px;
    color: var(--theme-orange, #f37021);
    transition: transform 0.3s ease;
}

.timeline-item.is-open .timeline-toggle__icon {
    transform: rotate(180deg);
}

.timeline-panel {
    transition: max-height 0.4s ease;
    background: #fafafa;
    overflow: hidden;
}

.timeline-panel__inner {
    padding: 32px;
    border-top: 1px solid #eaeaea;
}

.day-summary {
    color: #444;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 32px;
}

.day-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.detail-box {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.detail-box i {
    font-size: 20px;
    color: var(--theme-orange, #f37021);
    margin-top: 4px;
}

.detail-box h3 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    margin: 0 0 8px 0;
}

.detail-box p {
    margin: 0;
    color: #222;
    font-size: 15px;
    line-height: 1.5;
}

.detail-box a {
    color: var(--theme-brown, #3b2417);
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s ease;
}

.detail-box a:hover {
    color: var(--theme-orange, #f37021);
}

.packages-section {
    margin-top: 80px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.packages-section h2 {
    text-align: center;
    font-size: 40px;
    color: var(--theme-green);
    margin-bottom: 48px;
}

.package-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.itinerary-section-alt {
    text-align: center;
}

@media (max-width: 768px) {
    .overview-highlights {
        flex-direction: column;
        gap: 12px;
    }

    .timeline-node {
        display: none;
    }

    .timeline-toggle {
        padding: 20px;
    }

    .timeline-panel__inner {
        padding: 24px 20px;
    }

    .itinerary-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-toggle__main {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .overview-card, .info-card {
        padding: 32px 24px;
    }
    
    .package-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) and (max-width: 980px) {
    .package-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Local Quill rich-text styling (replaces external CDN dependency) */
.ql-editor {
    box-sizing: border-box;
    line-height: 1.8;
    outline: none;
    padding: 0;
}
.ql-editor p {
    margin: 0 0 1em 0;
    line-height: 1.8;
}
.ql-editor ul, .ql-editor ol {
    padding-left: 1.5em;
    margin: 0 0 1em 0;
}
.ql-editor li {
    margin-bottom: 0.5em;
}
.ql-editor h1, .ql-editor h2, .ql-editor h3, .ql-editor h4 {
    margin: 1em 0 0.5em 0;
    color: var(--theme-green, #2c3e20);
}


