/* ============================================
   Saharii Al Shamal National Trading
   Static site styles — navy / gold / cream
   ============================================ */

:root {
  --navy: #0b1622;
  --navy-mid: #132536;
  --navy-soft: #1a3348;
  --gold: #a68b67;
  --gold-light: #c4a882;
  --gold-deep: #8a7050;
  --cream: #f3ebe0;
  --cream-soft: #faf6f0;
  --ink: #1a1f26;
  --muted: #5c6570;
  --white: #ffffff;
  --line: rgba(166, 139, 103, 0.35);
  --shadow: 0 18px 50px rgba(11, 22, 34, 0.18);
  --radius: 4px;
  --max: 1120px;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(166, 139, 103, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 20%, rgba(19, 37, 54, 0.06), transparent 50%),
    linear-gradient(180deg, var(--cream-soft) 0%, var(--cream) 100%);
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), padding 0.35s var(--ease);
  padding: 1.1rem 0;
  background: transparent;
}

.site-header.scrolled {
  background: rgba(11, 22, 34, 0.94);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  padding: 0.65rem 0;
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--cream);
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand-text span {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav a {
  color: rgba(243, 235, 224, 0.88);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  position: relative;
  transition: color 0.25s;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}

.nav a:hover,
.nav a.active {
  color: var(--cream);
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 0.55rem 1.1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background 0.25s, transform 0.25s;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(243, 235, 224, 0.35);
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--cream);
  transition: 0.3s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  color: var(--cream);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 18s var(--ease) infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(11, 22, 34, 0.88) 0%, rgba(11, 22, 34, 0.55) 48%, rgba(11, 22, 34, 0.35) 100%),
    linear-gradient(to top, rgba(11, 22, 34, 0.85) 0%, transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 8rem 0 5.5rem;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.hero-brand {
  width: clamp(110px, 16vw, 150px);
  margin-bottom: 1.4rem;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.45));
  animation: fadeUp 0.9s var(--ease) both;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0.01em;
  max-width: 14ch;
  animation: fadeUp 0.9s 0.1s var(--ease) both;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-lead {
  margin-top: 1.25rem;
  max-width: 38ch;
  font-size: 1.12rem;
  color: rgba(243, 235, 224, 0.88);
  animation: fadeUp 0.9s 0.2s var(--ease) both;
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  animation: fadeUp 0.9s 0.3s var(--ease) both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.45rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
}

.btn-primary:hover {
  background: var(--gold-light);
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(243, 235, 224, 0.45);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.btn-dark {
  background: var(--navy);
  color: var(--cream);
}

.btn-dark:hover {
  background: var(--navy-soft);
}

/* ---------- Sections ---------- */
.section {
  padding: 5.5rem 0;
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy);
  max-width: 18ch;
}

.section-intro {
  margin-top: 1rem;
  max-width: 52ch;
  color: var(--muted);
}

.section-head {
  margin-bottom: 2.75rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ---------- About strip ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.about-media {
  position: relative;
}

.about-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.about-media::before {
  content: "";
  position: absolute;
  inset: 1.25rem -1.25rem -1.25rem 1.25rem;
  border: 1px solid var(--gold);
  z-index: -1;
}

.about-copy p + p {
  margin-top: 1rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.about-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--navy);
  line-height: 1.1;
}

.about-stats span {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---------- Services ---------- */
.services-band {
  background:
    linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 55%, #0e1c2a 100%);
  color: var(--cream);
}

.services-band .section-label {
  color: var(--gold-light);
}

.services-band .section-title {
  color: var(--cream);
}

.services-band .section-intro {
  color: rgba(243, 235, 224, 0.72);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-item {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(166, 139, 103, 0.22);
  transition: border-color 0.3s, transform 0.3s var(--ease);
}

.service-item:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}

.service-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  opacity: 0.85;
  transition: opacity 0.35s, transform 0.5s var(--ease);
}

.service-item:hover img {
  opacity: 1;
  transform: scale(1.04);
}

.service-body {
  padding: 1.35rem 1.4rem 1.6rem;
}

.service-body h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  margin-bottom: 0.55rem;
  color: var(--cream);
}

.service-body p {
  font-size: 0.95rem;
  color: rgba(243, 235, 224, 0.72);
  line-height: 1.65;
}

.service-list {
  margin-top: 0.85rem;
  display: grid;
  gap: 0.35rem;
}

.service-list li {
  font-size: 0.88rem;
  color: var(--gold-light);
  padding-left: 0.9rem;
  position: relative;
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  background: var(--gold);
}

/* Light services (inner pages) */
.services-grid.light .service-item {
  background: var(--white);
  border-color: var(--line);
  box-shadow: 0 10px 30px rgba(11, 22, 34, 0.06);
}

.services-grid.light .service-body h3 {
  color: var(--navy);
}

