/* ===========================================================
   Online Istikhara 786 — Pure CSS
   Palette: Black + Gold + White
   =========================================================== */

:root {
  --black: #0b0b0b;
  --black-2: #141414;
  --gold: #c9a227;
  --gold-2: #e7c45a;
  --gold-soft: #f4e6b6;
  --white: #ffffff;
  --gray-100: #f6f6f6;
  --gray-200: #ececec;
  --gray-300: #d4d4d4;
  --gray-500: #6b6b6b;
  --gray-700: #2a2a2a;
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.18);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --container: 1200px;
  --transition: 0.3s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Poppins', 'Segoe UI', Tahoma, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--black);
  margin-bottom: 0.6em;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }

p { margin-bottom: 1em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 80px 0; }
.section--alt { background: var(--gray-100); }

.section-title {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}
.section-title h2 { display: inline-block; }
.section-title h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  margin: 14px auto 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  border-radius: 3px;
}
.section-title p {
  color: var(--gray-500);
  max-width: 700px;
  margin: 0 auto;
}

/* ===================== Buttons ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}
.btn--gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: var(--black);
}
.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(201, 162, 39, 0.4);
  color: var(--black);
}
.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: var(--gold);
}
.btn--outline:hover {
  background: var(--gold);
  color: var(--black);
}
.btn--whatsapp {
  background: #25d366;
  color: var(--white);
}
.btn--whatsapp:hover {
  background: #1ebd5b;
  color: var(--white);
  transform: translateY(-2px);
}
.btn--call {
  background: var(--black);
  color: var(--white);
}
.btn--call:hover {
  background: var(--gold);
  color: var(--black);
}

/* ===================== Header ===================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--black);
  color: var(--white);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  transition: padding var(--transition);
}
.site-header.scrolled { padding: 4px 0; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--white);
}
.logo:hover { color: var(--gold); }
.logo .logo-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: var(--black);
}
.logo .logo-icon svg { width: 22px; height: 22px; }
.logo span.brand-786 { color: var(--gold); }

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  position: relative;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--gold);
}
.main-nav a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: var(--black);
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-left: 8px;
}
.header-cta:hover { color: var(--black); transform: translateY(-1px); }

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: var(--white);
  cursor: pointer;
  padding: 8px;
}
.menu-toggle svg { width: 28px; height: 28px; }

/* ===================== Hero Slider ===================== */
.hero-slider {
  position: relative;
  width: 100%;
  background: var(--black);
  overflow: hidden;
}
.slides {
  position: relative;
  width: 100%;
  aspect-ratio: 1440 / 736;
  max-height: 80vh;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease-in-out;
}
.slide.active { opacity: 1; }
.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: var(--black);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.45);
  color: var(--white);
  border: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: background var(--transition), transform var(--transition);
}
.slider-arrow:hover { background: var(--gold); color: var(--black); transform: translateY(-50%) scale(1.05); }
.slider-arrow svg { width: 22px; height: 22px; }
.slider-arrow.prev { left: 18px; }
.slider-arrow.next { right: 18px; }

.slider-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}
.slider-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: 0;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.slider-dot.active { background: var(--gold); transform: scale(1.25); }

