/* ================================================
   ORCA SOLUTIONS — BRAND SYSTEM
   Navy #1B2038 | Terracotta #A0593A | Beige #C4AD8F | Cream #F5F0E8
   Fonts: Cormorant Garamond (display) + DM Sans (body)
================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500&display=swap');

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

:root {
  --navy:      #1B2038;
  --terracotta:#A0593A;
  --beige:     #C4AD8F;
  --cream:     #F5F0E8;
  --white:     #FFFFFF;
  --light-grey:#E8E4DC;
}

html { scroll-behavior: auto; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--navy);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── HEADER ─────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 72px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.header-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
}

.header-brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--cream);
  line-height: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.site-nav a {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--beige);
  text-decoration: none;
  transition: color 0.2s;
}

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

.header-cta {
  background: var(--terracotta);
  color: var(--cream) !important;
  padding: 10px 24px;
  border-radius: 2px;
  font-weight: 500 !important;
  transition: background 0.2s !important;
}

.header-cta:hover { background: #8a4a2e !important; color: var(--cream) !important; }

.lang-toggle {
  background: none;
  border: 1px solid rgba(196,173,143,0.4);
  color: var(--beige);
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.2s;
}

.lang-toggle:hover { border-color: var(--beige); color: var(--cream); }

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--beige);
  transition: all 0.3s;
}

/* ── HERO ────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 48px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 60%, rgba(160,89,58,0.12) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 30%, rgba(196,173,143,0.06) 0%, transparent 60%);
  pointer-events: none;
}

/* STRICT ORDER: [ORCA + Logo] */
.hero-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 28px;
  animation: fadeUp 0.8s ease both;
}

.hero-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
}

.hero-brand-wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: var(--cream);
  line-height: 1;
}

/* [Horizontal Divider Line] */
.hero-divider {
  width: 280px;
  border: none;
  border-top: 1px solid rgba(196,173,143,0.35);
  margin-bottom: 28px;
  animation: fadeUp 0.8s 0.15s ease both;
}

/* [Design • Build • Consultations] */
.hero-services {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 20px;
  animation: fadeUp 0.8s 0.25s ease both;
}

/* [Create Lasting Presence] */
.hero-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 6vw, 78px);
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: var(--cream);
  margin-bottom: 20px;
  animation: fadeUp 0.8s 0.35s ease both;
}

/* [High-end fit-out...] */
.hero-description {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: var(--beige);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 44px;
  animation: fadeUp 0.8s 0.45s ease both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  animation: fadeUp 0.8s 0.55s ease both;
}

.btn-primary {
  display: inline-block;
  background: var(--terracotta);
  color: var(--cream);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 36px;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.btn-primary:hover { background: #8a4a2e; transform: translateY(-1px); }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--cream);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 36px;
  border-radius: 2px;
  border: 1px solid rgba(196,173,143,0.4);
  transition: border-color 0.2s, transform 0.2s;
}

.btn-outline:hover { border-color: var(--beige); transform: translateY(-1px); }

/* ── SECTIONS ─────────────────────────────────── */
section { padding: 100px 48px; }

.section-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 300;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 20px;
}

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

.section-body {
  font-size: 15px;
  font-weight: 300;
  color: #5a5a6a;
  max-width: 520px;
  line-height: 1.75;
}

.section-body.light { color: var(--beige); }

/* ── ABOUT ────────────────────────────────────── */
.about { background: var(--white); }

.about-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 48px;
}

.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 52px;
  font-weight: 300;
  color: var(--navy);
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
  margin-top: 6px;
}

.about-visual {
  background: var(--navy);
  height: 480px;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-visual-inner {
  opacity: 0.15;
}

.about-visual-inner img {
  width: 200px;
  filter: brightness(0) invert(1);
}

/* ── SERVICES ─────────────────────────────────── */
.services { background: var(--navy); }

.services-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
}

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

.service-card {
  background: rgba(255,255,255,0.03);
  padding: 48px 36px;
  transition: background 0.3s;
  border-top: 1px solid rgba(196,173,143,0.12);
}

.service-card:hover { background: rgba(255,255,255,0.06); }

.service-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  color: var(--terracotta);
  margin-bottom: 24px;
  letter-spacing: 0.1em;
}

.service-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 16px;
  line-height: 1.2;
}

.service-desc {
  font-size: 14px;
  font-weight: 300;
  color: var(--beige);
  line-height: 1.7;
}

/* ── PROJECTS ─────────────────────────────────── */
.projects { background: var(--cream); }

.projects-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.project-card:first-child {
  grid-row: span 2;
}

.project-img {
  width: 100%;
  height: 280px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(196,173,143,0.3);
  font-family: 'Cormorant Garamond', serif;
  font-size: 64px;
}

.project-card:first-child .project-img { height: 584px; }

.project-info {
  padding: 20px 0;
}

.project-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--navy);
}

.project-location {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #999;
  margin-top: 4px;
}

/* ── CAREERS ─────────────────────────────────── */
.careers { background: var(--white); }

.careers-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.careers-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
}

