/* =========================================
   FADE THEORY - MAIN STYLESHEET
   ========================================= */


/* =========================================
   1. COLOURS
   ========================================= */

:root {
  --black: #10100f;
  --ink: #171715;
  --paper: #f3efe6;
  --sand: #c5bba8;
  --gold: #d7a75c;
  --line: rgba(243, 239, 230, 0.18);
}


/* =========================================
   2. GENERAL WEBSITE STYLING
   ========================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(1160px, calc(100% - 48px));
  margin: auto;
}

.eyebrow {
  margin: 0;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.88;
}

h1 {
  margin: 23px 0 28px;
  font-size: clamp(4rem, 10vw, 9.7rem);
}

h2 {
  margin-bottom: 28px;
  font-size: clamp(3rem, 6vw, 6rem);
}

h3 {
  font-size: 1.35rem;
}

em {
  color: var(--gold);
  font-family: Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.07em;
}

.body-copy,
.hero-copy {
  color: var(--sand);
  font-size: 1.05rem;
  line-height: 1.65;
}


/* =========================================
   3. NAVIGATION
   ========================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(16, 16, 15, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.brand img {
  width: 154px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav a:hover {
  color: var(--gold);
}

.nav-book,
.button {
  border: 1px solid var(--gold);
  padding: 12px 17px;
}

.menu-button {
  display: none;
  background: transparent;
  border: 0;
  color: var(--paper);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}


/* =========================================
   4. HERO SECTION
   ========================================= */

.hero {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  padding: 155px 0 50px;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(243, 239, 230, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 239, 230, 0.045) 1px, transparent 1px);
  background-size: 58px 58px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1160px;
}

.hero-copy {
  max-width: 460px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  margin-top: 35px;
}

.button {
  display: inline-flex;
  justify-content: space-between;
  gap: 32px;
  min-width: 200px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: 0.2s;
}

.button:hover {
  background: var(--paper);
  color: var(--black);
  transform: translateY(-2px);
}

.button-gold {
  background: var(--gold);
  color: var(--black);
}

.button-gold:hover {
  background: var(--paper);
}

