/* ============================================================
   AWOURS MEMI NIG. LTD - Brand Stylesheet
   Brand: Gold premium heritage on deep navy
   ============================================================ */

/* --- Custom Properties ------------------------------------ */
:root {
  --gold-primary:   #C9A227;
  --gold-highlight: #E8C84A;
  --gold-dark:      #A07B1A;
  --gold-subtle:    rgba(201, 162, 39, 0.15);
  --dark-base:      #0D1B2A;
  --dark-section:   #111827;
  --dark-card:      #162032;
  --dark-card-hover:#1A2A3A;
  --text-light:     #F4F1E8;
  --text-muted:     #9AA5B4;
  --border-gold:    rgba(201, 162, 39, 0.25);
  --border-subtle:  rgba(255, 255, 255, 0.08);
  --font-heading:   'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:      'Lato', 'Source Sans Pro', Arial, sans-serif;
  --radius-card:    8px;
  --radius-btn:     6px;
  --transition:     all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-gold:    0 4px 24px rgba(201, 162, 39, 0.12);
  --shadow-card:    0 2px 16px rgba(0, 0, 0, 0.35);
}

/* --- Global Reset & Base ---------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--dark-base);
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-light);
  line-height: 1.2;
}

a {
  color: var(--gold-primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--gold-highlight);
}

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

/* --- Gold Divider ----------------------------------------- */
.gold-divider {
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gold-primary);
  border: none;
  margin: 1rem 0 1.5rem;
}

.gold-divider.centered {
  margin: 1rem auto 1.5rem;
}

/* --- Eyebrow Label --------------------------------------- */
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 0.75rem;
}

/* --- Section Backgrounds ---------------------------------- */
.section-dark {
  background-color: var(--dark-section);
  padding: 5rem 0;
}

.section-darker {
  background-color: var(--dark-base);
  padding: 5rem 0;
}

.section-card-bg {
  background-color: var(--dark-card);
  padding: 5rem 0;
}

/* --- Section Headings ------------------------------------- */
.section-heading {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.section-heading .accent {
  color: var(--gold-primary);
}

.section-sub {
  color: var(--text-muted);
  max-width: 600px;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  background-color: rgba(13, 27, 42, 0.97) !important;
  border-bottom: 1px solid var(--border-gold);
  transition: var(--transition);
  min-height: 72px;
  padding: 0.5rem 1rem;
}

.navbar.scrolled {
  background-color: rgba(13, 27, 42, 1) !important;
  box-shadow: 0 2px 20px rgba(201, 162, 39, 0.10);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.navbar-brand img {
  height: 50px;
  width: auto;
}

.navbar-brand-text {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold-primary) !important;
  line-height: 1.2;
  display: none;
}

@media (min-width: 576px) {
  .navbar-brand-text {
    display: block;
  }
}

.navbar-toggler {
  border-color: var(--border-gold);
  color: var(--gold-primary);
}

.navbar-toggler-icon {
  filter: invert(75%) sepia(50%) saturate(600%) hue-rotate(5deg);
}

.nav-link {
  color: var(--text-light) !important;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  padding: 0.5rem 0.9rem !important;
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0;
  left: 0.9rem;
  right: 0.9rem;
  height: 2px;
  background: var(--gold-primary);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-primary) !important;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-phone-link {
  color: var(--gold-primary) !important;
  font-weight: 700;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-btn);
  padding: 0.4rem 0.9rem !important;
  transition: var(--transition);
}

