/* ==========================================
   STAY HATCH - DEALS PAGE (Orange Theme)
   File: deals.css
   ========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
}

body {
    background: #F8FAFC;
    color: #0F172A;
    min-height: 100vh;
}

/* ==========================================
   NAVBAR (Orange)
   ========================================== */
.navbar {
    background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(234, 88, 12, 0.3);
    overflow: visible;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 14px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    position: relative;
}

.nav-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-logo-svg {
    height: 38px;
    width: auto;
    display: block;
}

.nav-logo {
    height: 38px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    flex: 1;
    justify-content: center;
}

.nav-links a {
    text-decoration: none;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}

.nav-links a:hover { color: #FEF3C7; }
.nav-links a.active { color: #FEF3C7; border-bottom-color: #FEF3C7; }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
}

.nav-location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 600;
}

.nav-location i { color: #FEF3C7; font-size: 11px; }

.nav-icon-btn {
    background: transparent;
    border: none;
    color: #FFFFFF;
    cursor: pointer;
    font-size: 15px;
    opacity: 0.9;
    transition: all 0.2s;
}

.nav-icon-btn:hover { color: #FEF3C7; opacity: 1; }

.nav-account {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.2s;
    white-space: nowrap;
}

.nav-account:hover { background: rgba(255, 255, 255, 0.3); }
.nav-account i { color: #FEF3C7; font-size: 16px; }

/* Mobile Hamburger Button - Hidden on Desktop */
.mobile-menu-btn {
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #FFFFFF;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.2s;
    flex-shrink: 0;
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.mobile-menu-btn:active {
    transform: scale(0.95);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.deals-hero {
    position: relative;
    background: linear-gradient(135deg, #F97316 0%, #EA580C 50%, #C2410C 100%);
    padding: 40px 32px 50px;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(251, 191, 36, 0.25) 0%, transparent 40%);
    pointer-events: none;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.hero-text { flex: 1; max-width: 620px; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    padding: 6px 16px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 14px;
    border-left: 3px solid #FFFFFF;
}

.hero-text h1 {
    font-size: 38px;
    font-weight: 900;
    color: #FFFFFF;
    line-height: 1.1;
    margin-bottom: 6px;
    letter-spacing: -1px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.hero-text h1 .accent {
    color: #FEF3C7;
    font-style: italic;
    font-family: 'Dancing Script', cursive;
    font-weight: 700;
    font-size: 44px;
}

.hero-tagline {
    font-family: 'Dancing Script', cursive;
    font-size: 30px;
    color: #FFFFFF;
    font-weight: 700;
    margin-bottom: 12px;
}

.hero-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    max-width: 500px;
}

.hero-right { display: flex; align-items: center; gap: 20px; }

.discount-badge {
    width: 130px;
    height: 130px;
    background: linear-gradient(135deg, #FFFFFF 0%, #FEF3C7 60%, #FBBF24 100%);
    border-radius: 16px;
    transform: rotate(-6deg);
    padding: 5px;
    box-shadow: 0 16px 40px rgba(217, 119, 6, 0.5);
    animation: floatBadge 3s ease-in-out infinite;
    position: relative;
    flex-shrink: 0;
}

@keyframes floatBadge {
    0%, 100% { transform: rotate(-6deg) translateY(0); }
    50% { transform: rotate(-6deg) translateY(-6px); }
}

.discount-badge-inner {
    width: 100%; height: 100%;
    border: 2px dashed rgba(234, 88, 12, 0.4);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #EA580C;
}

.upto { font-size: 9px; font-weight: 700; letter-spacing: 2px; }
.percent { font-size: 40px; font-weight: 900; line-height: 1; letter-spacing: -2px; }
.off { font-size: 14px; font-weight: 800; letter-spacing: 3px; }

.hero-script {
    font-family: 'Dancing Script', cursive;
    font-size: 24px;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    position: relative;
}

.hero-script::after {
    content: '';
    position: absolute;
    bottom: -6px; left: 0;
    width: 100%; height: 2px;
    background: #FFFFFF;
    border-radius: 2px;
    transform: rotate(-2deg);
}

/* ==========================================
   DEALS CONTENT
   ========================================== */
.deals-content {
    background: #F8FAFC;
    padding: 30px 32px 60px;
}

.deals-wrapper { max-width: 1400px; margin: 0 auto; }

/* Filter Chips */
.filter-chips {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #FFFFFF;
    border: 1.5px solid #E2E8F0;
    border-radius: 30px;
    color: #475569;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    white-space: nowrap;
}

.chip:hover { border-color: #F97316; color: #F97316; }
.chip.active {
    background: #F97316;
    border-color: #F97316;
    color: #FFFFFF;
    font-weight: 700;
}
.chip i { font-size: 12px; }

/* Section Heading */
.deals-heading {
    margin-bottom: 20px;
}

.deals-heading h2 {
    font-size: 22px;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.deals-heading h2 span { color: #F97316; }
.deals-heading p { font-size: 13px; color: #64748B; }

/* ==========================================
   DEALS GRID
   ========================================== */
.deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

/* ==========================================
   DEAL CARD
   ========================================== */
.deal-card {
    background: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid #E2E8F0;
    position: relative;
    display: flex;
    flex-direction: column;
}

.deal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(249, 115, 22, 0.18);
    border-color: #FED7AA;
}

.deal-image {
    height: 200px;
    width: 100%;
    background-color: #FFEDD5;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.deal-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
}

.deal-rating {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.95);
    color: #0F172A;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.deal-rating i { color: #F59E0B; font-size: 11px; }

.deal-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #F97316;
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 800;
    padding: 5px 10px;
    border-radius: 6px;
    letter-spacing: 0.3px;
    z-index: 3;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
}

.deal-tag i { font-size: 9px; }

.deal-discount-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
    color: #FFFFFF;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.5);
    display: flex;
    align-items: center;
    gap: 5px;
}

.deal-discount-badge i { font-size: 10px; color: #FEF3C7; }

.deal-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.deal-hotel-name {
    font-size: 17px;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 6px;
    letter-spacing: -0.3px;
    line-height: 1.3;
}

.deal-couple-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #FDF2F8;
    color: #BE185D;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 8px;
    align-self: flex-start;
}

.deal-couple-badge i { font-size: 9px; }

.deal-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #64748B;
    margin-bottom: 14px;
}

.deal-location i { color: #F97316; font-size: 12px; }

.deal-pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 16px;
    border-top: 1px dashed #FFEDD5;
    margin-top: auto;
    gap: 12px;
}

.deal-prices {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.original-price {
    font-size: 12px;
    color: #94A3B8;
    text-decoration: line-through;
    font-weight: 500;
}

.deal-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.deal-price {
    font-size: 24px;
    font-weight: 900;
    color: #F97316;
    letter-spacing: -0.8px;
    line-height: 1;
}

.per-night {
    font-size: 11px;
    color: #94A3B8;
    font-weight: 500;
}

.deal-book-btn {
    background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
    color: #FFFFFF;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
    font-family: inherit;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.deal-book-btn:hover {
    background: linear-gradient(135deg, #EA580C 0%, #C2410C 100%);
    transform: translateX(2px);
    box-shadow: 0 6px 16px rgba(249, 115, 22, 0.5);
}

.deal-book-btn i { font-size: 11px; }
/* ==========================================
   LOADING & EMPTY STATES
   ========================================== */
.loading-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #64748B;
}

.loading-state i { font-size: 28px; color: #F97316; margin-bottom: 12px; display: block; }

.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: #FFFFFF;
    border-radius: 16px;
    border: 2px dashed #E2E8F0;
}

.empty-state i { font-size: 42px; color: #CBD5E1; margin-bottom: 14px; display: block; }
.empty-state h3 { font-size: 18px; font-weight: 800; color: #0F172A; margin-bottom: 8px; }
.empty-state p { font-size: 13px; color: #64748B; margin-bottom: 18px; }

.empty-state .btn-back-home {
    display: inline-block;
    background: #F97316;
    color: #FFFFFF;
    padding: 11px 22px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: #FFFFFF;
    padding: 24px 32px;
    border-top: 1px solid #E2E8F0;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-content p { color: #64748B; font-size: 13px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: #64748B; text-decoration: none; font-size: 13px; transition: color 0.2s; }
.footer-links a:hover { color: #F97316; }

/* ==========================================
   RESPONSIVE - TABLET (max-width: 900px)
   ========================================== */
@media (max-width: 900px) {
    .nav-container { padding: 12px 20px; gap: 12px; }
    .nav-links { display: none; }
    .nav-logo-svg { height: 34px; }

    .deals-hero { padding: 32px 20px 40px; }
    .hero-content { flex-direction: column; text-align: center; gap: 28px; }
    .hero-text { max-width: 100%; }
    .hero-text h1 { font-size: 30px; }
    .hero-text h1 .accent { font-size: 36px; }
    .hero-tagline { font-size: 26px; }
    .hero-desc { max-width: 100%; }
    .hero-right { flex-direction: column; gap: 16px; }

    .deals-content { padding: 24px 20px 40px; }
    .deals-grid { grid-template-columns: 1fr; gap: 18px; }
}

/* ==========================================
   RESPONSIVE - MOBILE (max-width: 768px)
   ========================================== */
@media (max-width: 768px) {

    /* Show hamburger button */
    .mobile-menu-btn {
        display: flex;
    }

    .nav-container {
        padding: 12px 16px;
        gap: 10px;
        flex-wrap: nowrap;
    }

    .nav-brand {
        flex: 1;
        min-width: 0;
    }

    .nav-logo-svg { height: 32px; }

    /* Hide location and search on mobile */
    .nav-location { display: none; }
    .nav-icon-btn { display: none; }

    /* Nav links become vertical dropdown */
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 16px 16px;
        margin-top: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
        z-index: 200;
        animation: slideDown 0.25s ease;
    }

    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .nav-links.mobile-open {
        display: flex;
    }

    .nav-links a {
        width: 100%;
        padding: 14px 4px;
        font-size: 14px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 0;
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .nav-links a.active {
        border-bottom-color: rgba(255, 255, 255, 0.15);
    }

    .nav-account {
        padding: 8px 12px;
        font-size: 12px;
    }

    /* Hero section compact */
    .deals-hero { padding: 28px 16px 36px; }

    .hero-badge {
        font-size: 10px;
        padding: 5px 12px;
        letter-spacing: 1px;
        margin-bottom: 12px;
    }

    .hero-text h1 {
        font-size: 24px;
        letter-spacing: -0.5px;
        margin-bottom: 4px;
    }

    .hero-text h1 .accent {
        font-size: 28px;
    }

    .hero-tagline {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .hero-desc {
        font-size: 12.5px;
        line-height: 1.55;
    }

    .hero-right {
        gap: 12px;
    }

    .discount-badge {
        width: 100px;
        height: 100px;
        border-radius: 14px;
    }

    .upto { font-size: 8px; letter-spacing: 1.5px; }
    .percent { font-size: 30px; letter-spacing: -1px; }
    .off { font-size: 11px; letter-spacing: 2.5px; }

    .hero-script {
        font-size: 18px;
    }

    /* Content */
    .deals-content { padding: 20px 14px 36px; }

    .filter-chips {
        gap: 8px;
        margin-bottom: 20px;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .filter-chips::-webkit-scrollbar { display: none; }

    .chip {
        padding: 8px 14px;
        font-size: 12px;
        flex-shrink: 0;
    }

    .chip i { font-size: 11px; }

    .deals-heading h2 {
        font-size: 18px;
        margin-bottom: 4px;
    }

    .deals-heading p {
        font-size: 12.5px;
    }

    /* Cards */
    .deals-grid { grid-template-columns: 1fr; gap: 16px; }

    .deal-card { border-radius: 14px; }

    .deal-image { height: 180px; }

    .deal-info { padding: 16px; }

    .deal-hotel-name {
        font-size: 15px;
        margin-bottom: 5px;
    }

    .deal-location {
        font-size: 12px;
        margin-bottom: 12px;
    }

    .deal-pricing-row {
        padding-top: 14px;
        gap: 10px;
    }

    .deal-price { font-size: 22px; }

    .deal-book-btn {
        padding: 9px 14px;
        font-size: 12px;
    }

    .deal-tag {
        font-size: 9px;
        padding: 4px 8px;
    }

    .deal-discount-badge {
        font-size: 10px;
        padding: 5px 10px;
    }

    .deal-rating {
        font-size: 11px;
        padding: 4px 10px;
    }

    /* Footer */
    .footer { padding: 20px 16px; }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .footer-content p { font-size: 12px; }

    .footer-links { gap: 18px; }
    .footer-links a { font-size: 12px; }
}

/* ==========================================
   RESPONSIVE - SMALL PHONES (max-width: 480px)
   ========================================== */
@media (max-width: 480px) {
    .nav-container { padding: 10px 12px; }

    .nav-logo-svg { height: 28px; }

    .mobile-menu-btn {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    .nav-account {
        padding: 7px 10px;
        font-size: 11px;
    }

    .nav-account i { font-size: 14px; }

    /* Hero */
    .deals-hero { padding: 24px 14px 30px; }

    .hero-text h1 { font-size: 20px; }
    .hero-text h1 .accent { font-size: 24px; }
    .hero-tagline { font-size: 18px; }

    .hero-desc {
        font-size: 12px;
        line-height: 1.5;
    }

    .discount-badge {
        width: 90px;
        height: 90px;
        border-radius: 12px;
    }

    .upto { font-size: 7px; }
    .percent { font-size: 26px; }
    .off { font-size: 10px; letter-spacing: 2px; }

    .hero-script { font-size: 16px; }

    /* Cards */
    .deal-image { height: 160px; }
    .deal-price { font-size: 20px; }
    .deal-book-btn { padding: 8px 12px; font-size: 11.5px; }

    .deals-heading h2 { font-size: 16px; }
}

/* ==========================================
   RESPONSIVE - EXTRA SMALL (max-width: 360px)
   ========================================== */
@media (max-width: 360px) {
    .hero-text h1 { font-size: 18px; }
    .hero-text h1 .accent { font-size: 22px; }
    .hero-tagline { font-size: 16px; }

    .deal-image { height: 150px; }
    .deal-hotel-name { font-size: 14px; }
    .deal-price { font-size: 18px; }

    .mobile-menu-btn {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }
}