/* ===================================================
   CUSTOM CARD STYLING ENHANCEMENTS
   =================================================== */

/* ===== PACKAGE & OFFERS CARDS - ADD BORDERS ===== */
.destination-item.style-four.package-card-enhanced {
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    padding-bottom: 48px;
    /* Further reduced space for the button to make card more compact */
    position: relative;
    background: #fff;
    margin-bottom: 20px;
}

.destination-item.style-four.package-card-enhanced:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

/* Internal Spacing Fixes */
.destination-item.style-four.package-card-enhanced .content {
    padding: 16px 20px 4px 20px !important;
}

.destination-item.style-four.package-card-enhanced .destination-footer {
    padding: 10px 20px 0px 20px !important;
    margin-top: 6px;
    border-top: 1px dashed #e5e5e5;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Align price to left */
    gap: 10px;
}

.destination-item.style-four.package-card-enhanced .ratting {
    display: none !important;
}

/* Positioning the Book Now Button properly */
.destination-item.style-four.package-card-enhanced .theme-btn.style-three {
    position: absolute;
    bottom: 16px;
    right: 18px;
    left: auto;
    top: auto;
    transform: none;
    z-index: 5;
    padding: 6px 22px;
    font-size: 13px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    opacity: 1;
    visibility: visible;
}

.destination-item.style-four.package-card-enhanced:hover .theme-btn.style-three {
    background: var(--secondary-color);
    color: #fff;
}

