/* Exact Match Slider Styles from Screenshot */
.m-slider-card {
    position: relative;
    height: 420px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}
.m-slider-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: transparent; /* Overlay removed as requested */
    z-index: 1;
}
.m-slider-content {
    position: relative;
    z-index: 2;
    color: #fff;
    width: 100%;
    max-width: 800px;
}
.m-slider-title {
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}
.m-slider-desc {
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.5;
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}
.m-slider-btns {
    display: flex;
    justify-content: center;
    gap: 10px;
}
.m-slider-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ff003c; /* Red button from screenshot */
    color: #fff;
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: background 0.3s;
    border: none;
}
.m-slider-btn:hover {
    background: #cc0030;
    color: #fff;
}
.m-slider-btn-video {
    background: rgba(0,0,0,0.5);
    color: #fff;
}
.m-slider-btn-video:hover {
    background: rgba(0,0,0,0.8);
    color: #fff;
}

/* Mobile View Adjustments */
@media (max-width: 991px) {
    .m-slider-card { height: 350px; padding: 1.5rem; }
}
@media (max-width: 768px) {
    .m-slider-card {
        height: 280px;
        padding: 1rem;
        border-radius: 8px;
    }
    .m-slider-title { font-size: 18px; margin-bottom: 6px; }
    .m-slider-desc { font-size: 13px; margin-bottom: 12px; line-height: 1.3; }
    .m-slider-btns { flex-direction: row; flex-wrap: wrap; justify-content: center; width: 100%; gap: 6px; }
    .m-slider-btn { width: auto; padding: 6px 16px; font-size: 12px; flex: 1; min-width: 120px; max-width: 160px; }
}
@media (max-width: 576px) {
    .m-slider-card {
        height: 220px;
        padding: 0.8rem;
    }
    .m-slider-title { font-size: 15px; margin-bottom: 4px; }
    .m-slider-desc { 
        font-size: 11px; 
        margin-bottom: 8px; 
        display: -webkit-box; 
        -webkit-line-clamp: 2; 
        -webkit-box-orient: vertical; 
        overflow: hidden; 
    }
    .m-slider-btns { flex-direction: column; max-width: 150px; margin: 0 auto; gap: 4px; }
    .m-slider-btn { width: 100%; padding: 6px 10px; font-size: 11px; }
}

/* Quick Category Cards */
.custom-cat-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 1rem;
}
.custom-cat-item {
    flex: 1 1 calc(16.666% - 20px);
    min-width: 140px;
    max-width: 190px;
    position: relative;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    padding: 35px 15px 20px;
    text-align: center;
    text-decoration: none;
    margin-top: 25px; /* space for icon */
    border: 1px solid rgba(0,0,0,0.03);
    transition: transform 0.3s, box-shadow 0.3s;
}
.custom-cat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}
.custom-cat-icon {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}
.custom-cat-title {
    color: #1e293b;
    font-size: 14px;
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
}

