/* ============================================
   UMRAH TRAVEL - FINAL FIXED VERSION
   ============================================ */

/* ============================================
   ROOT VARIABLES
   ============================================ */
:root {
    --gold: #D4AF37;
    --gold-light: #F0D060;
    --gold-dark: #B8960F;
    --gold-gradient: linear-gradient(135deg, #D4AF37, #F0D060);
    --dark: #1A2A3A;
    --light-bg: #F8F9FA;
    --white: #ffffff;
    --shadow-sm: 0 2px 15px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 15px 50px rgba(0,0,0,0.12);
    --shadow-gold: 0 8px 30px rgba(212, 175, 55, 0.3);
    --transition: all 0.3s ease;
}

/* ============================================
   RESET & BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden !important;
    width: 100% !important;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #1a1a2e;
    scroll-behavior: smooth;
    background: #f8f6f0;
    overflow-x: hidden !important;
    width: 100% !important;
    line-height: 1.6;
    margin: 0 !important;
    padding: 0 !important;
}

h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; }
a { text-decoration: none; transition: var(--transition); }
img { 
    max-width: 100% !important; 
    height: auto !important; 
    display: block !important;
}

/* ============================================
   CONTAINER - FINAL FIXED
   ============================================ */
.container {
    max-width: 1200px !important;
    width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.row {
    margin-left: -12px !important;
    margin-right: -12px !important;
    display: flex !important;
    flex-wrap: wrap !important;
}

[class*="col-"] {
    padding-left: 12px !important;
    padding-right: 12px !important;
    max-width: 100% !important;
}

/* Desktop - 3 columns */
.col-md-4 {
    flex: 0 0 33.333333% !important;
    max-width: 33.333333% !important;
}

/* Desktop - 2 columns */
.col-lg-6 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
}

/* Stats columns */
.col-4 {
    flex: 0 0 33.333333% !important;
    max-width: 33.333333% !important;
}

/* Features columns */
.col-6 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
}

/* Full width */
.col-12 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-gold { color: var(--gold) !important; }
.text-gold-gradient {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.bg-gold { background: var(--gold-gradient) !important; }
.bg-dark-custom { background-color: var(--dark) !important; }

.section-tag {
    display: inline-block;
    background: rgba(212, 175, 55, 0.12);
    color: var(--gold);
    padding: 6px 22px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
    border: 1px solid rgba(212, 175, 55, 0.15);
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--dark);
    letter-spacing: -0.5px;
    text-align: center !important;
}
.section-title:after {
    content: '';
    display: block;
    width: 70px;
    height: 4px;
    background: var(--gold-gradient);
    margin: 15px auto 0;
    border-radius: 4px;
}
.section-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    text-align: center !important;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-gold {
    background: var(--gold-gradient);
    color: #fff !important;
    border: none;
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: var(--shadow-gold);
    display: inline-block;
}
.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.5);
    color: #fff !important;
}

.btn-outline-gold {
    border: 2px solid var(--gold);
    color: var(--gold) !important;
    background: transparent;
    padding: 12px 38px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}
.btn-outline-gold:hover {
    background: var(--gold-gradient);
    color: #fff !important;
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
    border-color: transparent;
}

.btn-outline-light {
    border: 2px solid #fff;
    color: #fff !important;
    padding: 12px 38px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}
.btn-outline-light:hover {
    background: #fff;
    color: var(--dark) !important;
    transform: translateY(-3px);
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    background: rgba(26, 42, 58, 0.95) !important;
    backdrop-filter: blur(8px);
    padding: 0.8rem 0 !important;
    box-shadow: 0 2px 30px rgba(0,0,0,0.1);
    transition: var(--transition);
    border-bottom: 2px solid rgba(212, 175, 55, 0.08);
}
.navbar.scrolled { padding: 0.4rem 0 !important; background: rgba(26, 42, 58, 0.98) !important; }

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--gold) !important;
}
.navbar-brand i { color: var(--gold); margin-right: 8px; }

.nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    padding: 8px 18px !important;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gold-gradient);
    transition: width 0.3s ease;
    border-radius: 4px;
}
.nav-link:hover::after, .nav-link.active::after { width: 50%; }
.nav-link:hover { color: var(--gold) !important; background: rgba(212, 175, 55, 0.08); }
.nav-link.active { color: var(--gold) !important; background: rgba(212, 175, 55, 0.1); }

.navbar-toggler { border-color: var(--gold); padding: 8px 12px; }
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.3); }
.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(212, 175, 55, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(26, 42, 58, 0.8), rgba(0, 0, 0, 0.6)), url('../images/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0;
    position: relative;
    overflow: hidden !important;
}

.hero-section .container { 
    position: relative; 
    z-index: 2;
}

