/* Al Hafeed Interior — Shared Stylesheet */

/* ── Skip link (accessibility) ──────────────── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 4px;
  z-index: 9999;
  padding: 8px 16px;
  background: #C9A84C;
  color: #050D18;
  font-size: 13px;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none;
}
.skip-link:focus { left: 4px; }
:root {
    --navy:   #0A1628;
    --navy2:  #0D1F3C;
    --blue:   #1565C0;
    --bluelt:   #42A5F5;
    --gold:   #C9A84C;
    --goldlt:   #E8C97A;
    --white:  #FFFFFF;
    --offwhite: #F5F3EE;
    --stone:  #E8E4DC;
    --grey:   #6B7280;
    --charcoal: #1F2937;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body:  'Jost', sans-serif;
    --ease:   cubic-bezier(.25,.46,.45,.94);
    --trans:  0.42s cubic-bezier(.25,.46,.45,.94);
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body { font-family: var(--font-body); font-weight: 300; background: var(--navy); color: var(--white); overflow-x: hidden; cursor: none; }
  body.menu-open { overflow: hidden; }
  img { display: block; width: 100%; height: 100%; object-fit: cover; }
  a { color: inherit; text-decoration: none; }

  /* ── Custom Cursor ───────────────────────────── */
  #cursor, #cursor-ring { position: fixed; border-radius: 50%; pointer-events: none; z-index: 9999; transform: translate(-50%,-50%); transition: width var(--trans), height var(--trans); }
  #cursor { width: 10px; height: 10px; background: var(--gold); }
  #cursor-ring { width: 36px; height: 36px; border: 1px solid rgba(201,168,76,0.55); background: transparent; }
  body.cursor-hover #cursor { width: 6px; height: 6px; }
  body.cursor-hover #cursor-ring { width: 52px; height: 52px; }
  @media (pointer: coarse) { #cursor, #cursor-ring { display: none; } body { cursor: auto; } }

  /* ── Scroll Reveal ───────────────────────────── */
  .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.85s var(--ease), transform 0.85s var(--ease); }
  .reveal.visible { opacity: 1; transform: translateY(0); }
  .reveal-d1 { transition-delay: 0.1s; }
  .reveal-d2 { transition-delay: 0.2s; }
  .reveal-d3 { transition-delay: 0.3s; }
  .reveal-d4 { transition-delay: 0.4s; }
  .reveal-d5 { transition-delay: 0.5s; }
  @media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }

  /* ── Section Labels ──────────────────────────── */
  .section-label { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-body); font-size: 11px; font-weight: 400; letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 20px; }
  .section-label::before { content: ''; display: block; width: 28px; height: 1px; background: currentColor; }
  .section-label.gold { color: var(--gold); }
  .section-label.blue { color: var(--blue); }
  .section-label.navy { color: var(--navy); }

  /* ── Buttons ─────────────────────────────────── */
  .btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-body); font-size: 11px; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase; padding: 14px 30px; border: 1px solid currentColor; transition: var(--trans); cursor: none; }
  .btn-gold { background: var(--gold); color: var(--navy); border-color: var(--gold); }
  .btn-gold:hover { background: var(--goldlt); border-color: var(--goldlt); }
  .btn-ghost-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.45); }
  .btn-ghost-white:hover { background: rgba(255,255,255,0.08); border-color: var(--white); }
  .btn-ghost-gold { background: transparent; color: var(--gold); border-color: var(--gold); }
  .btn-ghost-gold:hover { background: var(--gold); color: var(--navy); }
  .btn-ghost-navy { background: transparent; color: var(--navy); border-color: var(--navy); }
  .btn-ghost-navy:hover { background: var(--navy); color: var(--white); }


  /* ── Navbar ──────────────────────────────────── */
  #navbar { position: fixed; top: 0; left: 0; width: 100%; z-index: 200; padding: 0 48px; height: 72px; display: flex; align-items: center; justify-content: space-between; background: rgba(10,22,40,0.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(201,168,76,0.2); transition: border-bottom 0.5s var(--ease); }
  #navbar.scrolled { border-bottom-color: var(--gold); }
  .nav-logo img { height: 34px; width: auto; display: block; }
  .nav-right { display: flex; align-items: center; gap: 36px; }
  .nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
  .nav-links a { font-family: var(--font-body); font-size: 11px; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.8); position: relative; padding-bottom: 3px; transition: color var(--trans); }
  .nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1px; background: var(--gold); transition: width var(--trans); }
  .nav-links a:hover, .nav-links a.active { color: var(--white); }
  .nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
  .nav-cta { font-family: var(--font-body); font-size: 11px; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase; padding: 10px 22px; border: 1px solid var(--gold); color: var(--gold); background: transparent; transition: var(--trans); cursor: none; }
  .nav-cta:hover { background: var(--gold); color: var(--navy); }
  .hamburger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 32px; height: 32px; background: none; border: none; cursor: none; padding: 4px; }
  .hamburger span { display: block; width: 100%; height: 1px; background: var(--white); transition: var(--trans); transform-origin: center; }
  .hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  @media (max-width: 768px) { #navbar { padding: 0 24px; } .nav-links, .nav-cta { display: none; } .hamburger { display: flex; } }

  .has-dropdown { position: relative; }
  .has-dropdown > a { display: inline-flex; align-items: center; gap: 5px; }
  .nav-chevron { transition: transform 0.35s var(--ease); flex-shrink: 0; opacity: 0.55; display: block; }
  .has-dropdown:hover .nav-chevron { transform: rotate(180deg); opacity: 1; }
  .nav-dropdown { position: absolute; top: calc(100% + 18px); left: 50%; transform: translateX(-50%) translateY(-8px); width: 540px; display: flex; background: rgba(7,16,32,0.98); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(201,168,76,0.18); border-top: 2px solid var(--gold); opacity: 0; pointer-events: none; transition: opacity 0.32s var(--ease), transform 0.32s var(--ease); z-index: 300; overflow: hidden; }
  .has-dropdown::after { content: ''; position: absolute; top: 100%; left: -20px; right: -20px; height: 22px; }
  .has-dropdown:hover .nav-dropdown { opacity: 1; pointer-events: all; transform: translateX(-50%) translateY(0); }
  .nav-dropdown-links { flex: 0 0 260px; display: flex; flex-direction: column; padding: 8px 0; }
  .nav-dropdown-links a { display: flex; align-items: center; gap: 10px; padding: 12px 22px; font-family: var(--font-body); font-size: 10px; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.45); border-bottom: 1px solid rgba(255,255,255,0.035); transition: color 0.25s var(--ease), background 0.25s var(--ease), padding-left 0.25s var(--ease); position: relative; }
  .nav-dropdown-links a:last-child { border-bottom: none; }
  .nav-dropdown-links a::before { content: ''; display: block; width: 0; height: 1px; background: var(--gold); flex-shrink: 0; transition: width 0.25s var(--ease); }
  .nav-dropdown-links a:hover, .nav-dropdown-links a.active-dd { color: var(--gold); background: rgba(201,168,76,0.055); padding-left: 28px; }
  .nav-dropdown-links a:hover::before, .nav-dropdown-links a.active-dd::before { width: 12px; }
  .nav-dropdown-links a::after { display: none; }
  .nav-dropdown-preview { flex: 1; position: relative; background: var(--navy2); overflow: hidden; min-height: 260px; }
  .nav-preview-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0; transition: opacity 0.4s var(--ease), transform 0.5s var(--ease); transform: scale(1.04); }
  .nav-preview-img.active { opacity: 1; transform: scale(1); }
  .nav-preview-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 10px 14px; background: linear-gradient(to top, rgba(7,16,32,0.85), transparent); font-family: var(--font-body); font-size: 9px; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); opacity: 0; transition: opacity 0.3s var(--ease); }
  .has-dropdown:hover .nav-preview-caption { opacity: 1; }

  /* ── Overlay Menu ────────────────────────────── */
  #overlay-menu { position: fixed; inset: 0; z-index: 190; background: var(--navy); display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.5s var(--ease); overflow-y: auto; overflow-x: hidden; padding: 88px 24px 48px; }
  #overlay-menu.open { opacity: 1; pointer-events: all; }
  .overlay-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px); background-size: 60px 60px; animation: gridDrift 20s linear infinite; }
  @keyframes gridDrift { 0% { transform: translate(0,0); } 100% { transform: translate(60px,60px); } }
  .overlay-inner { position: relative; z-index: 2; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 0; }
  .overlay-nav { list-style: none; display: flex; flex-direction: column; align-items: center; gap: 8px; margin-bottom: 48px; }
  .overlay-nav li { opacity: 0; transform: translateY(20px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
  #overlay-menu.open .overlay-nav li:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.1s; }
  #overlay-menu.open .overlay-nav li:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.18s; }
  #overlay-menu.open .overlay-nav li:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.26s; }
  #overlay-menu.open .overlay-nav li:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.34s; }
  #overlay-menu.open .overlay-nav li:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 0.42s; }
  .overlay-nav a { font-family: var(--font-display); font-size: clamp(40px,7vw,80px); font-weight: 300; color: rgba(255,255,255,0.9); letter-spacing: 0.04em; transition: color 0.3s var(--ease); display: block; line-height: 1.15; }
  .overlay-nav a:hover, .overlay-nav a.active { color: var(--gold); }
  .overlay-divider { width: 120px; height: 1px; background: var(--gold); margin-bottom: 36px; opacity: 0; transition: opacity 0.5s var(--ease) 0.5s; }
  #overlay-menu.open .overlay-divider { opacity: 0.6; }
  .overlay-socials { display: flex; align-items: center; gap: 24px; margin-bottom: 28px; opacity: 0; transition: opacity 0.5s var(--ease) 0.55s; }
  #overlay-menu.open .overlay-socials { opacity: 1; }
  .overlay-socials a { color: rgba(255,255,255,0.45); transition: color 0.3s var(--ease); }
  .overlay-socials a:hover { color: var(--gold); }
  .overlay-socials svg { width: 18px; height: 18px; fill: currentColor; }
  .overlay-tagline { font-family: var(--font-display); font-style: italic; font-size: 16px; color: var(--gold); letter-spacing: 0.06em; opacity: 0; transition: opacity 0.5s var(--ease) 0.6s; }
  #overlay-menu.open .overlay-tagline { opacity: 1; }
  .overlay-has-sub { display: flex; flex-direction: column; align-items: center; }
  .overlay-item-row { display: flex; align-items: center; justify-content: center; gap: 14px; }
  .overlay-sub-toggle { background: none; border: 1px solid rgba(201,168,76,0.35); border-radius: 50%; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--gold); flex-shrink: 0; transition: background var(--trans), border-color var(--trans); padding: 0; }
  .overlay-sub-toggle svg { display: block; transition: transform 0.38s var(--ease); }
  .overlay-sub-toggle.open { background: rgba(201,168,76,0.12); border-color: var(--gold); }
  .overlay-sub-toggle.open svg { transform: rotate(180deg); }
  .overlay-submenu { list-style: none; max-height: 0; overflow: hidden; transition: max-height 0.45s var(--ease), opacity 0.35s var(--ease); display: flex; flex-direction: column; align-items: center; gap: 0; opacity: 0; width: 100%; }
  .overlay-submenu.open { max-height: 360px; opacity: 1; }
  .overlay-sublink { font-family: var(--font-body) !important; font-size: 12px !important; font-weight: 400 !important; letter-spacing: 0.2em !important; text-transform: uppercase; color: rgba(255,255,255,0.35) !important; padding: 9px 0; display: block; line-height: 1 !important; transition: color 0.28s var(--ease) !important; }
  .overlay-sublink:hover, .overlay-sublink.active { color: var(--gold) !important; }


  /* ── Footer ──────────────────────────────────── */
  #footer { background: #050D18; padding: 0; }
  .footer-manifesto { background: rgba(201,168,76,0.07); border-bottom: 1px solid rgba(201,168,76,0.12); padding: 18px 80px; }
  .footer-manifesto-inner { max-width: 1280px; margin: 0 auto; font-family: var(--font-display); font-style: italic; font-size: 15px; color: #fff; letter-spacing: 0.01em; }
  .footer-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 2.2fr 1fr 1.3fr 1.2fr; gap: 60px; padding: 72px 80px 64px; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .footer-logo { height: 36px; width: auto; margin-bottom: 22px; display: block; object-fit: contain; }
  .footer-atelier-stmt { font-family: var(--font-body); font-size: 13px; font-weight: 300; color: #fff; line-height: 1.85; margin-bottom: 12px; }
  .footer-est { font-family: var(--font-body); font-size: 11px; font-weight: 300; color: #fff; letter-spacing: 0.04em; margin-bottom: 26px; }
  .footer-socials { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
  .footer-social-link { color: #fff; transition: color var(--trans); }
  .footer-social-link:hover { color: var(--gold); }
  .footer-social-link svg { width: 15px; height: 15px; fill: currentColor; display: block; }
  .footer-col-title { font-family: var(--font-body); font-size: 10px; font-weight: 400; letter-spacing: 0.22em; text-transform: uppercase; color: #fff; margin-bottom: 24px; }
  .footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
  .footer-links a { font-family: var(--font-body); font-size: 13px; font-weight: 300; color: #fff; transition: color var(--trans); }
  .footer-links a:hover { color: var(--gold); }
  .footer-links a.active-footer { color: var(--gold); }
  .footer-links-secondary { margin-top: 24px; border-top: 1px solid rgba(255,255,255,0.06); padding-top: 20px; }
  .footer-links-secondary a { color: rgba(255,255,255,0.7) !important; font-size: 12px !important; }
  .footer-links-secondary a:hover { color: rgba(255,255,255,0.45) !important; }
  .footer-standards { list-style: none; }
  .fs-row { display: flex; flex-direction: column; gap: 3px; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .fs-row:first-child { border-top: 1px solid rgba(255,255,255,0.05); }
  .fs-label { font-family: var(--font-body); font-size: 10px; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; }
  .fs-value { font-family: var(--font-body); font-size: 13px; font-weight: 300; color: #fff; }
  .footer-contact-list { list-style: none; margin-bottom: 28px; }
  .footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
  .footer-contact-icon { flex-shrink: 0; width: 18px; height: 18px; margin-top: 1px; }
  .footer-contact-icon img { width: 18px; height: 18px; object-fit: contain; }
  .footer-contact-text { font-family: var(--font-body); font-size: 12px; font-weight: 300; color: #fff; line-height: 1.6; }
  .footer-contact-text a { transition: color var(--trans); }
  .footer-contact-text a:hover { color: var(--gold); }
  .footer-enquiry-btn { display: inline-block; font-family: var(--font-body); font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(201,168,76,0.35); padding: 11px 22px; transition: background var(--trans), color var(--trans), border-color var(--trans); }
  .footer-enquiry-btn:hover { background: var(--gold); color: #050D18; border-color: var(--gold); }
  .footer-bottom { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 22px 80px; }
  .footer-copy { font-family: var(--font-body); font-size: 12px; font-weight: 300; color: #fff; }
  .footer-legal { font-family: var(--font-body); font-size: 11px; color: #fff; }
  .footer-legal a { color: #fff; transition: color var(--trans); }
  .footer-legal a:hover { color: rgba(255,255,255,0.5); }
  @media (max-width: 1024px) { .footer-manifesto { padding: 16px 48px; } .footer-grid { grid-template-columns: 1fr 1fr; gap: 48px; padding: 60px 48px 48px; } .footer-bottom { padding: 20px 48px; } }
  @media (max-width: 600px) { .footer-manifesto { padding: 14px 24px; } .footer-manifesto-inner { font-size: 13px; } .footer-grid { grid-template-columns: 1fr; gap: 40px; padding: 48px 24px 40px; } .footer-bottom { padding: 18px 24px; flex-direction: column; gap: 10px; text-align: center; } }

  /* ── Focus-visible accessibility ─────────────────────────────── */
  :focus { outline: none; }
  :focus-visible {
    outline: 2px solid #C9A84C;
    outline-offset: 3px;
    border-radius: 2px;
  }
  .btn:focus-visible,
  .nav-cta:focus-visible {
    outline: 2px solid #C9A84C;
    outline-offset: 4px;
    box-shadow: 0 0 0 4px rgba(201,168,76,.18);
  }
  a:focus-visible { outline: 2px solid #C9A84C; outline-offset: 2px; }
  

  /* ── FAQ Section ─────────────────────────────────────────────── */
  #faq { padding: 96px 5vw; background: #050D18; border-top: 1px solid rgba(201,168,76,.08); }
  .faq-inner { max-width: 820px; margin: 0 auto; }
  .faq-label { font-size: 9px; letter-spacing: .28em; text-transform: uppercase; color: #C9A84C; margin-bottom: 14px; }
  .faq-h2 { font-family: var(--font-display); font-size: clamp(28px,4vw,42px); font-weight: 300; color: #fff; margin-bottom: 48px; line-height: 1.25; }
  .faq-h2 em { font-style: italic; color: #C9A84C; }
  .faq-list { list-style: none; }
  .faq-item { border-bottom: 1px solid rgba(255,255,255,.07); }
  .faq-item:first-child { border-top: 1px solid rgba(255,255,255,.07); }
  .faq-q {
  width: 100%; background: none; border: none; color: #fff;
  font-family: var(--font-body); font-size: 15px; font-weight: 400;
  text-align: left; padding: 22px 0; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  transition: color .2s;
  }
  .faq-q:hover { color: #C9A84C; }
  .faq-q[aria-expanded="true"] { color: #C9A84C; }
  .faq-icon {
  flex-shrink: 0; width: 22px; height: 22px;
  border: 1px solid rgba(201,168,76,.35); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s, background .2s;
  }
  .faq-q[aria-expanded="true"] .faq-icon { background: #C9A84C; transform: rotate(45deg); }
  .faq-icon svg { width: 10px; height: 10px; }
  .faq-a {
  overflow: hidden; max-height: 0;
  transition: max-height .35s ease, padding .35s ease;
  padding: 0;
  }
  .faq-a.open { max-height: 400px; padding-bottom: 20px; }
  .faq-a p { font-size: 14px; color: rgba(255,255,255,.6); line-height: 1.85; }

/* SVG fallback icon — shown by onerror JS, hidden by default */
.nav-icon-hidden { display: none; width: 18px; height: 18px; color: rgba(255,255,255,0.4); }
