/* General Styles */
body {
    font-family: Poppins, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f4f7fc;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #004080;
    padding: 15px 20px;
}

.navbar .logo {
    color: white;
    font-size: 24px;
    font-weight: bold;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin: 0 15px;
    position: relative;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background: white;
    list-style: none;
    padding: 10px;
    top: 100%;
    left: 0;
    width: 150px;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    text-align: center;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.hero video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero h1 {
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-top: 10px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

/*hot-deals-section*/
/* Style for carousel images */
.carousel-image-container {
    position: relative;
    overflow: hidden;
}

.carousel-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 15px;
    text-align: center;
}

.carousel-caption h5 {
    font-size: 1.2rem;
    font-weight: bold;
}

.carousel-caption p {
    font-size: 1rem;
    margin: 10px 0;
}

.carousel-caption .btn {
    background-color: #ffcc00;
    border: none;
    padding: 8px 15px;
    font-size: 1rem;
}

.carousel-item {
    padding: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .carousel-caption h5 {
        font-size: 1rem;
    }

    .carousel-caption p {
        font-size: 0.9rem;
    }
}

/*World Best Cruise Line Section*/
/* Grid Layout for Cruise Cards */
.cruise-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.cruise-card-image {
    position: relative;
    height: 300px;
    background-size: cover;
    background-position: center;
    transition: all 0.5s ease-in-out;
}

/* Text within each cruise card */
.cruise-card-text {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    color: white;
    opacity: 0;
    transition: all 0.5s ease-in-out;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-radius: 5px;
}

.cruise-card-text h5 {
    font-size: 1.25rem;
    font-weight: bold;
}

.cruise-card-text p {
    font-size: 1rem;
}

/* Hover Effect - Background change and text slide-in */
.cruise-card:hover .cruise-card-image {
    filter: brightness(0.6);
}

.cruise-card:hover .cruise-card-text {
    opacity: 1;
    transform: translateX(0);
}

/* Hover Animation for Text */
.cruise-card:hover .cruise-card-text {
    transform: translateX(0);
    transition: transform 0.5s ease-in-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cruise-card-image {
        height: 250px;
    }

    .cruise-card-text h5 {
        font-size: 1rem;
    }

    .cruise-card-text p {
        font-size: 0.9rem;
    }
}

/*Travelers choice top cruise destination*/
.cruise-card-destination {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 15px;
    background: #fff;
}

.cruise-card-image-destination {
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
}

.cruise-card-info {
    padding: 10px;
}

.rating {
    font-size: 1.2rem;
    color: gold;
}

.btn-primary {
    background-color: #007bff;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
}

.owl-carousel .item {
    margin: 10px;
}

/*Top Cruise Destination Section*/

.cruise-card-top {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 15px;
    background: #fff;
}

.cruise-card-image-top {
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
}

.cruise-card-info {
    padding: 10px;
}

.rating {
    font-size: 1.2rem;
    color: gold;
}

.btn-primary {
    background-color: #007bff;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
}