/* ========================================
   HOME PAGE TABS & CARDS STYLING
   Safari Vents Palette
   ======================================== */

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

.modern-tabs {
    background: #fff;
    padding: 0.3rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(42, 42, 42, 0.06);
    border: 1px solid rgba(158, 139, 99, 0.1);
    display: inline-flex;
    gap: 0.25rem;
}

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

.modern-tabs .nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.5rem;
    border-radius: 10px;
    border: none;
    background: transparent;
    color: #8a8177;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    position: relative;
}

.modern-tabs .nav-link:hover {
    color: #2A2A2A;
    background: #f5f3ef;
}

.modern-tabs .nav-link.active {
    background: #2A2A2A;
    color: #fff;
}

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

.modern-tabs .tab-count {
    background: rgba(158, 139, 99, 0.15);
    padding: 0.125rem 0.5rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 0.375rem;
}

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

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

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

/* ── Package Cards ── */
.package-card-home {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(158, 139, 99, 0.1);
    box-shadow: 0 4px 16px rgba(42, 42, 42, 0.04);
    transition: all 0.25s ease;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.package-card-home:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(42, 42, 42, 0.1);
    border-color: rgba(158, 139, 99, 0.2);
}

.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, #C87941 0%, #9E8B63 100%);
}

.package-placeholder i {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.4);
}

.package-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #C87941;
}

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

.discount-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: #ef4444;
    color: #fff;
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
    font-size: 0.6875rem;
    font-weight: 700;
}

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

.package-type-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(200, 121, 65, 0.1);
    color: #C87941;
    padding: 0.25rem 0.625rem;
    border-radius: 20px;
    font-size: 0.6875rem;
    font-weight: 700;
    width: fit-content;
    margin-bottom: 0.625rem;
}

.package-title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #2A2A2A;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.package-description {
    color: #8a8177;
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 0.875rem;
    flex: 1;
}

.package-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.875rem;
    margin-bottom: 0.875rem;
    padding-bottom: 0.875rem;
    border-bottom: 1px solid rgba(158, 139, 99, 0.1);
}

.package-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: #8a8177;
    font-size: 0.8125rem;
}

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

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

.package-footer .btn {
    background: #2A2A2A;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    transition: background 0.2s;
}

.package-footer .btn:hover {
    background: #C87941;
    color: #fff;
}

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

.price-original {
    color: #b5ac9e;
    text-decoration: line-through;
    font-size: 0.875rem;
}

.price-discounted {
    color: #488C82;
    font-size: 1.25rem;
    font-weight: 700;
}

/* ── Equipment Cards (Home) ── */
.equip-card-home {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(158, 139, 99, 0.1);
    box-shadow: 0 4px 16px rgba(42, 42, 42, 0.04);
    transition: all 0.25s ease;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.equip-card-home:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(42, 42, 42, 0.1);
    border-color: rgba(158, 139, 99, 0.2);
}

.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;
}

.equip-placeholder-home i {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.4);
}

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

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

.equip-title-home {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #2A2A2A;
    margin-bottom: 0.375rem;
    line-height: 1.3;
}

.equip-desc-home {
    color: #8a8177;
    font-size: 0.8125rem;
    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 rgba(158, 139, 99, 0.1);
}

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

.equip-price-home .price-amount {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #488C82;
}

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

.equip-avail-home {
    font-size: 0.75rem;
    font-weight: 600;
    color: #488C82;
    background: rgba(72, 140, 130, 0.08);
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
}

/* ── Explore Section ── */
.explore-section {
    background: #f5f3ef;
}

/* ── Buttons ── */
.btn-gradient-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #2A2A2A;
    color: #fff;
    border: none;
    padding: 0.75rem 1.75rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-gradient-primary:hover {
    background: #C87941;
    color: #fff;
    transform: translateY(-2px);
    text-decoration: none;
}

.btn-gradient-accent {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #C87941;
    color: #fff;
    border: none;
    padding: 0.75rem 1.75rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-gradient-accent:hover {
    background: #9E8B63;
    color: #fff;
    transform: translateY(-2px);
    text-decoration: none;
}

.btn-gradient-success {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #488C82;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-gradient-success:hover {
    background: #3a7168;
    color: #fff;
    transform: translateY(-2px);
    text-decoration: none;
}

/* ── Loading ── */
.spinner-modern {
    width: 2.5rem;
    height: 2.5rem;
    border-width: 0.25rem;
    border-color: rgba(158, 139, 99, 0.2);
    border-top-color: #C87941;
}

/* ── Hotel Cards (Home) ── */
.hotel-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(158, 139, 99, 0.1);
    box-shadow: 0 4px 16px rgba(42, 42, 42, 0.04);
    transition: all 0.25s ease;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.hotel-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(42, 42, 42, 0.1);
    border-color: rgba(158, 139, 99, 0.2);
}

.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, #C87941 0%, #9E8B63 100%);
}

.hotel-placeholder i {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.4);
}

.hotel-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: rgba(72, 140, 130, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.hotel-category-badge {
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #2A2A2A;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.hotel-overlay {
    position: absolute;
    inset: 0;
    background: rgba(42, 42, 42, 0.7);
    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: #fff;
    font-weight: 600;
    font-size: 0.875rem;
}

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

.hotel-name {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #2A2A2A;
    margin-bottom: 0.375rem;
    line-height: 1.3;
}

.hotel-location {
    font-size: 0.8125rem;
    color: #8a8177;
    margin-bottom: 0.625rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.hotel-location i {
    color: #9E8B63;
    font-size: 0.875rem;
}

.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: #fbbf24;
    font-size: 0.875rem;
}

.hotel-rating-text {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #2A2A2A;
}

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

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

.hotel-price-inline .price-amount {
    font-size: 0.875rem;
    font-weight: 700;
    color: #488C82;
}

.hotel-price-inline .price-period {
    font-size: 0.6875rem;
    color: #8a8177;
}

.hotel-description {
    color: #8a8177;
    font-size: 0.8125rem;
    line-height: 1.5;
    margin-bottom: 0.875rem;
    flex: 1;
}

.hotel-footer {
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(158, 139, 99, 0.1);
}

.hotel-book-btn {
    color: #9E8B63;
    font-weight: 600;
    font-size: 0.8125rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: color 0.2s;
}

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

/* ── Responsive ── */
@media (max-width: 768px) {
    .modern-tabs {
        flex-direction: column;
        border-radius: 12px;
        width: 100%;
    }
    .modern-tabs .nav-link {
        justify-content: center;
        padding: 0.75rem;
        border-radius: 10px;
    }
    .package-image { height: 180px; }
    .package-title { font-size: 1rem; }
}

@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; }
}
