/* 
    Tour Packages Page Styles 
    Theme: Ultra Premium Cinematic Wild 
*/

:root {
    --primary-green: #1a472a;
    --secondary-green: #2d5a27;
    --accent-gold: #c5a059;
    --accent-orange: #d97706;
    --bg-dark: #08120a; /* Premium Dark Forest Green */
    --text-white: #f8fafc;
    --text-muted: #94a3b8;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow-premium: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Remove Global Body Theme Effect for this page */
body::after {
    display: none !important;
}

/* Hero Section */
.packages-hero {
    height: 70vh;
    min-height: 500px;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.6)), url('assets/packages-hero.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 50px;
}

.hero-overlay-content {
    max-width: 900px;
    padding: 0 20px;
    z-index: 2;
    transform: translateY(-20px); /* Slightly shifted upwards */
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(45, 90, 39, 0.4);
    border: 1px solid rgba(197, 160, 89, 0.3);
    color: var(--accent-gold);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

.packages-hero h1 {
    font-size: clamp(3rem, 8vw, 5.5rem);
    color: white;
    line-height: 1;
    margin-bottom: 1rem;
    font-weight: 900;
    text-transform: uppercase;
}

.packages-hero h1 span {
    color: var(--accent-gold);
    display: block;
    font-size: 0.6em;
    margin-top: 10px;
}

.packages-hero p {
    color: #e2e8f0;
    font-size: clamp(1rem, 2vw, 1.2rem);
    max-width: 750px;
    margin: 0 auto 3rem;
    line-height: 1.6;
    font-weight: 500;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: clamp(20px, 5vw, 80px);
    margin-top: 3rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--accent-gold);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 8px;
    font-weight: 600;
}

/* Social Icon */
.social-side-icon {
    position: absolute;
    bottom: 30px;
    left: 30px;
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--accent-gold);
    cursor: pointer;
    transition: all 0.3s ease;
}

.social-side-icon:hover {
    background: var(--accent-gold);
    color: var(--primary-green);
}

