﻿/* ========================================
   HOME PAGE TABS & CARDS STYLING â€” LIGHT THEME
   Safari Vents Luxury Light Palette
   Inspiration: Warm Sand #f4efe6 Â· Pure White #ffffff
   Obsidian Charcoal #18181b Â· Warm Copper #b86d26
   ======================================== */

/* â”€â”€ Modern Tabs (pill style) â”€â”€ */
.modern-tabs-container {
    display: flex;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.modern-tabs {
    background: #ffffff;
    padding: 0.35rem;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    border: 1px solid #e8e2d8;
    display: inline-flex;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.modern-tabs .nav-item {
    margin: 0;
}

.modern-tabs .nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.4rem;
    border-radius: 10px;
    border: none;
    background: transparent;
    color: #6b7280;
    font-weight: 600;
    font-size: 0.88rem;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    cursor: pointer;
    font-family: inherit;
}

.modern-tabs .nav-link:hover {
    color: #18181b;
    background: rgba(0, 0, 0, 0.03);
}

.modern-tabs .nav-link.active {
    background: #b86d26;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(184, 109, 38, 0.35);
}

.modern-tabs .nav-link i {
    font-size: 1.05rem;
}

.modern-tabs .tab-count {
    background: #f4efe6;
    color: #78716c;
    padding: 0.125rem 0.5rem;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    margin-left: 0.35rem;
}

.modern-tabs .nav-link.active .tab-count {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* â”€â”€ Tab Content Animation â”€â”€ */
.tab-pane-content {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* â”€â”€ Package Cards â”€â”€ */
.package-card-home {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #e8e2d8;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.package-card-home:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(184, 109, 38, 0.14);
    border-color: #b86d26;
}

.package-image {
    position: relative;
    height: 210px;
    overflow: hidden;
}

.package-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.package-card-home:hover .package-image img {
    transform: scale(1.06);
}

.package-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fcfbfa 0%, #f4efe6 100%);
}

.package-placeholder i {
    font-size: 3rem;
    color: rgba(184, 109, 38, 0.35);
}

.package-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(6px);
    border: 1px solid #e8e2d8;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: #b86d26;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.package-badge i {
    color: #b86d26;
}

.discount-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: #b86d26;
    color: #ffffff;
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(184, 109, 38, 0.35);
}

.package-content {
    padding: 1.35rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.package-type-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(184, 109, 38, 0.1);
    color: #b86d26;
    padding: 0.25rem 0.65rem;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    width: fit-content;
    margin-bottom: 0.65rem;
}

.package-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #18181b;
    margin-bottom: 0.5rem;
    line-height: 1.35;
}

.package-description {
    color: #6b7280;
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.package-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.875rem;
    margin-bottom: 0.875rem;
    padding-bottom: 0.875rem;
    border-bottom: 1px solid #f0ebe1;
}

.package-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: #4b5563;
    font-size: 0.82rem;
    font-weight: 500;
}

.package-meta .meta-item i {
    color: #b86d26;
}

.package-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.package-footer .btn {
    background: #18181b;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.55rem 1.1rem;
    transition: all 0.2s;
}

.package-footer .btn:hover {
    background: #b86d26;
    color: #ffffff;
}

.package-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.price-original {
    color: #9ca3af;
    text-decoration: line-through;
    font-size: 0.85rem;
}

.price-discounted {
    color: #b86d26;
    font-size: 1.3rem;
    font-weight: 800;
}

.price-amount {
    color: #b86d26;
    font-size: 1.25rem;
    font-weight: 800;
}

/* â”€â”€ Equipment Cards (Home) â”€â”€ */
.equip-card-home {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #e8e2d8;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.equip-card-home:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(184, 109, 38, 0.14);
    border-color: #b86d26;
}

