/* Hero Section */
.hero-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-container,
.mobile-hero {
    position: relative;
    z-index: 2;
}

.hero-content {
    padding-left: 5%;
}

/* Explore Tag */
.explore-tag {
    display: inline-flex;
    align-items: center;
    background: white;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.explore-tag small {
    color: #12163c;
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

/* Hero Text */
.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: white;
}

.hero-title span {
    font-weight: 900;
}

.hero-description {
    color: white;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 32px;
}

/* Button Styles */
.hero-buttons {
    display: flex;
    gap: 16px;
}

.btn-explore {
    background: #f67300;
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-explore:hover {
    background: #e66900;
    transform: translateY(-2px);
    color: white;
}

.btn-explore i {
    transition: transform 0.3s ease;
}

.btn-explore:hover i {
    transform: translateX(5px);
}

/* Modern Minimalist Package Card */
.modern-package-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    background-color: white;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.modern-package-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}


.modern-package-card .card-image-container img {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.modern-package-card .card-background {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.modern-package-card:hover .card-background {
    transform: scale(1.05);
}

.modern-package-card .card-content {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.modern-package-card .package-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 4px;
}

.modern-package-card .package-location {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.modern-package-card .rating-container {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.modern-package-card .rating-star {
    color: #ff5722;
    margin-right: 5px;
}

.modern-package-card .rating-value {
    font-weight: 600;
    color: #333;
}

.modern-package-card .action-container {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modern-package-card .btn-primary {
    background-color: #12163c;
    border: none;
    color: white;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    display: block;
    width: 100%;
}

.modern-package-card .btn-primary:hover {
    background-color: #014365;
}

.modern-package-card .btn-secondary {
    background-color: transparent;
    color: #777;
    border: none;
    padding: 8px;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
    display: block;
    width: 100%;
    font-size: 0.9rem;
}

.modern-package-card .btn-secondary:hover {
    color: #333;
    background-color: #f5f5f5;
}

.modern-package-card .action-icon {
    position: absolute;
    top: 16px;
    right: 16px;

    z-index: 2;
}

.modern-package-card .sold-out-badge {
    position: absolute;
    top: 24px;
    left: 52px;
    background: rgba(220, 53, 69, 0.9);
    color: white;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 0.8rem;
    z-index: 2;
}

/* Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.swiper-button-next {
    right: 10px;
}

.swiper-button-prev {
    left: 10px;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 24px;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .hero-section {
        min-height: 60vh;
        padding: 40px 0;
        text-align: center;
    }

    .mobile-hero {
        padding: 0 20px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .btn-explore {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .hero-content {
        padding-left: 0;
    }

    .containercard {
        padding-top: 0px !important;
    }

    .modern-package-card .card-image-container {
        height: 150px;
    }

    .hotel-detail-btn {
        width: 100%;
    }

    .button-container {
        width: 100%;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
    }
}

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 991px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-description {
        font-size: 1rem;
    }
}

/* Category Section */
.category-header {
    color: #014365;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.category-divider {
    border-color: #ddd;
    margin: 2rem 0;
}

/* Sold Out Package Styling */
.sold-out-overlay {
    position: relative;
}

.sold-out-overlay img {
    opacity: 0.3;
}

.sold-out-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 0, 0, 0.7);
    color: white;
    padding: 5px 15px;
    border-radius: 5px;
    font-weight: bold;
    z-index: 2;
}

/* Redesigned Rating Badge */
.modern-package-card .rating-badge {
    background: rgba(255, 255, 255, 0.9);
    color: #ff5722;
    padding: 5px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-weight: 600;
}

.modern-package-card .rating-star {
    color: #ff5722;
    margin-right: 3px;
    font-size: 1rem;
}

.modern-package-card .rating-value {
    color: #333;
}

/* Redesigned Price Badge */
.modern-package-card .price-badge {
    background: linear-gradient(135deg, #4cd080, #3cb371);
    color: white;
    padding: 8px 16px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(60, 179, 113, 0.2);
    transition: transform 0.3s ease;
}

.modern-package-card .price-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(60, 179, 113, 0.3);
}

.modern-package-card .currency-symbol {
    font-size: 0.9rem;
    font-weight: 600;
    margin-right: 2px;
}

.modern-package-card .price-amount {
    font-size: 1.2rem;
    font-weight: 700;
}

/* Remove the old price container styles that are no longer needed */
.modern-package-card .price-container {
    /* This can be removed if you want, or kept for backward compatibility */
}

/* Custom styles from package_booking.blade.php */
.custom-dropdown-menu {
    width: auto !important;
}

.hotel-detail-btn {
    width: 100%;
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

#loader {
    text-align: center;
}

.description-container::-webkit-scrollbar {
    display: none;
}

.form-floating > .form-control,
.form-floating > .form-select {
    height: calc(3.5rem + 2px);
    padding: 1rem 0.75rem;
}

.form-floating > label {
    padding: 1rem 0.75rem;
}

.btn-main {
    background-color: #0d6efd;
    color: white;
}

.btn-main:hover {
    background-color: #0b5ed7;
    color: white;
}

.rounded-10 {
    border-radius: 10px;
}

.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}
.swiper-button-disabled {
    display: none !important;
}
