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

.nav-item {
    background-color: #ffffff00;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Top Bar */
.top-bar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 0;
    font-size: 14px;
    display: block !important;
    position: relative;
    z-index: 1000;
}

.top-bar .container .row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.top-bar .col-md-6 {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar .col-md-6 span {
    white-space: nowrap;
}

.top-bar .social-link {
    color: white;
    margin-left: 10px;
    text-decoration: none;
    transition: opacity 0.3s;
}

.top-bar .social-link:hover {
    opacity: 0.8;
}

@media (max-width: 576px) {
    .top-bar .col-md-6 {
        align-items: flex-start;
        gap: 5px;
    }

    .top-bar .col-md-6.text-end {
        align-items: flex-end;
    }
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 0px 0 !important;
    margin-top: 38px;
    position: fixed;
    width: 100%;
    z-index: 999;
}

@media (max-width: 392px) {
    .navbar {
        margin-top: 85px;
        z-index: 99999;
    }
}

.navbar.fixed-top.scrolled {
    margin-top: 0;
}

.navbar-brand {
    padding: 0;
    margin: 0;
}

.header-logo img {
    width: 75px;
    height: auto;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.header-logo:hover img {
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    color: #333 !important;
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #667eea !important;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

/* Floating Buttons */
.float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    transition: transform 0.3s ease;
}

.float:hover {
    transform: scale(1.1);
}

.call-float {
    bottom: 120px;
    background-color: #007bff;
}

@media (max-width: 767px) {
    .float {
        width: 50%;
        height: 60px;
        bottom: 0;
        right: 0;
        border-radius: 0;
        box-shadow: none;
        font-size: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .call-float {
        width: 50%;
        left: 0;
        right: auto;
        bottom: 0;
        border-radius: 0;
    }

    .my-float {
        margin-top: 0;
        margin-right: 10px;
    }
}

.my-float {
    margin-top: 16px;
}

/* Carousel Header */
.carousel-header {
    width: 100%;
    margin: 0;
    padding: 0;
    min-height: 50vh;
    display: flex;
    align-items: center;
}

#headerCarousel {
    width: 100vw;
    position: relative;
}

.header-carousel-image {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    border-radius: 0;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    padding: 20px 30px;
    bottom: 40px;
    text-align: left;
    max-width: 500px;
    left: 5%;
    right: auto;
}

.carousel-caption h5 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.carousel-caption p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.carousel-buttons {
    display: flex;
    gap: 15px;
}

.carousel-buttons .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.carousel-buttons .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.carousel-buttons .btn-outline-light {
    border: 2px solid white;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.carousel-buttons .btn-outline-light:hover {
    background: white;
    color: #667eea;
    transform: translateY(-2px);
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    transition: background 0.3s ease;
}

.carousel-control-next {
    justify-content: flex-end;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(0, 0, 0, 0.6);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-size: 60% 60%;
}

.carousel-control-text {
    font-size: 1.2rem;
    color: white;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.carousel-control-prev .carousel-control-text {
    margin-left: 15px;
}

.carousel-control-next .carousel-control-text {
    margin-right: 15px;
}

@media (max-width: 991px) {
    .header-carousel-image {
        height: 80vh !important;
    }

    .carousel-caption {
        max-width: 400px;
        padding: 15px 25px;
        bottom: 30px;
    }

    .carousel-caption h5 {
        font-size: 2rem;
    }

    .carousel-caption p {
        font-size: 1.1rem;
    }

    .carousel-buttons .btn {
        padding: 10px 25px;
        font-size: 0.95rem;
    }
}

@media (max-width: 767px) {
    .header-carousel-image {
        height: 60vh;
    }

    .carousel-caption {
        max-width: 100%;
        left: 3%;
        right: 3%;
        padding: 10px 20px;
        bottom: 20px;
    }

    .carousel-caption h5 {
        font-size: 1.5rem;
    }

    .carousel-caption p {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }

    .carousel-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .carousel-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 20%;
    }

    .carousel-control-text {
        font-size: 1rem;
    }

    .carousel-control-prev .carousel-control-text {
        margin-left: 10px;
    }

    .carousel-control-next .carousel-control-text {
        margin-right: 10px;
    }
}

@media (max-width: 576px) {
    .header-carousel-image {
        height: 50vh;
    }

    .carousel-caption h5 {
        font-size: 1.2rem;
    }

    .carousel-caption p {
        font-size: 0.85rem;
    }

    .carousel-control-text {
        font-size: 0.9rem;
    }
}

/* Features Section */
.features-section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.feature-card {
    text-align: center;
    padding: 40px 20px;
    border-radius: 15px;
    transition: transform 0.3s ease;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 2rem;
}

.feature-card h4 {
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Destinations Section */
.destinations-section {
    padding: 80px 0;
}

.destination-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

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

.destination-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.destination-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.destination-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 20px;
    text-align: center;
}

.destination-overlay h4 {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 1.5rem;
}

.destination-overlay p {
    margin: 0;
    opacity: 0.9;
    font-size: 1rem;
}

/* Package Card */
.package-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.package-card:hover {
    transform: translateY(-10px);
}

.package-card .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.package-card .card-body {
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.package-card .card-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.package-card .card-text {
    font-size: 0.9rem;
    flex-grow: 1;
}

/* Testimonials Section */
.testimonials-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0;
}

.testimonial-card {
    background: white;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

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

.testimonial-logo {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 15px;
    color: #666;
    font-size: 0.9rem;
}

.testimonial-author strong {
    display: block;
    color: #333;
    margin-bottom: 5px;
    font-size: 1rem;
}

.testimonial-author span {
    color: #999;
    font-size: 0.85rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Footer */
.footer {
    background: #2c3e50 !important;
}

.footer h5, .footer h6 {
    color: #fff;
    margin-bottom: 20px;
}

.footer ul li {
    margin-bottom: 8px;
}

.footer ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer ul li a:hover {
    color: #fff;
}

.footer .social-links .social-link {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #34495e;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    color: white;
    text-decoration: none;
    transition: background 0.3s ease;
}

.footer .social-links .social-link:hover {
    background: #667eea;
}

/* Carousel Styles */
.carousel {
    padding: 0px 0px;
}

.carousel-item {
    transition: transform 0.6s ease;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    top: 50%;
    transform: translateY(-50%);
    height: 50px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-size: 50% 50%;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(0, 0, 0, 0.5);
}

/* Destination Carousel */
.destination-carousel {
    width: 100%;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.destination-carousel .carousel-item img {
    height: 535px;
    object-fit: cover;
    width: 100%;
    cursor: pointer;
}

.destination-carousel .carousel-control-prev,
.destination-carousel .carousel-control-next {
    width: 5%;
    background: rgba(0, 0, 0, 0.4);
    height: 100%;
    top: 0;
    transform: none;
}

.destination-carousel .carousel-control-prev:hover,
.destination-carousel .carousel-control-next:hover {
    background: rgba(0, 0, 0, 0.6);
}

@media (max-width: 767px) {
    .destination-carousel {
        width: 90%;
    }

    .destination-carousel .carousel-item img {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .destination-carousel {
        width: 95%;
    }

    .destination-carousel .carousel-item img {
        height: 250px;
    }
}

/* Page-specific styles */
.page-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 60vh;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    padding: 100px 0;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0) 0%, rgba(118, 75, 162, 0) 100%);
    z-index: 1;
}

.page-hero > * {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.content-section {
    padding: 80px 0;
}

.price-tag {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    display: inline-block;
    font-weight: 600;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-control {
    border: 2px solid #eee;
    border-radius: 10px;
    padding: 12px 15px;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.contact-info {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    border-radius: 15px;
    height: 100%;
}

.contact-info h4 {
    margin-bottom: 30px;
}

.contact-info .contact-item {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.contact-info .contact-item i {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.page-hero h1,
.page-hero p {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.logo {
    border-radius: 50%;
}

/* Preloader Styles */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    pointer-events: none;
}

.preloader img {
    width: 150px;
    height: auto;
    animation: flipHorizontal 1.5s infinite ease-in-out;
}

@keyframes flipHorizontal {
    0% {
        transform: perspective(400px) rotateY(0deg);
    }
    50% {
        transform: perspective(400px) rotateY(180deg);
    }
    100% {
        transform: perspective(400px) rotateY(360deg);
    }
}

/* New Styles for Image Cards and Description */
.image-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    background: white;
}

.image-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.image-card img {
    width: 100%;
    height: 375px;
    object-fit: cover;
    display: block;
}

.description-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
    border-left: 4px solid #667eea;
}

.description-card p {
    font-size: 1rem;
    line-height: 1.8;
    color: #444;
    margin: 0;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1050;
    align-items: center;
    justify-content: center;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: #667eea;
}

@media (max-width: 991px) {
    .destination-image {
        height: 220px;
    }
    
    .package-card .card-img-top {
        height: 180px;
    }
    
    .destination-overlay h4,
    .package-card .card-title {
        font-size: 1.2rem;
    }
    
    .destination-overlay p,
    .package-card .card-text,
    .testimonial-card p {
        font-size: 0.85rem;
    }
    
    .nav-item {
        background-color: #fff;
        margin-left: 0%;
    }

    .page-hero {
        height: 50vh;
        padding: 80px 0;
    }

    .page-hero h1 {
        font-size: 2.5rem;
    }

    .page-hero p {
        font-size: 1rem;
    }

    .image-card img {
        height: 180px;
    }
}

@media (max-width: 767px) {
    .section-title {
        font-size: 2rem;
    }
    
    .destination-image {
        height: 200px;
    }
    
    .package-card .card-img-top {
        height: 160px;
    }
    
    .destination-overlay h4,
    .package-card .card-title {
        font-size: 1.1rem;
    }
    
    .destination-overlay p,
    .package-card .card-text,
    .testimonial-card p {
        font-size: 0.8rem;
    }
    
    .testimonial-logo {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .carousel {
        padding: 0 0px;
    }

    .page-hero {
        height: 40vh;
        padding: 60px 0;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .page-hero p {
        font-size: 0.9rem;
    }

    .image-card img {
        height: 150px;
    }
}

@media (max-width: 768px) and (min-width: 392px) {
    .navbar {
        margin-top: 61px;
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    .navbar {
        background: rgba(255, 255, 255, 0.95) !important;
        backdrop-filter: blur(10px);
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
        padding: 0px 0 !important;
        margin-top: 71px;
        position: fixed;
        width: 100%;
        z-index: 999;
    }
}

