/*
 baby-haven.theme.logo.css — Minimal Clean V3
 نسخة خفيفة، بلا لمعان، بلا ظلال قوية، بلا تدرجات مزعجة
*/

:root {
  /* ====== Neutral Foundation (Simplified) ====== */
  --bg: #FAF6F0;
  --bg-elev-1: #FFFFFF;
  --bg-elev-2: #F9F9F7;
  --border: rgba(0,0,0,.08);

  --text: #1F2A37;
  --text-muted: #6B7280;
  --text-soft: #9CA3AF;

  /* Brand (Softened for minimal look) */
  --teal:   #2FA3A0;
  --coral:  #F07A63;
  --mint:   #A9E4CF;
  --sun:    #F5C96A;
  --peach:  #F8D8C2;

  --primary: var(--teal);
  --accent:  var(--coral);

  --radius: 14px;
  --radius-lg: 18px;
  --radius-xl: 22px;

  --shadow-1: 0 4px 10px rgba(0,0,0,.04); /* خفيف جداً */
  --shadow-2: 0 8px 18px rgba(0,0,0,.06);

  --ease: cubic-bezier(.22,1,.36,1);
  --speed: 160ms;
}

/* منع الوضع الداكن التلقائي */
@media (prefers-color-scheme: dark) {
  :root { color-scheme: light; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 500 15.5px/1.65 "Inter", system-ui, -apple-system, "Noto Naskh Arabic UI", sans-serif;
}

img { max-width: 100%; display: block; }

.container { width: min(1180px, 92vw); margin-inline: auto; }

/* ==================== HEADER ==================== */
.header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 0;
}
.brand { display: flex; align-items: center; gap: 8px; font-weight: 800; }

.brand-logo {
  width: 60px; height: 60px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, var(--peach), var(--coral));
  box-shadow: var(--shadow-1);
}

.nav { margin-inline-start: auto; display: flex; gap: 8px; }
.nav a {
  text-decoration: none;
  color: var(--text-muted);
  padding: 8px 12px;
  border-radius: 10px;
}
.nav a:hover {
  background: var(--bg-elev-2);
  color: var(--text);
}

/* ==================== HERO ==================== */
.hero {
  margin: 26px 0 8px;
  border-radius: var(--radius-xl);
  background: #FFFFFF;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-1);
}

.hero .inner {
  padding: clamp(22px, 5vw, 48px);
  display: grid;
  gap: 16px;
  text-align: center;
}

.hero h1 {
  margin: 0;
  font-size: clamp(26px, 3vw, 40px);
  color: #0F172A;
}

.hero p {
  margin: 0 auto;
  max-width: 42ch;
  color: var(--text-muted);
}

.hero .cta {
  margin-top: 10px;
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: center;
}

.hero .btn {
  padding: 12px 32px;
  border-radius: 999px;
  background: var(--primary);
  color: #FFF;
  font-weight: 700;
  text-decoration: none;
  border: none;
  transition: background var(--speed) var(--ease);
}

.hero .btn:hover {
  background: #257f7d;
}

/* ==================== CATEGORY TILES ==================== */
.tiles {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 14px;
  margin: 18px 0;
}
.tile {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  min-height: 140px;
  background: #FFFFFF;
  box-shadow: var(--shadow-1);
}
.tile h3 { margin: 0 0 6px; font-size: 1.1rem; }
.tile p  { margin: 0 0 10px; color: var(--text-muted); }

.tile a {
  display: inline-block;
  padding: 8px 14px;
  background: var(--peach);
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  color: #222;
  transition: filter .15s;
}
.tile a:hover { filter: brightness(1.04); }

/* ==================== GRID ==================== */
.section { margin: 26px 0 6px; }
.section .head {
  display: flex; gap: 8px; align-items: baseline;
  margin-bottom: 14px;
}
.section .sub { color: var(--text-muted); font-size: 14px; }

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 820px)  { .grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px)  { .grid { grid-template-columns: 1fr; } }