/* Colors matching screenshot */
.icon-purple { background: #f3f0ff; color: #7b51f8; }
.icon-orange { background: #fff5e6; color: #ff9d00; }
.icon-red { background: #fff0f0; color: #ff3333; }
.icon-pink { background: #fff0f5; color: #ff3385; }
.icon-blue { background: #f0f5ff; color: #3377ff; }
.icon-green { background: #f0fff5; color: #00cc66; }

@media (max-width: 991px) {
    .custom-cat-item { flex: 1 1 calc(33.333% - 20px); }
}
@media (max-width: 576px) {
    .custom-cat-item { flex: 1 1 calc(50% - 20px); }
}

/* Slider Overlapping Search & Spacing */
@media (min-width: 992px) {
    #main-slider-section {
        margin-top: 7rem !important; /* Add extra spacing at the top of slider on desktop */
    }
}
.search-overlay-wrapper {
    position: absolute;
    bottom: 110px; /* Pulls the search bar safely over the slider images */
    left: 0;
    width: 100%;
    z-index: 10;
}
.search-overlay-wrapper form {
    box-shadow: 0 15px 40px rgba(0,0,0,0.1) !important;
    background: #fff;
}

/* Breathing Animation for Category Illustrations */
@keyframes floatAnimation {
    0% { transform: scale(1.5) translateY(0px); }
    50% { transform: scale(1.53) translateY(-6px); }
    100% { transform: scale(1.5) translateY(0px); }
}
.floating-illustration {
    animation: floatAnimation 5s ease-in-out infinite;
    padding: 0;
}

/* Ultra Modern App-Style Bento Card */
.bento-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 16px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-decoration: none !important;
    position: relative;
    border: 1px solid #f0f2f5;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
.bento-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    border-color: #fff;
}
.bento-card-img {
    width: 100%;
    height: 240px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    margin-bottom: 24px;
}
.bento-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.bento-card:hover .bento-card-img img {
    transform: scale(1.08);
}
.bento-card-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 0 12px 12px 12px;
}
.bento-title {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: 21px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
    line-height: 1.3;
    transition: color 0.3s ease;
}
.bento-card:hover .bento-title {
    color: #ff003c;
}
.bento-read-more {
    margin-top: auto;
    font-size: 13px;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}
.bento-card:hover .bento-read-more {
    color: #ff003c;
    gap: 12px;
}

/* Ultimate Poster Tour Card */
.tour-card-poster {
    position: relative;
    height: 420px;
    border-radius: 24px;
    overflow: hidden;
    display: block;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.tour-card-poster:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}
.tour-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.tour-card-poster:hover .tour-bg {
    transform: scale(1.1);
}
.tour-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 40%, rgba(0,0,0,0) 65%);
    z-index: 2;
    transition: opacity 0.5s ease;
}
.tour-card-poster:hover .tour-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 45%, rgba(0,0,0,0) 70%);
}
.tour-glass-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 3;
    background: #ffffff !important;
    color: #0f172a !important;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: none;
}
.tour-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 25px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.tour-poster-title {
    margin-bottom: 10px;
}
.tour-poster-title a {
    color: #ffffff !important;
    font-size: 18px;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    line-height: 1.4;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
    transition: color 0.3s;
}
.tour-poster-title a:hover {
    color: #ffffff !important;
    opacity: 0.8;
}
.tour-poster-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}
.meta-item {
    color: rgba(255,255,255,0.9) !important;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}
.meta-item i {
    color: #ffffff !important;
    opacity: 0.8;
    font-size: 14px;
}
.tour-poster-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 15px;
}
.tour-poster-price {
    display: flex;
    flex-direction: column;
}
.price-lbl {
    font-size: 10px;
    color: rgba(255,255,255,0.7) !important;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 2px;
}
.price-val {
    color: #ffffff !important;
    font-size: 20px;
    font-weight: 900;
    font-family: 'Outfit', sans-serif;
}
.tour-fab {
    width: 40px;
    height: 40px;
    background: #ffffff !important;
    color: #0f172a !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    text-decoration: none !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
.tour-card-poster:hover .tour-fab {
    transform: rotate(-45deg) scale(1.1);
    background: #ff003c !important;
    color: #ffffff !important;
    box-shadow: 0 10px 25px rgba(255,0,60,0.3);
}

/* Modern Hotel Card */
.hotel-card-modern {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
}
.hotel-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}
.hotel-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
    border-bottom: 1px solid rgba(0,0,0,0.03);
}
.hotel-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.hotel-card-modern:hover .hotel-img-wrapper img {
    transform: scale(1.08);
}
.hotel-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    color: #0f172a;
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.hotel-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.hotel-stars {
    color: #fbbf24;
    font-size: 11px;
    margin-bottom: 8px;
    display: flex;
    gap: 3px;
}
.hotel-title {
    margin-bottom: 15px;
}
.hotel-title a {
    color: #0f172a !important;
    font-size: 17px;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    transition: color 0.3s;
}
.hotel-title a:hover {
    color: #ff003c !important;
}
.hotel-location {
    font-size: 13px;
    color: #64748b !important;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}
.hotel-location i {
    color: #ff003c !important;
    opacity: 0.8;
}
.hotel-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 22px;
    color: #64748b !important;
    font-size: 13px;
    font-weight: 500;
}
.hotel-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}
.hotel-meta i {
    color: #ff003c !important;
    opacity: 0.8;
}
.hotel-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px solid #f1f5f9;
    padding-top: 18px;
}
.hotel-price {
    display: flex;
    flex-direction: column;
}
.hotel-price .lbl {
    font-size: 10px;
    color: #94a3b8 !important;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 2px;
    letter-spacing: 1px;
}
.hotel-price .val {
    color: #0f172a !important;
    font-size: 20px;
    font-weight: 900;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.5px;
}
.hotel-btn {
    background: #ff003c !important;
    color: #ffffff !important;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(255,0,60,0.2);
    display: flex;
    align-items: center;
    gap: 5px;
}
.hotel-card-modern:hover .hotel-btn {
    background: #0f172a !important;
    box-shadow: 0 8px 20px rgba(15,23,42,0.3);
}