/* ===================== About ===================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--gray-100);
}
.about-image img { width: 100%; height: auto; display: block; }
.about-content h2 { margin-bottom: 16px; }
.about-content .eyebrow {
  display: inline-block;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 10px;
}
.trust-list {
  list-style: none;
  margin: 18px 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
}
.trust-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-weight: 500;
  color: var(--gray-700);
}
.trust-list li svg { color: var(--gold); flex-shrink: 0; margin-top: 4px; }
.about-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }

/* ===================== Services ===================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.service-card .service-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--gray-100);
}
.service-card .service-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.service-card:hover .service-img img { transform: scale(1.06); }
.service-card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { margin-bottom: 8px; }
.service-card p { color: var(--gray-500); font-size: 0.95rem; flex: 1; }
.service-actions { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.service-actions .btn { flex: 1; padding: 10px 14px; font-size: 0.85rem; }

/* ===================== Article ===================== */
.article-section { background: var(--white); }
.article-content {
  max-width: 920px;
  margin: 0 auto;
}
.article-content h2, .article-content h3 {
  margin-top: 1.6em;
  margin-bottom: 0.6em;
}
.article-content h3 { color: var(--black); }
.article-content p { color: var(--gray-700); }
.article-image {
  margin: 30px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.article-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===================== Disclaimer ===================== */
.disclaimer {
  background: linear-gradient(135deg, #1c1c1c, #0b0b0b);
  color: var(--gray-300);
  border-top: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
}
.disclaimer h2 { color: var(--gold); }
.disclaimer p { color: var(--gray-300); }

/* ===================== Footer ===================== */
.site-footer {
  background: var(--black);
  color: var(--gray-300);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 36px;
  margin-bottom: 36px;
}
.footer-col h4 {
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  margin-bottom: 16px;
}
.footer-col p, .footer-col a, .footer-col li {
  color: var(--gray-300);
  font-size: 0.94rem;
  line-height: 1.9;
}
.footer-col ul { list-style: none; }
.footer-col a:hover { color: var(--gold); }
.footer-contact-item {
  display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
}
.footer-contact-item svg { color: var(--gold); flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid #232323;
  padding: 20px 0;
  text-align: center;
  color: var(--gray-500);
  font-size: 0.88rem;
}

/* ===================== Floating WhatsApp ===================== */
.float-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.45);
  z-index: 999;
  animation: pulse 2s infinite;
}
.float-whatsapp:hover { color: var(--white); transform: scale(1.07); }
.float-whatsapp svg { width: 30px; height: 30px; }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ===================== Page Banner ===================== */
.page-banner {
  background: linear-gradient(135deg, #0b0b0b 0%, #1f1605 100%);
  color: var(--white);
  padding: 80px 0 60px;
  text-align: center;
  border-bottom: 3px solid var(--gold);
}
.page-banner h1 { color: var(--white); margin-bottom: 10px; }
.page-banner p { color: var(--gold-soft); }
.page-banner .breadcrumb {
  margin-top: 14px;
  color: var(--gray-300);
  font-size: 0.92rem;
}
.page-banner .breadcrumb a { color: var(--gold); }

/* ===================== Contact Page ===================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-info-card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}
.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-200);
}
.contact-item:last-child { border-bottom: 0; }
.contact-item .icon {
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--gold-soft); color: var(--black);
  border-radius: 50%; flex-shrink: 0;
}
.contact-item h4 { margin: 0 0 4px; font-family: 'Poppins', sans-serif; font-size: 1rem; color: var(--black); }
.contact-item p { margin: 0; color: var(--gray-500); }

.contact-form {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}
.contact-form .form-row { margin-bottom: 16px; }
.contact-form label { display: block; margin-bottom: 6px; font-weight: 500; color: var(--black); }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: border var(--transition), box-shadow var(--transition);
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,162,39,0.18);
}
.contact-form textarea { min-height: 130px; resize: vertical; }

/* ===================== Stats / Highlights ===================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 40px;
}
.stat-card {
  background: var(--white);
  text-align: center;
  padding: 26px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.stat-card .num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--gold);
  font-weight: 700;
}
.stat-card .label { color: var(--gray-500); font-size: 0.9rem; }

/* ===================== Animations ===================== */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.in-view { opacity: 1; transform: none; }

/* ===================== Responsive ===================== */
@media (max-width: 992px) {
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .menu-toggle { display: inline-flex; }
  .main-nav {
    position: fixed;
    top: 64px;
    left: 0; right: 0;
    background: var(--black);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 16px 18px;
    transform: translateY(-150%);
    transition: transform 0.4s ease;
    border-top: 1px solid #2a2a2a;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 12px 8px; border-bottom: 1px solid #1c1c1c; border-radius: 0; }
  .main-nav a.active::after { display: none; }
  .header-cta { display: none; }
  .section { padding: 56px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .trust-list { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .slider-arrow { width: 38px; height: 38px; }
  .slider-arrow.prev { left: 8px; }
  .slider-arrow.next { right: 8px; }
}
