/* ==========================================================================
   AL-HARAMAIN UMRAH - ULTRA PREMIUM "PRO" CSS FRAMEWORK
   ========================================================================== */

:root {
    /* Refined Color Palette */
    --color-primary: #34908B; /* Modern Deep Teal */
    --color-primary-light: rgba(165, 233, 221, 0.15); /* #A5E9DD light */
    --color-primary-dark: #226b67;
    
    --color-secondary: #6FBEB2; /* Mid Teal Accent */
    
    --color-gold: #FDF4AF; /* Soft Yellow Cream */
    --color-gold-light: rgba(253, 244, 175, 0.15);
    
    --color-surface: #ffffff;
    --color-background: #f8faf9;
    --color-light-gray: #f2f7f6;
    
    --color-border: rgba(52, 144, 139, 0.1);
    --color-border-hover: rgba(52, 144, 139, 0.25);
    
    --color-black: #172b29; /* Very Dark Teal for Text/Headers */
    --color-text: #4a5c5b;
    --color-text-light: #6a8280;
    
    /* Modern Typography */
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layered Smooth Shadows (Apple/Stripe style) */
    --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(16, 24, 40, 0.05), 0 2px 4px -2px rgba(16, 24, 40, 0.05);
    --shadow-lg: 0 12px 24px -4px rgba(16, 24, 40, 0.08), 0 4px 8px -4px rgba(16, 24, 40, 0.04);
    --shadow-xl: 0 24px 48px -12px rgba(16, 24, 40, 0.12);
    
    --shadow-glow: 0 8px 20px rgba(15, 98, 254, 0.25);
    
    /* App-like Radii */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 9999px;
    
    --transition-fast: 0.2s ease-out;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-background);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-black);
    margin-top: 0;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.35rem; }

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.text-center { text-align: center; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.w-100 { width: 100%; display: block; text-align: center; }
.py-section { padding: 100px 0; }

.subheading {
    font-family: var(--font-body);
    display: inline-block;
    color: var(--color-primary-dark);
    background: var(--color-primary-light);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-weight: 600;
    font-family: var(--font-body);
    font-size: 0.95rem;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition-smooth);
    border-radius: var(--radius-md);
    letter-spacing: 0.3px;
}

.btn-rounded { border-radius: var(--radius-pill); }
.btn-large { padding: 16px 36px; font-size: 1.05rem; }

.btn-primary { 
    background: var(--color-primary); 
    color: #fff; 
    box-shadow: var(--shadow-sm);
}
.btn-primary:hover { 
    background: var(--color-primary-dark); 
    transform: translateY(-2px); 
}
.btn-primary.shadow-hover:hover {
    box-shadow: var(--shadow-glow);
}

.btn-outline-primary { 
    background: transparent; 
    color: var(--color-primary); 
    border-color: var(--color-primary); 
}
.btn-outline-primary:hover { 
    background: var(--color-primary-light); 
}

.btn-outline-light { 
    background: transparent; 
    color: #fff; 
    border-color: rgba(255,255,255,0.4); 
}
.btn-outline-light:hover { 
    background: #fff; 
    color: var(--color-black); 
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.top-bar {
    background-color: var(--color-black);
    color: rgba(255,255,255,0.7);
    font-size: 0.8rem;
    padding: 10px 0;
    font-weight: 500;
}
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; }
.contact-info { display: flex; gap: 24px; }
.contact-info span { display: flex; align-items: center; gap: 6px; }
.social-links { display: flex; gap: 20px; }
.social-links a { color: rgba(255,255,255,0.7); }
.social-links a:hover { color: #fff; }

.site-header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition-smooth);
    border-bottom: 1px solid var(--color-border);
}
.site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
    border-bottom-color: transparent;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    transition: var(--transition-smooth);
}
.site-header.scrolled .header-container { height: 72px; }

.brand-logo { display: flex; flex-direction: row; align-items: center; line-height: 1; text-decoration: none; }
.brand-al { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 800; color: var(--color-black); letter-spacing: -0.5px; }
.brand-sub { font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase; color: var(--color-primary); font-weight: 700; margin-top: 4px; display: block; }

