/* Variables */
:root {
    --primary-color: #ECC33B; /* Royal Arabic Gold */
    --primary-hover: #d4ac2b; /* Deep Gold for hover */
    --primary-light: rgba(236, 195, 59, 0.15);
    --secondary-color: #000000; /* Dark Charcoal */
    --dark-color: #000000;
    --light-bg: #f8f9fa;
    --body-font: 'Plus Jakarta Sans', sans-serif;
}

/* Global Setup */
body {
    font-family: var(--body-font);
    color: var(--secondary-color);
    background-color: #ffffff;
    overflow-x: hidden;
}
html {
    scroll-padding-top: 100px;
}

.text-primary { color: var(--primary-color) !important; }
.hover-primary { transition: color 0.3s ease; }
.hover-primary:hover { color: var(--primary-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }
.bg-primary-light { background-color: var(--primary-light) !important; }
.btn-primary { 
    background-color: var(--primary-color); 
    border-color: var(--primary-color); 
    color: #000000 !important; font-weight: 700;
    box-shadow: 0 4px 12px rgba(236, 195, 59, 0.28);
    transition: all 0.3s ease;
}
.btn-primary:hover { 
    background-color: var(--primary-hover); 
    border-color: var(--primary-hover); 
    color: #000000 !important; font-weight: 700;
    box-shadow: 0 6px 18px rgba(236, 195, 59, 0.38);
    transform: translateY(-2px);
}
.btn-outline-primary { 
    color: var(--primary-color); 
    border-color: var(--primary-color); 
}
.btn-outline-primary:hover { 
    background-color: var(--primary-color); 
    border-color: var(--primary-color);
    color: #000000 !important; font-weight: 700; 
}

.tracking-wide { letter-spacing: 1.5px; }
.transition-all { transition: all 0.3s ease; }
.max-w-600 { max-width: 600px; }

.package-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.package-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08) !important;
}

/* Navbar Settings - Royal Black & Arabic Gold */
.main-header {
    background: #000000 !important;
    padding: 0;
    transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid rgba(236, 195, 59, 0.2);
}
.main-header.scrolled {
    background: rgba(0, 0, 0, 0.95) !important;
    backdrop-filter: blur(8px);
    padding: 0;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
    border-bottom: 1px solid rgba(236, 195, 59, 0.25);
}
.navbar-nav .nav-link {
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.95rem;
    margin: 0 10px;
    position: relative;
    transition: color 0.3s ease;
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}
.navbar-nav .nav-link:hover::after, .navbar-nav .nav-link.active::after {
    width: 100%;
}
.main-header .btn-outline-primary {
    color: var(--primary-color) !important;
    border: 1.5px solid var(--primary-color) !important;
    background: transparent;
    font-weight: 600;
    transition: all 0.3s ease;
}
.main-header .btn-outline-primary:hover {
    background-color: var(--primary-color) !important;
    color: #000000 !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 4px 14px rgba(236, 195, 59, 0.35);
}
.main-header .navbar-toggler {
    border-color: rgba(236, 195, 59, 0.4) !important;
}
.main-header .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(236, 195, 59, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Hero Section & Slider (Sample Style Left-to-Right Vignette) */
.hero-section {
    position: relative;
    height: 85vh;
    min-height: 620px;
}
.heroSwiper {
    width: 100%;
    height: 100%;
}
.hero-bg {
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* Left-to-Right Dark Gradient Overlay (Desktop): Leaves Landmark Bright & Clear on Right */
.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.90) 0%,
        rgba(0, 0, 0, 0.78) 28%,
        rgba(0, 0, 0, 0.45) 52%,
        rgba(0, 0, 0, 0.12) 72%,
        rgba(0, 0, 0, 0) 90%
    );
    z-index: 1;
    pointer-events: none;
}

/* Subtle Bottom Shade to Seamlessly Anchor the Floating Search Bar */
.hero-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 140px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Hero Typography & Left-Aligned Layout */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 640px;
}
.hero-title {
    font-size: clamp(2.2rem, 4.2vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.5px;
    color: #ffffff;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.6);
}
.hero-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.92);
    max-width: 540px;
    font-weight: 400;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Sample Image Style CTA Button (Royal Arabic Gold) */
.btn-hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--primary-color) !important; /* #ECC33B */
    color: #000000 !important;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 13px 34px;
    border-radius: 8px !important;
    border: 1px solid var(--primary-color) !important;
    text-decoration: none;
    box-shadow: 0 4px 18px rgba(236, 195, 59, 0.35);
    transition: all 0.25s ease-in-out;
}
.btn-hero-cta:hover {
    background-color: #d4ac2b !important;
    border-color: #d4ac2b !important;
    color: #000000 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(236, 195, 59, 0.5);
}

