/* ============== La Felicità — portfolio site ============== */
:root{
  --bg: #0b0706;
  --card: rgba(255,255,255,.06);
  --card2: rgba(255,255,255,.08);
  --stroke: rgba(255,255,255,.10);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.70);
  --muted2: rgba(255,255,255,.55);

  --accent: #d3a46d;         /* кофе-золото */
  --accent2:#b88854;
  --shadow: 0 18px 50px rgba(0,0,0,.55);
  --radius: 22px;
  --radius2: 16px;
  --container: 1180px;
}

/* Reset */
*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue";
  background: radial-gradient(1100px 650px at 15% 0%, rgba(211,164,109,.12), transparent 55%),
              radial-gradient(900px 540px at 90% 20%, rgba(211,164,109,.10), transparent 60%),
              var(--bg);
  color:var(--text);
  line-height:1.5;
}

a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }

/* Container */
.container{
  width:min(var(--container), calc(100% - 48px));
  margin:0 auto;
}

/* =================== TOP NAV =================== */
.topbar{
  position:fixed;
  inset:0 0 auto 0;
  z-index:60;
  backdrop-filter: blur(10px);
  background: linear-gradient(to bottom, rgba(0,0,0,.60), rgba(0,0,0,.25));
  border-bottom:1px solid rgba(255,255,255,.06);
}
.topbar .row{
  height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
}
.logo{
  width:40px;
  height:40px;
  border-radius:14px;
  background: radial-gradient(120% 120% at 30% 25%, rgba(211,164,109,.95), rgba(160,110,68,.85));
  box-shadow: 0 10px 26px rgba(0,0,0,.45);
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.18);
}
.logo svg{ width:22px; height:22px; opacity:.95; }
.brand .title{
  display:flex;
  flex-direction:column;
  line-height:1.1;
}
.brand .title strong{
  font-weight:800;
  letter-spacing:.2px;
}
.brand .title span{
  font-size:12px;
  color:var(--muted2);
  margin-top:2px;
}

.nav{
  display:flex;
  align-items:center;
  gap:10px;
}
.nav a{
  padding:10px 12px;
  border-radius:12px;
  color:var(--muted);
  font-weight:650;
  font-size:14px;
  border:1px solid transparent;
}
.nav a:hover{
  color:var(--text);
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.08);
}
.nav a.active{
  color:var(--text);
  background: rgba(211,164,109,.10);
  border-color: rgba(211,164,109,.25);
}

/* spacing under fixed nav */
.page{
  padding-top: 84px;
}

/* =================== HERO (full width, overlay fixed) =================== */
/* =========================
   HERO (full width, clean overlay)
========================= */

.hero{
  position: relative;
  height: 540px;
  overflow: hidden;

  /* full width даже внутри container */
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);

  /* ВАЖНО: фикс слоёв */
  isolation: isolate;

  border-bottom: 1px solid rgba(255,255,255,.06);
}

/* Фоновая картинка */
.hero .bg{
  position: absolute;
  inset: 0;
  z-index: 0;

  background: url("img/hero.avif") center / cover no-repeat;

  /* УБИРАЕМ МЫЛО */
  filter: none;
  transform: none;
}

/* Затемнение (overlay) */
.hero::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;

  background:
    linear-gradient(
      to right,
      rgba(0,0,0,.72) 0%,
      rgba(0,0,0,.52) 45%,
      rgba(0,0,0,.18) 100%
    ),
    linear-gradient(
      to bottom,
      rgba(0,0,0,.25) 0%,
      rgba(0,0,0,.85) 100%
    );
}

/* Контент поверх всего */
.hero .content{
  position: relative;
  z-index: 2;
}
.kicker{
  display:inline-flex;
  gap:8px;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  background: rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.86);
  font-size:13px;
  font-weight:650;
}
.hero h1{
  margin:14px 0 10px;
  font-size: clamp(40px, 5vw, 68px);
  line-height:1.02;
  letter-spacing:-.8px;
}
.hero p{
  margin:0 0 16px;
  color: rgba(255,255,255,.80);
  max-width: 620px;
}
.actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:12px;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  height:44px;
  padding:0 16px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
  color: var(--text);
  font-weight:750;
  box-shadow: 0 14px 36px rgba(0,0,0,.35);
  cursor:pointer;
  user-select:none;
}
.btn:hover{ background: rgba(255,255,255,.09); }
.btn.primary{
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-color: rgba(255,255,255,.10);
  color:#1a110b;
}
.btn.primary:hover{ filter:brightness(1.05); }

.hero .meta{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-top:14px;
  color: rgba(255,255,255,.72);
  font-size:13px;
}
.hero .meta b{ color: rgba(255,255,255,.92); }

