/* ==========================================================================
   FEATURED PACKAGES - FULL PREMIUM TRANSFORMATION
   ========================================================================== */

.featured-packages {
    padding: 100px 100px;
    background: #ffffff;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 0 20px;
}

.sub-title {
    color: #D4AF37; /* Nyasa Gold */
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 15px;
    font-weight: 800;
    display: block;
    margin-bottom: 12px;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 5vw, 42px); /* Responsive font size */
    color: #0b3c49;
    font-weight: 700;
    margin: 0;
}

.section-quote {
    max-width: 600px;
    margin: 20px auto 0;
    font-style: italic;
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}

/* --- Category Navigation & Sliding Gold Indicator --- */
.package-categories {
    margin: 40px 0 60px;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid rgba(11, 60, 73, 0.05);
}

.category-wrapper {
    position: relative;
    padding-bottom: 15px;
}

.category-list {
    display: flex;
    gap: 40px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-btn {
    background: none;
    border: none;
    font-size: 12px;
    font-weight: 700;
    font-family: 'Cormorant Garamond', serif;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: #0b3c49;
    cursor: pointer;
    padding: 5px 0;
    transition: 0.3s ease;
    opacity: 0.4;
}

.category-btn.active, 
.category-btn:hover {
    opacity: 1;
}

.active-indicator {
    position: absolute;
    bottom: -1px; /* Align with bottom border */
    height: 3px;
    background: #D4AF37;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 2;
}

/* --- Carousel Container & Navigation --- */
.carousel-wrapper {
    position: relative;
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 40px;
}

/* The actual scrolling track */
.packages-carousel {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px 5px 50px;
    
    /* Premium Scrolling Feel */
    scroll-snap-type: x mandatory; 
    scrollbar-width: none; /* Hide scrollbar Firefox */
    -ms-overflow-style: none; /* Hide scrollbar IE/Edge */
}

.packages-carousel::-webkit-scrollbar {
    display: none; /* Hide scrollbar Chrome/Safari */
}

/* Arrow Positioning */
.carousel-navigation {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none; /* Click through to cards */
    z-index: 20;
}

.nav-arrow {
    width: 55px;
    height: 55px;
    background: #0b3c49;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto; /* Enable clicking */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.nav-arrow:hover {
    background: #D4AF37;
    transform: scale(1.1) translateY(-2px);
}

/* --- The Premium Package Card --- */
.package-card {
    /* Critical for fixing 'disorganized' layout */
    flex: 0 0 380px; 
    min-width: 380px; 
    scroll-snap-align: start;
    
    background: #fff;
    border: 1px solid #f0f0f0;
    position: relative;
    transition: all 0.5s ease;
    display: flex;
    flex-direction: column;
}

.package-card:hover {
    box-shadow: 0 30px 60px rgba(8, 42, 51, 0.12);
    transform: translateY(-10px);
}

.card-visual {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.package-card:hover .card-visual img {
    transform: scale(1.1);
}

.card-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,0.95);
    padding: 6px 16px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #0b3c49;
    z-index: 5;
}

.card-price-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    background: rgba(8, 42, 51, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 25px;
    color: #fff;
    border-top-right-radius: 20px;
    z-index: 5;
}

.card-price-overlay span {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    color: rgba(255,255,255,0.7);
    margin-bottom: 2px;
}

.card-price-overlay strong {
    font-size: 10px;
    font-family: 'Playfair Display', serif;
    color: #D4AF37;
}

.card-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #9ea8ab;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 18px;
}

.card-stars i {
    color: #D4AF37;
    font-size: 10px;
    margin-left: 1px;
}

.card-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: #0b3c49;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.card-content p {
    font-size: 14px;
    line-height: 1.7;
    color: #616e71;
    margin-bottom: 30px;
    /* Limits description to 3 lines for a clean grid */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- Premium CTA Link --- */
.btn-explore {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #0b3c49;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: 0.3s ease;
}

.btn-explore svg {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-explore:hover {
    color: #D4AF37;
}

.btn-explore:hover svg {
    transform: translateX(10px);
}

/* --- Mobile Adaptability --- */
@media (max-width: 991px) {
    .carousel-wrapper { padding: 0 20px; }
    .nav-arrow { display: none; } /* Swiping is better for mobile */
    .package-card { flex: 0 0 320px; min-width: 320px; }
    .featured-packages { padding: 70px 30px; }
}

@media (max-width: 768px) {
    .section-title { font-size: 32px; }
    .category-list { gap: 25px; }
    .package-card { flex: 0 0 85vw; min-width: 85vw; }
    .featured-packages { padding: 60px 20px; }
    .section-header { margin-bottom: 30px; padding: 0; }
    .package-categories { margin: 25px 0 40px; }
}

@media (max-width: 560px) {
    .featured-packages { padding: 50px 16px; }
    .category-list { gap: 16px; flex-wrap: wrap; justify-content: center; }
    .category-btn { font-size: 10px; letter-spacing: 1.5px; }
    .section-quote { font-size: 14px; padding: 0 10px; }
    .card-content { padding: 20px; }
    .card-content h3 { font-size: 20px; }
    .card-visual { height: 220px; }
}