:root{
  /* Layout */
  --container: 1700px;

  /* Colors */
  --bg-main:#FFF8EA;
  --bg-card:#ffffff;
  --bg-dark:#0b0b0f;

  --text-main:#1a1a1a;
  --text-muted:#6b6b6b;

  --text-invert:#ffffff;
  --muted-invert:rgba(255,255,255,.75);

  --gold:#c49c58;
  --gold2:#b8924a;

  --border:#e5dccb;
  --radius:16px;

  /* Header */
  --header-h:80px;
}

/* =========================
   GLOBAL BASE
========================= */
*{ box-sizing:border-box; }

html{
  scroll-behavior:smooth;
  -webkit-text-size-adjust:100%;
}

body{
  margin:0;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,sans-serif;
  background:var(--bg-main);
  color:var(--text-main);
  line-height:1.5;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}

img{
  max-width:100%;
  height:auto;
  display:block;
}

a{ color:inherit; }
.site-header a{ text-decoration:none; }

::selection{ background: rgba(196,156,88,.22); }

/* =========================
   CONTAINER
========================= */
.container{
  width:100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: clamp(16px, 3vw, 56px);
  padding-right: clamp(16px, 3vw, 56px);
}

/* =========================
   BUTTONS
========================= */
.btn{
  text-decoration:none;
  background: var(--gold);
  color:#111;
  font-weight:700;
  padding:10px 16px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border:none;
  cursor:pointer;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
  box-shadow: 0 8px 18px rgba(0,0,0,.10);
}

.btn:hover{
  background: var(--gold2);
  transform: translateY(-1px);
}

.btn:active{ transform: translateY(0); }

.btn-outline{
  background: transparent;
  color: var(--text-invert);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: none;
}

.btn-outline:hover{
  background: rgba(255,255,255,.10);
}

/* =========================
   HEADER
========================= */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);

  background: var(--bg-main);
  border-bottom: 1px solid var(--border);

  display: flex;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0,0,0,.04);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height: var(--header-h);
  gap: 18px;
}

/* ✅ Brand: logo + AMANA (left) */
.brand{
  display:inline-flex;
  align-items:center;
  gap: 12px;
  min-width: 220px;
}

.brand-logo img{
  height: 44px;
  width:auto;
  display:block;
  transition: transform .25s ease, opacity .25s ease;
}

.brand-logo:hover img{
  transform: scale(1.05);
  opacity: .9;
}

.brand-text{
  font-weight:800;
  letter-spacing:.08em;
  color: var(--gold);
  font-size:20px;
  white-space:nowrap;
}

/* Right nav */
.nav{
  display:flex;
  align-items:center;
  gap: 14px;
}

.nav-link{
  text-decoration:none;
  color:#2a2a2a;
  font-weight: 650;
  font-size: 15px;
  letter-spacing: .01em;
  padding: 10px 12px;
  border-radius: 999px;
  transition: background .2s ease, color .2s ease;
}

.nav-link:hover{
  background: rgba(196,156,88,.14);
  color: #1a1a1a;
}

.nav-link.active{
  background: rgba(196,156,88,.22);
  color: #1a1a1a;
}

.site-header .btn{
  padding: 11px 18px;
  font-weight: 750;
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(0,0,0,.10);
}

.site-header .btn:hover{
  box-shadow: 0 14px 26px rgba(0,0,0,.14);
}

/* Mobile toggle */
.nav-toggle{
  display:none;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.55);
  color: var(--text-main);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 18px;
  cursor: pointer;
}

/* Tablet/mobile header behavior */
@media (max-width: 860px){
  .nav-toggle{ display:inline-flex; }

  .nav{
    display:none;
    position:fixed;
    top: calc(var(--header-h) - 10px);
    left:16px;
    right:16px;
    flex-direction:column;
    gap:10px;
    padding:14px;
    background: rgba(255,248,234,.98);
    border:1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(0,0,0,.10);
    z-index: 60;
  }

  .nav.open{ display:flex; }

  .nav-link{ width:100%; text-align:center; }
  .site-header .btn{ width:100%; }
}

/* =========================
   HERO
========================= */
.hero{
  position:relative;
  min-height: 85vh;
  display:flex;
  align-items:center;
  background:
    linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.35) 55%, rgba(0,0,0,.75) 100%),
    url("../img/hero.jpg") center/cover no-repeat;
}

.hero-content{
  position:relative;
  max-width: 1200px;
  padding: 56px 0 44px;
  margin: 0 auto;
  text-align: center;
}