.nav-phone-link:hover {
  background: var(--gold-subtle);
  color: var(--gold-highlight) !important;
}

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

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-gold {
  background-color: var(--gold-primary);
  color: #0D1B2A;
  border: 2px solid var(--gold-primary);
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  padding: 0.75rem 2rem;
  transition: var(--transition);
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-gold:hover {
  background-color: var(--gold-highlight);
  border-color: var(--gold-highlight);
  color: #0D1B2A;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(201, 162, 39, 0.35);
}

.btn-gold:active {
  transform: translateY(0) scale(0.98);
}

.btn-outline-gold {
  background-color: transparent;
  color: var(--gold-primary);
  border: 2px solid var(--gold-primary);
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  padding: 0.75rem 2rem;
  transition: var(--transition);
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-outline-gold:hover {
  background-color: var(--gold-primary);
  color: #0D1B2A;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(201, 162, 39, 0.25);
}

.btn-outline-gold:active {
  transform: translateY(0) scale(0.98);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh; /* iOS Safari address bar stability */
  background-color: var(--dark-base); /* fallback while video loads */
  background-size: cover;
  background-position: center 40%;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Background video */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none; /* prevents user clicking/interacting with video */
  display: block;
}

/* Reduced-motion: show first frame only, no looping animation */
@media (prefers-reduced-motion: reduce) {
  .hero-video {
    /* video element itself respects autoplay/muted, reduced-motion is for CSS animations only */
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(13, 27, 42, 0.92) 0%,
    rgba(13, 27, 42, 0.75) 55%,
    rgba(13, 27, 42, 0.45) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 7rem;
  padding-bottom: 4rem;
}

.hero-eyebrow {
  font-size: 0.72rem;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 1rem;
  display: block;
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-family: var(--font-heading);
  color: var(--text-light);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.hero-title .gold {
  color: var(--gold-primary);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold-primary);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: var(--transition);
}

.hero-contact-link:hover {
  color: var(--gold-highlight);
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  position: relative;
  min-height: 38vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding: 8rem 0 3.5rem;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 27, 42, 0.85);
  z-index: 1;
}

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

.page-hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--text-light);
}

/* ============================================================
   ABOUT SNAPSHOT (Homepage)
   ============================================================ */
.stat-tile {
  background: var(--dark-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-card);
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: var(--transition);
}

.stat-tile:hover {
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-gold);
}

.stat-tile .stat-value {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--gold-primary);
  line-height: 1;
  display: block;
  margin-bottom: 0.4rem;
}

.stat-tile .stat-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  font-weight: 600;
}

/* ============================================================
   FOUR PILLARS (Homepage)
   ============================================================ */
.pillar-card {
  background: var(--dark-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-card);
  padding: 2rem 1.75rem;
  transition: var(--transition);
  height: 100%;
}

.pillar-card:hover {
  border-color: var(--gold-primary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-gold);
}

.pillar-icon {
  font-size: 2.4rem;
  color: var(--gold-primary);
  display: block;
  margin-bottom: 1.25rem;
  line-height: 1;
}

.pillar-card h3 {
  font-size: 1.3rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}

.pillar-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0;
}

/* ============================================================
   FEATURES / WHY US (Homepage)
   ============================================================ */
.feature-item {
  text-align: center;
  padding: 1.5rem 1rem;
}

.feature-icon {
  font-size: 2.8rem;
  color: var(--gold-primary);
  display: block;
  margin-bottom: 1rem;
}

.feature-item h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 0.6rem;
}

.feature-item p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  max-width: 260px;
  margin: 0 auto;
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background: linear-gradient(135deg, #0a1520 0%, #0f1e10 100%);
  border-top: 3px solid var(--gold-primary);
  border-bottom: 1px solid var(--border-gold);
  padding: 4rem 0;
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: var(--text-light);
  margin-bottom: 1rem;
}

.cta-band p {
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 2rem;
  font-size: 1rem;
}

.cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold-primary);
  font-weight: 700;
  font-size: 1rem;
  margin-top: 1.25rem;
  text-decoration: none;
  transition: var(--transition);
}

.cta-phone:hover {
  color: var(--gold-highlight);
}

/* ============================================================
   SERVICE CARDS (Services page)
   ============================================================ */
.service-section {
  padding: 5rem 0;
}

.service-section:nth-child(even) {
  background-color: var(--dark-section);
}

.service-section:nth-child(odd) {
  background-color: var(--dark-base);
}

.service-img {
  border-radius: var(--radius-card);
  width: 100%;
  height: 380px;
  object-fit: cover;
  border: 1px solid var(--border-gold);
}