/* Modern Blog Card (6 Columns) */
.blog-card-modern {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.blog-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}
.blog-img-wrapper {
    position: relative;
    height: 140px;
    overflow: hidden;
    border-bottom: 1px solid rgba(0,0,0,0.03);
}
.blog-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.blog-card-modern:hover .blog-img-wrapper img {
    transform: scale(1.08);
}
.blog-body {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.blog-title {
    margin-bottom: 8px;
}
.blog-title a {
    color: #0f172a !important;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.4;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s;
    font-family: 'Outfit', sans-serif;
}
.blog-title a:hover {
    color: #ff003c !important;
}
.blog-text {
    font-size: 11px;
    color: #64748b;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}
.blog-btn {
    margin-top: auto;
    font-size: 11px;
    font-weight: 700;
    color: #ff003c !important;
    text-decoration: none;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    transition: opacity 0.3s;
}
.blog-btn:hover {
    opacity: 0.7;
}

/* Modern Gallery Card (Polaroid Stack) */
.gallery-card-modern {
    position: relative;
    margin-bottom: 15px;
    display: block;
    text-decoration: none;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1;
}
.gallery-card-modern::before,
.gallery-card-modern::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    z-index: -1;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0,0,0,0.03);
}
.gallery-card-modern::before {
    transform: rotate(-3deg);
}
.gallery-card-modern::after {
    transform: rotate(3deg);
}
.gallery-card-modern:hover {
    transform: translateY(-8px);
    z-index: 10;
}
.gallery-card-modern:hover::before {
    transform: rotate(-6deg) translate(-5px, 5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.gallery-card-modern:hover::after {
    transform: rotate(6deg) translate(5px, 5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.gallery-card-inner {
    background: #ffffff;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    z-index: 2;
    position: relative;
    border: 1px solid rgba(0,0,0,0.03);
}
.gallery-img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    height: 220px;
    background: #f8fafc;
}
.gallery-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.gallery-card-modern:hover .gallery-img-wrapper img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 6px;
}
.gallery-card-modern:hover .gallery-overlay {
    opacity: 1;
}
.gallery-overlay i {
    color: #ffffff;
    font-size: 36px;
    transform: scale(0.5) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.gallery-card-modern:hover .gallery-overlay i {
    transform: scale(1) translateY(0);
}

.gallery-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff003c;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 5px 10px;
    border-radius: 6px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 4px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(255,0,60,0.3);
}

.gallery-body {
    padding: 18px 8px 8px;
    text-align: center;
}
.gallery-title {
    color: #0f172a;
    font-size: 16px;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
}
.gallery-card-modern:hover .gallery-title {
    color: #ff003c;
}