.heroSwiper .swiper-pagination {
    bottom: 95px !important;
    z-index: 5;
}
.swiper-pagination-bullet {
    background: #fff;
    opacity: 0.5;
    width: 10px;
    height: 10px;
    transition: all 0.3s;
}
.swiper-pagination-bullet-active {
    background: var(--primary-color);
    opacity: 1;
    width: 24px;
    border-radius: 5px;
}

/* Counter Section */
.mt-negative {
    margin-top: -60px;
}
.icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.counter-box:hover .icon-wrapper {
    background-color: var(--primary-color) !important;
    color: #fff !important;
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

/* About Section */
.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    border: 5px solid #fff;
}

/* Packages Cards */
.package-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}
.package-card .card-img-top {
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.package-card:hover .card-img-top {
    transform: scale(1.05);
}
.price-tag {
    bottom: -15px;
    right: 20px;
    box-shadow: 0 4px 10px rgba(230, 57, 70, 0.3);
    z-index: 2;
}

/* Services Cards */
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}
.service-card:hover .service-icon {
    background-color: var(--primary-color) !important;
    color: #fff !important;
}
.service-icon {
    width: 80px;
    height: 80px;
    transition: all 0.3s ease;
}

/* Footer Links */
.footer-links a:hover {
    color: var(--primary-color) !important;
    padding-left: 5px;
    transition: all 0.3s ease;
}

/* Media Queries */
@media (max-width: 991px) {
    .main-header {
        background: #000000 !important;
        padding: 6px 0;
    }
    .main-header .navbar-collapse {
        background: #0a0a0a;
        padding: 15px 20px;
        margin-top: 10px;
        border-radius: 12px;
        border: 1px solid rgba(236, 195, 59, 0.25);
    }
    .navbar-nav .nav-link {
        color: #ffffff !important;
        font-weight: 600;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
    .navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
        color: var(--primary-color) !important;
    }
    .navbar-nav .nav-link::after {
        display: none;
    }
    .navbar-toggler {
        border-color: rgba(236, 195, 59, 0.5) !important;
    }
    .navbar-collapse .btn-outline-primary {
        color: var(--primary-color) !important;
        border: 1.5px solid var(--primary-color) !important;
        font-weight: 700;
        width: 100%;
        margin-top: 10px;
        text-align: center;
    }
    .navbar-collapse .btn-outline-primary:hover {
        background-color: var(--primary-color) !important;
        color: #000000 !important;
    }
    
    .hero-section {
        height: auto;
        min-height: 540px;
    }
    .hero-bg::before {
        background: linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.78) 0%,
            rgba(0, 0, 0, 0.70) 50%,
            rgba(0, 0, 0, 0.88) 100%
        ) !important;
    }
    .hero-content {
        padding-top: 50px;
        padding-bottom: 70px;
    }
    
    .experience-badge {
        right: 10px;
        bottom: 10px;
    }

    /* Full Dark Navy Footer on Mobile */
    .footer-section {
        background-color: var(--primary-color) !important;
        background-image: none !important;
    }
    .footer-section .position-absolute.top-0.end-0 {
        display: none !important;
    }
    .footer-section p.text-dark {
        color: rgba(255, 255, 255, 0.85) !important;
    }
    .footer-section h5 {
        color: #000000 !important; font-weight: 700;
        margin-top: 0 !important;
        line-height: normal !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        padding-bottom: 8px;
        margin-bottom: 16px !important;
    }
    .footer-section .footer-links a,
    .footer-section a.text-dark {
        color: rgba(255, 255, 255, 0.8) !important;
        transition: color 0.2s ease, padding-left 0.2s ease;
    }
    .footer-section .footer-links a:hover,
    .footer-section a.text-dark:hover {
        color: var(--primary-color) !important;
        padding-left: 4px;
    }
    .footer-section ul.text-dark {
        color: rgba(255, 255, 255, 0.8) !important;
    }
    .footer-section ul.text-dark li,
    .footer-section ul.text-dark span {
        color: rgba(255, 255, 255, 0.85) !important;
    }
    .footer-section ul.text-dark i {
        color: var(--primary-color) !important;
    }
    .footer-section .border-top {
        border-color: rgba(255, 255, 255, 0.15) !important;
        color: rgba(255, 255, 255, 0.7) !important;
    }
    .footer-section .border-top p {
        color: rgba(255, 255, 255, 0.7) !important;
    }
    .footer-section .border-top a {
        color: var(--primary-color) !important;
    }
}

