/* =============================================================
   UGC PORTFOLIO TEMPLATE
   Colors live here — change these 4 lines to rebrand the site.
   ============================================================= */
:root {
  --bg:      #f7f1ea;   /* page background (soft cream) */
  --ink:     #3a332e;   /* main text */
  --accent:  #c98b74;   /* buttons / highlights (terracotta rose) */
  --card:    #efe6dc;   /* card + placeholder background */
  --muted:   #8c8079;   /* secondary text */
  --radius:  18px;
  --maxw:    1080px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; font-weight: 600; }
.accent { color: var(--accent); }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: .7rem 1.4rem;
  border-radius: 999px;
  font-weight: 500;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
  font-size: .95rem;
}
.btn:hover { transform: translateY(-2px); }
.btn-solid  { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(201,139,116,.35); }
.btn-outline{ border: 1.5px solid var(--accent); color: var(--accent); }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem clamp(1.2rem, 4vw, 3rem);
  background: rgba(247,241,234,.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0,0,0,.05);
}
.brand { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 600; text-decoration: none; color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(2rem, 6vw, 5rem) clamp(1.2rem, 4vw, 3rem);
  display: grid; grid-template-columns: 300px 1fr; gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
.hero-photo {
  aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  background: var(--card); box-shadow: 0 15px 40px rgba(0,0,0,.1);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.eyebrow { text-transform: uppercase; letter-spacing: .25em; font-size: .75rem; color: var(--muted); margin-bottom: .6rem; }
.hero-text h1 { font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.05; }
.location { color: var(--muted); margin: .5rem 0 1rem; }

.tags { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.4rem; }
.tags li {
  background: var(--card); padding: .35rem .9rem; border-radius: 999px;
  font-size: .8rem; color: var(--ink);
}

.stats { display: flex; gap: 1.5rem; }
.stat { text-align: center; text-decoration: none; color: var(--ink); }
.stat .num { display: block; font-size: 1.5rem; font-weight: 600; font-family: 'Playfair Display', serif; }
.stat .label { font-size: .8rem; color: var(--muted); }

/* ---------- About ---------- */
.about {
  max-width: 760px; margin: 0 auto; text-align: center;
  padding: clamp(2rem, 5vw, 4rem) 1.2rem;
}
.about h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 1rem; }
.about p { color: var(--muted); margin-bottom: 1.6rem; }

/* ---------- Section titles ---------- */
.section-title { text-align: center; font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 2rem; }

/* ---------- Portfolio: grouped categories ---------- */
.work-cat { max-width: var(--maxw); margin: 0 auto; padding: 1.5rem clamp(1.2rem, 4vw, 3rem) 2.5rem; }
.row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.card { cursor: pointer; }
.card-media {
  position: relative; aspect-ratio: 9 / 16; border-radius: var(--radius);
  overflow: hidden; background: var(--card) linear-gradient(135deg, #efe6dc, #e3d3c6);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.card-video { width: 100%; height: 100%; object-fit: cover; }
.mute-btn {
  position: absolute; top: .6rem; right: .6rem; z-index: 3;
  border: none; background: rgba(0,0,0,.45); color: #fff;
  width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: .85rem;
}
/* Center play badge — fades out once the video is playing */
.play-badge {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  z-index: 2; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.85); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; padding-left: 3px; transition: opacity .2s ease; pointer-events: none;
}
.card-media.is-playing .play-badge { opacity: 0; }
.card-caption { text-align: center; padding: .7rem .4rem 0; }
.card-caption .cat { display: block; font-weight: 600; font-size: .85rem; letter-spacing: .02em; }
.card-caption .brand { font-size: .78rem; color: var(--muted); }

/* ---------- Testimonials ---------- */
.testimonials { max-width: var(--maxw); margin: 0 auto; padding: 2rem clamp(1.2rem, 4vw, 3rem) 4rem; }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.2rem; }
.quote {
  background: #fff; border-radius: var(--radius); padding: 1.8rem;
  box-shadow: 0 6px 20px rgba(0,0,0,.06);
}
.quote p { font-style: italic; margin-bottom: .8rem; }
.quote cite { color: var(--accent); font-weight: 600; font-style: normal; }

/* ---------- Footer ---------- */
.footer {
  background: var(--accent); color: #fff; text-align: center;
  padding: clamp(3rem, 7vw, 5rem) 1.2rem;
}
.footer h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.footer .drop { text-transform: uppercase; letter-spacing: .2em; font-size: .8rem; margin: 1rem 0 .3rem; opacity: .9; }
.email-link { color: #fff; font-size: 1.3rem; font-weight: 600; text-decoration: underline; }
.socials { display: flex; justify-content: center; gap: 1.5rem; margin: 1.6rem 0; }
.socials a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.5); }
.copyright { font-size: .8rem; opacity: .8; margin-top: 1rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .hero { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .hero-photo { width: 200px; }
  .tags, .stats { justify-content: center; }
}