.hero-title {
    font-size: 4.2rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -2px;
    line-height: 1.05;
    text-align: center !important;
}
.hero-title .text-gold { color: var(--gold) !important; }

.hero-badge .badge {
    background: rgba(212, 175, 55, 0.9) !important;
    padding: 12px 30px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    box-shadow: var(--shadow-gold);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 650px;
    margin: 0 auto;
    text-align: center !important;
}

.hero-buttons {
    text-align: center !important;
}

.hero-stats .stat-item {
    text-align: center !important;
}
.hero-stats .stat-item h3 {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--gold);
    margin-bottom: 0;
}
.hero-stats .stat-item p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0;
}

/* Scroll Down */
.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounceDown 2.5s infinite;
}
.scroll-down a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.scroll-down a:hover { color: var(--gold); }
.scroll-down i { font-size: 1.2rem; margin-top: 8px; }

@keyframes bounceDown {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(12px); }
}

/* Floating Particles */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(212, 175, 55, 0.2);
    border-radius: 50%;
    animation: floatParticle 8s infinite ease-in-out;
}
.particle:nth-child(1) { top: 20%; left: 10%; }
.particle:nth-child(2) { top: 50%; right: 15%; animation-delay: 2s; width: 6px; height: 6px; }
.particle:nth-child(3) { top: 30%; right: 30%; animation-delay: 4s; }
.particle:nth-child(4) { bottom: 30%; left: 20%; animation-delay: 6s; width: 8px; height: 8px; }

@keyframes floatParticle {
    0%, 100% { transform: translateY(0); opacity: 0.2; }
    50% { transform: translateY(-40px); opacity: 0.6; }
}

/* ============================================
   CARDS
   ============================================ */
.card {
    border: none;
    border-radius: 16px;
    transition: var(--transition);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    overflow: hidden !important;
    height: 100%;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.card-body { padding: 2rem; }

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section { 
    background: #ffffff; 
    padding: 80px 0;
}

.about-content {
    text-align: left !important;
}

.about-image-wrapper { 
    position: relative;
    overflow: hidden !important;
}

.about-image-wrapper img { 
    border-radius: 16px; 
    box-shadow: var(--shadow-lg);
    width: 100% !important;
    height: auto !important;
}

.floating-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--white);
    padding: 15px 22px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    border-left: 4px solid var(--gold);
}
.floating-badge i { font-size: 2rem; color: var(--gold); }
.floating-badge strong { display: block; font-size: 1rem; color: var(--dark); }
.floating-badge small { color: #888; font-size: 0.8rem; }

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
}
.feature-item:hover { transform: translateX(6px); }
.feature-item i { font-size: 1.2rem; color: var(--gold); }

/* ============================================
   WHY CHOOSE US
   ============================================ */
.why-choose-section {
    background: linear-gradient(180deg, #f8f6f0, #f0ece4);
    padding: 80px 0;
}

.service-card {
    background: var(--white);
    border-radius: 16px;
    padding: 10px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    text-align: center !important;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }

.service-card .icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: rgba(212, 175, 55, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--gold);
    transition: var(--transition);
}
.service-card:hover .icon-wrapper {
    background: var(--gold-gradient);
    color: #fff;
    transform: scale(1.1);
}

.service-card .card-number {
    position: absolute;
    bottom: 15px;
    right: 20px;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(212, 175, 55, 0.05);
    line-height: 1;
}

/* ============================================
   PACKAGES SECTION
   ============================================ */
.packages-section {
    background: linear-gradient(180deg, #ffffff, #f8f6f0);
    padding: 80px 0;
}

.package-card {
    background: var(--white);
    border-radius: 16px;
    padding: 5px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden !important;
    text-align: center !important;
}
.package-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}
.package-card:hover::before { transform: scaleX(1); }
.package-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.package-card.featured-package { border: 2px solid var(--gold); box-shadow: var(--shadow-gold); }

.featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gold-gradient);
    color: #fff;
    padding: 5px 18px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
    box-shadow: var(--shadow-gold);
}

