
/* ==========================================
   TRICIAS BEAUTY CONNER
   FINAL STYLESHEET
   Mobile-first responsive design
========================================== */

:root {
  --champagne: #C9A96E;
  --champagne-deep: #A98A4E;
  --beige: #E8DAC4;
  --cream: #FAF5EC;
  --nude: #EBD6C7;
  --white: #FFFFFF;
  --brown: #3E2A1F;
  --brown-soft: #6B5446;
  --radius: 4px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--brown);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 .6em;
}

h1 {
  font-size: clamp(2.3rem, 8vw, 4.6rem);
  letter-spacing: .04em;
}

h2 {
  font-size: clamp(1.9rem, 5vw, 2.9rem);
}

h3 {
  font-size: 1.5rem;
}

p {
  margin: 0 0 1em;
}

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

.section {
  padding: clamp(4rem, 9vw, 7rem) 0;
}

.eyebrow, .label {
  font-size: .75rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--champagne-deep);
  font-weight: 500;
  display: block;
  margin-bottom: .9rem;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.small {
  font-size: .9rem;
  color: var(--brown-soft);
}

/* BUTTONS */
.btn {
  display: inline-block;
  border: 1px solid var(--champagne-deep);
  background: var(--champagne);
  color: var(--white);
  text-decoration: none;
  cursor: pointer;
  font: 500 .8rem/1 var(--sans);
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: 1.1rem 1.8rem;
  border-radius: var(--radius);
  text-align: center;
  transition: background .3s var(--ease),
              color .3s var(--ease),
              transform .3s var(--ease),
              box-shadow .3s var(--ease);
}

.btn:hover {
  background: var(--champagne-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(62,42,31,.18);
}

.btn-outline {
  background: transparent;
  color: var(--brown);
  border-color: var(--champagne-deep);
}

.btn-outline:hover {
  background: var(--champagne);
  color: var(--white);
}

.btn-small {
  padding: .8rem 1.2rem;
}

.btn-whatsapp {
  background: var(--brown);
  border-color: var(--brown);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
}

.btn-whatsapp:hover {
  background: #2a1c14;
}

.btn[disabled] {
  opacity: .6;
  cursor: wait;
  transform: none;
  box-shadow: none;
}

/* HEADER */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: 68px;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(250,245,236,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201,169,110,.35);
}

.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: var(--champagne-deep);
}

.logo {
  width: 38px;
  height: 38px;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: .14em;
  font-weight: 600;
  color: var(--brown);
}

.nav-toggle {
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  position: relative;
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1.5px;
  background: var(--brown);
  transition: transform .3s var(--ease), top .3s var(--ease);
}

.nav-toggle span:first-child {
  top: 17px;
}

.nav-toggle span:last-child {
  top: 26px;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  top: 21px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  top: 21px;
  transform: rotate(-45deg);
}

.nav {
  position: absolute;
  top: 68px;
  left: 0;
  right: 0;
  background: var(--cream);
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  padding: 1.8rem 1rem 2rem;
  border-bottom: 1px solid rgba(201,169,110,.35);
}

.nav.open {
  display: flex;
}

.nav a:not(.btn) {
  text-decoration: none;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-size: .8rem;
  font-weight: 400;
}

.nav a:not(.btn):hover {
  color: var(--champagne-deep);
}

/* HERO SECTION */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 7rem 1.25rem 4rem;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
  background: #3E2A1F;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: -2;
  transform: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(62,42,31,.15),
    rgba(62,42,31,.35) 50%,
    rgba(62,42,31,.75)
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 780px;
  margin: auto;
}

.hero .eyebrow {
  color: var(--beige);
}

.hero h1 {
  color: var(--white);
}

.lead {
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  color: rgba(255,255,255,.92);
}

/* ABOUT */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.about-image {
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  background: url("images/about.jpg") center/cover no-repeat,
              linear-gradient(160deg, var(--nude), var(--champagne));
  box-shadow: 18px 18px 0 var(--beige);
}

.values {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: .5rem;
}

.values li {
  padding-left: 1.6rem;
  position: relative;
  font-weight: 400;
}

.values li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .8em;
  width: .9rem;
  height: 1px;
  background: var(--champagne-deep);
}

/* SERVICES */
.services {
  background: var(--cream);
}

.service-grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: 1fr;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 18px rgba(62,42,31,.06);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(62,42,31,.14);
}

