﻿/* General card styles */
.card-custom {
    min-height: 350px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 1rem;
    transition: all 0.3s ease-in-out;
}

    .card-custom:hover {
        transform: translateY(-5px);
    }

/* Image */
.card-custom-img {
    height: 220px;
    object-fit: cover;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}

/* Body */
.card-custom-body {
    padding: 1rem;
    text-align: center;
}

/* Footer */
.card-custom-footer {
    background: transparent;
    border-top: none;
    padding-bottom: 1rem;
    text-align: center;
}

/* Link button */
.link-button {
    color: #000;
    font-weight: 500;
    text-decoration: none;
    padding: 0;
}

    .link-button:hover {
        text-decoration: underline;
    }

/* View All button */
.view-all-btn {
    padding: 0.75rem 2rem;
    border-radius: 50rem;
}

.banner-section {
    padding: 20px;
    margin-bottom: 50px;
    background-color: lightgray;
    color: Black;
}
/*list package hotel cab flight*/

.custom-card {
    max-width: 340px;
    margin: auto;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out;
}

    .custom-card:hover {
        transform: scale(1.03);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    }

.card-img-top {
    object-fit: cover;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    height: 300px;
}

.card-body, .card-footer {
    padding: 1rem;
}


.tour-card {
    min-height: 450px;
    width: 100%;
}

.tour-image {
    height: 300px;
    object-fit: cover;
}

.tour-badge {
    border-radius: 0.25rem;
}

.tour-skeleton-img {
    height: 300px;
    width: 100%;
    border-radius: 0.25rem;
}

.tour-skeleton-badge {
    width: 60px;
    height: 25px;
    border-radius: 0.25rem;
}

.tour-skeleton-title {
    width: 70%;
    height: 20px;
    border-radius: 0.25rem;
}

.tour-skeleton-price {
    width: 40px;
    height: 24px;
    border-radius: 0.25rem;
}

.tour-skeleton-btn {
    width: 90px;
    height: 30px;
    border-radius: 0.25rem;
}

.skeleton-img-lg {
    width: 100%;
    height: 100px;
    border-radius: 0.25rem;
}

.skeleton-text-md {
    width: 70%;
    height: 20px;
}

.skeleton-text-sm {
    width: 50%;
    height: 16px;
}

.skeleton-btn-lg {
    width: 100px;
    height: 36px;
}

.skeleton-footer-line {
    width: 40%;
    height: 20px;
}

.rounded-full {
    border-radius: 20px;
}

.ml-auto {
    margin-left: auto;
}

.cab-divider {
    width: 100%;
    margin: 0;
}
/* Skeleton Elements */
.skeleton-image-md {
    height: 150px;
    width: 100%;
    border-radius: 4px;
}

.skeleton-text-sm {
    width: 80%;
    height: 15px;
}

.skeleton-text-xs {
    width: 60%;
    height: 15px;
}

.skeleton-text-md {
    width: 50%;
    height: 25px;
}

.skeleton-button-full {
    width: 100%;
    height: 35px;
}

.skeleton-footer-line {
    width: 50%;
    height: 15px;
}

/* Flight Image */
.flight-image {
    height: auto;
    width: 100%;
    object-fit: cover;
}

.banner-slider {
    position: relative;
    overflow: hidden;
}

.banner-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.banner {
    min-width: 100%;
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    position: relative;
}

.banner-content {
    border-radius: 0.5rem;
    padding: 1rem;
    max-width: 70%;
}

.btn {
    color: white;
}

.banner-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 1rem;
}

.banner-btn {
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 50%;
}

.aboutimg {
    width: 100%
}

.tetiImg {
    width: 80px;
}

.title {
    text-decoration: none;
    color: black;
}


/*Home Page Banner Css*/

.banner-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.banner-container {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
}

.banner {
    min-width: 100%;
    height: 90vh; /*   90% of screen height */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    background-size: cover;
    background-position: center;
    align-items: flex-end; /* Align content to the bottom */
    padding-top: 200px;
}

.banner-content {
    /*        background: rgba(0, 0, 0, 0.6); */
    padding: 20px;
    width: 100%;
    text-align: center;
    /*    border-radius: 0 0 10px 10px; */
}


.banner h2 {
    margin-bottom: 10px;
}