/* =================== SECTIONS =================== */
.section{
  padding: 36px 0;
}
.section h2{
  margin:0 0 6px;
  font-size:28px;
  letter-spacing:-.2px;
}
.section .sub{
  margin:0;
  color: var(--muted);
}

/* =================== GRID CARDS =================== */
.grid{
  margin-top:16px;
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:16px;
}

.card{
  grid-column: span 4;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.05));
  border:1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
}
.card .media{
  height: 190px;
  background: radial-gradient(120% 120% at 30% 25%, rgba(211,164,109,.20), rgba(0,0,0,.20)),
              rgba(255,255,255,.04);
  position:relative;
}
.card .media img{
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:1;
}
.card .media.placeholder::after{
  content:"Фото скоро";
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  color: rgba(255,255,255,.60);
  font-weight:750;
  letter-spacing:.2px;
}
.card .body{
  padding:14px 14px 16px;
}
.card .row{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.card h3{
  margin:0;
  font-size:16px;
  letter-spacing:-.1px;
}
.price{
  background: rgba(211,164,109,.92);
  color:#1a110b;
  font-weight:900;
  padding:6px 10px;
  border-radius:999px;
  font-size:13px;
  white-space:nowrap;
}
.desc{
  margin:10px 0 0;
  color: rgba(255,255,255,.72);
  font-size:13px;
}

/* Popular mini row on index */
.pop-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:10px;
}
.link{
  color: rgba(211,164,109,.95);
  font-weight:800;
  font-size:14px;
  opacity:.95;
}
.link:hover{ opacity:1; text-decoration:underline; }

/* Why cards */
.feature{
  grid-column: span 4;
  padding:16px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.09);
  box-shadow: 0 18px 46px rgba(0,0,0,.35);
}
.feature b{
  display:flex;
  gap:10px;
  align-items:center;
  font-size:16px;
}
.feature p{
  margin:10px 0 0;
  color: rgba(255,255,255,.72);
  font-size:13px;
}

/* Footer */
.footer{
  border-top:1px solid rgba(255,255,255,.08);
  margin-top: 28px;
  padding: 18px 0 28px;
  color: rgba(255,255,255,.55);
  font-size:13px;
}

/* WhatsApp floating button */
.wa-float{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:80;
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 14px;
  border-radius:999px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color:#1a110b;
  font-weight:900;
  box-shadow: 0 18px 46px rgba(0,0,0,.55);
  border:1px solid rgba(255,255,255,.14);
}
.wa-float:hover{ filter:brightness(1.05); }

/* =================== MENU PAGE HEADER HERO (smaller) =================== */
.hero.small{ height: 320px; }
.hero.small h1{ font-size: clamp(36px, 4.6vw, 54px); }

/* =================== RESERVE PAGE =================== */
.reserve-wrap{
  display:grid;
  grid-template-columns: 420px 1fr;
  gap:18px;
  align-items:start;
}
.panel{
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding:16px;
}
.panel h2{
  margin:0 0 10px;
  font-size:22px;
}
.field{
  display:flex;
  flex-direction:column;
  gap:7px;
  margin: 10px 0;
}
label{ color: rgba(255,255,255,.75); font-size:13px; font-weight:700; }
input, select, textarea{
  background: rgba(0,0,0,.25);
  color: rgba(255,255,255,.92);
  border:1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  padding: 11px 12px;
  outline:none;
}
input:focus, select:focus, textarea:focus{
  border-color: rgba(211,164,109,.40);
  box-shadow: 0 0 0 3px rgba(211,164,109,.14);
}
textarea{ min-height:88px; resize:vertical; }

.panel .btnrow{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:12px;
}
.btn.full{ width:100%; }

.table-wrap{
  overflow:auto;
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.08);
}
table{
  width:100%;
  border-collapse:collapse;
  min-width: 720px;
  background: rgba(0,0,0,.18);
}
th, td{
  text-align:left;
  padding:12px 12px;
  border-bottom:1px solid rgba(255,255,255,.06);
  font-size:13px;
}
th{ color: rgba(255,255,255,.82); font-weight:900; }
td{ color: rgba(255,255,255,.74); }
.badge{
  display:inline-flex;
  padding:4px 8px;
  border-radius: 999px;
  background: rgba(211,164,109,.16);
  border:1px solid rgba(211,164,109,.25);
  color: rgba(255,255,255,.85);
  font-weight:800;
  font-size:12px;
  white-space:nowrap;
}
.danger{
  background: rgba(255,80,80,.12);
  border-color: rgba(255,80,80,.22);
}

/* Responsive */
@media (max-width: 980px){
  .card{ grid-column: span 6; }
  .feature{ grid-column: span 12; }
  .reserve-wrap{ grid-template-columns: 1fr; }
}
@media (max-width: 620px){
  .card{ grid-column: span 12; }
  .nav{ gap:4px; }
  .nav a{ padding:10px 10px; }
  .hero{ height: 520px; }
}
