/* Safari Destination Pages Enhanced Styling */

/* Hero Section Enhancements */
.safari-hero {
    position: relative;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    overflow: hidden;
}

.safari-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="%23f29727" opacity="0.1"/></svg>');
    background-size: 50px 50px;
    opacity: 0.3;
}

/* Section Backgrounds */
.safari-section {
    position: relative;
    padding: 80px 0;
}

.safari-section.bg-light {
    background: #f8f9fa;
}

.safari-section.bg-pattern {
    background-image: 
        linear-gradient(30deg, #f39c12 12%, transparent 12.5%, transparent 87%, #f39c12 87.5%, #f39c12),
        linear-gradient(150deg, #f39c12 12%, transparent 12.5%, transparent 87%, #f39c12 87.5%, #f39c12),
        linear-gradient(30deg, #f39c12 12%, transparent 12.5%, transparent 87%, #f39c12 87.5%, #f39c12),
        linear-gradient(150deg, #f39c12 12%, transparent 12.5%, transparent 87%, #f39c12 87.5%, #f39c12);
    background-size: 80px 140px;
    background-position: 0 0, 0 0, 40px 70px, 40px 70px;
    background-color: #fff;
    opacity: 0.03;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

/* Enhanced Cards */
.safari-card {
    background: #fff;
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(242, 151, 39, 0.1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.safari-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    transform: scaleY(0);
    transition: transform 0.4s ease;
}

.safari-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(242, 151, 39, 0.15);
}

.safari-card:hover::before {
    transform: scaleY(1);
}

.safari-card h5 {
    color: var(--heading-color);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.safari-card h5 i {
    color: var(--secondary-color);
    font-size: 28px;
}

.safari-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.safari-card ul li {
    padding: 10px 0 10px 28px;
    position: relative;
    color: var(--text-color);
    line-height: 1.6;
}

.safari-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 16px;
}

/* Feature Boxes */
.safari-feature-box {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.safari-feature-box::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(242, 151, 39, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.safari-feature-box:hover {
    border-color: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(242, 151, 39, 0.2);
}

.safari-feature-box:hover::after {
    opacity: 1;
}

.safari-feature-box .icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #fff;
    box-shadow: 0 10px 30px rgba(242, 151, 39, 0.3);
}

.safari-feature-box h5 {
    font-size: 20px;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 12px;
}

.safari-feature-box p {
    color: var(--text-color);
    margin: 0;
    line-height: 1.6;
}

/* Pricing Cards */
.safari-pricing-card {
    background: #fff;
    border-radius: 20px;
    padding: 45px 35px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.safari-pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 100%);
}

.safari-pricing-card:hover {
    border-color: var(--secondary-color);
    transform: scale(1.03);
    box-shadow: 0 20px 60px rgba(242, 151, 39, 0.2);
}

.safari-pricing-card .price {
    font-size: 36px;
    font-weight: 800;
    color: var(--secondary-color);
    margin: 20px 0;
}

.safari-pricing-card .duration {
    color: var(--text-color);
    font-size: 16px;
    margin-bottom: 25px;
}

/* Section Titles */
.safari-section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.safari-section-title h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--heading-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.safari-section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    border-radius: 2px;
}

.safari-section-title p {
    font-size: 18px;
    color: var(--text-color);
    max-width: 800px;
    margin: 25px auto 0;
    line-height: 1.8;
}

.safari-section-title .sub-title {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: block;
}

/* Image Galleries */
.safari-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.safari-gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
}

.safari-gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.safari-gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.safari-gallery-item:hover img {
    transform: scale(1.1);
}

/* Stats/Numbers Section */
.safari-stats {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    padding: 60px 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.safari-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><circle cx="30" cy="30" r="1.5" fill="white" opacity="0.1"/></svg>');
    background-size: 60px 60px;
}

.safari-stat-item {
    text-align: center;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.safari-stat-item .number {
    font-size: 48px;
    font-weight: 800;
    display: block;
    margin-bottom: 10px;
}

.safari-stat-item .label {
    font-size: 16px;
    opacity: 0.9;
}

/* CTA Sections */
.safari-cta {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    padding: 80px 0;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.safari-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(242, 151, 39, 0.1) 0%, transparent 70%);
}

.safari-cta h3 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.safari-cta p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .safari-section-title h2 {
        font-size: 32px;
    }
    
    .safari-card {
        padding: 25px;
    }
    
    .safari-feature-box {
        padding: 30px 20px;
    }
    
    .safari-gallery {
        grid-template-columns: 1fr;
    }
}