/* MAIN BRAND TITLE - AMANA */
.hero-brand{
  display: block;
  font-size: clamp(32px, 4.8vw, 68px) !important;  /* 🔥 الأكبر */
  letter-spacing: clamp(.3em, 2vw, .8em);
  font-weight: 900;
  color: var(--gold);                  /* ذهبي */
  margin-bottom: 18px;
  text-transform: uppercase;
}



/* SECONDARY TITLE */
.hero-title{
  color:#ffffff;
  font-weight: 700;
  font-size: clamp(22px, 3vw, 42px);   /* ⬅️ أصغر من AMANA */
  margin: 0 0 28px;
  text-align: center;

  white-space: nowrap;                /* ✅ سطر واحد */
  overflow: hidden;
  text-overflow: ellipsis;
}



/* actions */
.hero-actions{
  display:flex;
  justify-content:center;
  gap: 16px;
  flex-wrap: wrap;
}

/* =========================
   INTRO TEXT
========================= */
.intro-text{ padding: 0; }

.intro-desc{
  padding: 40px 10px;
  margin: 0 auto;
  max-width: 1200px;
  text-align: center;
  color: #566675;
  font-size: clamp(18px, 2.2vw, 30px);
  line-height: 1.35;
  font-weight: 900;

  white-space: normal;
  overflow: visible;
  text-overflow: unset;
}

/* =========================
   SECTIONS
========================= */
.section{
  padding: clamp(54px, 6vw, 80px) 0;
  background: transparent;
}

.section-title{
  font-size: clamp(22px, 3vw, 32px);
  margin: 0 0 26px;
  color: var(--text-main);
}

/* Cards grid */
.cards{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:18px;
}

.card{
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

.card h3{ margin:0 0 10px; color: var(--text-main); }
.card p{ margin:0; color: var(--text-muted); line-height:1.7; }

@media (max-width: 860px){
  .cards{ grid-template-columns: 1fr; }
}

/* =========================
   PAGE HERO (Services/Contact)
========================= */
.page-hero{
  padding: 70px 0 50px;
  background: var(--bg-main);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.page-hero h1{
  margin: 0 0 12px;
  font-size: clamp(30px, 4.5vw, 48px);
  font-weight: 900;
}

.page-hero p{
  margin: 0 auto;
  max-width: 760px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* =========================
   CTA
========================= */
.cta{
  padding:60px 0;
  background: linear-gradient(90deg, rgba(202,163,90,.18), rgba(255,255,255,.55));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
}

.cta h2{
  margin:0 0 10px;
  font-size: clamp(22px, 2.6vw, 34px);
}

.cta p{
  margin:0;
  color: var(--text-muted);
  line-height:1.6;
}

/* =========================
   CONTACT
========================= */
.contact-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:18px;
  align-items:start;
}

@media (max-width: 980px){
  .contact-grid{ grid-template-columns: 1fr; }
}

.contact-form .form-title{
  margin:0 0 14px;
  color: var(--text-main);
}

.field{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-bottom:14px;
}

label{
  color: var(--text-muted);
  font-weight:700;
}

input, textarea, select{
  width:100%;
  border-radius:12px;
  border:1px solid var(--border);
  background:#fff;
  color:var(--text-main);
  padding:12px;
  outline:none;
}

input:focus, textarea:focus, select:focus{
  border-color: rgba(202,163,90,.85);
  box-shadow: 0 0 0 4px rgba(202,163,90,.18);
}

.info-list{
  margin:12px 0 0;
  padding-left:18px;
  color: var(--text-muted);
  line-height:1.7;
}

.info-list strong{ color: var(--text-main); }

/* map */
.map-wrap{ margin-top: 16px; }

.map-click{
  display:block;
  border-radius:14px;
  overflow:hidden;
  cursor:pointer;
}

.map-click iframe{
  width:100%;
  height:260px;
  border:1px solid var(--border);
  border-radius:14px;
  pointer-events:none;
}

/* Honeypot */
.hp-field{
  position:absolute;
  left:-9999px;
  width:1px;
  height:1px;
  overflow:hidden;
}

/* =========================
   MODAL
========================= */
.modal{
  position:fixed;
  inset:0;
  display:none;
  z-index:1000;
}
.modal.open{ display:block; }

.modal-overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.45);
  backdrop-filter: blur(4px);
}

.modal-content{
  position:relative;
  background:#fff;
  max-width:480px;
  margin:8vh auto;
  padding:28px;
  border-radius:16px;
  box-shadow:0 30px 80px rgba(0,0,0,.25);
}

@media (max-width: 520px){
  .modal-content{
    margin: 10vh 12px;
    max-width: none;
    padding: 22px;
  }
}

.modal-content h2{ margin:0 0 18px; font-weight:900; }