.text-link {
  border-bottom: 1px solid var(--sand);
  padding-bottom: 7px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.text-link span {
  margin-left: 8px;
  color: var(--gold);
}

.gold {
  color: var(--gold);
}


/* =========================================
   RIGHT-SIDE TILTED FADE THEORY BLOCK
   ========================================= */

.hero-art {
  position: absolute;
  top: 20px; /* CHANGE THIS: smaller number = moves higher */
  right: -8%; /* CHANGE THIS: more negative = moves further right */

  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  width: 42%; /* CHANGE THIS: controls its overall size */
  height: 580px;

  padding: 50px;
  opacity: 0.9;

  background: linear-gradient(
    145deg,
    #b88742,
    #492a13 55%,
    #15120e
  );

  clip-path: polygon(
    19% 0,
    100% 0,
    100% 100%,
    0 100%,
    0 21%
  );

  transform: rotate(6deg);
}

.hero-art::before {
  position: absolute;
  inset: 27px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  content: "";
}

.hero-art p {
  position: relative;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(3rem, 7vw, 7rem);
  font-weight: 800;
  letter-spacing: -0.09em;
  line-height: 0.78;
}

.hero-art span {
  position: relative;
  color: var(--black);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-align: right;
}

.hero-meta {
  position: absolute;
  right: 4%;
  bottom: 32px;
  left: 4%;
  z-index: 2;

  display: flex;
  justify-content: space-between;

  color: var(--sand);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}


/* =========================================
   5. GENERAL SECTIONS
   ========================================= */

.section {
  padding: 125px 0;
}


/* =========================================
   6. INTRO SECTION
   ========================================= */

.intro {
  background: var(--paper);
  color: var(--black);
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 60px;
}

.intro .eyebrow {
  color: #956d33;
}

.intro .body-copy {
  max-width: 610px;
  color: #504d46;
}


/* =========================================
   7. SERVICES SECTION
   ========================================= */

.services {
  background: var(--ink);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 55px;
}

.section-heading > p {
  max-width: 310px;
  color: var(--sand);
  line-height: 1.6;
}

.service-list {
  border-top: 1px solid var(--line);
}

.service-item {
  display: grid;
  grid-template-columns: 70px 1fr 95px 24px;
  align-items: center;
  gap: 28px;

  padding: 27px 0;
  border-bottom: 1px solid var(--line);

  transition: 0.2s;
}

.service-item:hover {
  padding-left: 12px;
  color: var(--gold);
}

.service-item h3 {
  margin-bottom: 8px;
}

.service-item p {
  margin: 0;
  color: var(--sand);
  font-size: 0.9rem;
}

.service-number,
.service-arrow {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 800;
}

.service-item strong {
  font-size: 1rem;
  text-align: right;
}


/* =========================================
   8. GALLERY SECTION
   ========================================= */

.gallery {
  overflow: hidden;
}

.gallery-head {
  margin-bottom: 55px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  grid-template-rows: 260px 260px;
  gap: 13px;

  max-width: 1360px;
  margin: 0 auto;
}

.gallery-card {
  position: relative;
  display: flex;
  align-items: end;
  overflow: hidden;

  padding: 22px;
  background: linear-gradient(135deg, #2b251b, #806036);
}

/* This makes your haircut images fill each gallery box */
.gallery-card img {
  position: absolute;
  inset: 0;
  z-index: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
}

/* This is the thin white border over the photo */
.gallery-card::before {
  position: absolute;
  inset: 14px;
  z-index: 1;

  border: 1px solid rgba(255, 255, 255, 0.24);
  content: "";
}

/* This keeps 01, 02, 03 and 04 above the photo */
.gallery-card span {
  position: relative;
  z-index: 2;

  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.gallery-one {
  grid-row: span 2;
}

.gallery-three {
  grid-row: span 2;
}

.gallery-note {
  max-width: 1360px;
  margin: 18px auto 0;

  color: var(--sand);
  font-size: 0.77rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}


/* =========================================
   9. BARBERS / OWNER SECTION
   ========================================= */

.team {
  background: var(--paper);
  color: var(--black);
}

.team .eyebrow {
  color: #956d33;
}

.team-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
}

.barber-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.barber-portrait {
  position: relative;
  display: flex;
  align-items: end;
  justify-content: end;

  height: 370px;
  overflow: hidden;

  background: #1d1914;
}

/*  owner photos fit properly */
.barber-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.barber-card h3 {
  margin: 18px 0 7px;
  font-size: 1.4rem;
}

.barber-card p {
  color: #6b675f;
  font-size: 0.85rem;
}


/* =========================================
   10. BOOKING SECTION
   ========================================= */

.booking {
  padding: 115px 0;
  background: #1c1711;
}

.booking-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}

.booking-card {
  padding: 42px;
  background: var(--paper);
  color: var(--black);
}

.booking-label {
  color: #956d33;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.booking-card h3 {
  margin-bottom: 16px;
  font-size: 2.2rem;
}

.booking-card > p:not(.booking-label) {
  color: #5c5952;
  line-height: 1.55;
}

.full {
  width: 100%;
  margin-top: 15px;
}

.booking-details {
  display: grid;
  gap: 20px;

  margin-top: 35px;
  padding-top: 23px;
  border-top: 1px solid #bbb4a8;
}

.booking-details span {
  display: block;
  margin-bottom: 4px;

  color: #736e65;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.booking-details b {
  font-size: 0.85rem;
}


/* =========================================
   11. FOOTER
   ========================================= */

.site-footer {
  padding: 35px 0;
  background: #0b0b0a;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  align-items: center;
  gap: 30px;
}

.footer-grid .brand img {
  width: 120px;
}

.footer-grid p,
.footer-grid a {
  margin: 0;
  color: var(--sand);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}


/* =========================================
   12. MOBILE PHONE STYLING
   Only affects screens 800px and below
   ========================================= */

@media (max-width: 800px) {
  .container {
    width: min(100% - 32px, 1160px);
  }

  .menu-button {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 78px;
    right: 0;
    left: 0;

    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 19px;

    padding: 25px 24px;
    background: #171715;
    border-bottom: 1px solid var(--line);
  }

  .site-nav.open {
    display: flex;
  }

  .hero {
    min-height: 700px;
    padding-top: 105px;
  }

  h1 {
    font-size: 4.2rem;
  }

  /* MOBILE RIGHT-SIDE FADE THEORY BLOCK */
  .hero-art {
    top: 120px; /* Move higher/lower on mobile */
    right: -45%; /* Move further right if it covers words */
    width: 85%; /* Make it smaller/larger */
    height: 380px;
    opacity: 0.45;
  }

  .hero-content {
    position: relative;
    z-index: 3;
  }

  .intro-grid,
  .team-layout,
  .booking-layout {
    grid-template-columns: 1fr;
  }

  .section-heading {
    flex-direction: column;
    align-items: start;
  }

  .service-item {
    grid-template-columns: 34px 1fr 62px;
    gap: 15px;
  }

  .service-arrow {
    display: none;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 220px;
  }

  .gallery-one,
  .gallery-three {
    grid-row: auto;
  }

  .barber-portrait {
    height: 250px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .section {
    padding: 80px 0;
  }
}