﻿/*
Theme Name: Exclusive Journeys VIP
Theme URI: https://example.com/vip-theme
Author: Gemini Custom
Author URI: https://example.com
Description: A luxury travel theme converted from HTML template.
Version: 1.1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: luxury, travel, gold, dark
Text Domain: exclusive-journeys
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html,
body {
    direction: ltr !important;
    unicode-bidi: isolate;
}

/* Ensure fonts display with swap behavior */
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-display: swap;
    src: local('Playfair Display');
}

@font-face {
    font-family: 'Cairo';
    font-style: normal;
    font-display: swap;
    src: local('Cairo');
}

:root {
    --gold: #D4AF37;
    --gold-light: #F7E7CE;
    --gold-dark: #B8941E;
    --dark-bg: #0d0d0d;
    --darker-bg: #050505;
    --text-light: #ffffff;
    --text-gray: #b0b0b0;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(212, 175, 55, 0.1);
}

body {
    font-family: 'Cairo', sans-serif;
    background: var(--darker-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: rgba(0, 0, 0, 0.9);
    /* Slightly darker for better contrast */
    backdrop-filter: blur(10px);
    padding: 10px 0;
    /* Reduced padding for slimmer look */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    height: 90px;
    /* Specific height to accommodate large logo */
    display: flex;
    align-items: center;
}

/* Special fluid container for navbar to allow wide spacing */
.navbar .container {
    max-width: 95%;
    /* Use more screen width */
    width: 100%;
    padding: 0 40px;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    /* Ensure it stands alone */
    flex-shrink: 0;
    /* Removed margin-right: auto to allow center element */
}

.header-logo {
    height: 80px;
    width: auto;
    transition: all 0.3s ease;
    display: block;
}

.nav-links-container {
    display: flex;
    align-items: center;
    gap: 30px;
    /* Removed margin-left: auto to allow center element */
}

/* New Header Services Nav */
.header-services-nav {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 0 20px;
}

.service-icon-link {
    color: var(--text-gray);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 10px;
    /* Small text */
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-icon-link i {
    font-size: 18px;
    margin-bottom: 4px;
    color: var(--gold) !important;
}

.service-icon-link:hover {
    color: var(--gold) !important;
    transform: translateY(-2px);
}

/* Hide on mobile - Enforce hiding to prevent clutter */
/* Mobile: Show Header Services as a secondary bar */
@media (max-width: 992px) {
    .header-services-nav {
        display: flex !important;
        position: fixed;
        top: 90px;
        left: 0;
        right: 0;
        height: 60px;
        background: rgba(13, 13, 13, 0.98);
        border-bottom: 1px solid rgba(212, 175, 55, 0.2);
        z-index: 990;
        justify-content: center;
        align-items: center;
        gap: 25px;
        padding: 0 15px;
        overflow-x: auto;
        white-space: nowrap;
        backdrop-filter: blur(10px);
    }

    .header-services-nav .service-icon-link {
        flex-shrink: 0;
        min-width: 40px;
    }

    /* Adjust Hero padding to prevent overlap */
    .hero {
        padding-top: 160px !important;
    }
}

/* CAR BANNER RESPONSIVENESS */
.mobile-car-banner-container {
    display: none !important;
}

.desktop-car-banner {
    display: block !important;
}

@media (max-width: 992px) {
    .mobile-car-banner-container {
        display: block !important;
        width: 100% !important;
    }

    .desktop-car-banner {
        display: none !important;
    }
}

.nav-menu {
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
    z-index: 1001;
}

.bar {
    display: block;
    width: 30px;
    /* Larger bars */
    height: 3px;
    margin: 6px auto;
    /* More spacing */
    transition: all 0.3s ease-in-out;
    background-color: var(--gold);
    border-radius: 2px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    /* contrast against any bg */
}

/* Language Switcher */
.btn-lang {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 40px;
}

.btn-lang:hover {
    background: rgba(212, 175, 55, 0.1);
}

.partner-card {
    margin: 0 50px;
    /* Increased spacing between logos */
    opacity: 1;
    transition: all 0.3s ease;
    display: flex;
    /* Ensure images center if needed */
    align-items: center;
    border: none;
    /* Remove any border */
    outline: none;
    /* Remove any outline */
}

.partner-card img {
    height: 300px;
    width: 280px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    border: none;
    outline: none;
}

.partner-card:hover {
    background: rgba(212, 175, 55, 0.1);
}

.lang-dropdown-container {
    position: relative;
}

.lang-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(13, 13, 13, 0.98);
    border: 1px solid var(--gold);
    border-radius: 8px;
    padding: 10px 0;
    min-width: 160px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1100;
    margin-top: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lang-dropdown-container:hover .lang-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    transition: background 0.3s ease;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.lang-dropdown-menu li:last-child a {
    border-bottom: none;
}

.lang-dropdown-menu li a:hover {
    background: rgba(212, 175, 55, 0.2);
    color: var(--gold);
}

/* Hero Section */
.hero {
    position: relative;
    height: auto;
    /* Allow growth */
    min-height: 120vh;
    /* Increased from 100vh to 120vh for car banner */
    background-image: url('https://images.unsplash.com/photo-1542314831-068cd1dbfeeb?w=1920&h=1080&fit=crop');
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    /* Increased top padding for header clearance */
    padding-bottom: 80px;
    /* Increased bottom padding for car banner */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    width: 100%;
    padding: 0 20px;
}

.hero-title {
    margin-bottom: 30px;
}

.title-exclusive {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 400;
    color: var(--gold);
    letter-spacing: 8px;
    margin-bottom: 5px;
    text-shadow: 0 4px 20px rgba(212, 175, 55, 0.5);
    line-height: 1.1;
}

.title-journeys {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 8px;
    line-height: 1.1;
}

/* Service Page Specifics */
.content-area {
    padding: 100px 0;
}

.service-widget-container {
    padding: 30px;
}

/* Premium Search Box */
/* Premium Search Box */
.search-premium,
.search-premium-widget {
    display: flex;
    gap: 15px;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    flex-wrap: wrap;
    flex-direction: column;
    /* For widget vertical layout */
    overflow: visible;
    /* Ensure dropdowns visible */
    max-width: 100%;
    min-height: 500px;
    /* Minimum height to accommodate car banner */
}

/* Mobile Widget Spacing Fix */
@media (max-width: 768px) {

    .search-premium,
    .search-premium-widget {
        min-height: auto !important;
        padding: 15px !important;
        gap: 10px !important;
    }

    .widget-container {
        min-height: auto !important;
    }

    /* Service Pages Mobile Fix */
    .service-widget-container {
        padding: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 40px !important;
        /* Move space to bottom */
    }

    .content-area {
        padding-top: 0 !important;
        /* Remove top space */
        padding-bottom: 60px !important;
        /* Add bottom space */
        min-height: auto !important;
    }

    .service-widget-container h2 {
        display: none !important;
        /* Hide title if it causes extra space/clutter on mobile */
    }

    /* Hero Mobile Fix - Force Content to Top */
    .hero {
        min-height: auto !important;
        height: auto !important;
        padding-top: 140px !important;
        /* Space for fixed header */
        padding-bottom: 40px !important;
        align-items: flex-start !important;
        /* Do not center vertically */
        display: block !important;
        /* Use block to simpler stacking */
    }

    .hero-content {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}


/* Widget Global Fixes - Ensure Full Visibility */
.search-premium-widget,
.widget-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: visible !important;
}

/* Force all widget iframes to be fully visible */
iframe[src*="trpwdg"],
iframe[src*="widget"] {
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
    border: none !important;
}

/* Ensure map widget fills the entire container width */
.map-wrapper iframe,
.map-wrapper>div,
.map-wrapper div,
.map-wrapper * {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
}

/* VIP Access Section */
.vip-access {
    padding: 30px 0;
    background: var(--dark-bg);
}

.section-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 4px;
    margin-bottom: 25px;
    line-height: 1.2;
}

.vip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.vip-card {
    position: relative;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.vip-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
}

.vip-image {
    height: 150px;
    overflow: hidden;
}

.vip-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.vip-content {
    padding: 10px;
}

.vip-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: var(--gold);
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.vip-content p {
    color: var(--text-gray);
    font-size: 13px;
}

/* Smart Travel Tools Section */
.smart-travel-tools {
    background-color: #0b0b0b;
    padding: 40px 0;
}

.tools-grid-row-1 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
    align-items: stretch;
    /* Ensure cards are same height */
}