.service-photo {
  margin: 0;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: linear-gradient(160deg, var(--nude), var(--beige) 60%, var(--champagne));
}

.service-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}

.service-card:hover .service-photo img {
  transform: scale(1.06);
}

.service-body {
  padding: 1.6rem 1.5rem 1.8rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  text-align: center;
}

.service-body p {
  color: var(--brown-soft);
  flex: 1;
}

/* MY WORK GALLERY */
.my-work {
  background: var(--white);
}

.my-work .section-head {
  margin-bottom: 3.5rem;
}

.work-subheading {
  text-align: center;
  margin: 3rem 0 1.8rem;
}

.work-subheading h3 {
  color: var(--brown);
  display: inline-block;
  position: relative;
  padding-bottom: .7rem;
}

.work-subheading h3::after {
  content: "";
  position: absolute;
  width: 55px;
  height: 2px;
  background: var(--champagne);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.work-card {
  min-width: 0;
  background: var(--cream);
  border: 1px solid rgba(201,169,110,.25);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(62,42,31,.07);
  transition: transform .35s var(--ease),
              box-shadow .35s var(--ease);
}

.work-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(62,42,31,.13);
}

.work-card img,
.work-card video {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  background: var(--beige);
}

.work-card video {
  object-fit: cover;
}

.work-card p {
  text-align: center;
  margin: 0;
  padding: .8rem .5rem;
  color: var(--brown);
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: .04em;
}

.work-social {
  margin: 3.5rem auto 0;
  text-align: center;
  padding: 2rem 1rem;
  background: var(--cream);
  border-top: 1px solid rgba(201,169,110,.35);
  border-bottom: 1px solid rgba(201,169,110,.35);
}

.work-social p {
  font-family: var(--serif);
  font-size: 1.35rem;
  margin-bottom: 1.2rem;
}

.work-social a {
  display: inline-block;
  margin: .4rem .5rem;
  padding: .75rem 1.2rem;
  border: 1px solid var(--champagne-deep);
  color: var(--brown);
  text-decoration: none;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: background .3s, color .3s;
}

.work-social a:hover {
  background: var(--champagne);
  color: var(--white);
}

.work-book {
  text-align: center;
  margin-top: 2.5rem;
}

/* BOOKING */
.booking {
  background: linear-gradient(180deg, var(--beige), var(--nude));
}

.booking-wrap {
  max-width: 760px;
}

.booking-form {
  background: var(--white);
  padding: 1.75rem 1.4rem;
  border-radius: var(--radius);
  display: grid;
  gap: 1.25rem;
  box-shadow: 0 20px 50px rgba(62,42,31,.12);
}

.field {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  min-width: 0;
}

label, .field .label {
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brown-soft);
  font-weight: 500;
  margin: 0;
}

.optional {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 300;
}

input, select, textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--brown);
  background: var(--cream);
  border: 1px solid #dccfb9;
  border-radius: var(--radius);
  padding: .9rem 1rem;
  transition: border-color .25s, box-shadow .25s;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--champagne-deep);
  box-shadow: 0 0 0 3px rgba(201,169,110,.25);
  outline: none;
}

.slots {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  min-height: 3rem;
  align-items: center;
}

.slots-note {
  margin: 0;
  color: var(--brown-soft);
  font-size: .95rem;
}

.slot {
  position: relative;
}

.slot input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}

.slot span {
  display: block;
  padding: .7rem 1.1rem;
  border: 1px solid var(--champagne-deep);
  border-radius: var(--radius);
  font-weight: 400;
  transition: background .25s, color .25s;
}

.slot input:checked + span {
  background: var(--champagne);
  color: var(--white);
}

.slot input:focus-visible + span {
  outline: 2px solid var(--brown);
  outline-offset: 2px;
}

.form-message {
  margin: 0;
  padding: .9rem 1rem;
  border-radius: var(--radius);
  background: #f8e3dc;
  color: #7a2b17;
  font-size: .95rem;
}

.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.booking-success {
  margin-top: 1.5rem;
  background: var(--white);
  padding: 2rem 1.5rem;
  text-align: center;
  border-radius: var(--radius);
  border-top: 3px solid var(--champagne);
}

/* CONTACT */
.contact {
  background: var(--brown);
  color: var(--cream);
}

.contact .eyebrow,
.contact .label {
  color: var(--champagne);
}

