/* ==========================================================================
   Experience Egypt Travel - Unified Luxury Theme & Design System
   Brand Colors: Egyptian Pharaonic Gold (#c59835, #dfb743) & Royal Navy (#0a192f)
   ========================================================================== */

:root {
    --egypt-gold: #c59835;
    --egypt-gold-light: #dfb743;
    --egypt-gold-dark: #ab8025;
    --egypt-gold-soft: rgba(197, 152, 53, 0.12);
    --egypt-gold-gradient: linear-gradient(135deg, #dfb743 0%, #c49324 100%);
    --egypt-gold-gradient-hover: linear-gradient(135deg, #eed065 0%, #d4a338 100%);
    
    --egypt-navy: #0a192f;
    --egypt-navy-deep: #061120;
    --egypt-navy-surface: #0e223d;
    --egypt-navy-light: #163259;
    
    --egypt-sand: #fbf9f4;
    --egypt-card-border: rgba(10, 25, 47, 0.08);
    --egypt-shadow: 0 10px 30px -5px rgba(10, 25, 47, 0.08);
    --egypt-shadow-hover: 0 18px 35px -8px rgba(10, 25, 47, 0.14);
    --egypt-shadow-gold: 0 8px 22px rgba(197, 152, 53, 0.32);

    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-arabic: 'Cairo', 'Alexandria', sans-serif;
}

/* Base Typography */
body, html {
    font-family: var(--font-sans) !important;
    color: #1a2538;
    background-color: #faf9f6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, .masthead h1, .sectionTitle__title, .text-30 {
    font-family: var(--font-serif) !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em;
}

/* RTL Support */
body.is-rtl, .is-rtl * {
    font-family: var(--font-arabic) !important;
}

/* ==========================================================================
   1. Unified Header & Navigation Bar
   ========================================================================== */
.header, 
.header.style-normal, 
.header.-fixed, 
.header.bg-dark-3, 
[data-add-bg="bg-dark-1"] {
    background: var(--egypt-navy) !important;
    border-bottom: 1px solid rgba(223, 183, 67, 0.28) !important;
    box-shadow: 0 4px 20px rgba(6, 17, 32, 0.35) !important;
    padding: 12px 0 !important;
}

/* Unified Logo Dimensions Across ALL pages - Large, Clear & Prominent Brand Identity */
.header .header-logo {
    display: inline-flex !important;
    align-items: center !important;
    padding: 2px 0 !important;
    text-decoration: none !important;
}
.header .header-logo img,
.header .logo-light,
.header .logo-dark {
    height: 72px !important;
    max-height: 76px !important;
    min-height: 68px !important;
    width: auto !important;
    max-width: 220px !important;
    object-fit: contain !important;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.55)) !important;
    transition: transform 0.25s ease !important;
}
.header .header-logo:hover img {
    transform: scale(1.04) !important;
}

/* Navigation Links */
.header .menu__item a, 
.header .header-menu .menu li a {
    font-family: var(--font-sans) !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em;
    font-size: 14.5px !important;
    color: #ffffff !important;
    padding: 8px 14px !important;
    transition: color 0.2s ease;
}

.header .menu__item a:hover, 
.header .header-menu .menu li a:hover,
.header .header-menu .menu li.active > a {
    color: var(--egypt-gold-light) !important;
}

/* Sign In / Register Pill Button */
.header a[href*="login"], 
.header a[href*="register"], 
.header .-outline-white {
    border: 1.5px solid var(--egypt-gold) !important;
    color: #ffffff !important;
    border-radius: 50px !important;
    padding: 8px 22px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    transition: all 0.25s ease !important;
}

.header a[href*="login"]:hover, 
.header a[href*="register"]:hover {
    background: var(--egypt-gold-gradient) !important;
    color: #ffffff !important;
    box-shadow: var(--egypt-shadow-gold);
    transform: translateY(-1px);
}

/* ==========================================================================
   2. Unified Search Forms & Dimensions (.mainSearch)
   ========================================================================== */
.mainSearch,
.form-search-all-service.mainSearch {
    background: #ffffff !important;
    border-radius: 8px !important;
    border: 1px solid rgba(197, 152, 53, 0.3) !important;
    box-shadow: 0 12px 35px rgba(10, 25, 47, 0.12) !important;
}

/* Inner search fields labels & inputs */
.mainSearch h4 {
    color: #1e293b !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    margin-bottom: 2px !important;
}

.mainSearch input,
.mainSearch select {
    font-family: var(--font-sans) !important;
    font-size: 14.5px !important;
    color: #334155 !important;
    font-weight: 500 !important;
}

