/* ========================================
   PACKAGE DETAIL PAGE STYLES
   ======================================== */

:root {
    --primary-gold: #C6A664;
    --primary-dark: #1a1a1a;
    --accent-green: #2d5a27;
    --text-dark: #333;
    --text-light: #666;
    --bg-cream: #faf8f5;
    --white: #ffffff;
}

/* Hero Section */
.package-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 60px 5%;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.8) 0%,
        rgba(0,0,0,0.3) 50%,
        rgba(0,0,0,0.1) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    color: var(--white);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    opacity: 0.8;
}

.breadcrumb a {
    color: var(--white);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--primary-gold);
}

.breadcrumb i {
    font-size: 0.7rem;
}

.package-hero .package-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.package-hero .badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge.luxury { background: linear-gradient(135deg, #C6A664, #a8893f); color: #1a1a1a; }
.badge.halal { background: #2d5a27; color: white; }
.badge.bestseller { background: #e63946; color: white; }

.package-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.2;
}

.tagline {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--primary-gold);
    margin-bottom: 20px;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    font-size: 1rem;
}

.hero-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-meta i {
    color: var(--primary-gold);
}

/* Hero Price Card */
.hero-price-card {
    position: absolute;
    right: 5%;
    bottom: 60px;
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    z-index: 3;
}

.price-label {
    font-size: 0.9rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-amount {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-gold);
}

.price-note {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.btn-book-hero {
    background: var(--primary-dark);
    color: var(--white);
    border: none;
    padding: 14px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-book-hero:hover {
    background: var(--primary-gold);
    color: var(--primary-dark);
}

/* Quick Info Bar */
.quick-info-bar {
    background: var(--primary-dark);
    padding: 25px 0;
}

.quick-info-bar .container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--white);
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-gold);
}

.info-item .label {
    display: block;
    font-size: 0.8rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-item .value {
    display: block;
    font-weight: 600;
}

/* Main Content Layout */
.package-main {
    padding: 60px 0;
    background: var(--bg-cream);
}

.package-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: start;
}

/* Content Sections */
.content-section {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.content-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.content-section h2 i {
    color: var(--primary-gold);
}

/* Overview */
.overview-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 20px;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: white;
    font-size: 1.5rem;
}

/* Highlights List */
.highlights-list {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 15px;
}

.highlights-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1.05rem;
    line-height: 1.6;
}

.highlights-list li i {
    color: var(--accent-green);
    margin-top: 5px;
}

/* Accommodations Grid */
.accommodations-grid {
    display: grid;
    gap: 25px;
}

.accommodation-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 25px;
    background: var(--bg-cream);
    border-radius: 10px;
    overflow: hidden;
}

.acc-image {
    position: relative;
}

.acc-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.nights-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-gold);
    color: var(--primary-dark);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.acc-content {
    padding: 25px 25px 25px 0;
}

.acc-location {
    font-size: 0.85rem;
    color: var(--primary-gold);
    margin-bottom: 8px;
}

.acc-content h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.acc-content p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Itinerary Timeline */
.itinerary-timeline {
    position: relative;
    padding-left: 30px;
}

.itinerary-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-gold);
}

.itinerary-day {
    position: relative;
    padding-bottom: 30px;
    padding-left: 30px;
}

.day-marker {
    position: absolute;
    left: -41px;
    top: 0;
}

.day-number {
    background: var(--primary-gold);
    color: var(--primary-dark);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
}

.day-content h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--primary-dark);
}

.day-content p {
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 15px;
}

