/* ==========================================================
   LOOPSHOOT — Sports Photography & Videography, Dubai
   Dark & Gold design system
   ========================================================== */

:root {
  --bg: #0B0B0C;
  --surface: #141416;
  --surface-2: #1C1C1F;
  --text: #F5F5F4;
  --text-muted: #B3B3BC;
  --red: #D7281C;
  --red-dark: #A81F15;
  --red-light: #FF5A4D;
  --border: #2A2A2E;
  --radius: 14px;
  --container: 1180px;
  --header-h: 72px;
  --shadow-card: 0 10px 30px rgba(0, 0, 0, .45);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3, .display {
  font-family: 'Big Shoulders Display', 'Manrope', sans-serif;
  font-weight: 600;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: .035em;
}

h1 { font-size: clamp(2.7rem, 6.5vw, 5rem); }
h2 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); }
h3 { font-size: 1.25rem; }

p { color: var(--text-muted); }

a { color: var(--red-light); text-decoration: none; }
a:hover { color: #FF7A6B; }

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

section { padding: 88px 0; }

.section-label {
  display: inline-block;
  color: var(--red-light);
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .25em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head p { margin-top: 14px; font-size: 1.05rem; }

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

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(11, 11, 12, .78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--text);
  text-transform: uppercase;
}
.brand span { color: var(--red-light); }
.brand-logo { width: 46px; height: 46px; flex-shrink: 0; }
.site-header .brand-logo { width: 54px; height: 54px; }
.brand:hover { color: var(--text); }

.main-nav { display: flex; align-items: center; gap: 28px; }

.main-nav a {
  color: var(--text-muted);
  font-size: .92rem;
  font-weight: 500;
  letter-spacing: .04em;
  transition: color .2s var(--ease);
  padding: 8px 0;
}
.main-nav a:hover { color: var(--text); }
.main-nav a.active { color: var(--red-light); }

.nav-cta {
  background: var(--red);
  color: #fff !important;
  padding: 10px 20px !important;
  border-radius: 999px;
  font-weight: 600;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.nav-cta:hover { background: #EF3A2C; transform: translateY(-1px); }

/* Language switcher */
.lang-switch {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  flex-shrink: 0;
}
.lang-switch button {
  background: transparent;
  color: var(--text-muted);
  border: 0;
  font: 600 .8rem 'Manrope', sans-serif;
  letter-spacing: .08em;
  padding: 8px 14px;
  cursor: pointer;
  min-width: 44px;
  min-height: 36px;
  transition: background .2s, color .2s;
}
.lang-switch button.active {
  background: var(--red);
  color: #fff;
}

/* Burger */
.burger {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  width: 44px;
  height: 44px;
  padding: 10px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 48px) 0 64px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to right, rgba(11,11,12,.92) 0%, rgba(11,11,12,.72) 45%, rgba(11,11,12,.35) 100%),
    linear-gradient(to top, var(--bg) 0%, transparent 35%);
}

.hero-content { max-width: 680px; }

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 90, 77, .45);
  background: rgba(215, 40, 28, .12);
  color: var(--red-light);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero h1 { margin-bottom: 20px; }
.hero p.lead {
  font-size: 1.15rem;
  color: #D4D4D8;
  max-width: 560px;
  margin-bottom: 36px;
}

.cta-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 32px;
  border-radius: 999px;
  font: 600 1rem 'Manrope', sans-serif;
  letter-spacing: .02em;
  cursor: pointer;
  border: 0;
  transition: transform .2s var(--ease), background .2s, box-shadow .2s;
}
.btn svg { flex-shrink: 0; }

.btn-red {
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 28px rgba(215, 40, 28, .35);
}
.btn-red:hover { background: #EF3A2C; color: #fff; transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, .28);
}
.btn-ghost:hover { border-color: var(--red-light); color: var(--red-light); transform: translateY(-2px); }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 52px;
}
.hero-trust .item strong {
  display: block;
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 1.7rem;
  color: var(--text);
}
.hero-trust .item span { font-size: .85rem; color: var(--text-muted); }

/* ---------- Cards / grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(255, 90, 77, .45); }

.card .card-img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.card:hover .card-img img { transform: scale(1.05); }

.card .card-body { padding: 24px; }
.card .card-body h3 { margin-bottom: 10px; }
.card .card-body p { font-size: .95rem; margin-bottom: 16px; }

.card-link {
  font-weight: 600;
  font-size: .92rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ---------- Portfolio masonry ---------- */
.masonry {
  columns: 3;
  column-gap: 18px;
}
.masonry figure {
  break-inside: avoid;
  margin-bottom: 18px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border);
}
.masonry img {
  width: 100%;
  transition: transform .5s var(--ease);
}
.masonry figure:hover img { transform: scale(1.04); }
.masonry figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 36px 16px 14px;
  background: linear-gradient(to top, rgba(0,0,0,.85), transparent);
  font-size: .85rem;
  color: #E4E4E7;
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.masonry figure:hover figcaption { opacity: 1; }

.tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(11, 11, 12, .8);
  border: 1px solid rgba(255, 90, 77, .55);
  color: var(--red-light);
  font: 600 .72rem 'Manrope', sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

/* ---------- About strip ---------- */
.about-img {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
.checklist { list-style: none; margin-top: 22px; }
.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
  color: var(--text-muted);
}
.checklist svg { flex-shrink: 0; margin-top: 4px; color: var(--red-light); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  padding: 64px 48px;
  text-align: center;
  background:
    linear-gradient(rgba(11,11,12,.82), rgba(11,11,12,.82)),
    var(--cta-bg, var(--surface)) center / cover;
  border: 1px solid rgba(215, 40, 28, .45);
}
.cta-band h2 { margin-bottom: 14px; }
.cta-band p { max-width: 540px; margin: 0 auto 30px; }
.cta-band .cta-row { justify-content: center; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: 'Big Shoulders Display', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--red-light);
  display: block;
  margin-bottom: 10px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { font-size: .92rem; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 40px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
}
.form-field label .req { color: var(--red-light); }
.form-field input,
.form-field select,
.form-field textarea {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font: 400 1rem 'Manrope', sans-serif;
  padding: 14px 16px;
  min-height: 50px;
  width: 100%;
  transition: border-color .2s;
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid var(--red-light);
  outline-offset: 1px;
  border-color: var(--red-light);
}
.form-hint { font-size: .8rem; color: var(--text-muted); }

.contact-cards { display: grid; gap: 16px; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  color: var(--text);
  transition: border-color .25s, transform .25s var(--ease);
}
.contact-card:hover { border-color: var(--red-light); transform: translateY(-3px); color: var(--text); }
.contact-card .ico {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(215, 40, 28, .15);
  color: var(--red-light);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.contact-card strong { display: block; font-size: .98rem; }
.contact-card span { font-size: .85rem; color: var(--text-muted); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
  background: #09090A;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.site-footer h4 {
  font-family: 'Big Shoulders Display', sans-serif;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .95rem;
  margin-bottom: 16px;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 10px; }
.site-footer li a { color: var(--text-muted); font-size: .92rem; }
.site-footer li a:hover { color: var(--red-light); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .82rem;
  color: var(--text-muted);
}

/* ---------- Floating contact ---------- */
.float-cta {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.float-cta a {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--red);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .5);
  transition: transform .2s var(--ease);
}
.float-cta a:hover { transform: scale(1.08); color: #fff; }

/* ---------- Typewriter caret ---------- */
.tw-caret {
  display: inline-block;
  width: .08em;
  height: .92em;
  background: var(--red-light);
  margin-left: .06em;
  vertical-align: -.06em;
  animation: tw-blink .8s steps(1) infinite;
}
@keyframes tw-blink { 50% { opacity: 0; } }

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; animation: none !important; }
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 96px) 0 80px;
  overflow: hidden;
}
.page-hero .hero-bg img { object-position: center 30%; }
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to right, rgba(11,11,12,.94) 0%, rgba(11,11,12,.65) 60%, rgba(11,11,12,.4) 100%),
    linear-gradient(to top, var(--bg) 2%, transparent 40%);
}
.page-hero h1 { max-width: 760px; margin-bottom: 16px; }
.page-hero p { max-width: 600px; font-size: 1.1rem; color: #D4D4D8; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .masonry { columns: 2; }
  .grid-2 { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  section { padding: 64px 0; }

  .burger { display: flex; }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(11, 11, 12, .97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
  }
  .main-nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .main-nav a { font-size: 1.05rem; padding: 12px 0; width: 100%; }
  .nav-cta { text-align: center; margin-top: 8px; }

  .grid-3 { grid-template-columns: 1fr; }
  .masonry { columns: 1; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 26px; }
  .cta-band { padding: 48px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Portfolio filter ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.filter-btn {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  font: 600 .82rem 'Manrope', sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}
.filter-btn:hover { border-color: var(--red-light); color: var(--red-light); }
.filter-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.masonry figure.is-hidden { display: none; }

/* ---------- Video feature (reel) ---------- */
.video-feature { align-items: center; }
.video-frame {
  position: relative;
  max-width: 360px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  background: #000;
}
.video-frame video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}
.video-frame .video-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: rgba(11, 11, 12, .8);
  border: 1px solid rgba(255, 90, 77, .55);
  color: var(--red-light);
  font: 600 .72rem 'Manrope', sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  pointer-events: none;
}
@media (max-width: 720px) {
  .video-frame { max-width: 300px; }
}