/* Unified Search Buttons */
.mainSearch__submit.button,
.mainSearch .button,
button[type="submit"].mainSearch__submit {
    height: 56px !important;
    min-height: 56px !important;
    background: var(--egypt-gold-gradient) !important;
    border: none !important;
    color: #ffffff !important;
    font-family: var(--font-sans) !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    border-radius: 6px !important;
    box-shadow: var(--egypt-shadow-gold) !important;
    transition: all 0.25s ease !important;
}

.mainSearch__submit.button:hover,
.mainSearch .button:hover {
    background: var(--egypt-gold-gradient-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(197, 152, 53, 0.45) !important;
}

/* Search Tabs (Homepage Hero) */
.tabs.-bookmark .tabs__button {
    background: rgba(14, 34, 61, 0.9) !important;
    border: 1px solid rgba(223, 183, 67, 0.3) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    padding: 14px 28px !important;
    border-radius: 6px 6px 0 0 !important;
    transition: all 0.25s ease !important;
}

.tabs.-bookmark .tabs__button.is-tab-el-active,
.tabs.-bookmark .tabs__button:hover {
    background: var(--egypt-gold-gradient) !important;
    color: #ffffff !important;
    border-color: var(--egypt-gold-light) !important;
    box-shadow: var(--egypt-shadow-gold);
}

/* ==========================================================================
   3. Unified Catalog Page Top Sections (/tour & /transfers)
   ========================================================================== */
.bc_search_tour .bg-light-2,
.bc_search_transfer .bg-light-2 {
    background-color: #f7f6f1 !important;
    border-bottom: 1px solid rgba(197, 152, 53, 0.15) !important;
}

/* ==========================================================================
   4. Unified Listing Cards (/tour & /transfers) - Exact Equal Dimensions
   ========================================================================== */
.swiper-wrapper {
    align-items: stretch !important;
}

.swiper-slide {
    height: auto !important;
    display: flex !important;
}

/* Grid card container */
.bravo-list-tour .row.y-gap-30 > [class*="col-"] {
    display: flex !important;
    align-items: stretch !important;
}

/* Unified Tour Cards: Equal Height, Border & Luxury Shadow */
.tourCard,
.tourCard.-type-1 {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    background: #ffffff !important;
    border-radius: 12px !important;
    border: 1px solid rgba(197, 152, 53, 0.22) !important;
    padding: 16px !important;
    margin-bottom: 0 !important;
    box-shadow: 0 4px 18px rgba(10, 25, 47, 0.05) !important;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    box-sizing: border-box !important;
}

.tourCard:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 14px 32px rgba(197, 152, 53, 0.18) !important;
    border-color: rgba(197, 152, 53, 0.55) !important;
}

/* Horizontal Transfer Cards (/transfers catalog) */
.transfer-loop-card {
    background: #ffffff !important;
    border-radius: 12px !important;
    border: 1px solid rgba(197, 152, 53, 0.22) !important;
    padding: 20px !important;
    margin-bottom: 24px !important;
    box-shadow: 0 4px 18px rgba(10, 25, 47, 0.05) !important;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.transfer-loop-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 14px 32px rgba(197, 152, 53, 0.18) !important;
    border-color: rgba(197, 152, 53, 0.55) !important;
}

/* Card Content Flex Container */
.tourCard__content {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    justify-content: space-between !important;
    margin-top: 14px !important;
    padding: 0 !important;
}

/* Clamped Title with Equal Height Across All Boxes */
.tourCard__title,
.tourCard.-type-1 .tourCard__title {
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    min-height: 46px !important;
    max-height: 46px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin-bottom: 6px !important;
}

.tourCard__title a {
    color: var(--egypt-navy) !important;
    transition: color 0.2s ease !important;
}

.tourCard__title a:hover {
    color: var(--egypt-gold) !important;
}