.modal-close{
  position:absolute;
  top:14px;
  right:14px;
  background:none;
  border:none;
  font-size:22px;
  cursor:pointer;
}

.error-text{
  display:block;
  margin-top:8px;
  color:#b42318;
  font-weight:600;
  font-size:13px;
}

.field-error{
  border-color:#b42318 !important;
  box-shadow: 0 0 0 4px rgba(180,35,24,.14) !important;
}

/* =========================
   HOME - Mission & Values
========================= */
.mv{
  background: var(--bg-main);
  padding: 80px 0 90px;
}

.mv-title{
  margin: 0 0 60px;
  color: var(--gold);
  font-weight: 900;
  letter-spacing: .06em;
  font-size: clamp(24px, 3vw, 36px);
  text-transform: uppercase;
  text-align:center;
}

.mv-top{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(26px, 5vw, 80px);
  align-items:start;
  margin-bottom: 70px;
}

.mv-card img{
  width:100%;
  height: 460px;
  object-fit: cover;
  border-radius: 16px;
}

.mv-card h3{
  margin: 16px 0 14px;
  color: var(--gold);
  font-weight: 800;
  font-size: 18px;
  text-align:center;
}

.mv-card p{
  margin:0;
  color: var(--text-main);
  line-height: 1.8;
  font-size: 16px;
}

.mv-bottom{
  display:grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(26px, 5vw, 80px);
  align-items:center;
}

.mv-big img{
  width:100%;
  height: 520px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,.12);
}

.mv-cta h2{
  margin: 0 0 18px;
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .05em;
  line-height: 1.25;
  font-size: clamp(22px, 3vw, 34px);
}

@media (max-width: 980px){
  .mv-top{ grid-template-columns: 1fr; margin-bottom: 50px; }
  .mv-card img{ height: 260px; }
  .mv-bottom{ grid-template-columns: 1fr; }
  .mv-big img{ height: 260px; }
}

/* =========================
   SERVICES - Logo Grid
========================= */
.logo-grid{
  margin: 24px 0 40px;
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  align-items:center;
}

.logo-grid img{
  width:100%;
  height: 240px;
  object-fit: contain;
  object-position: center;

  background:#fff;
  border: 1px solid var(--border);
  border-radius: 18px;

  box-shadow: 0 12px 30px rgba(0,0,0,.06);
  transition: transform .25s ease, box-shadow .25s ease;
}

.logo-grid img:hover{
  transform: scale(1.03);
  box-shadow: 0 18px 40px rgba(0,0,0,.10);
}

/* Mobile */
@media (max-width: 520px){
  .logo-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logo-grid img{ height: 120px; }
}

@media (max-width: 900px){
  .logo-grid img{ height: 180px; }
}

/* =========================
   FOOTER (Centered small)
========================= */
.footer{
  background: var(--bg-main);
  border-top: 1px solid var(--border);
  padding: 22px 0;
}

.footer-meta{
  text-align:center;
}

.footer-powered{
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

.footer-powered .footer-brand{
  margin-left: 4px;
  color: var(--gold);
  font-weight: 650;
  text-decoration:none;
}
.footer-powered .footer-brand:hover{ text-decoration: underline; }

.footer-copy{
  font-size: 12px;
  color: #999;
  margin-top: 6px;
}

/* =========================
   LIVE CHAT
========================= */
.live-chat{
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: var(--gold);
  color: #111;
  border-radius: 50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 26px;
  text-decoration:none;
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
  z-index: 999;
  transition: transform .25s ease, box-shadow .25s ease;
}

.live-chat:hover{
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
}

.live-chat::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:50%;
  background: rgba(196,156,88,.45);
  animation: pulse 2s infinite;
}

@keyframes pulse{
  0%{ transform: scale(1); opacity:.6; }
  100%{ transform: scale(1.8); opacity:0; }
}

@media (max-width: 600px){
  .live-chat{
    width: 48px;
    height: 48px;
    font-size: 22px;
    bottom: 18px;
    right: 18px;
  }
}

/* =========================
   MOBILE FIXES (Hero + Buttons)
========================= */
@media (max-width: 600px){
  .hero{ min-height: 75vh; }

  .hero-content{
    padding: 56px 16px 32px;
  }

  .hero-title{
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    overflow-wrap: anywhere;
    word-break: break-word;
    font-size: clamp(28px, 8.5vw, 44px);
    margin-bottom: 18px;
  }

  .hero-actions{
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .hero-actions .btn{
    width: min(340px, 92%);
  }

  .intro-desc{
    padding: 22px 14px;
    font-size: 18px;
    line-height: 1.6;
  }
}