.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 36px;
    margin: 0;
    padding: 0;
}
.nav-menu a {
    color: var(--color-text);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition-smooth);
    border-radius: 2px;
}
.nav-menu a:hover::after, .nav-menu a.active::after { width: 100%; }
.nav-menu a:hover, .nav-menu a.active { color: var(--color-black); }

/* Dropdown Menu */
.has-dropdown {
    position: relative;
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    min-width: 200px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-smooth);
    list-style: none;
    border: 1px solid var(--color-border);
    margin: 0;
}
.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    font-weight: 500;
    color: var(--color-text);
}
.dropdown-menu li a::after { display: none; }
.dropdown-menu li a:hover { background: rgba(52, 144, 139, 0.05); color: var(--color-primary); padding-left:24px; }


.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-black);
    cursor: pointer;
    padding: 5px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    background-color: var(--color-black);
    color: #fff;
    padding: 140px 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 85vh;
}
.hero-bg-pattern {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, var(--color-black) 0%, var(--color-primary-dark) 100%);
    z-index: 1;
}
.hero-bg-pattern::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 40px 40px;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    text-align: center;
    margin: 0 auto;
}
.hero-content h1 {
    color: #fff;
    margin-bottom: 24px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--color-gold);
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 30px;
    border: 1px solid rgba(255,255,255,0.05);
}
.hero-content p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 48px;
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.hero-cta { display: flex; justify-content: center; gap: 20px; }

/* ==========================================================================
   Trust Section
   ========================================================================== */
.trust-section {
    background: var(--color-surface);
    padding: 60px 0;
    position: relative;
    z-index: 10;
    margin-top: -50px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    width: 90%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid var(--color-border);
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 0 40px;
}
.trust-card {
    text-align: left;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.trust-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--color-primary-light);
    border-radius: var(--radius-md);
    margin-bottom: 10px;
}
.trust-icon span {
    font-size: 28px;
    color: var(--color-primary);
}
.trust-card h3 { font-size: 1.1rem; margin-bottom: 0; }
.trust-card p { font-size: 0.9rem; color: var(--color-text-light); margin: 0; line-height: 1.5; }

/* ==========================================================================
   Package Cards
   ========================================================================== */
.packages-section { background: var(--color-background); }
.package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 40px;
}
.package-card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition-smooth);
    position: relative;
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
}
.package-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-border-hover);
}
.package-badge {
    position: absolute;
    top: 20px; left: 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    color: var(--color-black);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
    box-shadow: var(--shadow-sm);
}
.package-image {
    position: relative;
    height: 220px;
    background: var(--color-light-gray);
    overflow: hidden;
}
.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #e4e7ec 0%, #f2f4f7 100%);
}
.package-duration {
    position: absolute;
    bottom: 20px; right: 20px;
    background: rgba(18, 22, 25, 0.85);
    backdrop-filter: blur(4px);
    color: #fff;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 600;
}
.package-content { padding: 32px; display: flex; flex-direction: column; flex-grow: 1; }
.package-title { font-size: 1.4rem; margin-bottom: 24px; }
.package-price-wrapper {
    margin-bottom: 24px;
}
.price-label { display: block; font-size: 0.85rem; color: var(--color-text-light); margin-bottom: 4px; font-weight: 500; }
.price-amount {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-black);
    letter-spacing: -0.5px;
}
.package-details { margin-bottom: 32px; padding: 24px 0; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); flex-grow: 1;}
.detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.95rem;
    color: var(--color-text);
    font-weight: 500;
}
.detail-item:last-child { margin-bottom: 0; }
.detail-item .icon { font-size: 1.2rem; color: var(--color-text-light); }
.package-action { margin-top: auto; }

/* ==========================================================================
   Process Section
   ========================================================================== */