/* Location Text Fixed Baseline */
.tourCard__content > p.text-light-1 {
    min-height: 22px !important;
    line-height: 22px !important;
    margin-top: 4px !important;
    margin-bottom: 12px !important;
    font-size: 13.5px !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Reviews and Price Row Pinned to Bottom Edge */
.tourCard__content > .row:last-child {
    margin-top: auto !important;
    padding-top: 14px !important;
    border-top: 1px solid #f1f5f9 !important;
    width: 100% !important;
}

/* Luxury Recommended Pill (Replaces 0 Review stars) */
.tour-recommended-pill {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    background: linear-gradient(135deg, rgba(223, 183, 67, 0.15) 0%, rgba(197, 152, 53, 0.08) 100%) !important;
    color: #946917 !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    padding: 4px 10px !important;
    border-radius: 50px !important;
    border: 1px solid rgba(197, 152, 53, 0.35) !important;
    box-shadow: 0 2px 6px rgba(197, 152, 53, 0.08) !important;
    transition: all 0.25s ease !important;
}

.tour-recommended-pill .recommended-sparkle {
    color: var(--egypt-gold) !important;
    font-size: 11px !important;
}

.tourCard:hover .tour-recommended-pill {
    background: var(--egypt-gold-gradient) !important;
    color: #ffffff !important;
    border-color: var(--egypt-gold-light) !important;
    box-shadow: 0 4px 12px rgba(197, 152, 53, 0.3) !important;
}

.tourCard:hover .tour-recommended-pill .recommended-sparkle {
    color: #ffffff !important;
}

/* Uniform Card Images */
.cardImage img,
.transfer-loop-card .cardImage img {
    object-fit: cover !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 8px !important;
    transition: transform 0.5s ease !important;
}

.tourCard:hover .cardImage img,
.transfer-loop-card:hover .cardImage img {
    transform: scale(1.05) !important;
}

/* Badges */
.badge.bg-yellow-1,
.badge-warning,
.cardImage__leftBadge .bg-yellow-1 {
    background: var(--egypt-gold-gradient) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 11px !important;
    padding: 4px 10px !important;
    border-radius: 4px !important;
    box-shadow: 0 4px 10px rgba(197, 152, 53, 0.3);
}

.badge.bg-blue-1,
.badge-info {
    background: var(--egypt-navy) !important;
    border: 1px solid rgba(223, 183, 67, 0.35) !important;
    color: var(--egypt-gold-light) !important;
    font-weight: 600 !important;
    padding: 4px 10px !important;
    border-radius: 4px !important;
}

/* Price Highlight */
.text-24.text-blue-1,
.text-22.text-blue-1,
.tourCard__price {
    color: var(--egypt-gold) !important;
    font-weight: 800 !important;
}

/* Hover Links */
.hover-gold:hover {
    color: var(--egypt-gold) !important;
}

/* Unified Buttons */
.button.-dark-1.bg-blue-1,
.btn-primary,
.button.bg-blue-1 {
    background: var(--egypt-gold-gradient) !important;
    border: none !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
    box-shadow: var(--egypt-shadow-gold);
    transition: all 0.25s ease !important;
}

.button.-dark-1.bg-blue-1:hover,
.btn-primary:hover,
.button.bg-blue-1:hover {
    background: var(--egypt-gold-gradient-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(197, 152, 53, 0.4) !important;
}

.button.-outline-blue-1 {
    border: 1.5px solid var(--egypt-gold) !important;
    color: var(--egypt-gold) !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    transition: all 0.25s ease !important;
}

.button.-outline-blue-1:hover {
    background: var(--egypt-gold-gradient) !important;
    color: #ffffff !important;
    box-shadow: var(--egypt-shadow-gold);
}

/* ==========================================================================
   5. WhatsApp Popup Styling (Single Clean Widget)
   ========================================================================== */
.whatsapp-popup {
    z-index: 99999 !important;
    bottom: 25px !important;
    right: 25px !important;
}

.whatsapp-popup .popup-message {
    border: 1px solid rgba(197, 152, 53, 0.2) !important;
    font-weight: 600 !important;
    font-family: var(--font-sans) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12) !important;
}

.whatsapp-popup img {
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4) !important;
}

/* ==========================================================================
   6. VIP WhatsApp Direct Inquiry Button (Tours & Transfers)
   ========================================================================== */
.btn-wa-inquire {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1.5px solid var(--egypt-gold) !important;
    color: var(--egypt-navy) !important;
    background: linear-gradient(135deg, rgba(223, 183, 67, 0.1) 0%, rgba(197, 152, 53, 0.04) 100%) !important;
    border-radius: 8px !important;
    font-family: var(--font-sans) !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    box-shadow: 0 4px 12px rgba(197, 152, 53, 0.1) !important;
    cursor: pointer !important;
}

.btn-wa-inquire svg {
    color: var(--egypt-gold) !important;
    fill: currentColor !important;
    transition: transform 0.25s ease !important;
    flex-shrink: 0;
}

.btn-wa-inquire:hover {
    background: var(--egypt-gold-gradient) !important;
    color: #ffffff !important;
    border-color: var(--egypt-gold-light) !important;
    box-shadow: 0 10px 25px rgba(197, 152, 53, 0.38) !important;
    transform: translateY(-2px) !important;
}

.btn-wa-inquire:hover svg {
    color: #ffffff !important;
    transform: scale(1.15) !important;
}
