:root {
    --primary-color: #DC143C;
    /* Crimson Red */
    --primary-hover: #b01030;
    --bg-color: #ffffff;
    --text-color: #333333;
    --text-light: #666666;
    --light-gray: #f9f9f9;
    --border-color: #eee;
    --card-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --header-bg: rgba(255, 255, 255, 0.95);
    --transition: all 0.3s ease;
}

[data-theme="dark"] {
    --bg-color: #121212;
    --text-color: #f0f0f0;
    --text-light: #cccccc;
    --light-gray: #1e1e1e;
    --border-color: #333;
    --card-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    --header-bg: rgba(18, 18, 18, 0.95);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s, color 0.3s;
}


/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.8s ease-in-out;
}

#preloader.loaded {
    transform: translateY(-100%);
}

.preloader-content {
    width: 100px;
    height: 100px;
    background-color: #ddd;
    /* Placeholder for logo */
    border-radius: 50%;
    animation: pulse 1.5s infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #555;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(220, 20, 60, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 20px rgba(220, 20, 60, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(220, 20, 60, 0);
    }
}

/* Scroll Progress Bar */
#progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    z-index: 1002;
}

#progress-bar {
    height: 100%;
    background: var(--primary-color);
    width: 0%;
    transition: width 0.1s;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
    color: inherit;
    transition: color 0.3s;
}

/* Text Magnify Effect */
h1:hover,
h2:hover,
h3:hover,
a:not(.btn):hover {
    /* text-shadow: 1px 1px 2px rgba(0,0,0,0.1); */
    /* transform: scale(1.02); */
    /* Can cause layout shifts, verify preference */
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.main-logo {
    width:50px;
}


/* Image Hover Grow */
.img-hover-zoom {
    overflow: hidden;
}

.img-hover-zoom img:hover {
    transform: scale(1.1);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-outline {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.accent {
    color: var(--primary-color);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--header-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    transition: background-color 0.3s;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    display: block;
    /* changed from flex to avoid double gap */
}

.logo-placeholder {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: block;
    flex-shrink: 0;
    /* prevent shrinking */
}

.logo-text {
    display: inline-block;
}

.nav-menu ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    font-weight: 600;
    font-size: 1rem;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-highlight {
    background-color: var(--primary-color);
    color: white !important;
    padding: 8px 20px;
    border-radius: 30px;
    transition: transform 0.3s ease;
}

.nav-highlight:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.nav-highlight::after {
    display: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

#theme-toggle {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

#theme-toggle:hover {
    color: var(--primary-color);
    transform: rotate(15deg);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Slider */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.slider-container {
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.slide.active {
    opacity: 1;
}

.slide-content {
    position: relative;
    z-index: 10;
    color: white;
    max-width: 800px;
    padding: 20px;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease 0.3s;
}

.slide.active .slide-content {
    transform: translateY(0);
    opacity: 1;
}

.slide-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
    z-index: 20;
}

.slider-prev:hover,
.slider-next:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.slider-prev {
    left: 30px;
}

.slider-next {
    right: 30px;
}

/* Masonry / Grid */
.masonry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 900px) {
    .masonry-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .masonry-grid {
        grid-template-columns: 1fr;
    }
}

.masonry-item {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: var(--card-shadow);
}

.masonry-item img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.masonry-item:hover img {
    transform: scale(1.1);
}

/* Animations - Reveal on Scroll */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* About Section */
.about-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-info {
    flex: 0 0 300px;
}

.highlights {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.highlight-item i {
    color: var(--primary-color);
}

.info-card {
    background: var(--light-gray);
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
}

.info-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Services Section */
.services-section {
    background-color: var(--light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-color);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-10px);
}

.icon-box {
    width: 80px;
    height: 80px;
    background: rgba(220, 20, 60, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 25px;
}

/* Destinations Grid */
.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.destination-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 350px;
    cursor: pointer;
    box-shadow: var(--card-shadow);
}

.destination-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.destination-card:hover img {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
}

.card-overlay h3 {
    margin-bottom: 5px;
    font-size: 1.4rem;
}

.card-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Testimonials */
.testimonial-section {
    background-color: var(--light-gray);
    overflow: hidden;
}

.testimonial-carousel {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.testimonial-track {
    display: flex;
    gap: 30px;
    padding-bottom: 20px;
    width: max-content;
    animation: marquee 40s linear infinite;
}

.testimonial-track:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

    /* Assuming we duplicate content for 50% loop */
}

.testimonial-track::-webkit-scrollbar {
    display: none;
}

/* Google Review Badge */
.google-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    color: #555;
    margin-top: 5px;
}

.google-badge i {
    color: #DB4437;
    /* Google Red */
}

.testimonial-card {
    min-width: 280px;
    width: 280px;
    background: var(--bg-color);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    scroll-snap-align: center;
    border: 1px solid var(--border-color);
}

.stars {
    color: #FFD700;
    margin-bottom: 15px;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 20px;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.avatar-placeholder {
    width: 50px;
    height: 50px;
    background: #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: inherit;
}

.full-width {
    width: 100%;
}

/* Contact Section & Others reuse similar styles from before, ensuring consistency */

/* Footer */
footer {
    background-color: #111;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h2 {
    color: white;
    font-size: 1.5rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #888;
}

/* WhatsApp Float - Left Side */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    /* Moved to left */
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: var(--transition);
    animation: wiggle 3s infinite;
}

@keyframes wiggle {

    0%,
    100% {
        transform: rotate(0deg) scale(1);
    }

    10%,
    30% {
        transform: rotate(-10deg) scale(1.1);
    }

    20%,
    40% {
        transform: rotate(10deg) scale(1.1);
    }

    50% {
        transform: rotate(0deg) scale(1);
    }
}

/* Back to Top - Right Bottom */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: none;
    /* JS will toggle */
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    cursor: pointer;
    transition: var(--transition);
}

#back-to-top.visible {
    display: flex;
    animation: fadeUp 0.5s;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Page Headers (for non-home pages) */
.page-header {
    background-size: cover;
    background-position: center;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: white;
    margin-top: 80px;
    /* offset for sticky header */
    background-color: #333;
    /* Fallback */
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.page-header h1 {
    position: relative;
    z-index: 1;
    font-size: 3rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Content Text */
.content-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 991px) {
    .slide-content h1 {
        font-size: 2.5rem;
    }

    .contact-grid,
    .about-content {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .about-info {
        width: 100%;
    }

    .masonry-grid {
        column-count: 2;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--header-bg);
        padding: 30px;
        transition: 0.4s;
        backdrop-filter: blur(10px);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    .mobile-toggle {
        display: block;
    }

    .logo-text {
        display: none;
    }

    /* Hide text on mobile, keep placeholder */

    .masonry-grid {
        column-count: 1;
    }

    .hero {
        height: 80vh;
    }

    .section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .slide-content h1 {
        font-size: 2.5rem;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }
}

/* Animations */
.fade-in,
.reveal {
    /* Default visible for fallback */
    opacity: 1;
    transform: none;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Class added by JS to initiate scroll effect */
.scroll-trigger {
    opacity: 0;
    transform: translateY(30px);
}

.scroll-trigger.active {
    opacity: 1;
    transform: translateY(0);
}

/* Package Toggles */
.package-toggles {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.package-toggles .btn {
    border-radius: 30px;
    padding: 10px 30px;
    min-width: 150px;
}

.package-toggles .btn.active {
    background-color: var(--primary-color);
    color: white;
}