.package-card .package-icon {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 15px;
    display: block;
}
.package-card .package-meta {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 10px 0;
    font-size: 0.9rem;
    color: #777;
}
.package-card .package-meta span { display: flex; align-items: center; gap: 6px; }
.package-card .package-price { font-size: 1.1rem; margin: 15px 0; }
.package-card .package-price .text-gold { font-size: 1.8rem; font-weight: 800; }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-section {
    background: linear-gradient(180deg, #f8f6f0, #f0ece4);
    padding: 80px 0;
}

.testimonial-card {
    background: var(--white);
    border-radius: 16px;
    padding: 5px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.testimonial-card .quote-icon {
    font-size: 2.5rem;
    color: rgba(212, 175, 55, 0.15);
    margin-bottom: 10px;
}
.testimonial-card .testimonial-rating i { color: var(--gold); font-size: 0.9rem; }

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}
.testimonial-author .avatar {
    width: 48px;
    height: 48px;
    background: var(--gold-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}
.testimonial-author h6 { font-weight: 600; margin-bottom: 2px; }
.testimonial-author small { color: #999; font-size: 0.8rem; }

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section { 
    background: var(--dark); 
    padding: 70px 0;
}

.cta-wrapper {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 50px 60px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.cta-section .display-4 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
}
.cta-section .display-4 .text-gold { color: var(--gold) !important; }
.cta-section .lead { color: rgba(255, 255, 255, 0.6); font-size: 1.1rem; }

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.6);
    padding: 60px 0 30px;
}
footer a { color: rgba(255, 255, 255, 0.6); }
footer a:hover { color: var(--gold); }
footer .footer-brand {
    color: var(--gold) !important;
    font-size: 1.8rem;
    font-weight: 800;
}
footer h5 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(212, 175, 55, 0.15);
}
footer .social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    color: rgba(255, 255, 255, 0.6);
}
footer .social-links a:hover {
    background: var(--gold-gradient);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}
footer hr { border-color: rgba(255, 255, 255, 0.06); margin: 30px 0 20px; }

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablets */
@media (max-width: 991px) {
    .hero-title { font-size: 3rem; }
    .section-title { font-size: 2.2rem; }
    .cta-section .display-4 { font-size: 2.2rem; }
    .cta-wrapper { padding: 30px; text-align: center; }
    .floating-badge { display: none !important; }
    
    .col-md-4 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
}

/* Mobile Landscape */
@media (max-width: 767px) {
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-stats .stat-item h3 { font-size: 2rem; }
    .section-title { font-size: 1.8rem; }
    .cta-section .display-4 { font-size: 1.8rem; }
    .card-body { padding: 1.5rem; }
    .scroll-down { display: none; }
    .cta-wrapper { padding: 25px; }
    .hero-particles { display: none; }
    
    .col-md-4 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    .col-lg-6 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

/* Mobile Phones */
@media (max-width: 575px) {
    .container { 
        padding-left: 10px !important; 
        padding-right: 10px !important; 
    }
    
    .row {
        margin-left: -5px !important;
        margin-right: -5px !important;
    }
    
    [class*="col-"] {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
    
    .hero-title { font-size: 1.8rem; }
    .hero-badge .badge { font-size: 0.65rem; padding: 5px 12px; }
    .hero-buttons .btn { display: block; width: 100%; margin: 5px 0 !important; font-size: 0.85rem; padding: 10px 20px; }
    .hero-stats .stat-item h3 { font-size: 1.4rem; }
    .hero-stats .stat-item p { font-size: 0.6rem; }
    .section-title { font-size: 1.4rem; }
    .section-tag { font-size: 0.6rem; padding: 3px 12px; }
    .package-card .package-price .text-gold { font-size: 1.2rem; }
    .cta-section .display-4 { font-size: 1.3rem; }
    .about-section, .why-choose-section, .packages-section, .testimonials-section { padding: 30px 0; }
    .package-card .package-meta { flex-direction: row; flex-wrap: wrap; gap: 5px; font-size: 0.75rem; }
    footer { padding: 25px 0 10px; }
    footer .footer-brand { font-size: 1.2rem; }
    footer .col-md-4 { margin-bottom: 15px; }
    .service-card .icon-wrapper { width: 50px; height: 50px; font-size: 1.6rem; }
    .service-card .card-number { font-size: 2rem; }
    .hero-section { padding: 60px 0 30px; min-height: auto; }
    .cta-wrapper { padding: 15px; }
    .card-body { padding: 1rem !important; }
    .hero-subtitle { font-size: 0.9rem; }
    .hero-stats .stat-item { padding: 5px; }
    
    .col-4 {
        flex: 0 0 33.333333% !important;
        max-width: 33.333333% !important;
    }
    .col-6 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
    .col-md-4 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    .col-lg-6 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

/* Landscape Mode */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section { min-height: 100vh; padding: 40px 0 20px; }
    .hero-title { font-size: 1.6rem; }
    .hero-subtitle { font-size: 0.8rem; }
    .hero-stats .stat-item h3 { font-size: 1.2rem; }
    .scroll-down { display: none; }
    .hero-badge .badge { padding: 3px 10px; font-size: 0.55rem; }
}

/* Touch Devices */
@media (hover: none) {
    .card:hover { transform: none !important; }
    .service-card:hover { transform: none !important; }
    .package-card:hover { transform: none !important; }
    .btn-gold:hover { transform: none !important; }
    .feature-item:hover { transform: none !important; }
}

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--gold-gradient); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dark); }
::selection { background: var(--gold); color: #fff; }