/* =========================================================
   Loge Studio — modern dark theme
   Palette taken from the logo: crimson red, near-black, white
   ========================================================= */

:root {
  --red: #c23c34;
  --red-bright: #d65049;
  --bg: #0e0e10;
  --bg-2: #161618;
  --bg-3: #1e1e21;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --muted-2: #71717a;
  --max: 1200px;
  --radius: 14px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.4em;
  letter-spacing: -0.02em;
}

p { margin: 0 0 1em; color: var(--muted); }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.accent { color: var(--red); }

.eyebrow {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}

.section { padding: 110px 0; position: relative; }
.section--alt { background: var(--bg-2); }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); }
.section-head p { font-size: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s, box-shadow 0.25s;
}
.btn--primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 24px rgba(194, 60, 52, 0.22);
}
.btn--primary:hover { background: var(--red-bright); transform: translateY(-2px); }
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 18px 0;
  transition: background 0.3s, padding 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(14, 14, 16, 0.85);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  padding: 12px 0;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand img { height: 52px; width: auto; transition: height 0.3s; }
.site-header.scrolled .brand img { height: 44px; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--muted);
  position: relative;
  transition: color 0.2s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--red);
  transition: width 0.25s var(--ease);
}
.nav a:hover { color: var(--text); }
.nav a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 26px; height: 2px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 90px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14,14,16,0.55) 0%, rgba(14,14,16,0.8) 60%, var(--bg) 100%),
    url('../images/slide1.jpg') center/cover no-repeat;
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute;
  top: -20%; right: -10%;
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(194,60,52,0.12), transparent 65%);
  z-index: -1;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
  width: 100%;
}
.hero-inner { max-width: 640px; }
.hero-art img {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  filter: drop-shadow(0 24px 70px rgba(194, 60, 52, 0.14));
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.hero h1 {
  font-size: clamp(40px, 7vw, 76px);
  margin-bottom: 0.3em;
}
.hero .lead {
  font-size: clamp(18px, 2.4vw, 22px);
  color: var(--text);
  opacity: 0.85;
  margin-bottom: 2em;
  max-width: 560px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Cards (offerings) ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(194,60,52,0.4); }
.card .thumb { aspect-ratio: 16 / 10; overflow: hidden; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.card:hover .thumb img { transform: scale(1.06); }
.card .body { padding: 24px 26px 28px; }
.card .body h3 { font-size: 21px; }
.card .body p { margin: 0; font-size: 15px; }

/* ---------- Services list ---------- */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.service {
  display: flex;
  gap: 18px;
  padding: 26px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.service:hover { border-color: rgba(194,60,52,0.4); transform: translateY(-4px); }
.service .ico {
  flex: 0 0 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(194,60,52,0.12);
  color: var(--red);
  font-size: 20px;
}
.service h3 { font-size: 18px; margin-bottom: 4px; }
.service p { margin: 0; font-size: 14.5px; }

/* ---------- Gear / split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.gear-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.gear-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--text);
  font-size: 16px;
}
.gear-list li::before {
  content: "";
  flex: 0 0 8px;
  height: 8px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--red);
}

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.stat { text-align: center; }
.stat .num { font-family: 'Poppins', sans-serif; font-size: 40px; font-weight: 700; color: var(--text); }
.stat .label { color: var(--muted); font-size: 14px; letter-spacing: 0.04em; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-item { display: flex; gap: 16px; margin-bottom: 26px; align-items: flex-start; }
.contact-item .ico {
  flex: 0 0 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(194,60,52,0.12);
  color: var(--red);
  font-size: 18px;
}
.contact-item h3 { font-size: 17px; margin-bottom: 2px; }
.contact-item p { margin: 0; }

.form { display: grid; gap: 16px; }
.form input, .form textarea {
  width: 100%;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 15px 18px;
  color: var(--text);
  font: inherit;
  font-size: 15px;
  transition: border-color 0.2s;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--red); }
.form textarea { resize: vertical; min-height: 130px; }
.form .btn { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: #0a0a0b; padding: 56px 0 30px; border-top: 1px solid var(--line); }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-top img { height: 46px; }
.socials { display: flex; gap: 14px; }
.socials a {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: all 0.25s;
}
.socials a:hover { background: var(--red); color: #fff; border-color: var(--red); transform: translateY(-3px); }
.footer-bottom {
  margin-top: 36px; padding-top: 22px;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--muted-2);
  font-size: 14px;
}
.footer-bottom p { margin: 0; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 26px; bottom: 26px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  border: 0;
  display: grid; place-items: center;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s;
  z-index: 90;
  box-shadow: 0 8px 24px rgba(194,60,52,0.25);
}
.to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }

  .nav-toggle { display: flex; }
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(78vw, 320px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 28px;
    padding: 0 40px;
    background: var(--bg-2);
    border-left: 1px solid var(--line);
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
  }
  .nav-open .nav { transform: translateX(0); }
  .nav a { font-size: 20px; }
}

@media (max-width: 600px) {
  .grid-3, .grid-2, .services, .stats { grid-template-columns: 1fr; }
  body { font-size: 16px; }
  .hero { min-height: auto; padding: 130px 0 70px; }
}