.tool-widget-card {
    background: rgba(255, 255, 255, 0.02);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    /* Fill the grid area */
    min-height: 600px;
    /* Force a substantial height for equality */
    overflow: hidden;
}

.tool-widget-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
}

.tool-widget-card h3 {
    color: #fff;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
    text-align: center;
}

.tools-grid-row-2 {
    background: rgba(255, 255, 255, 0.02);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    text-align: center;
}

/* Exclusive Deals Section */
.exclusive-deals {
    padding: 30px 0;
    background: var(--darker-bg);
}

.deals-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.deal-card {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.4s ease;
}

.deal-card:hover {
    transform: translateY(-10px);
}

.deal-image {
    position: relative;
    height: 150px;
    overflow: hidden;
}

.deal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.deal-card:hover .deal-image img {
    transform: scale(1.1);
}

.deal-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--darker-bg);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.deal-content {
    padding: 15px;
}

.deal-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: var(--gold);
    margin-bottom: 5px;
}

.deal-content p {
    color: var(--text-gray);
    font-size: 13px;
    margin-bottom: 15px;
}

.deal-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    font-weight: bold;
}

.price-old {
    color: var(--text-gray);
    text-decoration: line-through;
    font-size: 18px;
}

.price-new {
    color: var(--gold);
    font-size: 24px;
    font-weight: 900;
}

