:root {
    --primary-color: #0d1b2a;
    /* Deep Blue */
    --secondary-color: #1b263b;
    /* Lighter Deep Blue */
    --accent-color: #c9a227;
    /* Gold */
    --text-light: #e0e1dd;
    --text-dark: #333333;
    --bg-light: #f8f9fa;
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 2px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: transparent;
    border-color: #fff;
    color: #fff;
}

.btn-primary:hover {
    background-color: #fff;
    color: var(--primary-color);
}

.btn-gold {
    background-color: var(--accent-color);
    color: #fff;
}

.btn-gold:hover {
    background-color: #b08d1f;
}

.btn-text {
    color: var(--accent-color);
    font-weight: 600;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background-color: var(--accent-color);
    margin: 15px auto 0;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent);
}

header.scrolled {
    background-color: var(--primary-color);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo img {
    height: 90px;
    /* Increased size */
    width: auto;
    transition: var(--transition);
    mix-blend-mode: screen;
}

.logo-text {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .logo-text {
        display: none;
        /* Hide title on mobile */
    }

    .logo img {
        height: 60px;
        /* Smaller logo for mobile */
        mix-blend-mode: screen;
    }
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #fff;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #fff;
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero */
.hero {
    height: 100vh;
    background-image: url('assets/images/hero.png');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 300;
}

/* Animations */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.feature-card {
    padding: 30px;
    border: 1px solid #eee;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-family: var(--font-heading);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* Destinations */
.destinations {
    background-color: #f9f9f9;
    /* Light background for the section */
}

.destinations-grid,
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    /* Slightly wider minimum */
    gap: 40px;
    padding: 20px 0;
}

.destination-card,
.tour-card {
    background-color: #fff;
    border-radius: 12px;
    /* Softer corners */
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    /* Premium shadow */
    transition: all 0.4s ease;
    display: flex;
    /* Flex layout for equal height */
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.03);
    /* Subtle border */
    height: 100%;
    /* Ensure it fills the grid cell */
}

.destination-card:hover,
.tour-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.card-image,
.tour-image {
    height: 240px;
    /* Fixed height for consistency */
    overflow: hidden;
    position: relative;
    width: 100%;
}

.card-image img,
.tour-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.destination-card:hover .card-image img,
.tour-card:hover .tour-image img {
    transform: scale(1.08);
}

.tour-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--accent-color);
    color: #fff;
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    letter-spacing: 0.5px;
    z-index: 2;
}

.card-content,
.tour-details {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    /* Fills remaining space */
}

.tour-meta {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 12px;
    align-items: center;
}

.tour-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.tour-meta i {
    color: var(--accent-color);
}

.card-content h3,
.tour-details h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    line-height: 1.2;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.card-content p,
.tour-details p {
    color: #666;
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
    /* Pushes content below to the bottom */
}

.tour-price {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 20px;
}

/* Revert btn style override in cards from inline styles to class control if possible, 
   but for now we keep the button at the bottom using flex-grow on P or margin-top: auto on button container */
.tour-details .btn {
    margin-top: auto;
    /* Ensures button is always at the bottom */
    width: 100%;
    text-align: center;
    border-radius: 4px;
    /* Slightly rounder buttons */
}

.card-content .btn-text {
    margin-top: auto;
    display: inline-block;
}


/* CTA */
.cta-section {
    background-color: var(--primary-color);
    color: #fff;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Footer */
footer {
    background-color: #0d1b2a;
    /* Ensure consistency with deep blue theme */
    color: #fff;
    padding: 70px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.footer-col h3 {
    font-family: var(--font-heading);
    color: var(--accent-color);
    margin-bottom: 25px;
    font-size: 1.6rem;
}

.footer-col ul li {
    margin-bottom: 14px;
}

.footer-col ul li a {
    color: #cbd5e1;
    /* Lighter text for better contrast */
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-col ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
    /* Subtle movement on hover */
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 25px;
    font-size: 0.85rem;
    color: #94a3b8;
}

/* Mobile Responsive */
@media (max-width: 768px) {

    .destinations-grid,
    .packages-grid {
        grid-template-columns: 1fr;
        /* Single column on mobile */
        gap: 30px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hamburger {
        display: block;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        /* Slightly wider menu */
        height: 100vh;
        background-color: rgba(13, 27, 42, 0.98);
        /* Less transparent */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    }

    .nav-links.active {
        right: 0;
    }
}

/* Welcome Section */
.welcome-section {
    padding: 100px 0;
}

.subtitle {
    display: block;
    color: var(--accent-color);
    font-family: var(--font-body);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

/* Testimonials */
.testimonials-section {
    padding: 80px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.testimonial-card {
    background: #fff;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    border-radius: 4px;
}

.quote-icon {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--accent-color);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: -20px;
}

.testimonial-card p {
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.client-info h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.client-info span {
    font-size: 0.9rem;
    color: #999;
}

/* Final CTA */
.cta-final {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('assets/images/tours_header.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    padding: 120px 0;
    color: #fff;
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.cta-final h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta-final p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    font-weight: 300;
    opacity: 0.9;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: translateY(-5px);
    box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.3);
    color: #FFF;
}

/* Homepage Welcome Grid & Form */
.welcome-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.welcome-text {
    text-align: left;
}

.welcome-text p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.8;
}

.welcome-form-wrapper {
    background: #fff;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    border-top: 4px solid var(--accent-color);
}

.welcome-form-wrapper h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.home-booking-form .form-group {
    margin-bottom: 15px;
}

.home-booking-form input,
.home-booking-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-body);
}

.home-booking-form textarea {
    resize: vertical;
}

@media (max-width: 900px) {
    .welcome-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .welcome-text {
        text-align: center;
    }

    .welcome-text {
        text-align: center;
    }
}

/* Destinations Slider */
.slider-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 50px;
    /* Space for buttons */
}

.slider-wrapper {
    overflow: hidden;
    padding: 20px 0;
    /* Space for shadows */
}

.slider-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease-in-out;
}

.slider-slide {
    min-width: calc(33.333% - 20px);
    /* 3 slides visible */
    flex-shrink: 0;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: var(--accent-color);
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

@media (max-width: 900px) {
    .slider-slide {
        min-width: calc(50% - 15px);
        /* 2 slides */
    }
}

@media (max-width: 600px) {
    .slider-container {
        padding: 0;
    }

    .slider-slide {
        min-width: 100%;
        /* 1 slide */
    }

    .slider-btn {
        display: none;
        /* Hide buttons on mobile, maybe use swipe later or just stack */
    }

    .slider-wrapper {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }

    .slider-track {
        gap: 20px;
    }

    .slider-slide {
        scroll-snap-align: start;
    }
}