/* ================================================
   SAFARGO — Hajj & Umrah Landing Page
   Design System
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --orange: #F58A2B;
    --dark: #1A1B1E;
    --black: #000000;
    --white: #ffffff;
    --gray-bg: #F8F9FA;
    --gray-border: #EEEEEE;
    --gray-text: #666666;
    --radius-sm: 8px;
    --radius: 16px;
    --radius-lg: 24px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: 'Inter', sans-serif; background: var(--gray-bg); color: var(--dark); line-height: 1.6; overflow-x: hidden; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }

/* Animations */
.fade-up { opacity: 0; transform: translateY(30px); transition: 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* Buttons & Tags */
.section-tag {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid var(--gray-border);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-text);
    margin-bottom: 24px;
    background: var(--white);
}
.section-tag.center { margin: 0 auto 24px; display: table; }

.section-title { font-size: clamp(2rem, 3.5vw, 2.75rem); font-weight: 700; letter-spacing: -0.03em; margin-bottom: 16px; line-height: 1.1; }
.section-title span { color: var(--orange); }
.section-subtitle { font-size: 0.95rem; color: var(--gray-text); max-width: 700px; margin: 0 auto 40px; }

.btn-orange { background: var(--orange); color: var(--white); padding: 10px 24px; border-radius: 999px; font-weight: 500; font-size: 0.85rem; text-decoration: none; transition: 0.2s; }
.btn-orange:hover { filter: brightness(1.1); }
.btn-white-pill { background: var(--white); color: var(--dark); padding: 12px 28px; border-radius: 999px; font-weight: 600; font-size: 0.9rem; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: 0.2s; }
.btn-white-pill span { background: var(--dark); color: white; border-radius: 50%; width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; }
.btn-white-pill:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }
.btn-orange-pill { background: var(--orange); color: var(--white); padding: 12px 24px; border-radius: 999px; font-weight: 500; font-size: 0.85rem; text-decoration: none; display: inline-block; }
.btn-dark-pill { background: var(--dark); color: var(--white); padding: 10px 24px; border-radius: 999px; font-weight: 500; font-size: 0.85rem; border: none; cursor: pointer; text-decoration: none; display: inline-block; }
.btn-dark-block { background: var(--dark); color: var(--white); padding: 16px; border-radius: var(--radius); width: 100%; font-weight: 600; border: none; cursor: pointer; }
.btn-circle { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--gray-border); background: var(--white); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.btn-circle.active { background: var(--orange); color: var(--white); border-color: var(--orange); }
.btn-circle-orange { width: 36px; height: 36px; border-radius: 50%; background: var(--orange); color: var(--white); border: none; cursor: pointer; }

/* ================================================
   NAVBAR
   ================================================ */
#navbar { position: fixed; top: 0; width: 100%; z-index: 100; border-bottom: 1px solid rgba(255,255,255,0.1); transition: background 0.3s ease, backdrop-filter 0.3s ease; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo { display: flex; align-items: center; gap: 8px; color: var(--white); text-decoration: none; font-weight: 600; font-size: 1.1rem; }
.logo-icon { width: 24px; height: 24px; background: var(--white); color: var(--dark); border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 700; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.85rem; transition: 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-right { display: flex; align-items: center; gap: 20px; }
.nav-lang { color: var(--white); text-decoration: none; font-size: 1.2rem; }
.hamburger { display: none; }

/* ================================================
   HERO
   ================================================ */
.hero { background: var(--dark); color: var(--white); position: relative; padding: 120px 0 60px; overflow: hidden; }
.hero-bg-pattern { position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255,255,255,0.05) 2px, transparent 2px); background-size: 30px 30px; opacity: 0.5; }
.hero-inner { position: relative; z-index: 2; text-align: center; }
.operating-hours { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; color: var(--orange); margin-bottom: 16px; font-weight: 500; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 700; line-height: 1.1; margin-bottom: 24px; letter-spacing: -0.04em; }
.hero h1 span { color: var(--orange); }
.hero p { color: rgba(255,255,255,0.7); font-size: 1rem; margin-bottom: 40px; }
.hero-visual { position: relative; margin-top: 60px; max-width: 800px; margin-left: auto; margin-right: auto; height: 400px; }
.hero-kaaba { width: 100%; height: 100%; object-fit: contain; }

.floating-pill { position: absolute; background: rgba(30,30,30,0.8); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.1); padding: 8px 16px; border-radius: 999px; font-size: 0.8rem; display: flex; align-items: center; gap: 8px; color: var(--white); white-space: nowrap; }
.floating-pill .icon { color: var(--orange); }
.pos-1 { top: 20%; left: 10%; }
.pos-2 { top: 20%; right: 10%; }
.pos-3 { bottom: 20%; left: 10%; }
.pos-4 { bottom: 20%; right: 10%; }