.service-capability {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.service-capability .bi {
  color: var(--gold-primary);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.service-capability span {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Process Steps */
.process-step {
  text-align: center;
  padding: 1.25rem 1rem;
}

.process-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold-subtle);
  border: 2px solid var(--gold-primary);
  color: var(--gold-primary);
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.process-step h5 {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 0.4rem;
}

.process-step p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-card {
  background: var(--dark-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-card);
  padding: 2.5rem 2rem;
}

.form-label {
  color: var(--gold-primary);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.form-control,
.form-select {
  background-color: var(--dark-base) !important;
  border: 1px solid var(--border-gold) !important;
  color: var(--text-light) !important;
  border-radius: var(--radius-btn) !important;
  font-family: var(--font-body);
  padding: 0.65rem 0.9rem;
  transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--gold-primary) !important;
  background-color: var(--dark-base) !important;
  color: var(--text-light) !important;
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.16) !important;
  outline: none;
}

.form-control::placeholder {
  color: var(--text-muted) !important;
  font-size: 0.9rem;
}

textarea.form-control {
  resize: vertical;
  min-height: 130px;
}

.alert-success-custom {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #86efac;
  border-radius: var(--radius-card);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}

.alert-error-custom {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  border-radius: var(--radius-card);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}

/* Address Info Card */
.address-card {
  background: var(--dark-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-card);
  padding: 2rem 1.75rem;
  margin-bottom: 1.5rem;
}

.address-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.address-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.address-icon {
  color: var(--gold-primary);
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.address-text {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.address-text strong {
  color: var(--text-light);
  display: block;
  margin-bottom: 0.2rem;
}

.address-text a {
  color: var(--gold-primary);
  text-decoration: none;
}

.address-text a:hover {
  color: var(--gold-highlight);
}

/* Map embed */
.map-wrap {
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--border-gold);
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: none;
  filter: invert(90%) hue-rotate(180deg);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background-color: #08101A;
  border-top: 1px solid var(--border-gold);
  padding: 4rem 0 0;
}

.footer-logo {
  height: 52px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-tagline {
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--gold-primary);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.65;
  max-width: 280px;
}

.footer-heading {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--gold-primary);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 0.9rem;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.footer-contact-item .bi {
  color: var(--gold-primary);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.footer-contact-item a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-contact-item a:hover {
  color: var(--gold-primary);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding: 1.25rem 0;
  margin-top: 3rem;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.82rem;
  margin: 0;
}

/* ============================================================
   ABOUT PAGE - Mission/Vision Cards
   ============================================================ */
.mv-card {
  background: var(--dark-card);
  border-radius: var(--radius-card);
  border-top: 4px solid var(--gold-primary);
  border-left: 1px solid var(--border-gold);
  border-right: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
  padding: 2rem 1.75rem;
  height: 100%;
  transition: var(--transition);
}

.mv-card:hover {
  box-shadow: var(--shadow-gold);
}

.mv-card h3 {
  font-size: 1.3rem;
  color: var(--gold-primary);
  margin-bottom: 1rem;
}

.mv-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-gold {
  color: var(--gold-primary);
}

.text-muted-custom {
  color: var(--text-muted);
}

.border-gold {
  border-color: var(--gold-primary) !important;
}

.bg-dark-card {
  background-color: var(--dark-card);
}

/* ============================================================
   RESPONSIVE ADJUSTMENTS
   ============================================================ */
@media (max-width: 768px) {
  .hero-content {
    padding-top: 6rem;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-sub {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero-actions .btn-gold,
  .hero-actions .btn-outline-gold {
    text-align: center;
    width: fit-content;
  }

  .section-dark,
  .section-darker,
  .section-card-bg {
    padding: 3.5rem 0;
  }

  .service-img {
    height: 240px;
    margin-bottom: 1.5rem;
  }

  .pillar-card {
    padding: 1.5rem;
  }

  .contact-card {
    padding: 1.75rem 1.25rem;
  }

  .page-hero {
    padding: 7rem 0 2.5rem;
  }

  .cta-band {
    padding: 3rem 0;
  }

  .map-wrap iframe {
    height: 220px;
  }
}

@media (max-width: 576px) {
  .hero-section {
    /* video covers on mobile without attachment issues */
  }

  .btn-gold,
  .btn-outline-gold {
    padding: 0.7rem 1.5rem;
    font-size: 0.85rem;
  }

  .stat-tile .stat-value {
    font-size: 1.8rem;
  }
}