.watch-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background: red;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.banner-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.banner-btn {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .banner {
        height: 50vh; /* half screen height */
    }

        .banner h1 {
            font-size: 1.8rem;
        }

        .banner p {
            font-size: 1rem;
        }
}

.banner {
    position: relative;
    height: 500px; /* or your desired height */
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.banner-content {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%); /* perfectly center horizontally, and offset vertically */
    color: white;
    text-align: center;
    width: 80%; /* control width so text doesn't stretch too wide */
    text-shadow: 2px 2px 6px rgba(0,0,0,0.7); /* strong shadow for readability */
    z-index: 2;
}

    .banner-content h2 {
        font-size: 3rem; /* big heading */
        margin-bottom: 0.5rem;
    }

    .banner-content p {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

.watch-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: rgba(0,0,0,0.6);
    color: white;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

    .watch-btn:hover {
        background-color: rgba(0,0,0,0.85);
    }


/* Skeleton base */
.skeleton {
    background-color: #e0e0e0;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    user-select: none;
}

    /* Skeleton shimmer animation */
    .skeleton::after {
        content: "";
        display: block;
        position: absolute;
        top: 0;
        left: -150px;
        height: 100%;
        width: 150px;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
        animation: shimmer 1.5s infinite;
    }

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

.destination-img {
    height: 300px;
    object-fit: cover;
    border-radius: 5px;
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 37%, #f0f0f0 63%);
    background-size: 400% 100%;
    animation: skeleton-loading 1.4s ease infinite;
    border-radius: 4px;
}

.skeleton-img {
    width: 100%;
    height: 300px;
    border-radius: 8px;
}

.skeleton-text {
    border-radius: 4px;
}

.skeleton-title {
    height: 20px;
    width: 80%;
    margin-bottom: 10px;
}

.skeleton-subtitle {
    height: 14px;
    width: 60%;
}

@keyframes skeleton-loading {
    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: -100% 0;
    }
}

.cardStyle {
    height: 448px;
}

.skeleton {
    background-color: #e0e0e0;
    border-radius: 4px;
    animation: shimmer 1.5s infinite linear;
}

.skeleton-line {
    margin-bottom: 10px;
}

.skeleton-text {
    height: 20px;
    width: 100%;
}

.skeleton-img {
    width: 100%;
    height: 300px;
    background-color: #ccc;
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

.skeleton {
    background-color: #e0e0e0;
    border-radius: 4px;
    animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }

    100% {
        opacity: 1;
    }
}

.skeleton-text {
    height: 1em;
    margin-bottom: 0.5em;
}

.skeleton-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.packageImg {
    width: 100%;
}

.destiImg {
    width: 100%;
}

/*Hotel Page Slider */

.banner-slider {
    position: relative;
    overflow: hidden;
    height: 480px; /* Make sure this matches the height of .banner */
}

.banner-container {
    display: flex;
    transition: transform 0.6s ease;
    width: 100%;
    height: 100%; /* Ensure container fills the banner-slider */
}

.banner {
    flex: 0 0 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.banner-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 1rem;
    z-index: 10;
}

.banner-btn {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    font-size: 2rem;
    cursor: pointer;
    border-radius: 5px;
}

/*Hotel Page Slider */

/*Activity Detail*/

/* Skeleton base styles */
.skeleton-line,
.skeleton-box,
.skeleton-banner {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 37%, #f0f0f0 63%);
    background-size: 400% 100%;
    animation: shimmer 1.2s ease-in-out infinite;
    border-radius: 4px;
}

.skeleton-line {
    height: 16px;
    margin-bottom: 8px;
}

.skeleton-box {
    border-radius: 4px;
    display: inline-block;
}

.skeleton-banner {
    width: 100%;
    height: 300px;
    border-radius: 12px;
}

/* Width helpers */
.w-50 {
    width: 50% !important;
}

.w-75 {
    width: 75% !important;
}

.w-100 {
    width: 100% !important;
}

/* Animation */
@keyframes shimmer {
    0% {
        background-position: -500px 0;
    }

    100% {
        background-position: 500px 0;
    }
}

.optech-blog-widgets {
    padding: 30px;
    margin-bottom: 24px;
    border-radius: 18px;
    background-color: var(--light-bg1);
}

    .optech-blog-widgets h5 {
        margin-bottom: 20px;
    }

    .optech-blog-widgets:last-child {
        margin-bottom: 0;
    }

