/* ---------- Base ---------- */
:root{
  --bg: #0b0d12;
  --panel: rgba(14, 16, 24, 0.70);
  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.70);
  --border: rgba(255,255,255,0.12);
  --shadow: 0 18px 60px rgba(0,0,0,0.45);
  --radius: 18px;
  --max: 1100px;
  --nav-h: 74px;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }
body{
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background: var(--bg);
  color: var(--text);
}

a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display: block; }

/* ---------- Nav ---------- */
.nav{
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 50;
  background: linear-gradient(to bottom, rgba(0,0,0,0.55), rgba(0,0,0,0.15));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav__inner{
  max-width: var(--max);
  height: 100%;
  margin: 0 auto;
  padding: 0 18px;
  display: grid;
  grid-template-columns: 140px 1fr 240px;
  align-items: center;
  gap: 12px;
}

.nav__logo{
  width: 120px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.nav__logo img{
  height: 42px;
  width: auto;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.35));
}

.nav__center{
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.8px;
  font-size: 16px;
  text-transform: none;
}

.nav__links{
  display: flex;
  justify-content: flex-end;
  gap: 14px;
}

.nav__link{
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--muted);
  border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
}

.nav__link:hover{
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.12);
  color: var(--text);
  transform: translateY(-1px);
}

.nav__link.is-active{
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.18);
  color: var(--text);
}

/* ---------- Layout helpers ---------- */
.page{
  min-height: 100vh;
  padding-top: var(--nav-h);
}

.container{
  max-width: var(--max);
  margin: 0 auto;
  padding: 34px 18px;
}

.card{
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

h1{
  margin: 0 0 10px;
  font-size: 42px;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
p{
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

/* ---------- Home: Video background ---------- */
.hero{
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.hero__video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  filter: contrast(1.05) saturate(1.05);
}

.hero__overlay{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1000px 600px at 20% 30%, rgba(0,0,0,0.35), transparent 60%),
    linear-gradient(to bottom, rgba(0,0,0,0.55), rgba(0,0,0,0.65));
}

.hero__content{
  position: relative;
  z-index: 2;
  padding-top: calc(var(--nav-h) + 70px);
  padding-bottom: 70px;
}

.hero__grid{
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  align-items: start;
}

.hero__panel{
  padding: 26px 26px 22px;
}

.hero__kicker{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  margin-bottom: 14px;
}

.hero__ctaRow{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

/* ---------- Home: center-only button ---------- */
.hero__centerOnly{
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

/* ---------- Hero CTA (bold, readable, not subtle) ---------- */
.heroCTA{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 26px 64px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;

  color: #000; /* HIGH CONTRAST TEXT */
  background: #ffffff; /* SOLID WHITE */

  border-radius: 999px;
  border: none;

  box-shadow:
    0 20px 60px rgba(0,0,0,0.55),
    0 0 0 6px rgba(255,255,255,0.15);

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.heroCTA:hover{
  transform: translateY(-4px) scale(1.05);
  background: #f2f2f2;
  box-shadow:
    0 28px 80px rgba(0,0,0,0.65),
    0 0 0 10px rgba(255,255,255,0.25);
}

.heroCTA:active{
  transform: translateY(-1px) scale(1.02);
}

/* Mobile */
@media (max-width: 560px){
  .heroCTA{
    padding: 22px 48px;
    font-size: 20px;
    letter-spacing: 1.5px;
  }
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.10);
  color: var(--text);
  font-weight: 600;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.24);
}
.btn--solid{
  background: rgba(255,255,255,0.18);
}
.btn--solid:hover{
  background: rgba(255,255,255,0.22);
}

/* Side stats */
.stats{
  padding: 18px;
  display: grid;
  gap: 12px;
}
.stat{
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.22);
}
.stat b{
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}
.stat span{
  color: var(--muted);
  font-size: 13px;
}

/* ---------- Portfolio background image ---------- */
.portfolioPage{
  position: relative;
  overflow: hidden;
}

/* Background image layer */
.portfolioBg{
  position: fixed;
  inset: 0;
  z-index: 0;

  background-image: url("https://sydneyjspaw.com/images/background_1.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* Remove the heavy darkening */
  filter: none;
}

/* Lighter overlay to protect readability (not blacking it out) */
.portfolioBg::after{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45); /* <- key change */
}

/* Ensure content stays above background */
.portfolioPage .container,
.portfolioPage .footer{
  position: relative;
  z-index: 1;
}

/* ---------- Portfolio ---------- */
.grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.work{
  padding: 14px;
}
.work__thumb{
  border-radius: 14px;
  aspect-ratio: 16/9;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.03)),
    radial-gradient(500px 200px at 30% 20%, rgba(255,255,255,0.12), transparent 60%);
  border: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 12px;
}
.work__title{
  font-weight: 700;
  margin-bottom: 4px;
}
.work__meta{
  color: var(--muted);
  font-size: 13px;
}

