html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "realistncs-black", sans-serif;
  font-weight: 900;
  font-style: normal;
  background: #F3E9DC;
  color: #1a1a1a;
}

body p {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: "fatfrank", sans-serif;
  font-weight: 400;
  font-style: normal;
}

header {
  background: #000000ff;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  position: relative;
}

.left-nav a,
.right-nav a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.left-nav a {
  margin-right: 1.5rem;
}

.left-nav a:hover,
.right-nav a:hover {
  color: #d4a017;
  transform: translateY(-2px);
}

.right-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Retro stripe under header */
header::after {
  content: "";
  position: absolute;
  bottom: -30px;
  left: 0;
  width: 100%;
  height: 30px;
  background: linear-gradient(
    to bottom,
    #d4a017 0%,
    #d4a017 31.5%,
    #000000 32%,
    #000000 34%,
    #e66a1f 35%,
    #e66a1f 64.5%,
    #000000 66%,
    #000000 67%,
    #2f5d3a 68%,
    #2f5d3a 98.5%,
    #000000 99%,
    #000000 100%
  );
}

.btn {
  background: #e66a1f;
  color: white;
  padding: 12px 20px;
  border-radius: 25px;
  text-decoration: none;
  display: inline-block;
  width: fit-content;
  transition: all 0.3s ease;
}

.btn:hover {
  background: #c55a1a;
  transform: scale(1.05);
}

.btn-dark {
  background: #2f5d3a;
}

.btn-dark:hover {
  background: #244a2e;
  transform: scale(1.05);
}

.btn-gold {
  background: #d4a017;
  color: black;
}

.btn-gold:hover {
  background: #b89414;
  transform: scale(1.05);
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 3rem;
  align-items: center;
  margin-top: 114px;
}

.hero h1 {
  font-size: 48px;
  line-height: 48px;
  margin-bottom: 1rem;
  margin-top: 0;
}

.hero p {
  margin-bottom: 1.4rem;
}

.hero img {
  width: 100%;
  border-radius: 30px;
}

.features {
  padding: 3rem;
  padding-top: 0rem;
}

.feature-container {
  background: #000000ff;
  border-radius: 30px;
  padding: 20px;
  position: relative;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: #efe6d8;
  border-radius: 30px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  min-height: 250px;
}

.card h3 {
  margin-top: 0;
}

.card p {
  flex-grow: 1;
  margin-bottom: 0.5rem;
}

.card a.btn {
  margin-top: auto;
}

.card-services h3 {
  color: #e66a1f;
}

.card-book h3 {
  color: #2f5d3a;
}

.card-visit h3 {
  color: #d4a017;
}

.about {
  padding: 3rem;
  padding-top: 0rem;
  text-align: center;
}

.about h2 {
  margin-bottom: 3rem;
  margin-top: 0;
  margin-left: auto;
  margin-right: auto;
}

.stylists {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
}

.stylist {
  background: transparent;
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  transition: box-shadow 0.3s ease;
  overflow: hidden;
}

.stylist:hover {
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25);
}

.stylist img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: 30px 30px 0 0;
  margin-bottom: 0;
}

.stylist h3 {
  margin: 0 0 0.5rem 0;
  color: #2f5d3a;
}

.stylist-text {
  border-radius: 0 0 30px 30px;
  padding: 1.25rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.stylist p {
  margin: 0;
  line-height: 1.4;
  color: #1a1a1a;
  flex-grow: 1;
}

/* Center the 3rd card */
/* .stylist:last-child {
  grid-column: 1 / -1;
  justify-self: center;
  width: min(100%, 535px);
} */

.logo-badge {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 345px;
  z-index: 5;
  display: flex;
  justify-content: center;
}

.logo-inner {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-inner img {
  width: 100%;
  height: auto;
}

footer {
  background: #2f5d3a;
  color: white;
  text-align: center;
  padding: 3rem;
  position: relative;
  clear: both;
}

footer p {
  margin-bottom: 1rem;
}

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 3rem;
  }

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

@media (max-width: 768px) {
  header {
    flex-wrap: wrap;
    gap: 0;
    padding: 1rem;
    justify-content: center;
  }

  header::after {
    display: none;
  }

  .left-nav a {
    display: none;
  }

  .right-nav {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 1rem;
  }

  .right-nav a {
    margin-right: 0;
    font-size: 16px;
  }

  .logo-badge {
    margin-top: 1.5rem;
    width: 80%;
    position: relative;
    top: auto;
  }

  .hero {
    margin-top: 1.5rem;
    gap: 1.5rem;
    padding-top: 0;
  }

  .hero img {
    height: auto;
    border-radius: 20px;
  }

  .cards {
    gap: 1rem;
  }

  .card {
    min-height: auto;
  }

  .card a.btn {
    margin-top: 1rem;
  }

  .stylists {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* .stylist:last-child {
    grid-column: auto;
    justify-self: stretch;
    width: 100%;
  } */
}

@media (max-width: 480px) {
  .hero,
  .features,
  .about,
  footer {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-bottom: 1.5rem;
  }

  footer {
    padding-top: 1.5rem;
  }

  .hero h1 {
    font-size: 1.7rem;
    line-height: 1.7rem;
  }

  .btn {
    text-align: center;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .card p {
    font-size: 1rem;
    margin-bottom: 0.2rem;
  }

  .about h2 {
    margin-bottom: 1.5rem;
  }

  .stylists {
    gap: 1.5rem;
  }
}