/* ============================= */
/* Slavic Roots - Clean Style.css */
/* ============================= */

:root{
  --bg:#070a08;
  --panel:#0d1410;
  --text:#f2f5f2;
  --muted:#b8c2bb;
  --accent:#6fbf8c;
  --accent2:#95d5a6;
  --border:rgba(255,255,255,.11);
  --shadow:0 18px 60px rgba(0,0,0,.50);
  --radius:18px;
  --max:1120px;
  --font: ui-sans-serif, system-ui, -apple-system, "SF Pro Display","SF Pro Text", Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

/* ===== Reset ===== */
*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family:var(--font);
  color:var(--text);
  background:
    radial-gradient(1000px 600px at 15% 0%, rgba(111,191,140,.18), transparent 55%),
    radial-gradient(900px 500px at 85% 10%, rgba(149,213,166,.12), transparent 60%),
    linear-gradient(180deg, #050705 0%, #070a08 45%, #050705 100%);
  overflow-x:hidden;
}

/* Images: global safe (NO forced square) */
img{ max-width:100%; height:auto; display:block; }

/* Links */
a{ color:inherit; }

/* Layout container */
.container{ max-width:var(--max); margin:0 auto; padding:0 18px; }

/* Header / Nav */
header{
  position:sticky; top:0; z-index:999;
  backdrop-filter: blur(10px);
  background:rgba(5,7,5,.62);
  border-bottom:1px solid var(--border);
}
.nav{ display:flex; align-items:center; justify-content:space-between; padding:12px 0; gap:14px; }
.brand{ display:flex; align-items:center; gap:10px; min-width:0; }
.brand img{ width:34px; height:34px; object-fit:contain; border-radius:10px; background:rgba(255,255,255,.06); padding:6px; }
.brand .name{ display:flex; flex-direction:column; line-height:1.05; }
.brand .name strong{ font-size:14.5px; letter-spacing:.2px; }
.brand .name span{ font-size:12px; color:var(--muted); }

.navlinks{ display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end; }
.navlinks a{
  text-decoration:none;
  padding:8px 12px;
  border:1px solid var(--border);
  border-radius:999px;
  font-size:13px;
}
.navlinks a:hover{
  border-color:rgba(111,191,140,.55);
  box-shadow:0 0 0 3px rgba(111,191,140,.10) inset;
}
.navlinks a.primary{
  border-color:rgba(111,191,140,.60);
  background:rgba(111,191,140,.14);
}

/* Headings & text */
h1,h2,h3{ line-height:1.25; }
h1{ margin:0; font-size:34px; letter-spacing:.2px; }
h2{ margin:0 0 10px; font-size:20px; }
p{ margin:0; color:var(--muted); line-height:1.6; }

/* Hero */
.hero{ padding:26px 0 18px; }
.heroCard{
  border:1px solid var(--border);
  border-radius:var(--radius);
  overflow:hidden;
  background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  box-shadow:var(--shadow);
}
.heroGrid{ display:grid; grid-template-columns: 1.15fr .85fr; min-height:440px; }
.heroText{ padding:26px; display:flex; flex-direction:column; justify-content:center; gap:14px; }

.kicker{
  display:inline-flex; align-items:center; gap:8px;
  color:var(--accent2); font-size:12px; letter-spacing:.16em; text-transform:uppercase;
}
.lead{ margin:0; color:var(--muted); font-size:15.5px; line-height:1.55; max-width:52ch; }

/* Buttons (ONE system, no duplicates) */
.btn, a.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 18px;
  border-radius:999px;
  border:1px solid rgba(111,191,140,.55);
  text-decoration:none;
  font-weight:800;
  font-size:14px;
  background:rgba(0,0,0,.14);
  color:var(--accent2);
  transition:transform .15s ease, filter .15s ease, background .15s ease;
}
.btn:hover{ transform:translateY(-1px); }
.btn.primary{
  background: linear-gradient(180deg, rgba(111,191,140,.28), rgba(111,191,140,.14));
}
.btn.primary:hover{ filter:brightness(1.05); }

/* Hero mosaic (square but ONLY here) */
.heroMedia{
  position:relative;
  border-left:1px solid var(--border);
  background:rgba(0,0,0,.18);
}
.heroMedia .mosaic{
  position:absolute; inset:0;
  display:grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows:1fr;
  gap:8px; padding:12px;
}
.heroMedia .mosaic img{
  width:100%;
  aspect-ratio:1/1;
  object-fit:contain;
  background:#000;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.06);
}

/* Sections / Cards */
.section{ padding:18px 0 30px; }
.card{
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:rgba(255,255,255,.03);
  box-shadow:0 12px 40px rgba(0,0,0,.35);
  overflow:hidden;
}
.cardPad{ padding:18px; }

/* Menu layout */
.menuSplit{ display:grid; grid-template-columns: 30% 70%; min-height:640px; }
.collage{
  position:relative;
  border-right:1px solid var(--border);
  overflow:hidden;
  background:#070a08;
}
.collage img{
  position:absolute;
  width:30%;
  height:20%;
  object-fit:cover;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 14px 34px rgba(0,0,0,.55);
  transform:rotate(var(--rot));
}

.menuSide{ padding:18px; }
.menuButtons{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:10px;
  margin-top:10px;
}
.menuButtons a{
  text-decoration:none;
  padding:14px 14px;
  border-radius:16px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.03);
  font-weight:900;
  font-size:16px;
  color:#eafff3;
}
.menuButtons a:hover{
  border-color:rgba(111,191,140,.65);
  background:rgba(111,191,140,.10);
}

/* Galleries (square ONLY here, not global) */
.galleryRow{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:10px;
}
.galleryRow img{
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.10);
}

/* Footer */
.footer{
  border-top:1px solid var(--border);
  background:rgba(5,7,5,.68);
  margin-top:26px;
}
.footerGrid{ display:grid; grid-template-columns: 1.2fr .8fr; gap:16px; padding:18px 0; }
.footer p{ font-size:13px; }
.footer a{ color:var(--accent2); text-decoration:none; }
.footer a:hover{ text-decoration:underline; }

/* Map */
.mapWrap{
  border:1px solid var(--border);
  border-radius:18px;
  overflow:hidden;
  background:rgba(255,255,255,.02);
}
.mapWrap iframe{ display:block; width:100%; height:360px; border:0; }

/* ===== Mobile ===== */
@media (max-width: 880px){
  header{ position:relative; }
  .nav{ flex-direction:column; align-items:flex-start; gap:12px; }
  .navlinks{ width:100%; justify-content:flex-start; gap:8px; }

  h1{ font-size:26px; }
  .hero{ padding:18px 0; }
  .heroGrid{ grid-template-columns: 1fr; }
  .heroMedia{ border-left:none; border-top:1px solid var(--border); min-height:260px; }

  .menuSplit{ grid-template-columns:1fr; }
  .collage{ min-height:380px; border-right:none; border-bottom:1px solid var(--border); }
  .menuButtons{ grid-template-columns:1fr; }

  .galleryRow{ grid-template-columns:1fr 1fr; }
  .footerGrid{ grid-template-columns:1fr; }
}
@media (max-width: 520px){
  .galleryRow{ grid-template-columns:1fr; }
}
/* ===== MENU PHOTO GRID (LEFT 30%) ===== */

.menuSplit {
  display: grid;
  grid-template-columns: 30% 70%;
  gap: 20px;
}

/* LEFT PHOTO GRID */
.photoGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.photoGrid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

/* MOBILE FIX */
@media (max-width: 900px) {
  .menuSplit {
    grid-template-columns: 1fr;
  }

  .photoGrid {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 20px;
  }
}