/* =========================================
   1. VARIABLES & RESET (ETHEREAL LIGHT THEME)
   ========================================= */
:root {
    /* Color Palette */
    --bg-main: #FDFBF7;      /* Warm Alabaster / Paper White */
    --bg-secondary: #F4F1EA; /* Soft Sand / Secondary Background */
    --bg-glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(197, 160, 89, 0.2); /* Subtle Gold Border */
    
    --gold: #C5A059;         /* Muted Metallic Gold (More sophisticated) */
    --gold-light: #E5CFA0;   /* Pale Champagne */
    --gold-dark: #8E7036;    /* Antique Bronze */
    
    --text-main: #2D3436;    /* Deep Charcoal (Softer than black) */
    --text-muted: #636e72;   /* Slate Grey */
    --text-light: #ffffff;   /* For dark buttons/overlays */
    
    --accent-red: #d63031;   /* Modern Alert Red */
    --accent-green: #00b894; /* Modern Success Green */

    /* Typography */
    --font-heading: 'Cinzel', serif;
    --font-body: 'Montserrat', sans-serif;

    /* Spacing & Layout */
    --nav-height: 90px;
    --container-width: 1240px;
    --border-radius: 20px;

    /* Effects */
    --shadow-soft: 0 20px 40px rgba(197, 160, 89, 0.08);
    --shadow-hover: 0 30px 60px rgba(197, 160, 89, 0.15);
    --glow-gold: 0 0 25px rgba(197, 160, 89, 0.2);
    --backdrop-blur: blur(20px);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.8;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    background-image: radial-gradient(circle at top right, rgba(197, 160, 89, 0.05) 0%, transparent 40%),
                      radial-gradient(circle at bottom left, rgba(197, 160, 89, 0.05) 0%, transparent 40%);
}

/* =========================================
   2. CUSTOM CURSOR & SCROLLBAR
   ========================================= */
body {
    cursor: none; 
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--text-main);
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid var(--gold);
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9998;
    pointer-events: none;
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

body.hovering .cursor-outline {
    width: 60px;
    height: 60px;
    background-color: rgba(197, 160, 89, 0.1);
    border-color: var(--gold);
}

body.clicking .cursor-outline {
    width: 30px;
    height: 30px;
    background-color: var(--gold);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-main);
}

::-webkit-scrollbar-thumb {
    background: #dcdde1;
    border-radius: 5px;
    border: 2px solid var(--bg-main);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

/* Scroll Progress Bar */
.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    z-index: 10001;
    background: transparent;
}

.scroll-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    width: 0%;
}

/* =========================================
   3. TYPOGRAPHY & UTILITIES
   ========================================= */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

p {
    color: var(--text-muted);
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.section-padding {
    padding: 120px 0;
    position: relative;
}

.divider-gold {
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--gold), var(--gold-light));
    margin: 25px auto;
    border-radius: 2px;
}

.text-center { text-align: center; }
.mt-3 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.mb-3 { margin-bottom: 1rem; }
.text-muted { color: var(--text-muted) !important; }

.gold-text-gradient {
    background: linear-gradient(to right, var(--gold-dark), var(--gold), var(--gold-dark));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 5s linear infinite;
    font-weight: 800;
}

/* =========================================
   4. NAVBAR STYLES
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    transition: all 0.4s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    height: 80px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.nav-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 55px; 
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 45px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    position: relative;
    padding: 5px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.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%;
}

.nav-link.active {
    color: var(--gold-dark);
}

.btn-primary {
    background: var(--text-main);
    border: 1px solid var(--text-main);
    padding: 12px 30px !important;
    border-radius: 50px;
    color: #fff;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.3);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .bar {
    width: 28px;
    height: 3px;
    background-color: var(--text-main);
    margin: 6px 0;
    transition: 0.4s;
    border-radius: 2px;
}

/* =========================================
   5. BUTTONS & INPUTS
   ========================================= */
.btn {
    display: inline-block;
    padding: 16px 36px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #fff;
    box-shadow: 0 10px 25px rgba(197, 160, 89, 0.3);
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(197, 160, 89, 0.4);
}

.btn-transparent {
    background: transparent;
    border: 2px solid #fff; /* For hero specifically */
    color: #fff;
    margin-left: 15px;
}

.btn-transparent:hover {
    background: #fff;
    color: var(--text-main);
    border-color: #fff;
}

.link-gold {
    color: var(--gold-dark);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.link-gold:hover {
    color: var(--gold);
    gap: 12px;
}

/* Forms */
.custom-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-full { grid-column: 1 / -1; }

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    margin-bottom: 10px;
    font-size: 0.85rem;
    color: var(--text-main);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-input, .form-select, .form-textarea {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 18px;
    border-radius: 12px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.form-textarea {
    resize: vertical;
    min-height: 140px;
}

.form-input:focus, .form-textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.1);
}

/* =========================================
   6. GLASS COMPONENTS (CARDS)
   ========================================= */
.glass-card {
    background: var(--bg-glass);
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid #fff;
    border-radius: var(--border-radius);
    padding: 50px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: var(--shadow-soft);
}

.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--gold-light);
    background: rgba(255, 255, 255, 0.95);
}

.icon-gold {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 25px;
    display: inline-block;
    background: rgba(197, 160, 89, 0.1);
    padding: 20px;
    border-radius: 50%;
}

.icon-gold-lg {
    font-size: 3rem;
    color: var(--gold-dark);
    margin-bottom: 25px;
}

/* =========================================
   7. HERO SECTIONS
   ========================================= */
/* Home Hero */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    /* Clean parallax feel */
    background: url('../assets/images/kaaba-bg.jpg') center/cover no-repeat fixed; 
}

