@import url('https://fonts.googleapis.com/css2?family=Jaro&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Global Variables */
:root {
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Inter', sans-serif;
    /* Keeping it consistent */

    --color-bg: #FFFFFF;
    --color-text-main: #1E293B;
    --color-text-light: #64748B;
    --color-primary: #0F172A;
    /* Dark Navy */
    --color-accent: #FFFF00;
    /* Bright Yellow/Gold for active links */
    --color-white: #FFFFFF;

    --transition-fast: 0.3s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text-main);
    background-color: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-padding {
    padding: 4rem 0;
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: var(--color-white);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    color: var(--color-primary);
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

p {
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    font-weight: 500;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    border: 1px solid var(--color-white);
    backdrop-filter: blur(5px);
}

.btn-primary:hover {
    background: var(--color-white);
    color: var(--color-primary);
}

.btn-secondary {
    background: var(--color-primary);
    color: var(--color-white);
    border: 1px solid var(--color-primary);
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
}

.btn-secondary:hover {
    background: transparent;
    color: var(--color-primary);
}

/* Navigation */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 2rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1rem;
    font-weight: 800;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Inter', sans-serif;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--color-white);
    font-weight: 500;
    font-size: 1rem;
    opacity: 0.9;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-accent);
    opacity: 1;
}

.mobile-menu-toggle {
    display: none;
    color: var(--color-white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-bottom: 50px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.8s ease-in-out;
}

.hero-bg .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.658) 0%, rgba(0, 0, 0, 0.432) 50%, rgba(0, 0, 0, 0.651) 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    padding-top: 20rem;
    /* Account for navbar */
    position: relative;
    z-index: 1;
}

.hero-text {
    color: var(--color-white);
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 500px;
    opacity: 0.9;
}

.hero-images {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.hero-card {
    width: 160px;
    height: 280px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.hero-card.active {
    border-color: var(--color-accent);
}



.hero-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-card:hover {
    transform: translateY(-5px) !important;
    border-color: rgba(255, 255, 255, 0.8);
}

.hero-card.active:hover {
    transform: translateY(-15px) scale(1.05) !important;
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-text .lead {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--color-text-main);
    margin-bottom: 2rem;
}

.about-text p {
    color: var(--color-text-light);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

/* Destinations Section */
.destinations {
    background: #FFFFFF;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}

.section-header p {
    margin-bottom: 0;
    color: var(--color-text-light);
    font-size: 1.1rem;
}

.nav-arrows {
    display: flex;
    gap: 1rem;
}

.arrow-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: #E2E8F0;
    color: var(--color-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.arrow-btn:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

/* Slider Wrapper */
.slider-wrapper {
    overflow: hidden;
    width: 100%;
    padding: 5px 25px 5px 5px;
}

.destinations-slider {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.4s ease;
    width: 100%;
}

.tour-card {
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: all 0.3s ease;
    flex: 0 0 calc((100% - 3rem) / 3);
    max-width: calc((100% - 3rem) / 3);
}

.tour-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.card-image {
    height: 300px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tour-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 1.5rem;
}

.card-content h3 {
    margin-bottom: 0.5rem;
}

.card-content p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/* Slider Indicators */
.slider-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    padding: 1rem 0;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #E2E8F0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--color-primary);
    width: 30px;
    border-radius: 5px;
}

.slider-dot:hover {
    background: var(--color-primary);
    opacity: 0.7;
}

/* Testimonials Section */
.testimonials {
    background: #F8FAFC;
}

.testimonial-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--color-white);
    padding: 2.5rem;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
}

.close-modal {
    font-size: 2rem;
    cursor: pointer;
    color: var(--color-text-light);
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--color-primary);
}

.review-form .form-group {
    margin-bottom: 1.5rem;
}

.review-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.review-form input,
.review-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s ease;
}

.review-form input:focus,
.review-form textarea:focus {
    border-color: var(--color-primary);
}

/* Star Rating */
.star-rating {
    display: flex;
    gap: 8px;
    font-size: 0;
}

.star-rating input {
    display: none;
}

.star-rating label {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e5e7eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
}

.star-rating label i {
    font-size: 1rem;
    color: #cbd5e1;
    transition: color 0.2s ease;
}

.star-rating label.selected,
.star-rating label:hover {
    background: #0F172A;
}

.star-rating label.selected i,
.star-rating label:hover i {
    color: #fff;
}

.submit-review {
    width: 100%;
    padding: 1rem;
    font-weight: 600;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 0.5rem;
}

.flex-1 {
    flex: 1;
}

.align-items-center {
    align-items: center;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 1rem;
}

.modal-content {
    background-color: var(--color-white);
    padding: 2.5rem;
    border-radius: 20px;
    width: min(600px, 95%);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: modalFadeIn 0.3s ease-out;
}

