/* ============================================
   DHEYAA ALBADIA - CORPORATE WEBSITE STYLES
   Design language: light corporate with a
   slate + saffron-gold identity (distinct
   palette, matching the company logo).
   Location: Umm Qasr - Basra - Iraq
   Domain: dheyaaalbadia.com

   Color Palette:
   - Ink Slate: #1B2A38 (headings / bands)
   - Steel Slate: #33475B
   - Saffron Gold Accent: #C79A3E
   - Soft Light Background: #F7F6F2 (warm)
   - Dark Text: #22262B
   - White: #FFFFFF
   ============================================ */

:root {
  --bg-primary: #ffffff;
  --bg-surface: #F7F6F2;
  --bg-deep: #1B2A38;
  --bg-deep-2: #14212C;
  --border: #E6E3DC;
  --text-primary: #22262B;
  --text-secondary: #4E5A66;
  --text-light: #6E7A85;
  --heading: #1B2A38;
  --accent: #C79A3E;
  --accent-dark: #A97F27;
  --accent-light: #E0BC6E;
  --accent-soft: rgba(199, 154, 62, 0.14);
  --whatsapp: #25D366;
  --whatsapp-dark: #1DA851;
  --shadow-subtle: 0 1px 3px rgba(27, 42, 56, 0.08);
  --shadow-card: 0 2px 8px rgba(27, 42, 56, 0.07);
  --shadow-card-hover: 0 6px 18px rgba(27, 42, 56, 0.13);
  --radius: 6px;
  --radius-lg: 10px;
  --header-height: 76px;
  --container: 1280px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color 150ms ease, background 150ms ease; }
ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  color: var(--heading);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.625rem, 4vw, 2.375rem); }
h3 { font-size: clamp(1.125rem, 2.5vw, 1.375rem); }
h4 { font-size: 1.0625rem; }
p { color: var(--text-secondary); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Layout */
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: clamp(3.5rem, 8vw, 5.5rem) 0; }
.section-alt { background: var(--bg-surface); }
.section-flush-top { padding-top: 0; }
.section-deep { background: var(--bg-deep); }
.section-deep h1, .section-deep h2, .section-deep h3, .section-deep h4,
.section-deep .section-title { color: #fff; }
.section-deep p, .section-deep .section-description { color: rgba(255, 255, 255, 0.75); }
.section-deep .section-label { color: var(--accent-light); }

/* ===== Split layout: two-column text + media (shared by home/about/services) ===== */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split .eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.625rem;
}
.split h2 { margin-bottom: 1.125rem; }
.split p + p { margin-top: 1rem; }
.split .btn { margin-top: 1.75rem; }

/* Media panel */
.split-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background:
    radial-gradient(ellipse 80% 80% at 50% 38%, rgba(199, 154, 62, 0.08), transparent),
    var(--bg-surface);
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-card);
}
.split-media img { width: 58%; }
.split-media-photo { padding: 0; aspect-ratio: 16 / 10; display: block; }
.split-media-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.split-media-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 62%, rgba(27, 42, 56, 0.42));
  pointer-events: none;
}
.split.split-reverse .split-media { order: -1; }
@media (max-width: 900px) { .split.split-reverse .split-media { order: 0; } }

/* Floating badge over media */
.badge-float {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.5rem 1.125rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--heading);
  box-shadow: var(--shadow-card);
}
.badge-float i { color: var(--accent); font-size: 0.875rem; }

/* Hero features row (used on home hero + service page heroes) */
.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem 2rem;
}
.hero-feature-item {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--heading);
}
.hero-feature-item i { color: var(--accent); font-size: 1.0625rem; flex-shrink: 0; }
.hero-features-flush { margin-top: 1.75rem; margin-bottom: 0; }