/* ---------- Contact ---------- */
.form{
  padding: 18px;
}
.fieldRow{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
label{
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.80);
  margin: 10px 0 6px;
}
input, textarea{
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.25);
  color: var(--text);
  outline: none;
}
textarea{ min-height: 140px; resize: vertical; }
input:focus, textarea:focus{
  border-color: rgba(255,255,255,0.28);
  background: rgba(0,0,0,0.30);
}

/* ---------- Footer: social links ---------- */
.footer{
  padding: 22px 18px 34px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.footer--hero{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
}

.footer__inner{
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer__link{
  font-size: 13px;
  color: rgba(255,255,255,0.72);
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.18);
  transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
}

.footer__link:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.92);
}

/* ---------- Portfolio (YouTube embeds + categories) ---------- */
.portfolioWrap{
  padding: 20px;
}

.portfolioHeader{
  padding: 10px 8px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  margin-bottom: 18px;
}

.portfolioTitle{
  margin: 0 0 10px;
  font-size: 44px;
  line-height: 1.05;
}

.portfolioSub{
  margin: 0 0 14px;
  color: rgba(255,255,255,0.70);
}

.catBar{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.catPill{
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(0,0,0,0.22);
  color: rgba(255,255,255,0.82);
  font-size: 13px;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
}
.catPill:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.24);
  color: rgba(255,255,255,0.95);
}

.catSection{
  padding: 16px 8px 26px;
}

.catHeadingRow{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.catHeading{
  margin: 0;
  font-size: 22px;
  letter-spacing: 0.2px;
}

.catTop{
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  border: 1px solid rgba(255,255,255,0.14);
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,0.20);
}
.catTop:hover{
  color: rgba(255,255,255,0.90);
  border-color: rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.08);
}

/* Bigger video tiles */
.videoGrid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

/* Card wrapper */
.videoCard{
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.20);
  box-shadow: 0 18px 55px rgba(0,0,0,0.35);
}

/* Responsive YouTube embed */
.ytWrap{
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9; /* modern, clean */
}

.ytWrap iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ---------- Video captions / roles ---------- */
.videoCaption{
  padding: 12px 14px 14px;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  border-top: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.25);
}

.videoRoleLabel{
  font-weight: 700;
  color: rgba(255,255,255,0.95);
  margin-right: 6px;
}

/* Responsive */
@media (max-width: 920px){
  .portfolioTitle{ font-size: 38px; }
  .videoGrid{ grid-template-columns: 1fr; }
}

/* ---------- Responsive ---------- */
@media (max-width: 920px){
  .nav__inner{
    grid-template-columns: 120px 1fr 220px;
  }
  .hero__grid{ grid-template-columns: 1fr; }
  .grid{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px){
  .nav__inner{
    grid-template-columns: 90px 1fr 160px;
    gap: 8px;
  }
  .nav__center{ font-size: 14px; }
  .nav__link{ padding: 9px 10px; font-size: 13px; }
  h1{ font-size: 34px; }
  .grid{ grid-template-columns: 1fr; }
  .fieldRow{ grid-template-columns: 1fr; }
}