.day-activities {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.day-activities span {
    background: var(--bg-cream);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.day-activities i {
    color: var(--accent-green);
    margin-right: 5px;
}

.day-meta {
    display: flex;
    gap: 25px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.day-meta i {
    color: var(--primary-gold);
    margin-right: 6px;
}

/* Inclusions Grid */
.inclusions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.inclusions-card {
    padding: 25px;
    border-radius: 10px;
}

.inclusions-card.included {
    background: rgba(45, 90, 39, 0.08);
    border: 1px solid rgba(45, 90, 39, 0.2);
}

.inclusions-card.excluded {
    background: rgba(220, 53, 69, 0.05);
    border: 1px solid rgba(220, 53, 69, 0.15);
}

.inclusions-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.inclusions-card.included h3 i { color: var(--accent-green); }
.inclusions-card.excluded h3 i { color: #dc3545; }

.inclusions-card ul {
    list-style: none;
    padding: 0;
}

.inclusions-card li {
    padding: 8px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
}

.inclusions-card.included li i { color: var(--accent-green); }
.inclusions-card.excluded li i { color: #dc3545; }

/* Pricing Table */
.pricing-table table {
    width: 100%;
    border-collapse: collapse;
}

.pricing-table th,
.pricing-table td {
    padding: 18px 20px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.pricing-table th {
    background: var(--primary-dark);
    color: var(--white);
    font-weight: 600;
}

.pricing-table th:first-child { border-radius: 8px 0 0 0; }
.pricing-table th:last-child { border-radius: 0 8px 0 0; }

.pricing-table td.price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-gold);
}

.pricing-table td.price span {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-light);
}

/* Sidebar */
.package-sidebar {
    position: relative;
}

.booking-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.booking-card.sticky {
    position: sticky;
    top: 100px;
}

.card-header {
    background: var(--primary-dark);
    color: var(--white);
    padding: 25px;
    text-align: center;
}

.card-header h3 {
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
}

.price-display .from {
    font-size: 0.85rem;
    opacity: 0.7;
}

.price-display .amount {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-gold);
}

.price-display .note {
    font-size: 0.85rem;
    opacity: 0.7;
}

.booking-form {
    padding: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group label i {
    color: var(--primary-gold);
    margin-right: 6px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-gold);
}

.btn-submit-booking {
    width: 100%;
    padding: 16px;
    background: var(--primary-gold);
    color: var(--primary-dark);
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-submit-booking:hover {
    background: #b8943f;
    transform: translateY(-2px);
}

.card-footer {
    padding: 20px 25px;
    background: var(--bg-cream);
    border-top: 1px solid #eee;
}

.card-footer p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-footer i {
    color: var(--accent-green);
}

/* Contact Card */
.contact-card {
    background: var(--white);
    border-radius: 12px;
    padding: 25px;
    margin-top: 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.contact-card h4 {
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

.contact-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.btn-call,
.btn-whatsapp {
    display: block;
    padding: 12px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.btn-call {
    background: var(--primary-dark);
    color: var(--white);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
}

.btn-call:hover,
.btn-whatsapp:hover {
    transform: translateY(-2px);
}

/* Related Trips */
.related-trips {
    padding: 60px 0;
    background: var(--white);
}

.related-trips h2 {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 40px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.related-card {
    background: var(--bg-cream);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.related-card:hover {
    transform: translateY(-10px);
}

.related-image {
    position: relative;
    height: 200px;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-price {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: var(--primary-gold);
    color: var(--primary-dark);
    padding: 8px 14px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
}

.related-content {
    padding: 20px;
}

.related-content h4 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 10px;
}

.related-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.btn-view {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: var(--primary-dark);
    color: var(--white);
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

.btn-view:hover {
    background: var(--primary-gold);
    color: var(--primary-dark);
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.95);
}

.lightbox-content {
    position: relative;
    z-index: 2;
    max-width: 90%;
    max-height: 90vh;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 8px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    z-index: 3;
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.3s ease;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--primary-gold);
    color: var(--primary-dark);
}

.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 0.9rem;
}

/* Error Container */
.error-container {
    text-align: center;
    padding: 100px 20px;
}

.error-container i {
    font-size: 4rem;
    color: var(--primary-gold);
    margin-bottom: 20px;
}

.error-container h2 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 15px;
}

.btn-back {
    display: inline-block;
    margin-top: 20px;
    padding: 14px 30px;
    background: var(--primary-dark);
    color: var(--white);
    text-decoration: none;
    border-radius: 6px;
}

/* Responsive */
@media (max-width: 1024px) {
    .package-layout {
        grid-template-columns: 1fr;
    }
    
    .package-sidebar {
        order: -1;
    }
    
    .booking-card.sticky {
        position: relative;
        top: 0;
    }
    
    .hero-price-card {
        display: none;
    }
}

@media (max-width: 768px) {
    .package-hero {
        height: 60vh;
    }
    
    .package-hero h1 {
        font-size: 2rem;
    }
    
    .hero-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .content-section {
        padding: 25px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .accommodation-card {
        grid-template-columns: 1fr;
    }
    
    .inclusions-grid {
        grid-template-columns: 1fr;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-info-bar .container {
        flex-direction: column;
        text-align: center;
    }
}
/* Additional Badge Styles */
.badge.ultra-luxury { 
    background: linear-gradient(135deg, #1a1a1a, #333); 
    color: #C6A664; 
    border: 1px solid #C6A664;
}

.badge.popular { 
    background: #e63946; 
    color: white; 
}

.badge.gorilla { 
    background: #2d5a27; 
    color: white; 
}

.badge.bucket-list { 
    background: linear-gradient(135deg, #667eea, #764ba2); 
    color: white; 
}

.badge.adventure { 
    background: #f77f00; 
    color: white; 
}