/* Package Page Styles - Clean & Minimal Design */

/* ===== Page Header ===== */
.page-header {
    background: linear-gradient(135deg, rgba(16, 124, 16, 0.9) 0%, rgba(20, 83, 45, 0.9) 100%),
        url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=1920&q=80') center/cover no-repeat fixed;
    padding: 140px 0 70px;
    text-align: center;
    color: var(--white);
    margin-top: 70px;
    position: relative;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, #f8fafc, transparent);
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 2.75rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 500px;
    margin: 0 auto;
}

/* Ensure header text is visible over dark overlay */
.page-header h1 {
    color: #ffffff !important;
    text-shadow: none !important;
}

.page-header p {
    color: rgba(255, 255, 255, 0.95) !important;
}

/* ===== Package List Section ===== */
.package-list {
    padding: 50px 0 80px;
    background: #f8fafc;
    min-height: 100vh;
}

.package-list .container {
    display: grid;
    grid-template-columns: 260px 1fr 260px;
    gap: 2rem;
    max-width: 1400px;
}

/* ===== Sidebar ===== */
.packages-sidebar {
    background: rgba(255, 255, 255, 0.8);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    padding: 1.75rem;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.9);
    height: fit-content;
    position: sticky;
    top: 90px;
}

.packages-sidebar:first-child {
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 142, 94, 0.5) transparent;
}

.packages-sidebar:first-child::-webkit-scrollbar {
    width: 4px;
}

.packages-sidebar:first-child::-webkit-scrollbar-track {
    background: transparent;
}

.packages-sidebar:first-child::-webkit-scrollbar-thumb {
    background: rgba(255, 142, 94, 0.4);
    border-radius: 10px;
}

.packages-sidebar h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--cta-peach);
    letter-spacing: 0.3px;
}

/* ===== Package Menu ===== */
.package-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.package-menu li {
    margin-bottom: 4px;
}

.package-menu a {
    display: block;
    padding: 10px 14px;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    font-weight: 500;
    border-left: 3px solid transparent;
}

.package-menu a:hover {
    background: rgba(255, 142, 94, 0.1);
    color: var(--primary-color);
    border-left-color: var(--cta-peach);
}

.package-menu a.active {
    background: var(--primary-color);
    color: var(--white);
    border-left-color: var(--primary-color);
}

/* Featured Link in Menu */
.package-menu .featured-link {
    background: linear-gradient(135deg, rgba(255, 142, 94, 0.15) 0%, rgba(249, 115, 22, 0.1) 100%);
    border-left-color: var(--cta-peach);
    font-weight: 600;
    position: relative;
}

.package-menu .featured-link:hover {
    background: linear-gradient(135deg, rgba(255, 142, 94, 0.25) 0%, rgba(249, 115, 22, 0.2) 100%);
}

.new-badge {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a365d 100%);
    color: white;
    font-size: 0.65rem;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}

/* Featured Package Header */
.featured-header {
    flex-direction: column;
    align-items: flex-start !important;
    background: linear-gradient(135deg, rgba(255, 247, 237, 0.95) 0%, rgba(255, 237, 213, 0.9) 100%);
    margin: -2.5rem -2.5rem 2rem;
    padding: 2rem 2.5rem;
    border-radius: 20px 20px 0 0;
    border-bottom: 3px solid var(--cta-peach);
}

.featured-badge {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a365d 100%);
    color: white;
    font-size: 0.75rem;
    padding: 6px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.featured-header h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.featured-header .package-date {
    background: transparent;
    color: var(--text-dark);
    padding: 0;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.featured-header .package-highlights {
    display: flex;
    gap: 1.5rem;
    background: transparent;
    padding: 0;
    margin: 0;
    border: none;
}

.featured-header .package-highlights span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
}

.featured-header .package-highlights span i {
    color: var(--cta-peach);
}