/* Add border to hot deals cards */
.hot-deals-active .destination-item.package-card-enhanced {
    border: 2px solid #e8e8e8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.hot-deals-active .destination-item.package-card-enhanced:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* ===== DESTINATION CARDS - ROUNDED SQUARE IMAGES ===== */
/* Strong override to ensure rounded square instead of circular */
.destination-item.style-two .image,
.destination-active .destination-item.style-two .image {
    border-radius: 12px !important;
    overflow: hidden;
    clip-path: none !important;
    -webkit-clip-path: none !important;
}

/* Force fix for card images */
.destination-item.style-four.package-card-enhanced .image img {
    height: 250px !important;
    width: 100% !important;
    object-fit: cover !important;
}

/* Force fix for blog images */
.blog-item.style-two .image img {
    height: 250px !important;
    width: 100% !important;
    object-fit: cover !important;
}

.destination-item.style-two .image img,
.destination-active .destination-item.style-two .image img {
    border-radius: 12px !important;
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: none !important;
    -webkit-clip-path: none !important;
}

/* Fix Height Issue for Destination Slider Cards */
.destination-item.style-two .content {
    background: #fff;
    padding: 20px 15px;
    height: 110px;
    /* Fixed height for content area */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.destination-item.style-two .content h6 {
    margin-bottom: 5px;
    font-size: 18px;
    line-height: 1.4;
    /* Limit to 2 lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Ensure consistent image container dimensions */
.destination-active .destination-item.style-two .image {
    width: 100%;
    height: 180px;
    display: block;
}

.destination-active .destination-item.style-two .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Add subtle border to destination cards */
.destination-item.style-two {
    border: 1px solid #e8e8e8;
    transition: all 0.3s ease;
}

.destination-item.style-two:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Mobile responsive for destination cards */
@media only screen and (max-width: 575px) {
    .destination-active .destination-item.style-two .image {
        height: 150px;
    }
}

/* ===== ADDITIONAL POLISH ===== */

/* Smooth transitions for all interactive elements */
.package-card-enhanced,
.feature-item.style-three,
.destination-item.style-two {
    will-change: transform;
}

/* Ensure proper spacing in sliders */
.destination-active .slick-slide {
    padding: 0 10px;
}

.hot-deals-active .slick-slide {
    padding: 0 10px;
}

/* Fix margin on first and last slides */
.destination-active .slick-list,
.hot-deals-active .slick-list {
    margin: 0 -10px;
}

/* Enhanced Button Styles - Rounder, Smaller (From Sightseeing Page) */
.theme-btn.compact-btn {
    padding: 8px 12px !important;
    font-size: 13px !important;
    border-radius: 50px !important;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.theme-btn.compact-btn:hover {
    color: #fff !important;
}

/* Get Quote - Vibrant Orange */
.theme-btn.btn-get-quote {
    background: #F7921E !important;
    border: 1px solid #F7921E !important;
    color: #fff !important;
}

.theme-btn.btn-get-quote:hover {
    background: #d87b0e !important;
}

/* View Details - Dark Blue/Black */
.theme-btn.btn-view-details {
    background: #1C231F !important;
    border: 1px solid #1C231F !important;
    color: #fff !important;
}

.theme-btn.btn-view-details:hover {
    background: #2C3E50 !important;
}

/* Fix Icons inside buttons */
.theme-btn.compact-btn i {
    margin-left: 8px !important;
    transform: none !important;
}

/* Inquire - WhatsApp Green */
.theme-btn.btn-inquire {
    background: #25D366 !important;
    border: 1px solid #25D366 !important;
    color: #fff !important;
}

.theme-btn.btn-inquire:hover {
    background: #128C7E !important;
}

/* ===== BANNER FIXES FOR DESTINATION PAGES ===== */
.page-banner-area.banner-compact {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 350px !important;
    /* Controlled fixed height */
    min-height: 350px !important;
    background-size: cover !important;
    background-position: center center !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Ensure inner content is perfectly centered */
.page-banner-area.banner-compact .container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.page-banner-area.banner-compact .banner-inner {
    margin-bottom: 0 !important;
    text-align: center !important;
    width: 100%;
}

.page-banner-area.banner-compact .page-title {
    margin-bottom: 10px !important;
}

/* Mobile responsive for banner */
@media only screen and (max-width: 767px) {
    .page-banner-area.banner-compact {
        height: 250px !important;
        /* Smaller controlled height for mobile */
        min-height: 250px !important;
        background-attachment: scroll !important;
        /* Better mobile performance */
    }

    .page-banner-area.banner-compact .page-title {
        font-size: 24px !important;
        line-height: 1.3;
    }

    .page-banner-area.banner-compact .breadcrumb {
        margin-bottom: 0 !important;
    }
}

/* Pricing Tooltip */
.price[data-tooltip] {
    position: relative;
    cursor: help;
}

.price[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 11px;
    white-space: normal;
    width: 200px;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-align: center;
    line-height: 1.4;
    margin-bottom: 8px;
    pointer-events: none;
    font-weight: 400;
}

.price[data-tooltip]:hover::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #333;
    margin-bottom: -4px;
    z-index: 100;
}

/* ===================================================
   TREKKING & HIKING PAGE STYLES (Moved from HTML)
   =================================================== */

.trek-card {
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
}

.trek-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.trek-img {
    height: 220px;
    width: 100%;
    object-fit: cover;
}

.trek-content {
    padding: 20px;
}

.trek-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.trek-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
}

.trek-meta i {
    color: #27ae60;
    margin-right: 5px;
}

/* Editorial Trekking Styles */
.trek-article {
    margin-bottom: 80px;
    padding-bottom: 60px;
    border-bottom: 1px solid #eee;
}

.trek-article:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.trek-article-header {
    margin-bottom: 30px;
}

.trek-article-title {
    font-size: 30px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

/* Removed the green underline as requested */
/* .trek-article-title::after { ... } */

.trek-article-subtitle {
    font-size: 18px;
    font-style: italic;
    color: #7f8c8d;
    margin-bottom: 20px;
    display: block;
}

.trek-quick-facts {
    background: #1C231F;
    border-radius: 8px;
    /* Slightly tighter radius */
    padding: 20px 30px;
    /* Balanced padding */
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* Spread items across full width */
    border: 1px solid #2e3b32;
    /* Subtle border */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    /* Minimal shadow */
    width: 100%;
}

.fact-item {
    display: flex;
    align-items: center;
    font-size: 15px;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 0.3px;
}

.fact-item i {
    color: #1C231F;
    background: #ffffff;
    font-size: 14px;
    margin-right: 12px;
    width: 32px;
    /* Slightly smaller for minimalism */
    height: 32px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Responsive adjustments for trek facts */
@media (max-width: 768px) {
    .trek-quick-facts {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 20px;
    }

    .fact-item {
        width: 100%;
    }
}

.trek-description {
    font-size: 17px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
}

.trek-description p {
    margin-bottom: 20px;
}

.highlight-box {
    background: #fff3cd;
    padding: 15px 20px;
    border-radius: 8px;
    margin-top: 20px;
    font-size: 15px;
    color: #856404;
}

.trek-image-wrapper {
    margin-top: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.trek-image-wrapper img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.trek-image-wrapper:hover img {
    transform: scale(1.03);
}

/* Inquiry Section Styles */
.inquiry-form-section {
    position: relative;
}

.inquiry-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background-image: url('../../assets/images/patterns/map-pattern.png');
    opacity: 0.05;
    z-index: 0;
}

.form-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    padding: 50px;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h3 {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.form-header p {
    color: #95a5a6;
}

.form-field-group label {
    font-weight: 600;
    color: #34495e;
    margin-bottom: 8px;
    display: block;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.custom-input {
    width: 100%;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    font-size: 16px;
    transition: all 0.3s;
}

.custom-input:focus {
    background: #fff;
    border-color: #27ae60;
    box-shadow: 0 0 0 4px rgba(39, 174, 96, 0.1);
    outline: none;
}

.submit-btn-large {
    background: #27ae60;
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 20px rgba(39, 174, 96, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.submit-btn-large:hover {
    background: #219150;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(39, 174, 96, 0.4);
}