.equip-card-img-home {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.equip-card-img-home img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.equip-card-home:hover .equip-card-img-home img {
    transform: scale(1.06);
}

.equip-placeholder-home {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fcfbfa 0%, #f4efe6 100%);
}

.equip-placeholder-home i {
    font-size: 3rem;
    color: rgba(184, 109, 38, 0.35);
}

.equip-category-badge {
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #e8e2d8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #b86d26;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.equip-card-body-home {
    padding: 1.35rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.equip-title-home {
    font-size: 1.08rem;
    font-weight: 700;
    color: #18181b;
    margin-bottom: 0.375rem;
    line-height: 1.3;
}

.equip-desc-home {
    color: #6b7280;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0.875rem;
    flex: 1;
}

.equip-footer-home {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.75rem;
    border-top: 1px solid #f0ebe1;
}

.equip-price-home {
    display: flex;
    align-items: baseline;
    gap: 0.2rem;
}

.equip-price-home .price-amount {
    font-size: 1.15rem;
    font-weight: 800;
    color: #b86d26;
}

.equip-price-home .price-unit {
    font-size: 0.75rem;
    color: #6b7280;
}

.equip-avail-home {
    font-size: 0.75rem;
    font-weight: 700;
    color: #b86d26;
    background: rgba(184, 109, 38, 0.1);
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
}

/* â”€â”€ Explore Section â”€â”€ */
.explore-section {
    background: #f4efe6;
}

/* â”€â”€ Buttons â”€â”€ */
.btn-gradient-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #18181b;
    color: #ffffff !important;
    border: none;
    padding: 0.75rem 1.75rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.btn-gradient-primary:hover {
    background: #b86d26;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(184, 109, 38, 0.35);
    text-decoration: none;
}

.btn-gradient-accent {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #b86d26;
    color: #ffffff !important;
    border: none;
    padding: 0.75rem 1.75rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 4px 14px rgba(184, 109, 38, 0.35);
}

.btn-gradient-accent:hover {
    background: #a25c1a;
    color: #ffffff !important;
    transform: translateY(-2px);
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(184, 109, 38, 0.45);
}

.btn-gradient-success {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #b86d26;
    color: #ffffff !important;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 4px 14px rgba(184, 109, 38, 0.35);
}

.btn-gradient-success:hover {
    background: #a25c1a;
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* â”€â”€ Loading â”€â”€ */
.spinner-modern {
    width: 2.5rem;
    height: 2.5rem;
    border-width: 0.25rem;
    border-color: rgba(184, 109, 38, 0.2);
    border-top-color: #b86d26;
}

/* â”€â”€ Hotel Cards (Home) â”€â”€ */
.hotel-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #e8e2d8;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.hotel-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(184, 109, 38, 0.14);
    border-color: #b86d26;
}

.hotel-image {
    position: relative;
    height: 210px;
    overflow: hidden;
}

.hotel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.hotel-card:hover .hotel-image img {
    transform: scale(1.06);
}

.hotel-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fcfbfa 0%, #f4efe6 100%);
}

.hotel-placeholder i {
    font-size: 3rem;
    color: rgba(184, 109, 38, 0.35);
}

.hotel-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(6px);
    border: 1px solid #e8e2d8;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: #b86d26;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.hotel-badge i {
    color: #b86d26;
}

.hotel-category-badge {
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
    background: rgba(24, 24, 27, 0.85);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hotel-category-badge i {
    color: #d8893d;
}

.hotel-overlay {
    position: absolute;
    inset: 0;
    background: rgba(24, 24, 27, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hotel-card:hover .hotel-overlay {
    opacity: 1;
}

.hotel-view-btn {
    color: #ffffff;
    font-weight: 700;
    font-size: 0.92rem;
    background: #b86d26;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(184, 109, 38, 0.4);
}

.hotel-content {
    padding: 1.35rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hotel-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #18181b;
    margin-bottom: 0.375rem;
    line-height: 1.35;
}

.hotel-location {
    font-size: 0.82rem;
    color: #6b7280;
    margin-bottom: 0.625rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.hotel-location i {
    color: #b86d26;
    font-size: 0.88rem;
}

.hotel-meta-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.625rem;
}

.hotel-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.hotel-rating i {
    color: #f59e0b;
    font-size: 0.88rem;
}

.hotel-rating-text {
    font-size: 0.82rem;
    font-weight: 700;
    color: #18181b;
}

.meta-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #d1d5db;
    flex-shrink: 0;
}

.hotel-price-inline {
    display: flex;
    align-items: baseline;
    gap: 0.2rem;
}

.hotel-price-inline .price-amount {
    font-size: 0.95rem;
    font-weight: 800;
    color: #b86d26;
}

.hotel-price-inline .price-period {
    font-size: 0.72rem;
    color: #6b7280;
}

.hotel-description {
    color: #6b7280;
    font-size: 0.82rem;
    line-height: 1.5;
    margin-bottom: 0.875rem;
    flex: 1;
}

.hotel-footer {
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid #f0ebe1;
}

.hotel-book-btn {
    color: #b86d26;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    transition: color 0.2s;
}

.hotel-card:hover .hotel-book-btn {
    color: #a25c1a;
}

/* â”€â”€ Responsive â”€â”€ */
@media (max-width: 768px) {
    .modern-tabs-container {
        display: flex !important;
        justify-content: flex-start !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        padding-bottom: 8px !important;
        margin-bottom: 1.25rem !important;
        scrollbar-width: none !important;
    }
    .modern-tabs-container::-webkit-scrollbar {
        display: none !important;
    }
    .modern-tabs {
        display: inline-flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        width: max-content !important;
        gap: 6px !important;
        padding: 4px 6px !important;
        border-radius: 999px !important;
        background: #FFFFFF !important;
        border: 1px solid #E5E7EB !important;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04) !important;
    }
    .modern-tabs .nav-link {
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px !important;
        padding: 6px 13px !important;
        font-size: 12px !important;
        font-weight: 600 !important;
        border-radius: 999px !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        border: none !important;
    }
    .modern-tabs .nav-link.active {
        background: #DD7A28 !important;
        color: #FFFFFF !important;
        box-shadow: 0 2px 8px rgba(221, 122, 40, 0.3) !important;
    }
    .modern-tabs .tab-count {
        font-size: 9.5px !important;
        padding: 1px 5px !important;
        border-radius: 999px !important;
        margin-left: 4px !important;
    }
    .package-image { height: 130px !important; }
    .package-title { font-size: 0.88rem !important; }
}

@media (max-width: 576px) {
    .modern-tabs .nav-link span { font-size: 0.8125rem; }
    .modern-tabs .nav-link i { font-size: 0.9375rem; }
    .tab-count { display: none; }
}