/* Hotel Pricing Table Redesign */
.hotel-pricing-table {
    border-collapse: separate !important;
    border-spacing: 0;
    width: 100%;
}
.hotel-pricing-table tbody tr:hover {
    background-color: transparent !important;
}
.hotel-pricing-table tbody tr:hover td {
    background-color: inherit;
}
.hotel-pricing-table thead th.hotel-head-col {
    background-color: #ECC33B !important;
    color: #000000 !important;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.3px;
}
.hotel-pricing-table thead th.hotel-makkah-head {
    border-right: 2px solid #ffffff !important;
}
.hotel-pricing-table thead th.room-head-col {
    background-color: #000000 !important;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.85rem;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    letter-spacing: 0.3px;
}
.hotel-pricing-table thead th.room-head-col:last-child {
    border-right: none;
}
.hotel-pricing-table tbody td.hotel-info-cell {
    background-color: rgba(236, 195, 59, 0.08) !important;
    transition: background-color 0.2s ease;
}
.hotel-pricing-table tbody td.hotel-makkah-cell {
    border-right: 2px solid #ffffff !important;
}
.hotel-pricing-table tbody td.hotel-price-cell {
    background-color: #ffffff;
    transition: all 0.22s ease-in-out;
    cursor: pointer;
    position: relative;
}
.hotel-pricing-table tbody td.hotel-price-cell:hover {
    background-color: #fff9e6 !important;
    box-shadow: inset 0 0 0 2px #ECC33B;
    z-index: 2;
}
.hotel-pricing-table .btn-book-now {
    background-color: #ECC33B;
    color: #000000;
    border: none;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 5px 16px;
    border-radius: 50px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
    transition: all 0.22s ease-in-out;
    display: inline-block;
}
.hotel-pricing-table tbody td.hotel-price-cell:hover .btn-book-now {
    background-color: #000000 !important;
    color: #ECC33B !important;
    transform: translateY(-2px) scale(1.06);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35) !important;
}
.hotel-pricing-table tbody td.hotel-price-cell:hover .price-display-val {
    color: #000000 !important;
    font-weight: 800 !important;
}

/* Shimmer Skeleton Loader */
@keyframes skeletonShimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}
.skeleton-box {
    display: inline-block;
    height: 14px;
    border-radius: 6px;
    background: linear-gradient(90deg, #f1f5f9 20%, #e2e8f0 45%, #f1f5f9 70%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.4s infinite linear;
    vertical-align: middle;
}
.skeleton-box.skeleton-badge {
    height: 20px;
    border-radius: 4px;
}
.skeleton-box.skeleton-btn {
    height: 28px;
    width: 82px;
    border-radius: 6px;
}

/* ==========================================================================
   Custom Themed Dialog Box (Replaces native browser alert)
   Matches website theme: Royal Arabic Gold (#ECC33B) and Black (#000000)
   ========================================================================== */
.almoiz-dialog-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.almoiz-dialog-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.almoiz-dialog-card {
    background: #ffffff;
    width: 100%;
    max-width: 440px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
    transform: scale(0.9) translateY(10px);
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(236, 195, 59, 0.25);
    font-family: 'Plus Jakarta Sans', 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.almoiz-dialog-backdrop.active .almoiz-dialog-card {
    transform: scale(1) translateY(0);
}

.almoiz-dialog-header {
    background: #000000;
    color: #ECC33B;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 3px solid #ECC33B;
}

.almoiz-dialog-header-title {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #ECC33B;
}

.almoiz-dialog-close-btn {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    opacity: 0.75;
    transition: opacity 0.2s, background-color 0.2s;
}

.almoiz-dialog-close-btn:hover {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.1);
}

.almoiz-dialog-body {
    padding: 28px 24px 20px;
    text-align: center;
}

.almoiz-dialog-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
}

.almoiz-dialog-icon-wrapper.info {
    background-color: rgba(236, 195, 59, 0.15);
    color: #b89117;
    border: 2px solid rgba(236, 195, 59, 0.4);
}

.almoiz-dialog-icon-wrapper.success {
    background-color: rgba(22, 163, 74, 0.12);
    color: #16a34a;
    border: 2px solid rgba(22, 163, 74, 0.35);
}

.almoiz-dialog-icon-wrapper.error {
    background-color: rgba(220, 38, 38, 0.12);
    color: #dc2626;
    border: 2px solid rgba(220, 38, 38, 0.35);
}

.almoiz-dialog-icon-wrapper.warning {
    background-color: rgba(245, 158, 11, 0.12);
    color: #f59e0b;
    border: 2px solid rgba(245, 158, 11, 0.35);
}

.almoiz-dialog-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #000000;
    margin: 0 0 10px;
}

.almoiz-dialog-message {
    font-size: 0.93rem;
    color: #4b5563;
    line-height: 1.55;
    margin: 0 0 24px;
    word-break: break-word;
}

.almoiz-dialog-footer {
    padding: 0 24px 24px;
    text-align: center;
}

.almoiz-dialog-ok-btn {
    background-color: #ECC33B;
    color: #000000 !important;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 10px 38px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(236, 195, 59, 0.35);
    transition: all 0.25s ease;
    min-width: 120px;
    outline: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.almoiz-dialog-ok-btn:hover {
    background-color: #d4ac2b;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(236, 195, 59, 0.45);
}

.almoiz-dialog-ok-btn:active {
    transform: translateY(0);
}

.almoiz-dialog-ok-btn:focus-visible {
    box-shadow: 0 0 0 3px rgba(236, 195, 59, 0.5);
}