/* Inner Page Hero */
.page-hero {
    height: 55vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: #0d1216; /* Fallback */
    margin-top: 0; /* Reset for transparent header */
}

/* Overlay needs to be stronger on light theme images if text is white, 
   OR we use light text. Let's stick to white text on Hero for contrast. */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
    z-index: 1;
}

/* Abstract Floating Shapes (Subtle White/Gold) */
.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    z-index: 0;
    opacity: 0.4;
    animation: float 12s infinite ease-in-out;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 700px;
    height: 700px;
    background: rgba(197, 160, 89, 0.2);
    bottom: -200px;
    left: -200px;
    animation-delay: 2s;
}

.hero-content, .page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    color: #fff; /* Force white text on dark hero images */
}

.page-hero-content h1, .page-hero-content p, .page-hero-content .divider-gold {
    color: #fff;
    border-color: #fff;
}

.sub-hero-title {
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.9rem;
    color: var(--gold-light);
    margin-bottom: 25px;
    font-weight: 600;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 30px;
    text-shadow: 0 20px 40px rgba(0,0,0,0.3);
    line-height: 1.1;
    color: #fff;
}

.page-title {
    font-size: 3.8rem;
    margin-bottom: 15px;
    color: #fff;
}

.hero-desc {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 45px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

/* =========================================
   8. SPECIFIC PAGE MODULES
   ========================================= */
   
/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.pre-title {
    color: var(--gold-dark);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 25px;
    color: var(--text-main);
}

/* Features Grid (Icons) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.feature-item {
    text-align: center;
    padding: 40px 30px;
    background: #fff;
    border-radius: var(--border-radius);
    transition: 0.4s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.03);
}

.feature-item:hover {
    background: #fff;
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(197, 160, 89, 0.15);
    border-color: var(--gold-light);
}

/* Destinations Cards */
.destinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.destination-card {
    background: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: 0.4s;
    box-shadow: var(--shadow-soft);
}

.destination-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.card-image-wrapper {
    height: 280px;
    background: #f1f2f6;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.img-placeholder {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    font-weight: 500;
}

.card-content {
    padding: 35px;
}

.card-content h3 {
    color: var(--text-main);
    margin-bottom: 15px;
    font-size: 1.6rem;
}

.card-content p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* Umrah Packages */
.packages-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.package-card {
    display: grid;
    grid-template-columns: 1.5fr 2fr 1fr;
    gap: 40px;
    padding: 40px;
    align-items: center;
    background: #fff; /* Clean white */
    border: none;
}

.package-header h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.badge-gold {
    background: var(--bg-secondary);
    color: var(--gold-dark);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-red {
    background: rgba(214, 48, 49, 0.1);
    color: var(--accent-red);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.detail-list li {
    margin-bottom: 10px;
    color: var(--text-main);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.detail-list i {
    color: var(--gold);
    width: 30px;
    font-size: 1.1rem;
}

.pricing-table {
    margin-top: 25px;
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: 12px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: var(--text-main);
}

.price-row:last-child { margin-bottom: 0; }
.price-row .price { color: var(--gold-dark); font-weight: 800; font-size: 1.1rem; }

.package-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn-whatsapp {
    background: #00b894;
    color: #fff;
    border: none;
    padding: 15px;
    border-radius: 50px;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 184, 148, 0.3);
}
.btn-whatsapp:hover { background: #00a383; transform: translateY(-2px); }

.btn-outline {
    background: transparent;
    border: 2px solid #dfe6e9;
    color: var(--text-muted);
    padding: 14px;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s;
    font-weight: 600;
}
.btn-outline:hover {
    border-color: var(--text-main);
    color: var(--text-main);
}

/* Hajj Grid */
.hajj-packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.hajj-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    transition: 0.4s;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.03);
}

.hajj-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.1);
}

.hajj-header {
    padding: 30px 20px;
    text-align: center;
    color: #fff;
}

.hajj-header h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: #fff;
}

.hajj-header span {
    font-size: 0.85rem;
    opacity: 0.9;
    font-weight: 500;
}

.economy-bg { background: linear-gradient(135deg, #636e72, #2d3436); }
.comfort-bg { background: linear-gradient(135deg, #0984e3, #74b9ff); }
.gold-bg { background: linear-gradient(135deg, var(--gold-dark), var(--gold)); color: #fff; }

.hajj-body {
    padding: 30px;
    text-align: center;
}

.hajj-body p {
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: var(--text-muted);
    border-bottom: 1px solid #f1f2f6;
    padding-bottom: 15px;
}

.hajj-body p:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.hajj-body strong { color: var(--text-main); }

/* Contact Page List */
.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-list i {
    color: var(--gold);
    margin-top: 5px;
    font-size: 1.4rem;
}

.contact-list strong { color: var(--text-main); display: block; margin-bottom: 5px; font-size: 1.1rem; }
.contact-list div { color: var(--text-muted); }

/* =========================================
   9. FOOTER
   ========================================= */
.footer-section {
    background: #fdfbf7;
    padding: 100px 0 30px;
    border-top: 1px solid rgba(0,0,0,0.05);
    margin-top: auto; 
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-col h3 {
    color: var(--text-main);
    margin-bottom: 30px;
    font-size: 1.4rem;
}

.footer-col p, .footer-col address, .footer-col li {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 18px;
    font-style: normal;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid #dcdde1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: 0.3s;
    background: #fff;
}

.social-links a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: #fff;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 40px;
}

/* Background Utility */
.bg-dark-blue {
    background-color: #F4F1EA; /* Replaced Dark Blue with Soft Sand for Light Theme */
}