.btn-limited {
    width: 100%;
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 15px;
    border-radius: 12px;
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.4s ease;
    text-transform: uppercase;
}

.btn-limited:hover {
    background: var(--gold);
    color: var(--darker-bg);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.widget-card-compact:hover {
    transform: translateY(-5px);
    border-color: var(--gold) !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

/* 
   FOOTER STYLES 
   Refined to match user screenshot (Gold Theme)
*/
.footer {
    background: var(--darker-bg);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding: 80px 0 0;
    /* Reduced bottom padding */
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

/* Footer Logo/Brand Customization */
.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
}

.logo-circle {
    /* Simulating the globe/compass icon with CSS or image if available */
    /* If direct image, replace here. For now using stylized text/icon structure */
    width: 80px;
    height: 80px;
    border-radius: 50%;
    position: relative;
    /* This would theoretically be the image */
}

.logo-text {
    margin-top: 10px;
}

.brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 400;
    color: var(--text-light);
    /* White/Cream based on image */
    line-height: 1;
    display: block;
}

.brand-name::first-letter {
    font-size: 52px;
    color: var(--gold);
    /* Or keep it all uniform */
}

/* Actually screenshot shows purely Gold "TRIPS" and "LUXURY TRAVEL" */
.brand-name {
    color: var(--gold);
}

.brand-tagline {
    font-family: 'Cairo', sans-serif;
    font-size: 10px;
    letter-spacing: 4px;
    color: var(--text-gray);
    text-transform: uppercase;
    display: block;
    margin-top: 5px;
}

.brand-desc {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 400px;
}

/* Footer Social Icons - Gold Outline Squares */
.social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.social-link {
    width: 45px;
    height: 45px;
    border: 1px solid var(--gold);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
    background: transparent;
    min-width: 45px;
    min-height: 45px;
}

.social-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.social-link:hover {
    background: var(--gold);
    color: var(--darker-bg);
}

/* footer App Buttons - Gold Outline & Gold Text */
.app-buttons {
    display: flex;
    gap: 20px;
}

.btn-app {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border: 1px solid var(--gold);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    background: transparent;
    min-width: 180px;
}

.btn-app:hover {
    background: rgba(212, 175, 55, 0.1);
}

.btn-app i {
    font-size: 28px;
    color: var(--gold);
}

.app-text {
    display: flex;
    flex-direction: column;
}

.get-it {
    font-size: 10px;
    text-transform: uppercase;
    color: var(--gold);
    line-height: 1.2;
}

.store-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--gold);
    line-height: 1.2;
}

/* Footer Columns headers */
.footer-col h4 {
    color: var(--gold);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 20px;
}

