/* ─────────────────────────────────────────────────────────────
   CATAPULT AVENUE — white & red brand theme
   ───────────────────────────────────────────────────────────── */

:root {
  --bg: #ffffff;
  --bg-alt: #f7f6f6;
  --panel: #ffffff;
  --line: #e8e4e4;
  --text: #17181a;
  --muted: #5f6570;
  --red: #e8232b;          /* logo red */
  --red-dark: #c11218;
  --red-soft: rgba(232, 35, 43, 0.08);
  --wa: #25d366;
  --tg: #2aabee;
  --radius: 16px;
  --t-fast: 0.18s ease;
  --font-display: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }

p { color: var(--muted); }
p + p { margin-top: 0.9em; }

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

.accent { color: var(--red); }
.muted { color: var(--muted); font-size: 0.92rem; }

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

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700; font-size: 0.95rem;
  text-decoration: none;
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast), color var(--t-fast);
  cursor: pointer;
}
.btn-accent {
  background: var(--red); color: #fff;
  box-shadow: 0 12px 28px -10px rgba(232, 35, 43, 0.55);
}
.btn-accent:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -10px rgba(232, 35, 43, 0.6);
}
.btn-ghost {
  border: 2px solid var(--line); color: var(--text);
}
.btn-ghost:hover { border-color: var(--red); color: var(--red); }
.btn-small { padding: 9px 18px; font-size: 0.85rem; }

/* ── Navigation ──────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 28px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-brand {
  display: flex; align-items: center; gap: 11px;
  text-decoration: none; color: var(--text);
}
.brand-mark { display: grid; place-items: center; }
.brand-mark svg { display: block; }
.brand-name {
  font-family: var(--font-display); font-weight: 800;
  letter-spacing: 0.01em; line-height: 1.05;
}
.brand-name small {
  display: block; font-weight: 600; font-size: 0.62em;
  letter-spacing: 0.34em; color: var(--red); text-transform: uppercase;
}
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a:not(.btn) {
  color: var(--muted); text-decoration: none; font-size: 0.92rem; font-weight: 600;
  transition: color var(--t-fast);
}
.nav-links a:not(.btn):hover { color: var(--red); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--text);
  margin: 5px 0; border-radius: 2px;
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  padding: 130px 24px 90px;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 55% 45% at 88% 10%, var(--red-soft), transparent 65%),
    radial-gradient(ellipse 40% 35% at 5% 90%, rgba(232, 35, 43, 0.05), transparent 70%),
    var(--bg);
}
.hero-inner {
  max-width: 1100px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1.15fr 1fr;
  gap: 56px; align-items: center;
}
.hero-kicker {
  font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--red); font-weight: 700; margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.3rem);
  font-weight: 800; letter-spacing: -0.02em;
}
.hero-tagline {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-weight: 700; color: var(--text); letter-spacing: 0.03em;
}
.hero-tagline .dot { color: var(--red); }
.hero-sub { max-width: 480px; margin-top: 16px; font-size: 1.02rem; }
.hero-actions {
  margin-top: 34px;
  display: flex; gap: 14px; flex-wrap: wrap;
}
.hero-chips {
  margin-top: 34px; display: flex; flex-wrap: wrap; gap: 8px;
  list-style: none;
}
.hero-chips li {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em;
  color: var(--red-dark);
  background: var(--red-soft);
  border-radius: 999px; padding: 6px 14px;
}

/* photo stack on the right of the hero */
.hero-stack { position: relative; height: 460px; }
.hero-stack img {
  position: absolute; object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 24px 48px -18px rgba(23, 24, 26, 0.35);
  border: 5px solid #fff;
}
.hero-stack img:nth-child(1) {
  width: 62%; height: 74%; left: 0; top: 4%;
  transform: rotate(-3deg); z-index: 2;
}
.hero-stack img:nth-child(2) {
  width: 52%; height: 58%; right: 0; top: 0;
  transform: rotate(2.5deg);
}
.hero-stack img:nth-child(3) {
  width: 56%; height: 52%; right: 6%; bottom: 0;
  transform: rotate(-1.5deg); z-index: 3;
}
.hero-scroll {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  color: var(--red); text-decoration: none; font-size: 1.2rem;
  animation: bob 2.2s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ── Sections ────────────────────────────────────────────── */
.section { padding: 110px 0; }
.section-alt { background: var(--bg-alt); }
.section-kicker {
  font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--red); font-weight: 700; margin-bottom: 12px;
}
.section-head { margin-bottom: 48px; }

