/* Gava Motion - static rebuild
   Edit colors here. The design echoes the 2018 Divi site:
   dark page, white text, teal accent (#16f7f7), Comfortaa headings. */

:root {
  --bg:        #0a0a0a;
  --bg-soft:   #141414;
  --bg-card:   #1a1a1a;
  --fg:        rgba(255, 255, 255, 0.92);
  --fg-soft:   rgba(255, 255, 255, 0.62);
  --accent:    #16f7f7;
  --line:      rgba(255, 255, 255, 0.10);
  --nav-h:     78px;
  --max-w:     1280px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Open Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 {
  font-family: 'Comfortaa', system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: .02em;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(1.6rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.3rem, 3vw, 1.9rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

/* ---------- Header / nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  z-index: 100;
}
.nav-inner {
  max-width: var(--max-w);
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo img { height: 44px; }
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0; padding: 0;
  font-size: 14px;
  letter-spacing: .04em;
}
.nav-links a {
  color: var(--fg);
  padding: 8px 0;
  position: relative;
}
.nav-links a.active,
.nav-links a:hover { color: var(--accent); }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: var(--accent);
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--fg);
  font-size: 24px;
  cursor: pointer;
  padding: 4px 8px;
}
@media (max-width: 820px) {
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h); left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg-soft);
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 20px;
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--line); }
  .nav-links li:last-child { border-bottom: 0; }
  .nav-links a { display: block; padding: 14px 0; }
  .nav-toggle { display: block; }
}

/* ---------- Main / sections ---------- */
main { padding-top: var(--nav-h); }
.section {
  padding: 64px 24px;
}
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.section h1, .section h2 { text-align: center; margin-bottom: 1.2em; }
.section.alt { background: var(--bg-soft); }

/* ---------- Hero slider (home) ---------- */
.hero {
  position: relative;
  height: calc(100vh - var(--nav-h));
  min-height: 480px;
  overflow: hidden;
}
.slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transition: opacity 1s ease;
}
.slide::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.65));
}
.slide.active { opacity: 1; z-index: 2; }
.hero-dots {
  position: absolute;
  bottom: 24px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 10px;
  z-index: 4;
}
.hero-dots button {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: 0;
  cursor: pointer;
  padding: 0;
}
.hero-dots button.active { background: var(--accent); }

/* ---------- Home category tiles (4-up: TV / Film / Corp / Ads) ---------- */
.home-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 820px) {
  .home-tiles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .home-tiles { grid-template-columns: 1fr; }
}
.home-tile {
  display: block;
  overflow: hidden;
  border-radius: 4px;
  background: var(--bg-card);
}
.home-tile img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .5s ease;
}
.home-tile:hover img { transform: scale(1.05); }

/* About strip (used on about-us.html) */
.about-strip {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.05rem;
  color: var(--fg-soft);
}

/* Video frame retained for service-style embeds on other pages */
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 4px;
  overflow: hidden;
}
.video-frame iframe,
.video-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Portfolio grid ---------- */
.filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.filter-bar button {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--fg);
  padding: 8px 18px;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all .15s ease;
}
.filter-bar button:hover,
.filter-bar button.active {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.portfolio-tile {
  position: relative;
  display: block;
  aspect-ratio: 400 / 284;
  overflow: hidden;
  background: var(--bg-card);
  border-radius: 4px;
}
.portfolio-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.portfolio-tile:hover img { transform: scale(1.06); }
.portfolio-tile .label {
  position: absolute;
  inset: auto 0 0 0;
  padding: 14px 16px;
  background: linear-gradient(0deg, rgba(0,0,0,.85), transparent);
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fg);
}
.portfolio-tile.hidden { display: none; }

/* ---------- Contact ---------- */
.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 720px) {
  .contact-row { grid-template-columns: 1fr; gap: 28px; }
}
.contact-info p {
  margin: .2em 0;
  color: var(--fg-soft);
}
.contact-info strong {
  display: block;
  color: var(--fg);
  margin-top: 1em;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .85rem;
}
.contact-form label {
  display: block;
  margin-bottom: 12px;
}
.contact-form label span {
  display: block;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fg-soft);
  margin-bottom: 4px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--fg);
  font: inherit;
  border-radius: 2px;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 0;
  border-color: var(--accent);
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form button {
  margin-top: 12px;
  padding: 12px 28px;
  background: var(--accent);
  color: #000;
  border: 0;
  font: inherit;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  cursor: pointer;
  border-radius: 2px;
}
.contact-form button:hover { filter: brightness(1.1); }

/* ---------- Vimeo cover sheet (large embed pages) ---------- */
.cover-video {
  max-width: 1100px;
  margin: 0 auto;
}

/* ---------- Lists (animation, motion-graphics, vfx category pages) ---------- */
.cat-list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
}
.cat-list li a {
  display: block;
  padding: 18px 22px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: border-color .15s, transform .15s;
}
.cat-list li a:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.cat-list .sub {
  display: block;
  font-size: 11px;
  color: var(--fg-soft);
  margin-top: 6px;
  letter-spacing: .12em;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #000;
  padding: 42px 24px 24px;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--fg-soft);
  font-size: 13px;
}
.site-footer .socials {
  display: flex; justify-content: center; gap: 22px;
  margin-bottom: 14px;
  font-size: 15px;
}
.site-footer .socials a { color: var(--fg-soft); }
.site-footer .socials a:hover { color: var(--accent); }
.site-footer .copyright { letter-spacing: .12em; text-transform: uppercase; }