.footer-col ul li a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--gold);
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-light);
    /* Or white as in screenshot */
    margin-bottom: 20px;
}

.contact-list li i {
    color: var(--gold);
    /* Icon gold? Or red like screenshot phone? */
    /* Screenshot: flag icon, Red phone icon, red pin. 
       User asked for "yellow same as template". 
       I'll stick to Gold theme for consistency unless requested otherwise. */
    font-size: 16px;
    width: 20px;
}

/* Specific fix for contact icons if they want red/colors? 
   No, user said "Text yellow". Let's verify.
   Screenshot shows: Flag, Red phone, Red/Orange pin.
   I will use Gold for consistency with the "Yellow" request.
*/

.footer-bottom {
    text-align: center;
    padding: 15px 0;
    background: var(--gold);
    color: #ffffff;
    font-size: 14px;
}

.footer-bottom p {
    margin: 0;
    color: #ffffff !important;
    font-weight: 600;
}


/* =========================================
   RESPONSIVE MEDIA QUERIES
   ========================================= */

/* Tablet (1024px and below) */
@media (max-width: 1024px) {

    .vip-grid,
    .deals-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .title-exclusive,
    .title-journeys {
        font-size: 56px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .search-premium {
        flex-direction: column;
    }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {

    /* Navbar Mobile Styles */
    .hamburger-menu {
        display: block;
        z-index: 1001;
        background: rgba(0, 0, 0, 0.5);
        /* Semi-transparent bg for button area */
        border-radius: 5px;
    }

    /* Fix Marquee on Mobile */
    .partner-card {
        min-width: 120px;
        margin: 0 10px;
        padding: 8px 15px;
        font-size: 12px;
        height: 50px;
    }

    .marquee-track {
        display: inline-flex;
        /* Ensure flex row */
        align-items: center;
    }

    /* Ensure above menu */
    /* Ensure above menu */

    .logo-circle {
        margin: 0 auto;
    }

    .navbar .container {
        padding: 0 20px;
        /* Reset padding for mobile */
        max-width: 100%;
    }

    .navbar {
        height: 100px;
        /* Reduced specific height for mobile */
    }

    .header-logo {
        height: 80px;
        /* Smaller logo for mobile */
    }

    .footer-logo {
        align-items: center;
        text-align: center;
    }

    .nav-links-container {
        position: fixed;
        left: -100%;
        top: 0;
        gap: 0;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.98);
        /* Almost solid black */
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: 0.4s ease-in-out;
        border-bottom: none;
        padding: 100px 30px 40px;
        /* Padding top to avoid header */
        z-index: 990;
        /* Below hamburger */
        align-items: center;
        justify-content: flex-start;
        display: flex;
    }

    .nav-links-container {
        position: fixed;
        left: -100%;
        top: 0;
        gap: 0;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.98);
        /* Almost solid black */
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: 0.4s ease-in-out;
        border-bottom: none;
        padding: 100px 30px 40px;
        /* Padding top to avoid header */
        z-index: 990;
        /* Below hamburger */
        align-items: center;
        justify-content: flex-start;
        display: flex;
    }

    .nav-links-container.active {
        left: 0;
    }

    .nav-links-container.active+.hamburger-menu .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-links-container.active+.hamburger-menu .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-links-container.active+.hamburger-menu .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu {
        flex-direction: column;
        width: 100%;
        gap: 0;
        padding: 0;
        margin-bottom: 30px;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-link {
        font-size: 16px;
        display: block;
        padding: 15px 0;
        color: var(--text-light) !important;
        /* Force override blue default */
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .nav-link:hover,
    .nav-link.active {
        color: var(--gold) !important;
        padding-left: 10px;
        /* Slight movement on hover */
    }

    /* Language Switcher in Mobile */
    .lang-switcher-wrapper {
        margin-top: 20px;
        width: 100%;
        display: block;
    }

    .lang-dropdown-container {
        pointer-events: auto;
        /* Ensure clickable */
    }

    .btn-lang {
        width: 100%;
        justify-content: space-between;
        margin-bottom: 10px;
        color: var(--gold) !important;
        border-color: rgba(212, 175, 55, 0.5);
    }

    .lang-dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        border: none;
        background: transparent;
        display: block;
        /* Always show list in mobile to avoid hover issues or JS complexity */
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: 0;
        padding: 0;
    }

    .lang-dropdown-menu li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .lang-dropdown-menu li a {
        padding: 12px 0;
        color: var(--text-gray) !important;
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 14px;
        border-bottom: none;
    }

    .lang-dropdown-menu li a:hover {
        background: transparent;
        color: var(--gold) !important;
        padding-left: 5px;
    }

    .lang-dropdown-container:hover .lang-dropdown-menu {
        position: static;
    }


    /* Hero & Text Scaling */
    .title-exclusive,
    .title-journeys {
        font-size: 38px;
        letter-spacing: 4px;
    }

    .hero-title {
        margin-bottom: 30px;
    }

    .search-premium,
    .search-premium-widget {
        padding: 15px !important;
        gap: 10px;
    }

    .btn-search-premium {
        width: 100%;
        padding: 15px;
    }

    /* Grids to Single Column */
    .vip-grid,
    .deals-grid,
    .tools-grid-row-1,
    .services-grid {
        grid-template-columns: 1fr !important;
    }

    .section-title {
        font-size: 28px;
    }

    /* Footer - Keep Desktop Layout on Mobile */
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
        /* Keep desktop 3-column layout */
        gap: 20px;
        /* Reduce gap for mobile */
        text-align: left;
    }

    .footer-col {
        padding: 0 10px !important;
    }

    .social-links {
        justify-content: flex-start !important;
    }

    .app-buttons {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }

    .btn-app {
        width: auto;
        min-width: 160px;
        justify-content: center;
    }

    .brand-desc {
        margin: 0 0 20px 0;
        max-width: 100%;
    }

    .footer-col ul li {
        display: block;
        margin: 0 0 15px 0;
    }

    .footer-col h4 {
        margin-top: 0;
        margin-bottom: 20px;
    }

    .contact-list li {
        justify-content: flex-start;
    }
}