/* ================================================
   PARTNERS
   ================================================ */
.partners { background: var(--white); padding: 32px 0; border-bottom: 1px solid var(--gray-border); }
.partners-flex { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; }
.partner-logo { font-weight: 700; color: var(--dark); opacity: 0.5; font-size: 1.2rem; filter: grayscale(100%); }

/* ================================================
   ABOUT US
   ================================================ */
.about-section { padding: 100px 0; background: var(--white); }
.about-title { font-size: clamp(1.8rem, 2.5vw, 2.2rem); font-weight: 400; color: var(--gray-text); line-height: 1.3; max-width: 900px; margin-bottom: 60px; }
.about-title strong { color: var(--dark); font-weight: 600; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.hero-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 400px; }
.hero-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); }
.hero-card-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 32px; z-index: 2; color: var(--white); }
.hero-card-content h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 16px; }

.about-stats-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 24px; }
.stat-box { padding: 32px; border-radius: var(--radius-lg); display: flex; flex-direction: column; justify-content: center; }
.orange-box { background: var(--orange); color: var(--white); }
.white-box { background: var(--gray-bg); color: var(--dark); }
.stat-number { font-size: 2rem; font-weight: 700; margin-bottom: 8px; line-height: 1; }
.stat-label { font-size: 0.85rem; font-weight: 600; margin-bottom: 12px; }
.stat-box p { font-size: 0.75rem; opacity: 0.8; }

/* ================================================
   OFFERS
   ================================================ */
.offers-section { padding: 100px 0; background: var(--gray-bg); }
.offers-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 48px; }