.services-grid.light .service-body p {
  color: var(--muted);
}

.services-grid.light .service-list li {
  color: var(--gold-deep);
}

/* ---------- Benefits ---------- */
.benefits-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: stretch;
}

.benefits-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.benefits-list {
  display: grid;
  gap: 1.25rem;
}

.benefit {
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  align-items: start;
}

.benefit:first-child {
  padding-top: 0;
}

.benefit-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
  line-height: 1;
  min-width: 2ch;
}

.benefit h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.benefit p {
  color: var(--muted);
  font-size: 0.98rem;
}

/* ---------- Hours / note ---------- */
.hours-bar {
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: var(--cream);
  padding: 2.5rem 0;
}

.hours-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.hours-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  max-width: 18ch;
}

.hours-details {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.hours-details div strong {
  display: block;
  color: var(--gold-light);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--navy-mid);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 1.5rem 1rem 0.9rem;
  background: linear-gradient(to top, rgba(11, 22, 34, 0.85), transparent);
  color: var(--cream);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
}

.gallery-note {
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Contact CTA ---------- */
.contact-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--navy);
  color: var(--cream);
  overflow: hidden;
}

.contact-cta-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  opacity: 0.8;
}

.contact-cta-copy {
  padding: clamp(2.5rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-cta-copy .section-label {
  color: var(--gold-light);
}

.contact-cta-copy .section-title {
  color: var(--cream);
}

.contact-details {
  margin-top: 1.75rem;
  display: grid;
  gap: 1.1rem;
}

.contact-details a,
.contact-details p {
  color: rgba(243, 235, 224, 0.85);
}

.contact-details strong {
  display: block;
  color: var(--gold-light);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.contact-details a:hover {
  color: var(--gold-light);
}

.phone-lg {
  font-family: var(--font-display);
  font-size: 1.85rem;
  color: var(--cream) !important;
}

/* ---------- Contact page form ---------- */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.contact-form {
  background: var(--white);
  padding: 2rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.form-row {
  margin-bottom: 1.15rem;
}

.form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1px solid rgba(11, 22, 34, 0.15);
  background: var(--cream-soft);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.25s;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-row textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  margin-top: 0.85rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.map-embed {
  margin-top: 2.5rem;
  border: 1px solid var(--line);
  overflow: hidden;
  min-height: 320px;
  background: var(--navy-mid);
}

.map-embed iframe {
  width: 100%;
  height: 360px;
  border: 0;
  filter: grayscale(0.25) contrast(1.05);
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding: 9rem 0 4rem;
  color: var(--cream);
  background: var(--navy);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 85% 30%, rgba(166, 139, 103, 0.2), transparent 60%),
    linear-gradient(120deg, rgba(11, 22, 34, 0.92), rgba(19, 37, 54, 0.75));
  z-index: 1;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 600;
  max-width: 16ch;
}

.page-hero p {
  margin-top: 0.85rem;
  max-width: 46ch;
  color: rgba(243, 235, 224, 0.8);
}

/* ---------- Legal / prose ---------- */
.prose {
  max-width: 720px;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  color: var(--navy);
  margin: 2.25rem 0 0.75rem;
}

.prose h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--navy);
  margin: 1.5rem 0 0.5rem;
}

.prose p,
.prose li {
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.prose ul {
  padding-left: 1.2rem;
  margin-bottom: 1rem;
}

.prose ul li {
  list-style: disc;
}

.prose a {
  color: var(--gold-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(243, 235, 224, 0.78);
  padding: 3.5rem 0 1.75rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(166, 139, 103, 0.2);
}

.footer-brand img {
  width: 72px;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.95rem;
  max-width: 28ch;
  line-height: 1.65;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--cream);
  margin-bottom: 1rem;
}

.footer-col a,
.footer-col p {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 0.55rem;
  transition: color 0.25s;
}

.footer-col a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.85rem;
}

.footer-bottom a {
  color: var(--gold-light);
}

/* ---------- Utilities ---------- */
.mt-2 { margin-top: 2rem; }
.text-center { text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .services-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .benefits-layout,
  .contact-cta,
  .contact-page-grid {
    grid-template-columns: 1fr;
  }

  .about-media::before {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .benefits-media img {
    min-height: 280px;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    inset: 0 0 auto;
    top: 0;
    right: 0;
    width: min(100%, 320px);
    height: 100vh;
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    padding: 5.5rem 1.75rem 2rem;
    gap: 1.25rem;
    transform: translateX(105%);
    transition: transform 0.35s var(--ease);
    box-shadow: -16px 0 40px rgba(0, 0, 0, 0.35);
  }

  .nav.open {
    transform: none;
  }

  .nav-cta {
    margin-top: 0.5rem;
  }

  .hero-content {
    padding: 7.5rem 0 4rem;
  }

  .services-grid,
  .gallery-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .hours-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
