/* Kenya Safari Tours - Custom Styles */

/* CSS Variables for Kenya Theme Colors */
:root {
    --primary-color: #8B4513; /* Saddle Brown - Earth tones of Kenya */
    --secondary-color: #CD853F; /* Peru - Warm Kenyan sunset */
    --accent-color: #FF6347; /* Tomato - Kenyan flag inspiration */
    --success-color: #228B22; /* Forest Green - Kenyan landscapes */
    --warning-color: #FF8C00; /* Dark Orange - African sunrise */
    --dark-color: #2F4F4F; /* Dark Slate Gray */
    --light-color: #F5F5DC; /* Beige - Kenyan savanna */
    --text-color: #333333; /* Dark gray for text readability */
    --text-light: #666666; /* Medium gray for secondary text */
    --text-dark: #222222; /* Very dark for important text */
    --white: #FFFFFF;
    --black: #000000;
    
    /* Gradients */
    --primary-gradient: linear-gradient(135deg, #8B4513 0%, #CD853F 100%);
    --sunset-gradient: linear-gradient(45deg, #FF6347 0%, #FF8C00 50%, #CD853F 100%);
    --earth-gradient: linear-gradient(135deg, #8B4513 0%, #D2691E 50%, #CD853F 100%);
    
    /* Shadows */
    --card-shadow: 0 10px 30px rgba(139, 69, 19, 0.1);
    --hover-shadow: 0 15px 40px rgba(139, 69, 19, 0.2);
    
    /* Typography */
    --font-primary: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(139, 69, 19, 0.1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    padding: 0.5rem 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 700;
    color: var(--primary-color) !important;
    text-decoration: none;
}

.logo {
    height: 40px;
    width: auto;
    margin-right: 10px;
}

.brand-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-color);
}

.navbar-nav .nav-link {
    color: var(--dark-color) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: var(--primary-gradient);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* Dropdown Menu */
.dropdown-menu {
    border: none;
    box-shadow: var(--card-shadow);
    border-radius: 10px;
    margin-top: 10px;
}

.dropdown-item {
    color: var(--dark-color);
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: var(--primary-gradient);
    color: var(--white);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.7) 0%, rgba(205, 133, 63, 0.5) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    padding-top: 20vh;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.destination-selector {
    max-width: 500px;
    margin: 0 auto;
}

.form-select {
    padding: 1rem;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 1.1rem;
    backdrop-filter: blur(10px);
}

.form-select option {
    color: var(--dark-color);
}

/* Buttons */
.btn {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--primary-gradient);
    box-shadow: var(--card-shadow);
}

.btn-primary:hover {
    background: var(--earth-gradient);
    transform: translateY(-2px);
    box-shadow: var(--hover-shadow);
}

.btn-light {
    background: var(--white);
    color: var(--primary-color);
    font-weight: 600;
}

.btn-light:hover {
    background: var(--light-color);
    transform: translateY(-2px);
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background: var(--sunset-gradient);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Service Cards */
.service-card {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
}

.service-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.service-card p {
    color: #666;
    line-height: 1.8;
}

/* Statistics Section */
.stats-section {
    background: var(--earth-gradient);
    color: var(--white);
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.stat-item p {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Destination Cards */
.destination-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.destination-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.destination-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.destination-card:hover .destination-img {
    transform: scale(1.05);
}

.destination-content {
    padding: 1.5rem;
}

.destination-content h4 {
    color: var(--primary-color);
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
}

.destination-content p {
    color: #666;
    margin-bottom: 1rem;
}

.destination-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-color);
    display: block;
}

/* Testimonials */
.testimonials-section {
    background: var(--light-color);
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    height: 100%;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

.testimonial-content p {
    font-style: italic;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h5 {
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: #666;
    font-size: 0.9rem;
}

/* Offer Cards */
.offer-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.offer-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.offer-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.offer-content {
    padding: 1.5rem;
}

.offer-content h4 {
    color: var(--primary-color);
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
}

.offer-location {
    color: #666;
    margin-bottom: 1rem;
}

.offer-price {
    margin-bottom: 0.5rem;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    margin-right: 0.5rem;
}

.new-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-color);
}

.offer-duration {
    color: var(--success-color);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Video Section */
.video-section {
    background: var(--dark-color);
    color: var(--white);
}

.video-section .section-title {
    color: var(--white);
}

.video-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.video-thumbnail {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-button:hover {
    background: var(--white);
    transform: translate(-50%, -50%) scale(1.1);
}

.play-button i {
    color: var(--primary-color);
    font-size: 2rem;
    margin-left: 5px;
}

.video-features {
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.feature-item i {
    color: var(--secondary-color);
    margin-right: 1rem;
    width: 20px;
}

/* Contact CTA */
.contact-cta {
    background: var(--sunset-gradient);
}

/* Footer */
.footer-section {
    background: var(--dark-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-brand {
    margin-bottom: 2rem;
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-brand h4 {
    color: var(--secondary-color);
    font-family: var(--font-heading);
}

.footer-brand p {
    color: #ccc;
    line-height: 1.6;
}

.footer-section h5 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.contact-info {
    margin-top: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
}

.contact-item i {
    color: var(--secondary-color);
    margin-right: 1rem;
    width: 20px;
}

.contact-item a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-item a:hover {
    color: var(--secondary-color);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0 1rem;
}

.copyright {
    color: #ccc;
    margin: 0;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-link {
    display: flex;
    align-items: center;
    background: #25D366;
    color: var(--white);
    padding: 15px 20px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-link:hover {
    background: #128C7E;
    transform: translateY(-3px);
    box-shadow: var(--hover-shadow);
    color: var(--white);
}

.whatsapp-link i {
    font-size: 1.5rem;
    margin-right: 10px;
}

.whatsapp-link span {
    font-weight: 600;
    white-space: nowrap;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stat-item h3 {
        font-size: 2.5rem;
    }
    
    .whatsapp-link span {
        display: none;
    }
    
    .social-links {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-link {
        padding: 12px;
        border-radius: 50%;
    }
    
    .whatsapp-link i {
        margin: 0;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .service-card,
    .destination-content,
    .testimonial-card,
    .offer-content {
        padding: 1.5rem;
    }
}

/* Custom Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading Animations */
.counter {
    display: inline-block;
}

/* Scroll Animations */
.aos-init {
    opacity: 0;
    transition: all 0.6s ease-out;
}

.aos-animate {
    opacity: 1;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gradient);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--earth-gradient);
}

/* Focus States for Accessibility */
.btn:focus,
.form-select:focus,
.nav-link:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .navbar,
    .whatsapp-float,
    .footer-section {
        display: none;
    }
    
    .hero-section {
        height: auto;
        padding: 2rem 0;
    }
    
    section {
        padding: 2rem 0;
    }
}

/* Video Modal Styles */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-in-out;
}

.video-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease-in-out;
}

.video-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: white;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.video-modal-close:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-info {
    padding: 20px;
    background: var(--light-color);
}

.video-info h5 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.video-info p {
    color: var(--text-color);
    margin-bottom: 0;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { 
        transform: translateY(-50px);
        opacity: 0;
    }
    to { 
        transform: translateY(0);
        opacity: 1;
    }
}

/* Datepicker Styles */
.datepicker-focused {
    border-color: var(--secondary-color) !important;
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25) !important;
}

.datepicker {
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    border: none;
    font-family: 'Inter', sans-serif;
}

.datepicker-dropdown {
    border-radius: 10px;
    overflow: hidden;
}

.datepicker table thead th {
    background: var(--primary-gradient);
    color: white;
    border: none;
    font-weight: 600;
    padding: 10px;
}

.datepicker table tbody td {
    padding: 8px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.datepicker table tbody td:hover {
    background: var(--secondary-color);
    color: white;
    transform: scale(1.1);
}

.datepicker table tbody td.disabled {
    color: #ccc;
    text-decoration: line-through;
}

.datepicker table tbody td.today {
    background: var(--accent-color);
    color: white;
}

.datepicker table tbody td.selected {
    background: var(--primary-color);
    color: white;
}