/* ═══════════════════════════════════════════════
   AaoSeekheinUrdu — Shared Stylesheet
   ═══════════════════════════════════════════════ */

/* ── VARIABLES ── */
:root {
  --brown:       #7A4F35;
  --brown-dark:  #5C3820;
  --gold:        #D4A843;
  --gold-light:  #F5E6C0;
  --cream:       #FFFCF8;
  --cream-dark:  #F5EDE6;
  --white:       #FFFFFF;
  --text-dark:   #2C1A0E;
  --text-mid:    #6B4A30;
  --text-light:  #A07858;
  --border:      #E8D5C4;
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Nunito', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: 'Nunito', sans-serif; }

/* ── ANNOUNCEMENT BAR ── */
.announce-bar {
  background: var(--gold);
  color: var(--brown-dark);
  text-align: center;
  padding: 9px 16px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  line-height: 1.4;
}
.announce-bar a {
  color: var(--brown-dark);
  font-weight: 900;
  text-decoration: underline;
}

/* ── HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1.5px solid var(--border);
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand-logo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.brand-name {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--brown);
  line-height: 1.2;
}

/* Desktop nav */
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-mid);
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--brown); }
.nav-links .ig-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--gold);
  color: var(--brown-dark);
  padding: 9px 18px;
  border-radius: 30px;
  font-weight: 800;
  font-size: 0.82rem;
  transition: background 0.2s, transform 0.2s;
  min-height: 40px;
}
.nav-links .ig-btn:hover {
  background: var(--brown);
  color: var(--white);
  transform: translateY(-1px);
}
.nav-links .ig-btn svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  flex-shrink: 0;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
  border-radius: 6px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--brown);
  border-radius: 2px;
  transition: all 0.25s;
}

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--border);
  background: var(--cream);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  display: block;
  padding: 14px 24px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-mid);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s, background 0.2s;
}
.mobile-nav a:hover {
  color: var(--brown);
  background: var(--cream-dark);
}
.mobile-nav a:last-child { border-bottom: none; }

/* ── SECTION UTILITIES ── */
.section-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 24px;
}
.section-divider {
  width: 44px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin-bottom: 10px;
}
.section-title {
  font-size: 1.65rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 6px;
  line-height: 1.25;
}
.section-sub {
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 36px;
  line-height: 1.6;
}

/* ── NEWSLETTER SECTION ── */
.newsletter-section {
  background: var(--brown);
  padding: 64px 24px;
  text-align: center;
}
.newsletter-inner {
  max-width: 520px;
  margin: 0 auto;
}
.newsletter-title {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 8px;
}
.newsletter-sub {
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  margin-bottom: 28px;
  line-height: 1.6;
}
.newsletter-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 200px;
  padding: 15px 20px;
  border: none;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  outline: none;
  min-height: 52px;
}
.newsletter-form input[type="email"]::placeholder { color: var(--text-light); }
.newsletter-form button {
  background: var(--gold);
  color: var(--text-dark);
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  padding: 15px 28px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  min-height: 52px;
  white-space: nowrap;
}
.newsletter-form button:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}
.newsletter-success {
  display: none;
  color: var(--gold);
  font-size: 1.05rem;
  font-weight: 800;
  padding: 16px;
}

/* ── FOOTER ── */
footer {
  background: var(--brown-dark);
  color: rgba(255,255,255,0.8);
  padding: 56px 24px 0;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand-logo {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
}
.footer-brand-name {
  font-size: 1rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 6px;
}
.footer-brand-tagline {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  margin-bottom: 16px;
  line-height: 1.55;
}
.footer-ig {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--gold);
  transition: opacity 0.2s;
}
.footer-ig:hover { opacity: 0.8; }
.footer-ig svg {
  width: 15px;
  height: 15px;
  fill: var(--gold);
  flex-shrink: 0;
}
.footer-col-title {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-links a {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom a { color: rgba(255,255,255,0.55); }
.footer-bottom a:hover { color: var(--white); }

/* ── POPUP ── */
.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 500;
  justify-content: center;
  align-items: center;
  padding: 16px;
}
.popup-overlay.open { display: flex; }
.popup-card {
  background: var(--cream);
  border-radius: 20px;
  padding: 40px 32px 32px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,0.3);
}
.popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-light);
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
}
.popup-close:hover { background: var(--border); }
.popup-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 14px;
}
.popup-title {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.popup-sub {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 22px;
  line-height: 1.55;
}
.popup-form input[type="email"] {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
  outline: none;
  min-height: 52px;
  background: var(--white);
}
.popup-form input[type="email"]:focus { border-color: var(--brown); }
.popup-form button {
  width: 100%;
  background: var(--brown);
  color: var(--white);
  font-size: 1rem;
  font-weight: 800;
  padding: 15px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s;
  min-height: 52px;
}
.popup-form button:hover { background: var(--brown-dark); }
.popup-success {
  display: none;
  font-size: 1rem;
  font-weight: 700;
  color: var(--brown);
  padding: 12px;
}
.popup-no-thanks {
  display: block;
  margin: 14px auto 0;
  background: none;
  border: none;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── INNER PAGE LAYOUT ── */
.page-main {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 72px;
}
.page-main h1 {
  font-size: 2rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.page-breadcrumb {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 36px;
}
.page-breadcrumb a { color: var(--brown); }
.page-divider {
  width: 44px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin-bottom: 10px;
}
.prose h2 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 32px 0 10px;
}
.prose p {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 14px;
}
.prose ul {
  padding-left: 20px;
  margin-bottom: 14px;
}
.prose ul li {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 6px;
}
.prose a { color: var(--brown); text-decoration: underline; text-underline-offset: 2px; }

/* ── INSTAGRAM SVG ICON (reusable) ── */
.ig-svg { fill: currentColor; }

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */

/* Tablet and below */
@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-inner > :first-child {
    grid-column: 1 / -1;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .hamburger { display: flex; }
  .nav-links  { display: none; }

  .newsletter-form {
    flex-direction: column;
  }
  .newsletter-form input[type="email"],
  .newsletter-form button {
    width: 100%;
    min-width: 0;
  }

  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-inner > :first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Full-screen sheet popup on mobile */
  .popup-overlay {
    padding: 0;
    align-items: flex-end;
  }
  .popup-card {
    border-radius: 20px 20px 0 0;
    max-width: 100%;
    padding: 32px 24px 28px;
  }
}