.jobs-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.job-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 36px;
  background: var(--cream);
  border-radius: 2px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  border: none;
  width: 100%;
  text-align: left;
}

.job-card:hover {
  background: var(--navy);
  transform: translateX(4px);
}

.job-card:hover .job-title { color: var(--cream); }
.job-card:hover .job-meta { color: var(--beige); }
.job-card:hover .job-arrow { color: var(--terracotta); }

.job-info { flex: 1; }

.job-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--navy);
  transition: color 0.2s;
}

.job-meta {
  display: flex;
  gap: 20px;
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888;
  transition: color 0.2s;
}

.job-arrow {
  font-size: 20px;
  color: #ccc;
  transition: color 0.2s;
  margin-left: 24px;
}

/* ── SUPPLIERS ────────────────────────────────── */
.suppliers { background: var(--navy); }

.suppliers-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.suppliers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 56px;
}

.supplier-card {
  display: block;
  padding: 40px 32px;
  background: rgba(255,255,255,0.04);
  border-radius: 2px;
  border: 1px solid rgba(196,173,143,0.08);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, transform 0.15s;
}

.supplier-card:hover {
  background: rgba(160,89,58,0.15);
  border-color: rgba(160,89,58,0.4);
  transform: translateY(-3px);
}

.supplier-icon {
  font-size: 28px;
  margin-bottom: 16px;
}

.supplier-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 10px;
}

.supplier-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--beige);
  line-height: 1.6;
}

.supplier-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta);
}

/* ── CONTACT ─────────────────────────────────── */
.contact { background: var(--cream); }

.contact-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info-item {
  margin-top: 32px;
}

.contact-info-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 6px;
}

.contact-info-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: var(--navy);
}

/* ── FORMS (shared) ──────────────────────────── */
.form-wrap {
  background: var(--white);
  padding: 40px;
  border-radius: 2px;
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--navy);
  background: var(--cream);
  border: 1px solid var(--light-grey);
  border-radius: 2px;
  outline: none;
  transition: border-color 0.2s;
}

.form-control:focus { border-color: var(--navy); }

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

select.form-control { appearance: none; cursor: pointer; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.form-submit {
  display: block;
  width: 100%;
  padding: 16px;
  background: var(--navy);
  color: var(--cream);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 8px;
}

.form-submit:hover { background: var(--terracotta); }

/* ── FOOTER ──────────────────────────────────── */
.site-footer {
  background: var(--navy);
  padding: 60px 48px 40px;
  color: var(--beige);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(196,173,143,0.15);
  margin-bottom: 32px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.6;
}

.footer-brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--cream);
  opacity: 0.8;
}

.footer-links {
  display: flex;
  gap: 36px;
}

.footer-links a {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--beige);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.footer-links a:hover { opacity: 1; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(196,173,143,0.5);
}

/* ── PAGE HEADERS (inner pages) ──────────────── */
.page-header {
  background: var(--navy);
  padding: 140px 48px 80px;
  text-align: center;
}

.page-header-label {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 16px;
}

.page-header-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.1;
}

.page-header-sub {
  font-size: 15px;
  font-weight: 300;
  color: var(--beige);
  margin-top: 16px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* ── FORM PAGE ───────────────────────────────── */
.form-page {
  background: var(--cream);
  padding: 80px 48px;
  min-height: 60vh;
}

.form-container {
  max-width: 720px;
  margin: 0 auto;
}

.success-msg {
  display: none;
  background: #f0f7f0;
  border: 1px solid #c3e0c3;
  color: #2a5a2a;
  padding: 20px 24px;
  border-radius: 2px;
  margin-bottom: 24px;
  font-size: 14px;
}

/* ── ANIMATIONS ──────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── RTL (Arabic) ────────────────────────────── */
[dir="rtl"] body { font-family: 'DM Sans', sans-serif; }
[dir="rtl"] .site-header { flex-direction: row-reverse; }
[dir="rtl"] .site-nav { flex-direction: row-reverse; }
[dir="rtl"] .about-inner { direction: rtl; }
[dir="rtl"] .hero { direction: rtl; }

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 960px) {
  section { padding: 72px 32px; }
  .site-header { padding: 0 32px; }
  .about-inner { grid-template-columns: 1fr; gap: 48px; }
  .services-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .project-card:first-child { grid-row: span 1; }
  .project-card:first-child .project-img { height: 280px; }
  .suppliers-grid { grid-template-columns: 1fr 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; }
  .services-header { flex-direction: column; gap: 24px; align-items: flex-start; }
  .careers-header { flex-direction: column; gap: 24px; align-items: flex-start; }
}

@media (max-width: 640px) {
  .site-nav { display: none; }
  .hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .suppliers-grid { grid-template-columns: 1fr; }
  .hero { padding: 100px 24px 60px; }
  .job-card { padding: 20px 20px; }
  .form-page { padding: 48px 24px; }
  .page-header { padding: 120px 24px 60px; }
  .footer-top { flex-direction: column; gap: 32px; }
  .footer-links { flex-wrap: wrap; gap: 20px; }
}
