/* ===================================================================
   GIZEM SQUIRES — UGC PORTFOLIO
   Design tokens
=================================================================== */
:root{
  /* color */
  --base:        #efe9e4;   /* page base */
  --base-alt:    #e6ddd2;   /* alternating section base */
  --card:        #f8f4ef;   /* card surface, lighter than base */
  --ink:         #2b2521;   /* primary text */
  --ink-soft:    #6b6058;   /* secondary text */
  --line:        rgba(43,37,33,0.12);

  --accent:      #a3574a;   /* dusty brick rose — primary accent */
  --accent-deep: #7c4039;   /* pressed / hover state */
  --accent-soft: #e4c9bd;   /* blush, for fills */
  --sand:        #cbb082;   /* warm gold sand, secondary accent */
  --sage:        #8d9074;   /* muted olive, tertiary accent for variety */

  /* type */
  --font-display: "Fraunces", Georgia, serif;
  --font-body:    "Work Sans", -apple-system, BlinkMacSystemFont, sans-serif;

  /* layout */
  --wrap: 1180px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;

  --ease: cubic-bezier(.22,.68,.32,1);
}

*, *::before, *::after{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body{
  margin:0;
  background: var(--base);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3{
  font-family: var(--font-display);
  font-weight: 450;
  line-height: 1.05;
  margin: 0;
  color: var(--ink);
}

a{ color: inherit; }

.eyebrow{
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin: 0 0 14px;
}

/* faint film-grain texture over the whole page, warms up flat cream */
.grain{
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ===================================================================
   BUTTONS
=================================================================== */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .35s var(--ease), background-color .25s ease, color .25s ease, border-color .25s ease;
}
.btn:hover{ transform: translateY(-2px); }
.btn:active{ transform: translateY(0); }

.btn-primary{
  background: var(--accent);
  color: var(--card);
}
.btn-primary:hover{ background: var(--accent-deep); }

.btn-ghost{
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover{ border-color: var(--accent); color: var(--accent-deep); }

.btn-small{
  padding: 10px 20px;
  font-size: 13.5px;
}

/* ===================================================================
   HEADER
=================================================================== */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(239,233,228,0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.wordmark{
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}

.main-nav{
  display: flex;
  gap: 32px;
  margin-left: auto;
  margin-right: 12px;
}
.main-nav a{
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding-bottom: 3px;
  transition: color .2s ease;
}
.main-nav a:hover{ color: var(--ink); }
.main-nav a::after{
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0%; height: 1.5px;
  background: var(--accent);
  transition: width .3s var(--ease);
}
.main-nav a:hover::after{ width: 100%; }

.nav-toggle{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px; height: 38px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span{
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--ink);
  transition: transform .3s var(--ease), opacity .3s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-6.5px) rotate(-45deg); }

/* ===================================================================
   HERO
=================================================================== */
.hero{
  padding: 88px 0 110px;
  overflow: hidden;
}

.hero-inner{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
}

.hero-title{
  font-size: clamp(52px, 7.2vw, 92px);
  margin: 6px 0 18px;
  letter-spacing: -0.01em;
}

.hero-tagline{
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(19px, 2vw, 23px);
  color: var(--accent-deep);
  margin: 0 0 20px;
}

.hero-sub{
  max-width: 46ch;
  color: var(--ink-soft);
  font-size: 16.5px;
  margin: 0 0 34px;
}

.hero-actions{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* --- hero phone visual --- */
.hero-visual{
  position: relative;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone{
  position: absolute;
  width: 210px;
  height: 430px;
  border-radius: 34px;
  background: var(--ink);
  padding: 10px;
  box-shadow: 0 30px 60px -20px rgba(43,37,33,0.35);
}
.phone-notch{
  position: absolute;
  top: 10px; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 16px;
  background: var(--ink);
  border-radius: 0 0 12px 12px;
  z-index: 2;
}
.phone-screen{
  position: relative;
  width: 100%; height: 100%;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone-back{
  transform: rotate(-9deg) translate(-64px, 6px);
}
.phone-front{
  transform: rotate(6deg) translate(58px, -10px);
}

.phone-tag{
  position: absolute;
  top: 14px; right: 14px;
  z-index: 2;
  background: var(--card);
  color: var(--accent-deep);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
}

.hero-orbit-label{
  position: absolute;
  right: -18px;
  bottom: -6px;
  width: 128px; height: 128px;
  opacity: 0.55;
}
.orbit-svg{ width: 100%; height: 100%; animation: spin 22s linear infinite; }
.orbit-svg text{ fill: var(--ink-soft); }
@keyframes spin{ to{ transform: rotate(360deg); } }

/* placeholder gradients standing in for real footage until video files are dropped in /assets */
.placeholder-gradient{
  width: 100%; height: 100%;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.grad-1{ background: linear-gradient(155deg, #d9a99a 0%, #a3574a 55%, #7c4039 100%); }
.grad-2{ background: linear-gradient(155deg, #cbb082 0%, #a3574a 60%, #6b4a3a 100%); }
.grad-3{ background: linear-gradient(155deg, #b7bda0 0%, #8d9074 55%, #5f624c 100%); }
.grad-4{ background: linear-gradient(155deg, #e4c9bd 0%, #c2907d 55%, #8d5648 100%); }

.play-btn{
  position: relative;
  z-index: 3;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(248,244,239,0.92);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .3s var(--ease), background-color .2s ease;
  align-self: center;
}
.play-btn svg{ width: 20px; height: 20px; fill: var(--accent-deep); margin-left: 2px; }
.play-btn:hover{ transform: scale(1.08); background: #fff; }

/* ===================================================================
   SECTION HEAD (shared)
=================================================================== */
.section-head{
  max-width: 640px;
  margin: 0 0 54px;
}
.section-head h2{
  font-size: clamp(32px, 4vw, 46px);
  margin-bottom: 14px;
}
.section-sub{
  color: var(--ink-soft);
  font-size: 16px;
  margin: 0;
}

/* ===================================================================
   WORK / PORTFOLIO
=================================================================== */
.work{
  padding: 40px 0 110px;
}

.video-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.video-card{
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.phone-frame{
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  background: var(--ink);
  border-radius: var(--radius-md);
  padding: 8px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.video-card:nth-child(odd) .phone-frame{ transform: rotate(-1.6deg); }
.video-card:nth-child(even) .phone-frame{ transform: rotate(1.6deg); }
.video-card:hover .phone-frame{
  transform: rotate(0deg) translateY(-6px);
  box-shadow: 0 26px 40px -22px rgba(43,37,33,0.4);
}

.video-window{
  position: relative;
  width: 100%; height: 100%;
  border-radius: 13px;
  overflow: hidden;
  background: var(--ink);
}

.video-el{
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}
.video-fallback{
  position: absolute;
  inset: 0;
  z-index: 0;
  transition: opacity .4s ease;
}

.video-window .play-btn{
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}
.video-window .play-btn:hover{ transform: translate(-50%, -50%) scale(1.08); }

.video-badge{
  position: absolute;
  top: 12px; left: 12px;
  z-index: 2;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--card);
  background: rgba(43,37,33,0.5);
  padding: 5px 10px;
  border-radius: 999px;
}

.video-caption h3{
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 4px;
}
.video-caption p{
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
}

/* ===================================================================
   ABOUT
=================================================================== */
.about{
  padding: 100px 0;
  background: var(--base-alt);
}

.about-inner{
  display: grid;
  grid-template-columns: 0.75fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.about-visual{ position: relative; }
.about-photo{
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  overflow: hidden;
}
.about-photo-img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.about-photo-label{
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(248,244,239,0.75);
}
.about-photo-accent{
  position: absolute;
  top: 28px; left: -22px;
  width: 100%; height: 100%;
  border: 1.5px solid var(--accent);
  border-radius: var(--radius-lg);
  z-index: 1;
}

.about-copy h2{
  font-size: clamp(30px, 3.6vw, 42px);
  margin-bottom: 18px;
}
.about-lead{
  font-family: var(--font-display);
  font-style: italic;
  font-size: 19px;
  color: var(--accent-deep);
  margin: 0 0 16px;
  max-width: 46ch;
}
.about-copy p{
  color: var(--ink-soft);
  max-width: 54ch;
}

.fact-list{
  margin: 34px 0 0;
  border-top: 1px solid var(--line);
}
.fact-row{
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.fact-row dt{
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}
.fact-row dd{
  margin: 0;
  font-size: 15px;
  color: var(--ink);
}

/* ===================================================================
   CONTACT
=================================================================== */
.contact{
  padding: 110px 0 90px;
}

.contact-inner .section-head{
  margin-bottom: 44px;
}

.contact-form{
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 44px;
  max-width: 760px;
  border: 1px solid var(--line);
}

.form-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.field{
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 22px;
}
.field label{
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}
.field input,
.field select,
.field textarea{
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: var(--base);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus{
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(163,87,74,0.15);
}
.field textarea{ resize: vertical; min-height: 110px; }

.field.has-error input,
.field.has-error textarea{
  border-color: #a3574a;
}
.field-error{
  font-size: 12.5px;
  color: var(--accent-deep);
  min-height: 15px;
}

.form-footer{
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 6px;
}
.form-status{
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
}
.form-status.success{ color: #5f6b46; }

.contact-alt{
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 15px;
}
.contact-alt > a{
  text-decoration: none;
  font-weight: 600;
  color: var(--accent-deep);
  border-bottom: 1px solid var(--accent-soft);
  padding-bottom: 2px;
}
.social-links{ display: flex; gap: 18px; }
.social-links a{ text-decoration: none; color: var(--ink-soft); font-weight: 500; }
.social-links a:hover{ color: var(--ink); }

/* ===================================================================
   FOOTER
=================================================================== */
.site-footer{
  border-top: 1px solid var(--line);
  padding: 26px 0 40px;
}
.footer-inner{
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.footer-inner a{ text-decoration: none; color: var(--ink-soft); }
.footer-inner a:hover{ color: var(--ink); }

/* ===================================================================
   SCROLL REVEAL
=================================================================== */
[data-reveal]{
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* ===================================================================
   RESPONSIVE
=================================================================== */
@media (max-width: 980px){
  .video-grid{ grid-template-columns: repeat(2, 1fr); }
  .about-inner{ grid-template-columns: 1fr; }
  .about-visual{ max-width: 340px; }
  .hero-inner{ grid-template-columns: 1fr; }
  .hero-visual{ height: 380px; order: -1; }
  .form-row{ grid-template-columns: 1fr; }
}

@media (max-width: 700px){
  .wrap{ padding: 0 22px; }
  .main-nav{ display: none; }
  .header-inner .btn-small{ display: none; }
  .nav-toggle{ display: flex; }

  .site-header.menu-open .main-nav{
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--base);
    border-bottom: 1px solid var(--line);
    padding: 8px 22px 20px;
  }
  .site-header.menu-open .main-nav a{
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .hero{ padding: 56px 0 70px; }
  .video-grid{ grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
  .contact-form{ padding: 28px; }
  .about{ padding: 70px 0; }
  .contact{ padding: 70px 0 60px; }
  .footer-inner{ flex-direction: column; gap: 10px; text-align: center; }
}