.offer-active-block { padding-right: 24px; }
.offer-header { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.offer-header .num { font-size: 1.5rem; color: var(--gray-border); font-weight: 600; }
.offer-header h3 { font-size: 1.8rem; font-weight: 600; }
.icon-arrow { width: 32px; height: 32px; background: var(--orange); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-left: auto; }
.offer-desc { color: var(--gray-text); font-size: 0.95rem; margin-bottom: 32px; }
.offer-features { display: flex; gap: 16px; }
.feature-item { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 0.75rem; font-weight: 500; }
.f-icon { width: 56px; height: 56px; background: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; border: 1px solid var(--gray-border); }

.offer-list { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; align-content: start; }
.offer-list-item { display: flex; align-items: center; gap: 16px; padding: 24px 0; border-bottom: 1px solid #ddd; cursor: pointer; }
.offer-list-item .num { font-size: 1.2rem; color: #ccc; font-weight: 600; }
.offer-list-item h4 { font-size: 1.1rem; font-weight: 500; flex: 1; }
.offer-list-item .arrow { color: var(--gray-text); }

/* ================================================
   PACKAGES
   ================================================ */
.packages-section { padding: 100px 0; background: var(--white); }
.package-card { background: var(--white); border: 1px solid var(--gray-border); border-radius: var(--radius-lg); margin-bottom: 24px; position: relative; }
.package-card.horizontal { display: flex; align-items: stretch; }
.package-card.horizontal .p-image img { border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }
.package-card.horizontal.premium .p-image img { border-radius: var(--radius-lg) 0 0 var(--radius-lg); }

.p-content { padding: 48px; flex: 1; }
.p-content h3 { font-size: 1.5rem; margin-bottom: 8px; }
.p-content > p { color: var(--gray-text); font-size: 0.85rem; margin-bottom: 24px; max-width: 500px; }
.p-details { display: grid; grid-template-columns: repeat(2, 200px); gap: 16px 32px; margin-bottom: 32px; }
.p-details div { display: flex; flex-direction: column; }
.p-details small { color: var(--gray-text); font-size: 0.7rem; margin-bottom: 4px; }
.p-details strong { font-size: 0.85rem; }
.p-progress { display: flex; align-items: center; gap: 16px; max-width: 500px; }
.p-progress .bar { flex: 1; height: 4px; background: var(--gray-border); border-radius: 2px; overflow: hidden; }
.p-progress .fill { height: 100%; background: var(--orange); }
.p-progress span { font-size: 0.75rem; color: var(--gray-text); }

.p-image { width: 380px; position: relative; }
.p-image img { width: 100%; height: 100%; object-fit: cover; }
.btn-img-overlay { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: var(--dark); color: white; padding: 10px 20px; border-radius: 999px; border: none; font-size: 0.8rem; cursor: pointer; }

.package-card.premium { border: 1px solid var(--orange); }
.premium-badge { position: absolute; top: -20px; right: -10px; font-size: 2.5rem; z-index: 2; text-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.tag-small { background: var(--gray-bg); color: var(--orange); padding: 4px 12px; border-radius: 999px; font-size: 0.7rem; font-weight: 600; display: inline-block; margin-bottom: 12px; }

.packages-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; margin-top: 48px; }
.p-nav-side { padding-right: 24px; }
.p-nav-side h2 { font-size: 2rem; line-height: 1.1; margin-bottom: 24px; }
.nav-arrows { display: flex; gap: 12px; }

.package-card.vertical { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-lg); }
.package-card.vertical img { height: 200px; width: 100%; object-fit: cover; }
.v-content { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.v-content h4 { font-size: 1.1rem; margin-bottom: 8px; }
.v-content .date { color: var(--gray-text); font-size: 0.7rem; display: block; margin-bottom: 16px; }
.v-icons { display: flex; gap: 12px; font-size: 0.7rem; color: var(--gray-text); margin-bottom: 16px; }
.v-footer { display: flex; justify-content: space-between; align-items: flex-end; margin-top: auto; padding-top: 24px; }
.v-footer small { display: block; font-size: 0.7rem; color: var(--gray-text); }
.v-footer strong { font-size: 0.9rem; }

/* ================================================
   TESTIMONIALS
   ================================================ */
.testimonials-section { padding: 100px 0; background: var(--white); }
.testi-card { background: var(--dark); border-radius: var(--radius-lg); overflow: hidden; display: flex; align-items: center; color: var(--white); }
.testi-image { width: 50%; }
.testi-image img { width: 100%; height: auto; display: block; }
.testi-content { padding: 60px; width: 50%; }
.quote-icon { color: var(--orange); font-size: 4rem; font-family: serif; line-height: 0.5; margin-bottom: 24px; }
.quote-text { font-size: 1.1rem; line-height: 1.6; margin-bottom: 32px; }
.testi-author { display: flex; justify-content: space-between; align-items: center; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 24px; }
.testi-author strong { display: block; font-size: 0.95rem; }
.testi-author small { color: rgba(255,255,255,0.6); font-size: 0.75rem; }
.author-avatar { width: 40px; height: 40px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.testi-nav { display: flex; justify-content: space-between; align-items: center; }
.dots span { display: inline-block; width: 6px; height: 6px; background: rgba(255,255,255,0.2); border-radius: 50%; margin-right: 6px; }
.dots span.active { background: var(--white); }

/* ================================================
   CONTACT
   ================================================ */
.contact-section { padding: 100px 0; background: var(--gray-bg); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-desc { color: var(--gray-text); margin-bottom: 32px; max-width: 400px; }
.contact-methods { display: flex; gap: 24px; font-weight: 500; font-size: 0.9rem; }
.contact-form { background: var(--white); padding: 40px; border-radius: var(--radius-lg); box-shadow: 0 10px 40px rgba(0,0,0,0.02); }
.form-row { display: flex; gap: 24px; }
.form-group { flex: 1; margin-bottom: 24px; }
.form-group label { display: block; font-size: 0.75rem; font-weight: 600; margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 14px 16px; border: 1px solid var(--gray-border); border-radius: var(--radius-sm); font-family: inherit; font-size: 0.85rem; background: var(--gray-bg); }
.form-group textarea { height: 120px; resize: vertical; }

.location-grid { display: grid; grid-template-columns: 250px 1fr 200px; gap: 24px; align-items: stretch; }
.address-list { display: flex; flex-direction: column; gap: 24px; background: var(--white); padding: 32px; border-radius: var(--radius-lg); }
.address-item small { color: var(--gray-text); display: block; font-size: 0.7rem; margin-bottom: 4px; }
.address-item strong { font-size: 0.85rem; }
.map-view { border-radius: var(--radius-lg); overflow: hidden; }
.map-view img { width: 100%; height: 100%; object-fit: cover; }
.social-cards { display: flex; flex-direction: column; gap: 16px; }
.social-card { padding: 24px; border-radius: var(--radius-lg); text-decoration: none; display: flex; align-items: center; justify-content: space-between; font-weight: 600; font-size: 0.9rem; }
.social-card.orange { background: var(--orange); color: var(--white); }
.social-card.white { background: var(--white); color: var(--dark); border: 1px solid var(--gray-border); }
.social-card .icon { font-size: 1.2rem; }

/* ================================================
   FOOTER
   ================================================ */
.footer { padding: 100px 0 40px; background: var(--white); }
.footer-title { font-size: 2.5rem; margin-bottom: 16px; }
.footer-title span { color: var(--orange); }
.footer-bottom-grid { display: grid; grid-template-columns: 3fr 7fr; gap: 60px; padding: 48px 24px; border-top: 1px solid var(--gray-border); border-bottom: 1px solid var(--gray-border); }
.brand-col p { font-size: 1.2rem; font-weight: 500; margin: 24px 0; }
.newsletter { display: flex; background: var(--dark); border-radius: var(--radius-lg); padding: 8px; }
.newsletter input { flex: 1; background: transparent; border: none; color: white; padding: 0 16px; outline: none; }
.newsletter button { background: var(--white); color: var(--dark); width: 40px; height: 40px; border-radius: var(--radius-sm); border: none; cursor: pointer; }
.links-col { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
.link-group h4 { font-size: 0.9rem; margin-bottom: 24px; }
.link-group a { display: block; color: var(--gray-text); text-decoration: none; font-size: 0.85rem; margin-bottom: 12px; }
.link-group a:hover { color: var(--orange); }
.footer-copyright { display: flex; justify-content: space-between; align-items: center; padding-top: 32px; font-size: 0.8rem; color: var(--gray-text); }
.social-icons { display: flex; gap: 12px; align-items: center; justify-content: flex-end; }
.social-icons a { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: #F4F5F7; border-radius: 50%; text-decoration: none; color: var(--dark); font-size: 1.1rem; font-weight: 500; transition: background 0.2s; }
.social-icons a:hover { background: #E6E8EB; }

/* Responsive */
@media (max-width: 1024px) {
    .offers-layout, .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .packages-grid { grid-template-columns: 1fr !important; flex-direction: column !important; }
    .location-grid { grid-template-columns: 1fr; }
    .map-view { height: 300px; }
    .hero h1 { font-size: 2.5rem; }
    .testi-card { flex-direction: column; }
    .testi-image, .testi-content { width: 100%; }
}

@media (max-width: 768px) {
    /* Navbar */
    .nav-links { display: none; }
    .nav-right .btn-consult { display: none; }
    .hamburger { display: flex; flex-direction: column; gap: 5px; background: transparent; border: none; cursor: pointer; }
    .hamburger span { width: 25px; height: 3px; background: var(--white); border-radius: 2px; }

    /* Hero */
    .hero h1 { font-size: 2rem; }
    .hero-visual { height: 300px; }
    .floating-pill { font-size: 0.65rem; padding: 6px 10px; }
    .pos-1 { top: 5%; left: 0%; }
    .pos-2 { top: 5%; right: 0%; }
    .pos-3 { bottom: 5%; left: 0%; }
    .pos-4 { bottom: 5%; right: 0%; }

    /* Footer */
    .footer-title { font-size: 1.8rem; }
    .footer-bottom-grid { grid-template-columns: 1fr; gap: 40px; padding: 32px 24px; }
    .links-col { grid-template-columns: 1fr; gap: 32px; }
    .footer-copyright { flex-direction: column; gap: 16px; text-align: center; }

    /* Packages */
    .package-card.horizontal { flex-direction: column-reverse; }
    .package-card.horizontal.premium { flex-direction: column; }
    .package-card.horizontal .p-image { width: 100%; height: 200px; }
    .package-card.horizontal .p-image img, 
    .package-card.horizontal.premium .p-image img { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
    .p-content { padding: 24px; }
    .p-details { grid-template-columns: 1fr; gap: 16px; }
    .packages-grid { flex-direction: column !important; gap: 24px !important; }
    .p-nav-side { min-width: auto !important; }
    
    .btn-img-overlay { white-space: nowrap; font-size: 0.75rem; padding: 8px 16px; }
}

/* ================================================
   MODAL
   ================================================ */
.modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0,0,0,0.5); backdrop-filter: blur(5px); opacity: 0; transition: opacity 0.3s; }
.modal.show { display: flex; align-items: center; justify-content: center; opacity: 1; }
.modal-content { background-color: var(--white); padding: 40px; border-radius: var(--radius-lg); max-width: 500px; width: 90%; position: relative; transform: translateY(20px); transition: transform 0.3s; }
.modal.show .modal-content { transform: translateY(0); }
.close-btn { color: var(--gray-text); font-size: 28px; font-weight: bold; cursor: pointer; position: absolute; right: 24px; top: 16px; }
.close-btn:hover { color: var(--dark); }

