@import 'variables.css';

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

section {
    padding: var(--section-padding);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition-smooth);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-secondary {
    background-color: var(--secondary-color) !important;
}

/* Navbar Customization */
.navbar {
    height: var(--header-height);
    transition: var(--transition-smooth);
    background-color: transparent;
    padding: 15px 0;
}

.navbar.scrolled {
    background-color: var(--text-light);
    height: 70px;
    box-shadow: var(--shadow-soft);
}

.nav-link {
    color: var(--text-light);
    font-weight: 500;
    margin: 0 15px;
    transition: var(--transition-smooth);
}

.scrolled .nav-link {
    color: var(--secondary-color);
}

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

.nav-link.active {
    color: var(--primary-color) !important;
    /* Ensure active link is always visible */
}

.navbar-brand .navbar-brand-text {
    font-size: 1.5rem;
    /* Increased font size for the brand text */
}

/* Custom navbar-toggler-icon colors for visibility */
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23fff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    /* White icon for transparent navbar */
}

.navbar.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%231f557b' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    /* Secondary color icon for scrolled navbar */
}

/* Ensure social media icons in footer are visible */
footer .fab {
    color: var(--text-light) !important;
}

/* More robust Font Awesome icon rendering for footer */
footer .fab {
    /* Ensure basic display properties are not overridden */
    font-size: 1.5rem !important;
    /* Slightly larger to ensure visibility, adjust as needed */
    line-height: 1 !important;
    display: inline-block !important;
    vertical-align: middle !important;
    color: var(--text-light) !important;
    /* Explicitly set color with !important */
}

/* Specific content rules for each icon (keep these specific and important) */
footer .fab.fa-facebook-f::before {
    content: "\f09a" !important;
}

footer .fab.fa-instagram::before {
    content: "\f16d" !important;
}

footer .fab.fa-whatsapp::before {
    content: "\f232" !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    background-color: var(--secondary-color);
}

.hero-slider-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    z-index: 1;
    transition: opacity 1s ease-in-out;
}

.hero-slider-item.active {
    opacity: 1;
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 4;
    color: var(--text-light);
    max-width: 800px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
}

.transition-hover {
    transition: var(--transition-smooth);
}



.brightness-0 {
    filter: brightness(0);
}

.invert {
    filter: invert(100%);
}

.hover-white:hover {
    color: var(--text-light) !important;
}

/* Modern Card Design */
.card {
    border: none;
    border-radius: 20px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.tour-card-redesigned {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    transition: all 0.3s ease-in-out;
    overflow: hidden;
}

.tour-card-redesigned:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.tour-card-redesigned-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.tour-card-redesigned-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tour-card-redesigned:hover .tour-card-redesigned-image img {
    transform: scale(1.1);
}

.tour-card-redesigned-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: #fff;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.tour-card-redesigned-content {
    padding: 25px;
}

.tour-card-redesigned-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.tour-card-redesigned-meta {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.tour-card-redesigned-description {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.card .card-img-top {
    border-radius: 20px 20px 0 0;
    object-fit: cover;
    height: 220px;
    transition: transform 0.3s ease-in-out;
}

.card:hover .card-img-top {
    transform: scale(1.02);
}

.card .card-body {
    padding: 2rem;
}

.card .card-title {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--secondary-color);
}

.card .card-text {
    color: #6c757d;
    font-size: 0.95rem;
}

/* About Page Overlapping Section */
.about-overlap-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background: #fdfdfd;
}

.about-content-box {
    background: #fff;
    padding: 60px;
    border-radius: 30px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.07);
    position: relative;
    z-index: 2;
    margin-right: -150px;
    border-left: 5px solid var(--primary-color);
}

.about-image-styled {
    position: relative;
    z-index: 1;
    border-radius: 30px;
    overflow: hidden;
    height: 180px;
    /* Reduced further as requested for a more artistic design */
    width: 280px;
    /* More compact width */
    margin-left: auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* Stunning Decorative Backdrop */
.about-image-styled::before {
    content: '';
    position: absolute;
    top: -15px;
    right: -15px;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    opacity: 0.15;
    border-radius: 30px;
    z-index: -1;
    pointer-events: none;
}

.about-image-styled img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-image-styled:hover img {
    transform: scale(1.1);
}

/* Home Page About Section V2 */
.home-about-v2 {
    overflow: hidden;
}

.about-content-v2 .section-subtitle-v2 {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 15px;
    position: relative;
}

.about-content-v2 .section-subtitle-v2::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.about-content-v2 .section-title-v2 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.about-content-v2 .about-text-v2 {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 30px;
}

.features-list-v2 .feature-item-v2 {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.features-list-v2 .feature-icon-v2 {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    background: rgba(3, 166, 168, 0.1);
    color: var(--primary-color);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.features-list-v2 .feature-text-v2 h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.features-list-v2 .feature-text-v2 p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.about-image-container-v2 .parallelogram {
    --p: 40px;
    /* control the shape */
    height: 450px;
    width: 100%;
    clip-path: polygon(var(--p) 0, 100% 0, calc(100% - var(--p)) 100%, 0 100%);
    overflow: hidden;
}

.about-image-container-v2 .parallelogram img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-image-container-v2 .parallelogram:hover img {
    transform: scale(1.1);
}

@media (max-width: 991px) {
    .about-image-container-v2 {
        margin-top: 40px;
    }
    .about-content-v2 .section-title-v2 {
        font-size: 2.2rem;
    }
    .about-image-container-v2 .parallelogram {
        height: 350px;
        --p: 30px;
    }
}


/* Why Choose Us Section */
.why-choose-us-section .row {
    align-items: center;
}

.why-choose-us-content {
    padding-right: 30px;
}

.why-choose-us-card {
    display: flex;
    align-items: center;
    background-color: #fff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px; /* Space between cards */
}

.why-choose-us-card:last-child {
    margin-bottom: 0;
}

.why-choose-us-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.why-choose-us-card .icon-wrapper {
    width: 60px;
    height: 60px;
    min-width: 60px; /* Prevent shrinking */
    background-color: rgba(var(--primary-color-rgb), 0.1); /* Use primary color with transparency */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
}

.why-choose-us-card .icon-wrapper img {
    width: 30px; /* Adjust SVG icon size */
    height: 30px; /* Adjust SVG icon size */
    stroke: var(--primary-color); /* Ensure SVG stroke color matches theme */
}

.why-choose-us-card .card-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.why-choose-us-card .card-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 0;
}


/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .why-choose-us-content {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }

    .why-choose-us-card {
        flex-direction: column;
        text-align: center;
    }

    .why-choose-us-card .icon-wrapper {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

@media (max-width: 767px) {
    .why-choose-us-section .row.align-items-center > div:first-child {
        margin-bottom: 30px;
    }
}