/* Partners Marquee Styles */
.partners-section {
    background-color: var(--dark-bg);
    padding: 20px 0 10px;
    /* Reduced vertical padding */
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    overflow: hidden;
    margin-bottom: 50px;
    /* Space between partners and footer logo */
}

.partners-title {
    text-align: center;
    color: var(--gold);
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    margin-bottom: 15px;
    /* Reduced margin */
    letter-spacing: 2px;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding-bottom: 20px;
    /* Slight buffer */
}

.marquee-container::before,
.marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, var(--dark-bg), transparent);
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, var(--dark-bg), transparent);
}

.marquee-track {
    display: inline-block;
    animation: marquee 40s linear infinite;
}

.partner-card {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-light);
    margin: 0 15px;
    padding: 5px 20px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 12px;
    min-width: 200px;
    height: 80px;
    transition: all 0.3s ease;
    cursor: default;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
}

.partner-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.partner-card i {
    margin-right: 10px;
    color: var(--gold);
}

.partner-card:hover {
    border-color: var(--gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
    transform: translateY(-2px);
}

.partner-card i {
    margin-right: 10px;
    color: var(--gold);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
        /* Because track is doubled, -50% is seamless */
    }
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
        /* Because track is doubled, -50% is seamless */
    }
}

/* Hide the default WordPress front page content container if empty but keep it structurally if needed. 
   User complained about "Welcome to WordPress" showing up in a white box. 
   I will style the widget container to be dark so it blends in, even if text is there.
*/
.homepage-widgets {
    background-color: var(--dark-bg) !important;
    /* Override inline white */
    color: var(--text-light) !important;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

/* Scroll to Top Button */
#scrollTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--darker-bg);
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#scrollTopBtn:hover {
    background-color: #555;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {

    .title-exclusive,
    .title-journeys {
        font-size: 32px;
        /* Smaller font size for mobile */
        letter-spacing: 2px;
        line-height: 1.2;
    }

    .hero-title {
        margin-bottom: 20px;
        padding: 0 10px;
        /* Ensure no overflow */
        word-wrap: break-word;
        /* Prevent text overflow */
    }

    .search-premium-widget {
        padding: 15px;
        width: 100%;
        overflow: visible !important;
        border-radius: 10px;
    }

    /* Force widget iframe to fit */
    .search-premium-widget iframe,
    .search-premium-widget>div {
        max-width: 100% !important;
        width: 100% !important;
        overflow: visible !important;
    }

    .hero-content {
        padding: 0 15px;
        width: 100%;
    }

    .navbar .container {
        padding: 0 20px;
    }

    /* Control Visibility of Mobile vs Desktop Banners */

    /* Default: Hide Mobile Banner, Show Desktop Banner */
    .mobile-car-banner-container {
        display: none !important;
    }

    .desktop-car-banner {
        display: block !important;
    }

    @media (max-width: 768px) {

        /* Mobile: Show Mobile Banner, Hide Desktop Banner */

        /* FORCE VERTICAL STACKING FOR CARDS ON MOBILE */
        .vip-grid,
        .deals-grid,
        .tools-grid-row-1,
        .services-grid,
        .tools-grid-row-2 {
            display: grid !important;
            grid-template-columns: 1fr !important;
            /* Force single column */
            width: 100% !important;
            gap: 20px !important;
        }

        .tool-widget-card {
            min-height: auto !important;
            padding: 15px !important;
            overflow: visible !important;
        }

        .tool-widget-card h3 {
            margin-bottom: 10px !important;
            font-size: 1.2rem !important;
        }

        .tools-grid-row-2 {
            padding: 10px !important;
        }

        /* Override inline styles for tools row 2 if necessary */
        .tools-grid-row-2[style] {
            grid-template-columns: 1fr !important;
        }

        .mobile-car-banner-container {
            display: block !important;
            margin-bottom: 20px;
            min-height: 350px;
        }

        .desktop-car-banner {
            display: none !important;
        }

        /* Apply Scaling to Mobile Banner - Removed to match flight widget width */
        .mobile-car-banner-container iframe {
            width: 100% !important;
            max-width: 100% !important;
            margin-left: 0;
            transform: none;
        }
    }

    /* Smaller screens scaling - Standardized to match widget */
    @media (max-width: 480px) {
        .mobile-car-banner-container iframe {
            width: 100% !important;
            margin-left: 0;
            transform: none;
        }
    }

    /* Smallest screens scaling - Standardized to match widget */
    @media (max-width: 380px) {
        .mobile-car-banner-container iframe {
            width: 100% !important;
            margin-left: 0;
            transform: none;
        }
    }

    /* Fix Widget Display on Mobile - Comprehensive Solution */
    .widget-container {
        width: 100% !important;
        overflow: visible !important;
        overflow-x: visible !important;
        padding: 0 !important;
        margin: 0 !important;
        transform: none;
        /* Reset transform on container as handled individually */
    }

    .widget-container>div {
        width: 100% !important;
        overflow: visible !important;
        overflow-x: visible !important;
    }

    /* Make sure all widget iframes are fully visible */
    .widget-container iframe,
    .widget-container script+div,
    .search-premium-widget iframe,
    .search-premium-widget>div,
    .search-premium-widget>div>iframe {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        min-height: 380px !important;
        overflow: visible !important;
        overflow-x: visible !important;
        border: none !important;
    }

    /* Force widget content to be visible */
    .search-premium-widget {
        overflow: visible !important;
        overflow-x: visible !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Ensure hero content doesn't clip widgets */
    .hero-content {
        overflow: visible !important;
        overflow-x: visible !important;
    }

    .hero {
        overflow: visible !important;
        overflow-x: visible !important;
    }

    /* Fix for third-party widget containers */
    div[id*="tp"],
    div[class*="tp"],
    div[id*="widget"],
    div[class*="widget"] {
        overflow: visible !important;
        overflow-x: visible !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Specific fix for rental car widget */
    html,
    body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        position: relative;
    }

    .container,
    .navbar .container,
    .footer .container,
    .hero .container {
        width: 100% !important;
        max-width: 100vw !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        overflow-x: hidden !important;
    }

    /* Constrain all widgets and iframes */
    .tool-widget-card,
    .tool-widget-card iframe,
    .widget-container,
    .widget-container iframe {
        max-width: 100% !important;
        width: 100% !important;
    }

}


/* =========================================
   ENHANCED RESPONSIVE & HAMBURGER MENU
   ========================================= */

/* Tablet & Smaller Laptops (max-width: 992px) */
@media (max-width: 992px) {

    .vip-grid,
    .deals-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .tools-grid-row-1,
    .tools-grid-row-2,
    .tools-grid-row-3 {
        display: block;
        /* Stack widgets */
        width: 100%;
    }

    .tool-widget-card,
    .tools-grid-row-1 .tool-widget-card,
    .tools-grid-row-2 .tool-widget-card,
    .tools-grid-row-3 .tool-widget-card {
        margin-bottom: 20px !important;
        width: 100% !important;
        max-width: 100vw !important;
        display: block !important;
        padding: 0 !important;
        /* Zero padding */
        border: none !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    /* Ensure the container itself has no padding */
    .tools-grid-row-2 {
        padding: 0 !important;
        border: none !important;
    }

    /* Footer Content - Stack on Mobile for clear reading */
    .footer-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 40px;
        text-align: center !important;
        /* Center align looks better for stacked footer */
        width: 100%;
        padding: 0 20px;
    }

    .footer-logo {
        align-items: center !important;
        text-align: center;
        margin: 0 auto 20px auto;
        /* Center specifically */
    }

    .brand-desc {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .social-links {
        justify-content: center !important;
        width: 100%;
        margin-bottom: 30px;
    }

    .footer-col {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    .footer-col h4 {
        text-align: center !important;
    }

    .footer-col ul {
        text-align: center !important;
        padding: 0;
    }

    .footer-col .contact-list {
        text-align: center !important;
        padding: 0;
    }

    .app-buttons {
        justify-content: flex-start !important;
        align-items: flex-start !important;
        width: 100%;
    }

    .footer-col {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .app-buttons {
        justify-content: center !important;
        align-items: center !important;
        width: 100%;
    }

    /* Hamburger Menu Logic */
    .hamburger-menu {
        display: block;
        position: absolute;
        right: 20px;
        top: 35px;
    }

    /* Hide ONLY the services icons on mobile */
    .header-services-nav {
        display: none !important;
    }

    /* Mobile Menu Drawer Container */
    .nav-links-container {
        display: none;
        /* Hidden by default */
        position: fixed;
        top: 110px;
        left: 0;
        width: 100%;
        height: auto;
        background: rgba(13, 13, 13, 0.98);
        backdrop-filter: blur(10px);
        padding: 20px;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        border-top: 1px solid var(--gold);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
        z-index: 1000;
    }

    /* Shown when active class is added by JS */
    .nav-links-container.active {
        display: flex;
        animation: slideDown 0.3s ease forwards;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Stack the inner menu items */
    .nav-menu {
        display: flex;
        flex-direction: column;
        width: 100%;
        align-items: center;
        gap: 0;
    }

    .nav-link {
        font-size: 18px;
        padding: 15px 0;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(212, 175, 55, 0.1);
        display: block;
    }

    /* Language Switcher in Mobile Menu */
    .lang-switcher-wrapper {
        margin-top: 10px;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .lang-dropdown-menu {
        position: static;
        /* Stack naturally in mobile */
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        box-shadow: none;
        border: none;
        display: none;
        /* Hidden until clicked or simplified */
        margin-top: 10px;
    }

    /* Allow language dropdown to be visible if needed or keep it simple */
    .lang-dropdown-container:hover .lang-dropdown-menu {
        display: block;
    }
}

/* Social Media Widgets Grid */
.social-widgets-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.widget-card-compact {
    flex: 0 1 280px;
    /* Reduced width */
    min-width: 250px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    /* Reduced padding */
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
}

.widget-card-compact:hover {
    transform: translateY(-3px);
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.1);
}

/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {

    .vip-grid,
    .deals-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }

    .vip-image,
    .deal-image {
        height: 120px !important;
    }

    .vip-content,
    .deal-content {
        padding: 8px !important;
    }

    .vip-content h3,
    .deal-content h3 {
        font-size: 16px !important;
        margin-bottom: 5px !important;
    }

    .social-widgets-grid {
        flex-direction: row !important;
        align-items: stretch !important;
        justify-content: center !important;
        gap: 15px !important;
        flex-wrap: wrap !important;
    }

    .widget-card-compact {
        width: 45% !important;
        max-width: 160px !important;
        min-width: 130px !important;
        flex-direction: column !important;
        justify-content: center !important;
        margin: 0 !important;
        padding: 15px 10px !important;
        text-align: center !important;
        gap: 10px !important;
    }

    .widget-card-compact div {
        text-align: center !important;
    }

    .footer-bottom {
        background: var(--gold) !important;
        color: #ffffff !important;
        padding: 15px 0 !important;
    }

    .footer-bottom p {
        color: #ffffff !important;
    }

    .hero-title .title-exclusive,
    .hero-title .title-journeys {
        font-size: 28px;
        letter-spacing: 2px;
    }

    .search-premium-widget {
        padding: 5px;
        /* Reduced to almost nothing to allow widgets to touch edges */
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 5px;
        /* Softer, smaller radius */
    }

    .app-buttons {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .btn-app {
        width: auto;
        min-width: 140px;
        padding: 8px 15px;
    }

    /* Reduce footer font sizes for mobile */
    .footer-col h4 {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .footer-col ul li a {
        font-size: 12px;
    }

    .contact-list li {
        font-size: 12px;
        gap: 8px;
        margin-bottom: 12px;
    }

    .brand-desc {
        font-size: 12px;
        line-height: 1.5;
    }

    .footer-logo img {
        height: 100px;
    }

    .social-link {
        width: 35px;
        height: 35px;
        min-width: 35px;
        min-height: 35px;
    }

    .social-link svg {
        width: 16px;
        height: 16px;
    }

    .btn-app i {
        font-size: 20px;
    }

    .get-it {
        font-size: 8px;
    }

    .store-name {
        font-size: 12px;
    }

    /* Adjust footer padding for mobile */
    .footer {
        padding: 40px 0 0 !important;
    }

    /* Lazy Load Widget Placeholder */
    .lazy-widget-placeholder {
        min-height: 150px;
        width: 100%;
        background: rgba(255, 255, 255, 0.02);
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        margin-bottom: 20px;
        position: relative;
        overflow: hidden;
    }

    .lazy-widget-placeholder::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
        animation: skeleton-loading 1.5s infinite;
    }

    @keyframes skeleton-loading {
        0% {
            transform: translateX(-100%);
        }

        100% {
            transform: translateX(100%);
        }
    }

    /* 
   ADSENSE PLACEHOLDERS
   Standard-compliant placeholders for AdSense verification
*/
    .adsense-placeholder {
        width: 100%;
        max-width: 1200px;
        margin: 60px auto;
        padding: 30px;
        background: rgba(212, 175, 55, 0.08);
        /* More visible gold tint */
        border: 2px dashed #D4AF37;
        /* Solid gold dashed border */
        border-radius: 12px;
        text-align: center;
        color: #D4AF37;
        /* Gold text */
        min-height: 150px;
        /* Increased height */
        display: flex;
        flex-direction: column;
        /* Stack vertically if needed */
        font-size: 13px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 2px;
        position: relative;
        overflow: hidden;
    }

    .adsense-placeholder::before {
        content: 'Advertisement | مساحة إعلانية';
        opacity: 0.6;
    }

    @media (max-width: 768px) {
        .adsense-placeholder {
            margin: 20px auto;
            min-height: 100px;
            font-size: 11px;
        }
    }
}

/* 
   REMOVING BRANDING & FLOATING ICONS (AdSense Compliance & White Label)
   This hides the blue floating icon and "powered by" tags on mobile and desktop.
*/
[class*="tp-powered-by"],
[id*="tp-widget"],
[class*="av-branding"],
[class*="tp-branding"],
.tp-widget-handle,
.tp-search-form__powered-by,
.tp-widget-wrapper iframe[src*="powered_by=true"],
div[style*="position: fixed"][style*="z-index: 2147483647"],
/* Common for nasty floating widgets */
.aviasales-branding,
.travelpayouts-branding {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    z-index: -999 !important;
    width: 0 !important;
    height: 0 !important;
}