/* ===== Sidebar Info Cards ===== */
.sidebar-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-card {
    background: rgba(255, 255, 255, 0.6);
    padding: 1.25rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.25s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.info-card i {
    font-size: 1.75rem;
    color: var(--cta-peach);
    margin-bottom: 0.75rem;
    display: block;
}

/* Flip phone icon for Call Us card only (mirror horizontally) */
.info-card.call-us i {
    transform: scaleX(-1);
    display: inline-block;
}

.info-card h4 {
    color: var(--primary-color);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.info-card p {
    color: var(--text-light);
    font-size: 0.8rem;
    line-height: 1.5;
    margin: 0;
}

.info-card a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.info-card a:hover {
    color: var(--cta-peach);
}

.info-card.highlight {
    background: linear-gradient(135deg, var(--cta-peach) 0%, #f97316 100%);
    color: var(--white);
    border: none;
}

.info-card.highlight h4,
.info-card.highlight p,
.info-card.highlight i {
    color: var(--white);
}

/* ===== Package Details ===== */
.package-details {
    background: rgba(255, 255, 255, 0.85);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.9);
    overflow: hidden;
}

.package-detail-card {
    display: none;
    padding: 2.5rem;
}

.package-detail-card.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Package Header ===== */
.package-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.25rem;
    border-bottom: 2px solid var(--cta-peach);
    flex-wrap: wrap;
    gap: 1rem;
}

.package-header h2 {
    color: var(--primary-color);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.package-date {
    background: var(--cta-peach);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.package-date i {
    font-size: 0.9rem;
}

/* ===== Itinerary ===== */
.package-itinerary {
    margin-bottom: 2.5rem;
}

.package-itinerary h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.package-itinerary h3 i {
    color: var(--cta-peach);
}

.day-item {
    background: rgba(248, 250, 252, 0.8);
    padding: 1.25rem 1.5rem;
    margin-bottom: 0.75rem;
    border-radius: 12px;
    border-left: 3px solid var(--cta-peach);
    transition: all 0.2s ease;
}

.day-item:hover {
    background: rgba(255, 142, 94, 0.06);
    transform: translateX(4px);
}

.day-item h4 {
    color: var(--primary-color);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.day-item p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.9rem;
    margin: 0;
}

/* ===== Inclusions/Exclusions ===== */
.package-inclusions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.inclusion-box,
.exclusion-box {
    padding: 1.5rem;
    border-radius: 14px;
}

.inclusion-box {
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.exclusion-box {
    background: rgba(239, 68, 68, 0.06);
    border: 1px solid rgba(239, 68, 68, 0.15);
}

.inclusion-box h3 {
    color: #16a34a;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.exclusion-box h3 {
    color: #dc2626;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.inclusion-box ul,
.exclusion-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.inclusion-box ul li,
.exclusion-box ul li {
    padding: 6px 0 6px 24px;
    position: relative;
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 0.9rem;
}

.inclusion-box ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #16a34a;
    font-weight: 700;
}

.exclusion-box ul li:before {
    content: "✕";
    position: absolute;
    left: 0;
    color: #dc2626;
    font-weight: 700;
}

/* ===== Notes & Payment Terms ===== */
.package-notes,
.payment-terms {
    background: rgba(248, 250, 252, 0.9);
    padding: 1.5rem;
    border-radius: 14px;
    margin-bottom: 1.5rem;
}

.package-notes h3,
.payment-terms h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.package-notes h3 i,
.payment-terms h3 i {
    color: var(--cta-peach);
}

.package-notes ul,
.payment-terms ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.package-notes ul li,
.payment-terms ul li {
    padding: 5px 0 5px 20px;
    position: relative;
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.875rem;
}

.package-notes ul li:before,
.payment-terms ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--cta-peach);
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1.4;
}

.payment-terms p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

/* ===== Package Intro & Highlights ===== */
.package-intro {
    background: rgba(248, 250, 252, 0.9);
    padding: 1.5rem;
    border-radius: 14px;
    margin-bottom: 1.5rem;
}

.package-intro p {
    color: var(--text-light);
    margin-bottom: 0.75rem;
    line-height: 1.7;
    font-size: 0.9rem;
}

.package-intro p:last-child {
    margin-bottom: 0;
}

.package-highlights {
    background: linear-gradient(135deg, rgba(255, 247, 237, 0.9) 0%, rgba(255, 237, 213, 0.85) 100%);
    padding: 1.5rem;
    border-radius: 14px;
    margin-bottom: 1.5rem;
    border-left: 3px solid var(--cta-peach);
}

.package-highlights h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.package-highlights h3 i {
    color: var(--cta-peach);
}

.package-highlights ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.package-highlights ul li {
    padding: 5px 0 5px 24px;
    position: relative;
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 0.9rem;
}

.package-highlights ul li:before {
    content: "★";
    position: absolute;
    left: 0;
    color: var(--cta-peach);
    font-size: 0.9rem;
}

/* ===== CTA Buttons ===== */
.package-cta {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.package-cta .btn-primary,
.package-cta .btn-secondary {
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.package-cta .btn-primary {
    background: linear-gradient(135deg, var(--cta-peach) 0%, #f97316 100%);
    color: white;
    border: none;
}

.package-cta .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 142, 94, 0.35);
}

.package-cta .btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.package-cta .btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

/* ===== Coming Soon ===== */
.coming-soon {
    text-align: center;
    padding: 4rem 2rem;
}

.coming-soon i {
    font-size: 4rem;
    color: var(--cta-peach);
    margin-bottom: 1.5rem;
}

.coming-soon h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.coming-soon p {
    font-size: 1rem;
    color: var(--text-light);
}

/* ===== Footer Adjustments ===== */
.footer-bottom {
    padding: 1.25rem 0;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.9;
}

/* ===== Responsive Design ===== */
@media (max-width: 1200px) {
    .package-list .container {
        grid-template-columns: 240px 1fr 240px;
        gap: 1.5rem;
    }
}

@media (max-width: 1024px) {
    .package-list .container {
        grid-template-columns: 220px 1fr;
        gap: 1.5rem;
    }

    .packages-sidebar:last-child {
        display: none;
    }

    .package-inclusions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 120px 0 50px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .package-list {
        padding: 30px 0 60px;
    }

    .package-list .container {
        grid-template-columns: 1fr;
    }

    .packages-sidebar {
        position: static;
        max-height: none;
    }

    .packages-sidebar:first-child {
        max-height: none;
    }

    .package-menu {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 6px;
    }

    .package-detail-card {
        padding: 1.75rem;
    }

    .package-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .package-header h2 {
        font-size: 1.35rem;
    }

    .package-cta {
        flex-direction: column;
    }

    .package-cta a {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 1.75rem;
    }

    .package-menu {
        grid-template-columns: 1fr;
    }

    .package-detail-card {
        padding: 1.25rem;
    }

    .day-item {
        padding: 1rem;
    }

    .inclusion-box,
    .exclusion-box,
    .package-notes,
    .payment-terms {
        padding: 1.25rem;
    }
}