@media (max-width: 480px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* Image Preview Styles */
.file-upload-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.file-upload-wrapper input[type="file"] {
    padding: 10px;
    border: 2px dashed #E2E8F0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    background: #f8fafc;
    transition: all 0.3s ease;
}

.file-upload-wrapper input[type="file"]:hover {
    border-color: #0F172A;
    background: #fff;
}

.file-upload-wrapper input[type="file"]::file-selector-button {
    padding: 8px 16px;
    background: #0F172A;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin-right: 10px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.file-upload-wrapper input[type="file"]::file-selector-button:hover {
    background: #1e293b;
}

.image-preview-container {
    display: none;
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: visible;
    margin-top: 15px;
}

.image-preview-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #0F172A;
}

#imagePreview {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.remove-image-btn {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ef4444;
    color: white;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.remove-image-btn:hover {
    background: #dc2626;
    transform: scale(1.1);
}

.testimonials-slider-wrapper {
    overflow: hidden;
    width: 100%;
    padding: 5px;
}

.testimonials-slider {
    display: flex;
    gap: 2rem;
    transition: transform 0.4s ease;
    width: 100%;
}

.testimonial-card {
    background: var(--color-white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    flex: 0 0 calc((100% - 4rem) / 3);
    max-width: calc((100% - 4rem) / 3);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--color-accent);
}

.testimonial-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--color-primary);
}

.stars {
    display: flex;
    gap: 0.25rem;
    color: #FFC107;
    font-size: 0.9rem;
}

.testimonial-message {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0;
    font-style: italic;
}

.testimonial-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    padding: 1rem 0;
}

/* Footer style update for dark theme background */
.footer {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 4rem 0 2rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Inter', sans-serif;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--color-white);
    font-size: 1.2rem;
    opacity: 0.8;
}

.social-links a:hover {
    opacity: 1;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    opacity: 0.6;
}

.footer-bottom p {
    margin-bottom: 0;
}

/* Responsive & Mobile Styles */
@media (max-width: 1024px) {
    .hero-content {
        gap: 2rem;
    }

    .hero-card {
        width: 120px;
        height: 200px;
    }

    .tour-card {
        flex: 0 0 calc((100% - 1.5rem) / 2);
        max-width: calc((100% - 1.5rem) / 2);
    }

    .testimonial-card {
        flex: 0 0 calc((100% - 2rem) / 2);
        max-width: calc((100% - 2rem) / 2);
    }
}

@media (max-width: 768px) {

    /* Navbar */
    .nav-links {
        display: none;
        /* Add JS toggle for real implementation, keeping it hidden for basic css */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--color-primary);
        flex-direction: column;
        padding: 2rem;
        text-align: center;
    }

    .mobile-menu-toggle {
        display: block;
    }

    /* Hero */
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 8rem;
    }

    .hero-text p {
        margin: 0 auto 2rem;
    }

    .hero-images {
        display: none;
        /* Hide decorative images on small screens for cleaner look or make them smaller */
    }

    /* About */
    .about-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image {
        order: -1;
    }

    /* Destinations */
    .tour-card {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .nav-arrows {
        order: 2;
        width: 100%;
        justify-content: center;
        margin-top: 1rem;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    /* Footer */
    .footer-container,
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .slider-wrapper {
        padding: 0;
    }

    .testimonial-card {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .testimonials-slider {
        gap: 0;
    }

    .testimonial-header-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .testimonial-header-top #openReviewModal {
        width: 100%;
        justify-content: center;
    }

    .testimonials-slider-wrapper {
        padding: 0;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    width: 60px !important;
    height: 60px !important;
    background: #25D366 !important;
    color: white !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 32px !important;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4), 0 8px 24px rgba(37, 211, 102, 0.3) !important;
    z-index: 9999 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-decoration: none !important;
    cursor: pointer !important;
    border: none !important;
    outline: none !important;
}

.whatsapp-float:hover {
    background: #20BA5A !important;
    color: white !important;
    transform: scale(1.15) !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5), 0 12px 32px rgba(37, 211, 102, 0.4) !important;
}

.whatsapp-float:active {
    transform: scale(1.05) !important;
}

.whatsapp-float i {
    line-height: 1 !important;
    color: white !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Pulse animation for WhatsApp button */
.whatsapp-float::before {
    content: '' !important;
    position: absolute !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    background: #25D366 !important;
    animation: whatsappPulse 2s ease-out infinite !important;
    z-index: -1 !important;
    opacity: 0 !important;
}

@keyframes whatsappPulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.3);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 0;
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px !important;
        right: 20px !important;
        width: 56px !important;
        height: 56px !important;
        font-size: 28px !important;
    }
}

/* Ensure it stays on top of everything */
@media print {
    .whatsapp-float {
        display: none !important;
    }
}