.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.about-facts { list-style: none; margin-top: 24px; }
.about-facts li {
  display: flex; gap: 12px; align-items: center;
  padding: 10px 0; border-top: 1px solid var(--line);
  color: var(--text); font-size: 0.95rem; font-weight: 500;
}

/* ── Services ────────────────────────────────────────────── */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(232, 35, 43, 0.4);
  box-shadow: 0 24px 44px -22px rgba(232, 35, 43, 0.35);
}
.card-icon {
  display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--red-soft);
  font-size: 1.5rem; margin-bottom: 18px;
}
.card h3 { margin-bottom: 8px; }
.card p { font-size: 0.93rem; }

/* ── Portfolio / gallery ─────────────────────────────────── */
.gallery-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.gallery-item {
  position: relative; display: block; overflow: hidden;
  border-radius: 14px; aspect-ratio: 1 / 1;
  text-decoration: none;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.45s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-cap {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end;
  padding: 16px;
  background: linear-gradient(to top, rgba(193, 18, 24, 0.85), rgba(232, 35, 43, 0.15) 55%, transparent);
  color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 0.9rem;
  opacity: 0; transition: opacity var(--t-fast);
}
.gallery-item:hover .gallery-cap { opacity: 1; }
.gallery-more { text-align: center; margin-top: 36px; }

/* ── Socials row ─────────────────────────────────────────── */
.social-row { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.social-row a {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text); text-decoration: none;
  font-size: 0.9rem; font-weight: 600;
  transition: transform var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.social-row a:hover { transform: translateY(-3px); border-color: var(--red); color: var(--red); }
.work-cta { text-align: center; max-width: 760px; }
.work-cta > p { margin-top: 14px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ── Contact — bold red band ─────────────────────────────── */
.section-contact {
  background: linear-gradient(150deg, var(--red) 0%, var(--red-dark) 100%);
}
.section-contact .section-kicker { color: rgba(255, 255, 255, 0.85); }
.section-contact h2 { color: #fff; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.contact-card {
  display: block;
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 26px;
  text-decoration: none; color: var(--text);
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.45);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 48px -22px rgba(0, 0, 0, 0.5);
}
.contact-card h3 { margin-bottom: 8px; }
.contact-card p { font-size: 0.93rem; }
.contact-link {
  display: inline-block; margin-top: 16px;
  color: var(--red); font-family: var(--font-display);
  font-weight: 700; font-size: 0.9rem;
  text-decoration: none;
}
.contact-link:hover { text-decoration: underline; }
.email-link { color: var(--red); text-decoration: none; font-weight: 600; }
.email-link:hover { text-decoration: underline; }
.footer .email-link { color: #c6cbd2; font-weight: 500; }
.footer .email-link:hover { color: var(--red); }
.wa-green { background: rgba(37, 211, 102, 0.14); color: var(--wa); }
.tg-blue { background: rgba(42, 171, 238, 0.14); color: var(--tg); }
.pin-red { background: var(--red-soft); }

/* ── Footer ──────────────────────────────────────────────── */
.footer { background: #17181a; padding: 48px 0; }
.footer .brand-name { color: #fff; }
.footer .muted { color: #9aa1ab; }
.footer-inner {
  display: flex; flex-wrap: wrap; gap: 24px;
  align-items: center; justify-content: space-between;
}
.footer-socials { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-socials a {
  color: #c6cbd2; text-decoration: none; font-size: 0.88rem; font-weight: 500;
  transition: color var(--t-fast);
}
.footer-socials a:hover { color: var(--red); }

/* ── Floating WhatsApp (Melva pattern) ───────────────────── */
.wa-float {
  position: fixed; right: 22px; bottom: 22px;
  z-index: 70;
  width: 56px; height: 56px;
  background: var(--wa);
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.55);
  transition: transform var(--t-fast);
  text-decoration: none;
}
.wa-float:hover { transform: scale(1.06); }

/* ── Scroll reveal ───────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-stack { height: 380px; max-width: 480px; }
  .services-grid, .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .section { padding: 76px 0; }
  .hero { padding-top: 110px; }
  .hero-stack { height: 300px; }
  .services-grid, .contact-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .nav .brand-name { display: none; }
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; top: 62px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start;
    gap: 4px; padding: 12px 24px 20px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 10px 0; width: 100%; }
  .nav-cta { margin-top: 8px; }
}
