/* SEAC — lightweight ocean-themed storefront. Vanilla CSS, RTL-first. */
:root {
  /* Elegant minimal palette (matches the reference): cream + black, subtle sea accent */
  --deep: #141414;      /* near-black — buttons, headings */
  --teal: #1c7a8c;      /* sea accent, used sparingly */
  --foam: #f2f0ea;      /* soft cream */
  --sand: #faf8f3;      /* light cream bg */
  --ink: #1b1b1b;
  --muted: #7a7368;
  --line: #e7e2d8;
  --coral: #b05a3c;     /* warm accent, used sparingly */
  --card: #ffffff;
  --radius: 14px;
  --wrap: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); background: #fff;
  font-family: "Cairo", "Tajawal", "Segoe UI", Tahoma, sans-serif;
  line-height: 1.7; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }

/* Header */
.site-head {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255,255,255,.9); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap { display: flex; align-items: center; gap: 22px; height: 68px; }
.brand { font-weight: 800; font-size: 1.35rem; color: var(--deep); letter-spacing: .5px; }
.brand span { color: var(--teal); }
.nav { display: flex; gap: 22px; margin-inline-start: auto; font-weight: 600; color: var(--muted); }
.nav a:hover { color: var(--deep); }
.cart-btn {
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px;
  font-weight: 700; color: var(--deep); background: #fff;
}

/* Hero */
.hero {
  background: var(--foam);
  padding: 74px 0 60px; text-align: center;
  border-bottom: 1px solid var(--line);
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.1rem); margin: 0 0 12px; color: var(--deep); font-weight: 800; }
.hero p { font-size: 1.15rem; color: var(--muted); max-width: 620px; margin: 0 auto 26px; }
.btn {
  display: inline-block; background: var(--deep); color: #fff;
  padding: 13px 30px; border-radius: 999px; font-weight: 700;
  letter-spacing: .3px; border: 0; cursor: pointer; transition: opacity .15s;
}
.btn:hover { opacity: .85; }
.btn-ghost { background: transparent; color: var(--deep); border: 1px solid var(--deep); }
.btn-ghost:hover { background: var(--deep); color: #fff; opacity: 1; }

/* Sections */
.section { padding: 58px 0; }
.section h2 { font-size: 1.7rem; color: var(--deep); margin: 0 0 6px; }
.section .sub { color: var(--muted); margin: 0 0 30px; }

/* Product grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(13,59,79,.10); }
.card .thumb { aspect-ratio: 4/3; background: var(--foam); display: grid; place-items: center; color: var(--teal); font-weight: 700; overflow: hidden; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }
a.name:hover { color: var(--teal); }
.card .body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.card .name { font-weight: 700; color: var(--ink); }
.card .price { color: var(--ink); font-weight: 800; }
.card .add { margin-top: auto; }
.card .add .btn { width: 100%; }

/* About / contact */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }

/* Footer */
.site-foot { background: var(--deep); color: #cfe0e4; padding: 40px 0; margin-top: 30px; }
.site-foot a { color: #fff; }
.site-foot .cols { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }

@media (max-width: 760px) {
  .nav { display: none; }
  .split { grid-template-columns: 1fr; }
}