/* Section headers */
.section-header { max-width: 760px; margin: 0 auto clamp(2rem, 5vw, 3.25rem); text-align: center; }
.section-header .section-label {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.section-header .section-title { margin-bottom: 0.875rem; }
.section-divider, .section-title-underline {
  width: 56px;
  height: 3px;
  background: var(--accent);
  margin: 0.875rem auto 0;
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.625rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.2;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.btn-primary, .btn-gold {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover, .btn-gold:hover { color: #fff; background: var(--accent-dark); }

.btn-navy {
  background: var(--bg-deep);
  color: #fff;
}
.btn-navy:hover { color: #fff; background: var(--bg-deep-2); }

.btn-outline {
  border-color: var(--border);
  color: var(--heading);
  background: #fff;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent-dark); background: var(--accent-soft); }

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
}
.btn-whatsapp:hover { color: #fff; background: var(--whatsapp-dark); }

/* Cards */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { box-shadow: var(--shadow-card-hover); border-color: rgba(199, 154, 62, 0.45); }
.card h3, .card h4 { margin-bottom: 0.5rem; }
.card p { font-size: 0.9375rem; }
.card-accent { border-top: 3px solid var(--accent); }

.card-icon, .highlight-icon, .bento-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}
.card-icon svg, .highlight-icon svg, .bento-icon svg { width: 22px; height: 22px; }

/* Badges: darker gold text on soft gold tint for readable contrast */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent-dark);
  background: var(--accent-soft);
  border: 1px solid rgba(199, 154, 62, 0.35);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
}

/* Page hero (inner pages) */
.page-hero {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  padding-block: clamp(3.5rem, 8vw, 6rem);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(199, 154, 62, 0.12), transparent 70%);
  pointer-events: none;
}
.page-hero h1 { margin-bottom: 1rem; }
.page-hero .lead { font-size: 1.0625rem; max-width: 720px; color: var(--text-secondary); }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--text-secondary); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: #B9B3A5; }
.breadcrumb [aria-current] { color: var(--accent-dark); font-weight: 600; }

/* CTA banner (deep navy) */
.cta-banner {
  background: var(--bg-deep);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 6vw, 4rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 90% at 50% 130%, rgba(199, 154, 62, 0.18), transparent);
  pointer-events: none;
}
.cta-banner h2 { color: #fff; margin-bottom: 0.75rem; position: relative; }
.cta-banner p { color: rgba(255, 255, 255, 0.75); max-width: 560px; margin: 0 auto 2rem; position: relative; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; position: relative; }
.cta-spaced { margin-top: 2.5rem; }

/* FAQ */
.faq { max-width: 800px; margin-inline: auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}
.faq-item[open] { box-shadow: var(--shadow-card); }
.faq-item summary {
  padding: 1.125rem 1.5rem;
  font-weight: 600;
  color: var(--heading);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 3rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "\f067";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 0.875rem;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { content: "\f068"; }
.faq-item .faq-a { padding: 0 1.5rem 1.25rem; color: var(--text-secondary); font-size: 0.9375rem; }

/* Check lists */
.check-list { list-style: none; }
.check-list li {
  position: relative;
  padding-left: 1.875rem;
  margin-bottom: 0.625rem;
  color: var(--text-secondary);
  font-size: 0.9375rem;
}
.check-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0.2rem;
  color: var(--accent);
  font-size: 0.8125rem;
}

/* Bento grid primitives */
.bento { display: grid; gap: 1.25rem; }
.bento-2 { grid-template-columns: repeat(2, 1fr); }
.bento-3 { grid-template-columns: repeat(3, 1fr); }
.bento-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) {
  .bento-3, .bento-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .bento-2, .bento-3, .bento-4 { grid-template-columns: 1fr; }
}

/* Capability strip (under hero, like group sites) */
.capability-strip {
  border-block: 1px solid var(--border);
  background: #fff;
}
.capability-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding-block: 1.5rem;
}
@media (max-width: 900px) { .capability-strip .container { grid-template-columns: repeat(2, 1fr); } }
.capability-item { display: flex; align-items: center; gap: 0.75rem; }
.capability-item svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; }
.capability-item span { font-size: 0.9375rem; font-weight: 600; color: var(--heading); }

/* Reveal animation (JS only) — subtle, corporate */
html.js .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
html.js .reveal.visible { opacity: 1; transform: none; }

/* Accessibility */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 var(--radius) 0;
  z-index: 200;
  font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }

/* ===== Services bento grid (shared: home + services index) ===== */
.bento-services {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 1fr;
  gap: 1.25rem;
}
.bento-cell {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
  grid-column: span 2;
}
.bento-cell:hover { box-shadow: var(--shadow-card-hover); border-color: rgba(199, 154, 62, 0.5); }
.bento-cell h3 { margin-bottom: 0.5rem; }
.bento-cell p { font-size: 0.9375rem; color: var(--text-secondary); flex-grow: 1; }
.bento-cell .card-arrow {
  margin-top: 1.25rem;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.bento-cell:hover .card-arrow i { transform: translateX(4px); transition: transform 0.2s; }
.bento-cell .card-arrow i { transition: transform 0.2s; }

/* Wide feature cell: navy accent panel */
.bento-cell.bento-wide {
  background: var(--bg-deep);
  border-color: var(--bg-deep);
  justify-content: center;
}
.bento-cell.bento-wide h3 { color: #fff; font-size: 1.25rem; }
.bento-cell.bento-wide p { color: rgba(255, 255, 255, 0.72); }
.bento-cell.bento-wide .card-arrow { color: var(--accent-light); }
.bento-cell.bento-wide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 82% 18%, rgba(199, 154, 62, 0.15), transparent);
  pointer-events: none;
}
.bento-cell.bento-wide > * { position: relative; }