.optech-recent-post-item {
    gap: 20px;
    display: grid;
    align-items: center;
    overflow: hidden;
    margin-bottom: 24px;
    grid-template-columns: 96px 1fr;
}

    .optech-recent-post-item:last-child {
        margin-bottom: 0;
    }

.optech-recent-post-thumb {
    border-radius: 10px;
    overflow: hidden;
}

.optech-recent-post-data p {
    font-weight: 600;
    margin-bottom: 3px;
    line-height: 28px;
    font-size: 18px;
    color: var(--heading-color);
    display: block;
    display: -webkit-box;
    max-width: 100%;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.01em;
}

.optech-recent-post-data span {
    font-size: 14px;
    color: var(--heading-color);
}

#optech-default-btn,
#optech-hero-form-btn,
#optech-team-form-btn,
.optech-default-btn,
.optech-product-btn,
.optech-shop-btn,
button#optech-main-form-btn,
button#optech-subscription-btn {
    font-size: 16px;
    line-height: 1;
    padding: 22px 27.3px;
    border-radius: 6px;
    font-weight: 600;
    font-family: Sora, sans-serif;
    width: fit-content;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: inline-flex;
    align-items: center;
    text-align: center;
    -o-transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
    color: var(--white-color) !important;
    background-color: var(--accent-bg);
    z-index: 0;
    overflow: hidden;
    position: relative;
    letter-spacing: -0.01em;
    transform-style: preserve-3d;
}
/*Nav Bar*/
/* Hide mobile menu on desktop */
.mobile-menu {
    display: none;
}

/* Desktop menu default */
.desktop-menu {
    display: flex;
    align-items: center;
}

/* Dropdown */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #f8f9fa;
    padding: 10px;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-width: 160px;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-item {
    color: #333;
    text-decoration: none;
    padding: 8px 16px;
    display: block;
}

    .dropdown-item:hover {
        background-color: #e2e6ea;
    }

.dropdown-toggle {
    cursor: pointer;
    text-decoration: none;
    padding: 8px 16px;
}

.desktopMenuLink a {
    text-decoration: none !important;
    color: #333;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    transition: background-color 0.2s ease;
}

    .desktopMenuLink a:hover {
        background-color: #f0f0f0;
        border-radius: 5px;
    }

/* Mobile styles */
@@media (max-width: 768px) {
    .mobile-menu {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
    }

    .desktop-menu {
        display: none !important;
    }
}

#MenuMain {
    background-color: antiquewhite;
}

#MenuUser {
    background-color: aliceblue;
}

.menuIcon {
    padding: 5px 10px;
    background-color: gray;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

.menuBox {
    padding: 10px;
    display: none;
}

.menuLink div {
    padding: 5px;
    border: dotted lightgrey 1px;
    margin-bottom: 5px;
}

    .menuLink div a {
        text-decoration: none !important;
        color: #333;
        display: flex;
        align-items: center;
        gap: 6px;
    }

.show {
    display: block !important;
}

/*Mobile Footer*/

/* Ensure the footer takes full mobile width and doesn't scroll */
.mobile-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #1e1e1e;
    padding: 10px 0;
    border-top: 1px solid #444;
    z-index: 999;
    box-sizing: border-box;
    margin-top: 50px !important;
}

/* Ensure each menu item takes equal space */
.menu-item {
    flex: 1;
    text-align: center;
    color: #fff;
    font-size: 14px;
    position: relative;
    cursor: pointer;
    box-sizing: border-box;
    overflow: hidden;
}

    /* Icons + text */
    .menu-item i {
        font-size: 18px;
        display: block;
    }

    .menu-item span {
        font-size: 12px;
        margin-top: 2px;
    }

/* Submenu as popup */
.submenu {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    padding: 8px 10px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    z-index: 1001;
    white-space: nowrap;
}

.submenu {
    position: fixed;
    bottom: 60px; /* adjust as needed so it's above the fixed footer */
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    padding: 10px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    z-index: 1001;
    white-space: nowrap;
    min-width: 120px;
    transition: opacity 0.2s ease-in-out;
    opacity: 1;
}

    .submenu a:last-child {
        border-bottom: none;
    }

    .submenu a:hover {
        background-color: #444;
        border-radius: 4px;
    }

/* Hide on larger screens */
@@media (min-width: 769px) {
    .mobile-footer {
        display: none;
    }
}
