:root{
  --bg:#0f0f10;
  --bg-2:#161617;
  --card:#1f1f21;
  --muted:#9a9aa3;
  --text:#e9e9ee;
  --accent:#c0c0c5;
  --border: #2a2a2d;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
}

*{ box-sizing:border-box; }

html,body{
  margin:0; padding:0;
  background: linear-gradient(180deg, var(--bg), var(--bg-2));
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  line-height:1.6;
}

a{ color:inherit; text-decoration:none; }

/* Header */
.site-header{
  position:sticky; top:0; z-index:10;
  backdrop-filter: blur(10px);
  background: rgba(15,15,16,.6);
  border-bottom: 1px solid var(--border);
  display:flex; align-items:center; justify-content:space-between;
  padding: 14px 20px;
}

.brand h1{ margin:0; font-weight:700; letter-spacing:.5px; }
.brand h1 span{ color: var(--accent); font-weight:500; }
.brand.small h1{ font-size: 18px; }

.nav a{ padding:8px 12px; border-radius:999px; margin-left:6px; }
.nav a:hover{ background: var(--card); }
.nav a.active{ background: var(--card); border:1px solid var(--border); }

/* Hero */
.hero{
  display:grid; place-items:center;
  min-height: 38vh;
  background: radial-gradient(80% 60% at 50% 0%, rgba(255,255,255,.06), transparent 60%);
  border-bottom: 1px solid var(--border);
}
.hero .title{
  font-size: clamp(28px, 6vw, 54px);
  margin: 0 0 8px 0;
}
.hero .sub{ color: var(--muted); margin:0; }
.hero-inner{ text-align:center; padding: 48px 20px; }

.container{ max-width: 1100px; margin:0 auto; padding: 24px 18px; }

.section-title{
  font-size: 22px;
  margin: 12px 0 18px;
  color: var(--accent);
  letter-spacing:.3px;
}


/* Grid Cards */
.grid{
  display:grid;
  grid-template-columns: repeat( auto-fill, minmax(240px, 1fr) );
  gap: 18px;
}

.card{
  display:flex; flex-direction:column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow:hidden;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover{ transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0,0,0,.45); }
.card-img{
  background-size: cover; background-position:center;
  aspect-ratio: 4/3;
}
.card-body{ padding: 12px 14px; }
.card-title{ margin: 2px 0 6px; font-weight:600; }
.card-sub{ margin:0; color: var(--muted); font-size: 14px; }

/* Gallery */
.gallery .gallery-item{
  background: var(--card);
  border:1px solid var(--border);
  border-radius: 14px;
  overflow:hidden;
  box-shadow: var(--shadow);
  position:relative;
}
.gallery .gallery-item img{
  width:100%; height:auto; display:block;
  aspect-ratio: 4/3; object-fit: cover;
  transition: transform .3s ease;
}
.gallery .gallery-item:hover img{ transform: scale(1.03); }
.gallery .actions{
  display:flex; gap:8px; padding: 12px; border-top:1px solid var(--border);
}
.mobile-only{ display:none; }

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  border:1px solid var(--border);
  background: #2a2a2d;
  padding:10px 14px; border-radius: 999px; cursor:pointer;
  font-weight:600;
  transition: transform .2s ease, background .2s ease;
}
.btn:hover{ transform: translateY(-1px); background:#323236; }
.btn.primary{ background: #2f2f33; border-color:#3b3b40; }
.btn.primary:hover{ background:#3a3a3f; }

/* Lightbox */
.lightbox{
  position:fixed; inset:0; background: rgba(0,0,0,.8);
  display:none; align-items:center; justify-content:center; flex-direction:column;
  padding: 20px;
}
.lightbox.open{ display:flex; }
.lightbox img{ max-width: min(1200px, 92vw); max-height: 78vh; border-radius: 12px; border:1px solid var(--border); box-shadow: var(--shadow); }
.lightbox .close{
  position:absolute; top:18px; right:18px; font-size:34px; line-height:1;
  width: 42px; height:42px; border-radius:999px;
  border:1px solid var(--border); background:#262629; color:var(--text); cursor:pointer;
}
.lightbox .btn{ margin-top: 14px; }

/* Forms */
.form-wrap{ max-width: 780px; }
.form .field{ display:flex; flex-direction:column; gap:8px; margin-bottom: 14px; }
.form input, .form textarea{
  background:#141416; border:1px solid var(--border); color:var(--text);
  padding:12px 14px; border-radius: 10px; font-size:16px;
}
.form input:focus, .form textarea:focus{ outline:none; border-color:#3a3a3f; }
.small{ font-size: 13px; }

/* Footer */
.site-footer{
  border-top: 1px solid var(--border);
  color: var(--muted);
  text-align:center; padding: 24px 18px; margin-top: 30px;
}

/* Fade on load and reveal */
.fade-on-load{ opacity:0; transform: translateY(6px); animation: fadeUp .8s ease forwards; }
.reveal{ opacity:0; transform: translateY(8px); }
.reveal.visible{ opacity:1; transform:none; transition: opacity .6s ease, transform .6s ease; }

@keyframes fadeUp{
  to{ opacity:1; transform:none; }
}

/* Responsive */
@media (max-width: 700px){
  .mobile-only{ display:inline-flex; }
}