.contact-grid {
  display: grid;
  gap: 2rem;
}

.contact-list a:not(.btn) {
  font-family: var(--serif);
  font-size: 1.7rem;
  text-decoration: none;
  border-bottom: 1px solid var(--champagne);
}

.contact-list p {
  margin-bottom: 1.6rem;
}

.contact .btn-whatsapp {
  background: var(--champagne);
  border-color: var(--champagne);
  color: var(--brown);
}

.contact .btn-whatsapp:hover {
  background: var(--beige);
}

.contact-details {
  text-align: center;
  margin: 40px auto;
  width: 100%;
  max-width: 600px;
}

.contact-details p {
  text-align: center;
}

.contact-details .btn {
  display: inline-block;
}

.contact-details .btn-outline {
  color: #ffffff;
}

/* FOOTER */
.site-footer {
  background: #2a1c14;
  color: var(--beige);
  text-align: center;
  padding: 3.5rem 1.25rem 4.5rem;
}

.footer-brand {
  font-family: var(--serif);
  font-size: 1.5rem;
  letter-spacing: .22em;
  margin: 0 0 .2rem;
  color: var(--champagne);
}

.footer-tag {
  font-style: italic;
  font-family: var(--serif);
  font-size: 1.2rem;
}

.footer-links a {
  text-decoration: none;
  border-bottom: 1px solid rgba(201,169,110,.5);
}

.footer-links span {
  margin: 0 .6rem;
}

.copy {
  font-size: .8rem;
  opacity: .7;
  margin-top: 1.5rem;
}

/* FLOATING WHATSAPP */
.wa-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--champagne);
  color: var(--brown);
  box-shadow: 0 8px 22px rgba(62,42,31,.3);
  transition: transform .3s var(--ease);
}

.wa-float:hover {
  transform: scale(1.08);
}

/* SCROLL REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.no-js .reveal {
  opacity: 1;
  transform: none;
}

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* TABLET */
@media (min-width: 640px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .work-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
  }

  .booking-form {
    grid-template-columns: 1fr 1fr;
    padding: 2.5rem;
  }

  .field-wide {
    grid-column: 1 / -1;
  }
}

/* DESKTOP */
@media (min-width: 900px) {
  .site-header {
    padding: 0 3rem;
    height: 76px;
  }

  .nav-toggle {
    display: none;
  }

  .nav {
    position: static;
    display: flex;
    flex-direction: row;
    padding: 0;
    border: 0;
    background: none;
    gap: 2rem;
  }

  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }

  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .work-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .contact-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

/* IPHONE HERO VIDEO FIX */
@media screen and (max-width: 768px) {
  .hero {
    position: relative;
    height: 100svh;
    min-height: 650px;
    padding: 90px 18px 35px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
  }

  .hero-video {
    position: absolute;
    width: 100%;
    height: 100%;
    inset: 0;
    object-fit: cover;
    object-position: center center;
    transform: none;
  }

  .hero-overlay {
    background: linear-gradient(
      to bottom,
      rgba(0,0,0,.05) 0%,
      rgba(0,0,0,.10) 35%,
      rgba(0,0,0,.80) 100%
    );
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 20px 5px;
    position: relative;
    z-index: 2;
    text-align: center;
  }

  .hero h1 {
    font-size: 36px;
    line-height: 1.12;
  }

  .hero .lead {
    font-size: 15px;
    line-height: 1.6;
  }
}

/* ABOUT LOGO */
.about-image {
  aspect-ratio: 1 / 1;
  background: var(--white);
  border-radius: 4px;
  box-shadow: 18px 18px 0 var(--beige);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
  overflow: hidden;
}

.about-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}





/* TIKTOK VIDEOS - SEPARATE GALLERY */
#my-work .tiktok-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

#my-work .tiktok-grid .work-card {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  overflow: hidden;
  background: var(--cream);
}

#my-work .tiktok-grid iframe {
  display: block;
  width: 100%;
  height: 570px;
  border: 0;
  border-radius: 4px;
}

/* TABLET */
@media (max-width: 899px) {
  #my-work .tiktok-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* MOBILE */
@media (max-width: 600px) {
  #my-work .tiktok-grid {
    grid-template-columns: 1fr;
  }

  #my-work .tiktok-grid .work-card {
    max-width: 320px;
  }

  #my-work .tiktok-grid iframe {
    height: 570px;
  }
}