/* Tall feature cell: light surface */
.bento-cell.bento-tall { background: var(--bg-surface); justify-content: center; }
.bento-tall .bento-icon { background: #fff; }

/* CTA row below the bento grid */
.bento-cta {
  grid-column: 1 / -1;
  background: #fff;
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}
.bento-cta h3 { margin-bottom: 0; }
.bento-cta p { font-size: 0.9375rem; color: var(--text-secondary); margin-bottom: 0; flex: 1 1 320px; }
.bento-cta .btn { flex-shrink: 0; }

/* Numbered index in the corner of bento cells */
.bento-num {
  position: absolute;
  top: 1.25rem;
  right: 1.375rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(199, 154, 62, 0.55);
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 1000px) {
  .bento-services { grid-template-columns: repeat(2, 1fr); }
  .bento-cell, .bento-cell.bento-wide, .bento-cell.bento-tall, .bento-cta { grid-column: auto; grid-row: auto; }
}
@media (max-width: 600px) {
  .bento-services { grid-template-columns: 1fr; }
  .bento-cta { flex-direction: column; align-items: flex-start; border-left-width: 1px; border-top: 3px solid var(--accent); }
  .bento-cta h3 { margin-bottom: 0.375rem; }
  .bento-cta p { margin-bottom: 1.125rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html.js .reveal { opacity: 1; transform: none; }
}

/* Uniform service catalogue: one rhythm, one surface, no featured-card treatment. */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.service-card {
  display: flex;
  min-height: 285px;
  flex-direction: column;
  position: relative;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.service-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-card-hover);
}
.service-card .bento-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 1.25rem;
}
.service-card h3 { margin-bottom: 0.5rem; }
.service-card p {
  flex: 1;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}
.service-card .service-num {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  color: var(--accent-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.service-card .card-arrow {
  align-self: flex-start;
  margin-top: 1.25rem;
  color: var(--accent-dark);
  font-size: 0.875rem;
  font-weight: 700;
}
.service-card .card-arrow i { margin-left: 0.25rem; }
.service-card-cta { background: #fff; }
.service-bento-contact {
  background: var(--bg-deep);
  border-color: var(--bg-deep);
}
.service-bento-contact h3 { color: #fff; }
.service-bento-contact p { color: rgba(255, 255, 255, 0.76); }
.service-bento-contact .bento-icon { background: rgba(199, 154, 62, 0.18); }
.service-bento-contact .card-arrow { color: var(--accent-light); }
.service-bento-contact .service-num { color: var(--accent-light); }
@media (max-width: 1050px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 240px; }
}

/* Homepage service overview: balanced bento, with the enquiry panel as the clear next step. */
.service-bento-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.service-bento-grid .service-card { grid-column: span 2; }
.service-bento-grid .service-bento-contact {
  grid-column: span 4;
  min-height: 285px;
}
@media (max-width: 1050px) {
  .service-bento-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-bento-grid .service-card,
  .service-bento-grid .service-bento-contact { grid-column: auto; }
}
@media (max-width: 600px) {
  .service-bento-grid { grid-template-columns: 1fr; }
}

/* Dedicated services page: a structured list avoids an orphaned final card. */
.service-list {
  display: block;
  max-width: 1080px;
  margin-inline: auto;
  border-top: 1px solid var(--border);
}
.service-list .service-card {
  display: grid;
  grid-template-columns: 3rem 3rem minmax(210px, 0.75fr) 1.4fr auto;
  align-items: center;
  gap: 1.5rem;
  min-height: 0;
  padding: 1.25rem 0;
  border-width: 0 0 1px;
  border-radius: 0;
  box-shadow: none;
}
.service-list .service-card:hover {
  padding-inline: 1rem;
  border-color: var(--accent);
  background: var(--bg-surface);
}
.service-list .service-card .bento-icon {
  margin: 0;
}
.service-list .service-card .service-num {
  position: static;
  color: var(--accent-dark);
  font-variant-numeric: tabular-nums;
}
.service-list .service-card h3 { margin: 0; }
.service-list .service-card p { margin: 0; }
.service-list .service-card .card-arrow { margin: 0; white-space: nowrap; }
@media (max-width: 760px) {
  .service-list .service-card {
    grid-template-columns: 2.5rem 2.75rem 1fr;
    gap: 0.75rem 1rem;
  }
  .service-list .service-card .service-num { grid-row: span 3; }
  .service-list .service-card .bento-icon { grid-row: span 3; }
  .service-list .service-card p,
  .service-list .service-card .card-arrow { grid-column: 3; }
}