/* Packages Grid Section */
.packages-section {
    padding: 100px 5%;
    background: #f8fbf7; /* Light Off-White Background */
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 3rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.section-header p {
    color: #555;
    font-size: 1.1rem;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.package-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
}

.package-card:hover {
    transform: translateY(-20px);
    box-shadow: 0 30px 70px rgba(17, 45, 17, 0.15);
    border-color: rgba(197, 160, 89, 0.4);
}

.package-image-container {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.package-image-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
}

.package-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.package-card:hover .package-image-container img {
    transform: scale(1.15);
}

.package-price-tag {
    position: absolute;
    top: 25px;
    right: 25px;
    background: var(--accent-gold);
    color: var(--primary-green);
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    z-index: 2;
}

.package-duration {
    position: absolute;
    bottom: 25px;
    left: 25px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.package-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.package-content h3 {
    font-size: 1.8rem;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.package-features {
    list-style: none;
    margin-bottom: 25px;
    flex-grow: 1;
}

.package-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #666;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.package-features li i {
    color: var(--accent-gold);
    width: 18px;
}

.package-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.btn-package {
    padding: 14px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-details {
    background: transparent;
    border: 1px solid #ddd;
    color: #444;
}

.btn-details:hover {
    background: #f4f4f4;
}

.btn-book-now {
    background: var(--accent-gold);
    color: var(--primary-green);
    border: 1px solid var(--accent-gold);
}

.btn-book-now:hover {
    background: #b6914a;
    transform: scale(1.05);
}

/* Trust Section */
.trust-banner {
    background: linear-gradient(90deg, var(--primary-green), var(--secondary-green));
    padding: 60px 5%;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.trust-item {
    text-align: center;
    color: white;
    max-width: 200px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.trust-item:hover {
    transform: translateY(-10px) scale(1.1);
}

.trust-item i {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 15px;
}

.trust-item h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.trust-item p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Custom Tailored Packages CTA */
.custom-packages-cta {
    padding: 100px 5%;
    background: #f1f4f0; /* Soft light green-white */
    border-top: 1px solid #e2ece0;
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    background: rgba(197, 160, 89, 0.1);
    color: var(--accent-gold);
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.cta-content h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--primary-green);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 800;
}

.cta-content h2 span {
    color: var(--accent-gold);
    display: block;
}

.cta-content p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 40px;
}

.cta-actions {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-contact-box {
    background: #ffffff;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
    border: 1px solid #e2ece0;
    border-radius: 30px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.icon-circle {
    width: 50px;
    height: 50px;
    background: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    flex-shrink: 0;
}

.contact-info span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.contact-info p {
    font-size: 1.1rem;
    color: var(--primary-green);
    font-weight: 600;
}

/* Safari Highlights Section */
.safari-highlights {
    padding: 100px 5%;
    background: #ffffff;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1300px;
    margin: 50px auto 0;
}

.highlight-card {
    padding: 40px;
    background: #fdfdfd;
    border: 1px solid #f0f0f0;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
}

.highlight-card:hover {
    background: #ffffff;
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    transform: translateY(-10px);
    border-color: var(--accent-gold);
}

.highlight-icon {
    width: 70px;
    height: 70px;
    background: rgba(197, 160, 89, 0.1);
    color: var(--accent-gold);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    transition: all 0.4s ease;
}

.highlight-card:hover .highlight-icon {
    background: var(--accent-gold);
    color: white;
    transform: rotateY(180deg);
}

.highlight-card h3 {
    color: var(--primary-green);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.highlight-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* General Responsive Fixes */
@media (max-width: 992px) {
    .cta-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: left;
    }
    
    .cta-badge, .cta-actions {
        justify-content: flex-start;
    }
    
    .contact-item {
        text-align: left;
    }

    .packages-hero h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .packages-hero {
        height: auto;
        padding: 100px 5% 60px;
    }

    .packages-hero h1 {
        font-size: 2.2rem;
    }
    
    .packages-hero h1 span {
        font-size: 0.5em;
        margin-top: 5px;
    }

    .packages-hero p {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    .hero-stats {
        gap: 20px;
        margin-top: 2rem;
        flex-wrap: wrap;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.65rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .packages-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-contact-box {
        padding: 25px;
    }

    .highlight-card {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .packages-hero {
        padding: 40px 15px 20px;
        min-height: 400px;
    }

    .hero-badge {
        background: rgba(197, 160, 89, 0.7);
        color: white;
        padding: 6px 20px; 
        font-size: 0.6rem;
        margin-bottom: 1rem;
    }

    .packages-hero h1 {
        font-size: 1.5rem;
        margin-bottom: 5px;
    }

    .packages-hero h1 span {
        font-size: 0.5em;
    }

    .packages-hero p {
        font-size: 0.8rem;
        margin-bottom: 1.5rem;
        line-height: 1.5;
    }

    .hero-stats {
        gap: 15px;
        margin-top: 1rem;
        display: flex;
        justify-content: center;
        flex-wrap: nowrap;
    }

    .stat-item {
        flex: 1;
    }

    .stat-number {
        font-size: 1.2rem;
    }

    .stat-label {
        font-size: 0.45rem;
        margin-top: 2px;
    }

    /* Trust Banner Mobile Fix */
    .trust-banner {
        padding: 40px 5%;
    }

    .trust-banner .container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 15px;
    }

    .trust-item {
        max-width: none;
        margin: 0 auto;
    }

    .trust-item i {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .trust-item h4 {
        font-size: 0.9rem;
        margin-bottom: 2px;
    }

    .trust-item p {
        font-size: 0.7rem;
    }

    /* Packages Section Header Mobile */
    .packages-section {
        padding: 60px 5%;
    }

    .section-header h2 {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }

    .section-header p {
        font-size: 0.9rem;
        line-height: 1.5;
        padding: 0 10px;
    }

    /* Package Cards Mobile */
    .package-image-container {
        height: 220px; /* Reduced height */
    }

    .package-price-tag {
        top: 15px;
        right: 15px;
        padding: 8px 15px;
        font-size: 0.9rem;
        border-radius: 8px;
    }

    .package-duration {
        bottom: 15px;
        left: 15px;
        padding: 5px 15px;
        font-size: 0.75rem;
    }

    .package-content {
        padding: 20px; /* Reduced padding */
    }

    .package-content h3 {
        font-size: 1.3rem; /* Reduced size */
        margin-bottom: 10px;
    }

    .package-features li {
        font-size: 0.85rem;
        margin-bottom: 8px;
        gap: 8px;
    }

    .package-features li i {
        width: 16px;
    }

    .btn-package {
        padding: 10px 15px;
        font-size: 0.85rem;
    }

    /* Safari Highlights Mobile */
    .safari-highlights {
        padding: 60px 5%;
    }

    .highlights-grid {
        gap: 20px;
        margin-top: 30px;
    }

    .highlight-card {
        padding: 25px; /* Reduced padding */
    }

    .highlight-icon {
        width: 50px; /* Reduced size */
        height: 50px;
        font-size: 1.5rem;
        border-radius: 15px;
        margin-bottom: 15px;
    }

    .highlight-card h3 {
        font-size: 1.2rem; /* Reduced size */
        margin-bottom: 10px;
    }

    .highlight-card p {
        font-size: 0.85rem;
    }

    /* Custom Tailored CTA Mobile */
    .custom-packages-cta {
        padding: 60px 5%;
    }

    .cta-content h2 {
        font-size: 1.8rem; /* Reduced size */
        margin-bottom: 15px;
    }

    .cta-badge {
        padding: 5px 15px;
        font-size: 0.65rem;
        margin-bottom: 15px;
    }

    .cta-content p {
        font-size: 0.9rem;
        margin-bottom: 25px;
        line-height: 1.6;
    }

    .cta-actions {
        gap: 12px;
    }

    .cta-actions .btn-primary, 
    .cta-actions .btn-secondary {
        padding: 12px 20px;
        font-size: 0.8rem;
        flex: 1; /* Make them equal width */
        min-width: 140px;
        justify-content: center;
    }

    .cta-contact-box {
        padding: 20px; /* Further reduced padding */
        gap: 15px;
        margin-top: 25px;
        width: 100%;
        overflow: hidden;
    }

    .contact-item {
        gap: 12px;
        align-items: flex-start;
    }

    .icon-circle {
        width: 35px;
        height: 35px;
    }

    .icon-circle i {
        width: 16px;
    }

    .contact-info {
        flex: 1;
        min-width: 0; /* Allow text to wrap */
    }

    .contact-info span {
        font-size: 0.6rem;
    }

    .contact-info p {
        font-size: 0.85rem; /* Reduced size to fit */
        word-break: break-all; /* Ensure long emails don't overflow */
        line-height: 1.4;
    }
}