/* Arrivals Grid */
#arrivals {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 18px;
}
@media (min-width:768px){
  #arrivals { grid-template-columns: repeat(3,1fr); }
}

/* ====== FOOTER جديد ====== */

.footer {
  margin-top: 32px;
  padding: 28px 0 32px;
  background: #F4EBE2;
}

.footer-inner {
  background: #ffffff;
  border-radius: 24px;
  padding: 16px 18px 14px;
  box-shadow: var(--shadow-2); /* ظل أخف بما يناسب الـ minimal */
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: center;
}

/* الجزء الرئيسي: براند + أزرار */
.footer-main {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

/* البراند – الشعار على اليمين وأكبر */
.footer-brand {
  display: flex;
  flex-direction: column;   /* الشعار فوق، النص تحت */
  align-items: center;      /* كله في النص */
  gap: 6px;
}

/* محاذاة نص البراند في المنتصف */
.footer-brand-text {
  text-align: center;
}


.footer-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #fef3c7;
  object-fit: cover;
  box-shadow: 0 0 0 3px rgba(248, 250, 252, 0.9);
}

.footer-title {
  font-weight: 800;
  font-size: 18px;
  color: #0f172a;
}

.footer-tagline {
  font-size: 16px;
  color: var(--text-muted);
}

/* الأزرار (أيقونات واتساب + إنستجرام) */
.footer-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

/* الزر نفسه: دائرة بأيقونة فقط */
.footer-pill {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  padding: 0;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.18);
  transform: translateY(0);
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

/* ألوان الخلفية لكل زر */
.footer-pill--whatsapp {
  background: #16a34a;
}

.footer-pill--insta {
  background: radial-gradient(circle at 30% 110%, #facc15 0, #f97316 25%, #ec4899 50%, #6366f1 100%);
}

.footer-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.28);
  filter: brightness(1.05);
}

/* أيقونات داخل الأزرار */
.footer-icon {
  width: 35px;
  height: 35px;
  display: block;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

/* عدّل المسارات حسب مكان أيقوناتك */
.footer-icon--wa {
  background-image: url("/icons/whatsapp.svg.png");
}

.footer-icon--ig {
  background-image: url("/icons/instagram.svg");
}

/* الروابط النصية تحت الأزرار */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  justify-content: center;
  font-size: 12px;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
  position: relative;
  padding-bottom: 1px;
}

.footer-links a::after {
  content: "";
  position: absolute;
  inset-inline-end: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 999px;
  transition: width 0.18s ease;
}

.footer-links a:hover {
  color: #0f766e;
}

.footer-links a:hover::after {
  width: 100%;
}

/* سطر الحقوق */
.footer-copy {
  margin-top: 4px;
  font-size: 11px;
  color: var(--text-soft);
  border-top: 1px dashed rgba(148, 163, 184, 0.5);
  padding-top: 6px;
}

/* على الشاشات الأكبر: نخلي البراند يمين والأزرار يسار مع محاذاة يمين */
@media (min-width: 768px) {
  .footer-inner {
    text-align: right;
  }

  .footer-main {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* ==================== UTILITIES ==================== */
.hidden { display:none !important; }
.center { display:grid; place-items:center; }

/* نص مخفي بصريًا لكن موجود لقارئات الشاشة */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.skeleton {
  background: #F1E5DA;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}
.skeleton::after {
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.4), transparent);
  transform: translateX(-100%);
  animation: shimmer 1.2s linear infinite;
}
@keyframes shimmer { to { transform: translateX(100%); } }

/* ==================== HEAD DIVIDER ==================== */
.head.head-divider {
  position: relative;
  display: flex;
  justify-content: center;
  margin: 20px 0 14px;
}
.head.head-divider::before {
  content:"";
  position:absolute;
  inset-inline:0;
  top:50%;
  border-top:1px solid var(--border);
}
.head.head-divider h2 {
  padding:0 12px;
  background: var(--bg);
  z-index:1;
  font-weight:800;
}