.process-section { background-color: var(--color-surface); border-top: 1px solid var(--color-border); }
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
}
.step-item {
    text-align: left;
    position: relative;
}
.step-number {
    width: 48px;
    height: 48px;
    background: var(--color-primary-light);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 20px;
}
.step-item h4 { font-size: 1.2rem; margin-bottom: 12px; }
.step-item p { font-size: 0.95rem; color: var(--color-text-light); margin: 0; line-height: 1.6; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background-color: var(--color-black);
    color: #fff;
    padding: 100px 0 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 80px;
}
.footer-logo .brand-al { color: #fff; }
.footer-desc { color: rgba(255,255,255,0.6); font-size: 0.95rem; margin: 24px 0; line-height: 1.8; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px;
    background: rgba(255,255,255,0.05);
    color: #fff;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.1);
}
.footer-social a:hover { background: #fff; color: var(--color-black); }

.footer-links h4, .footer-contact h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 30px;
}
.footer-links ul, .contact-list { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 16px; }
.footer-links a { color: rgba(255,255,255,0.6); font-weight: 500; }
.footer-links a:hover { color: #fff; }
.contact-list li { color: rgba(255,255,255,0.6); margin-bottom: 20px; display: flex; gap: 16px; align-items: flex-start; font-size: 0.95rem; line-height: 1.5; }
.contact-list li span { font-size: 1.2rem; color: rgba(255,255,255,0.4); margin-top: 2px;}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.4);
    font-size: 0.9rem;
}

/* ==========================================================================
   Animations
   ========================================================================== */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1024px) {
    .trust-section { margin-top: -30px; width: 95%; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); padding: 20px; gap: 40px;}
    .process-steps { grid-template-columns: repeat(2, 1fr); gap: 40px;}
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 50px; }
}

@media (max-width: 768px) {
    body { padding-bottom: 90px; } /* Space for mobile sticky action bar */
    .container { width: 100%; padding: 0 20px; }
    h1 { font-size: 2.2rem !important; line-height: 1.2; }
    h2 { font-size: 1.8rem !important; line-height: 1.3; }
    h3 { font-size: 1.2rem !important; }
    
    .top-bar { display: none; }
    
    .nav-menu {
        position: absolute;
        top: 100%; left: 0; width: 100%;
        background: #ffffff;
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        z-index: 1001;
        flex-direction: column;
        align-items: stretch;
        padding: 15px 20px 25px;
        box-shadow: 0 24px 48px -12px rgba(16, 24, 40, 0.15);
        border-bottom-left-radius: var(--radius-lg);
        border-bottom-right-radius: var(--radius-lg);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: var(--transition-smooth);
        gap: 4px;
        text-align: left;
    }
    .nav-menu.active { opacity: 1; visibility: visible; transform: translateY(0); }
    .nav-menu a { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 14px 16px; font-size: 1.05rem; border-radius: var(--radius-sm); border-bottom: 1px solid var(--color-light-gray); }
    .nav-menu li:last-child a { border-bottom: none; }
    .nav-menu a::after { display: none; }
    .nav-menu a:hover, .nav-menu a.active { background: var(--color-light-gray); color: var(--color-primary); }
    
    /* Dropdown Inline Accordion Mobile */
    .has-dropdown .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        background: transparent;
        transform: none;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        padding: 0;
        margin-left: 16px;
        border-left: 2px solid var(--color-primary-light);
        transition: all 0.4s ease;
        min-width: unset;
    }
    .has-dropdown:hover .dropdown-menu, .has-dropdown:focus-within .dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 500px;
        padding: 8px 0 8px 8px;
        margin-top: 4px;
    }
    .dropdown-menu li a { padding: 12px 16px; font-size: 0.95rem; border-bottom: none; }
    
    .header-actions .btn { display: none; }
    .mobile-menu-toggle { display: block; }
    
    .hero-section { padding: 100px 0; min-height: 70vh; }
    .hero-cta { flex-direction: column; width: 100%; }
    .hero-cta .btn { width: 100%; }
    
    .trust-section { position: relative; margin-top: 0; width: 100%; border-radius: 0; box-shadow: none; border-left: 0; border-right: 0;}
    .trust-grid { grid-template-columns: 1fr; padding: 0; gap: 30px; text-align: center;}
    .trust-card { align-items: center; }
    
    .process-steps { grid-template-columns: 1fr; text-align: center; }
    .step-number { margin: 0 auto 20px; }
    
    .footer-grid { 
        grid-template-columns: repeat(2, 1fr); 
        text-align: left; 
        gap: 40px 20px;
    }
    .footer-brand, .footer-contact {
        grid-column: 1 / -1;
    }
    .footer-social { justify-content: flex-start; }
    .contact-list li { justify-content: flex-start; text-align: left; }
}
