/* ==========================================================================
   Fashion Barber Shop — stylesheet
   Palette: gray-900 #111827 · yellow-500 #eab308 · white
   ========================================================================== */

:root {
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-100: #f3f4f6;
  --gray-50: #f9fafb;
  --yellow-500: #eab308;
  --yellow-400: #facc15;
  --white: #ffffff;
  --black: #000000;

  --header-h: 5.5rem;
  --radius: 0.75rem;
  --radius-lg: 1rem;
  --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--gray-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

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

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.2;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Layout helpers ---------------------------------------------------------- */

.container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: 5rem 0;
}

.section--light {
  background: var(--gray-50);
}

.section--white {
  background: var(--white);
}

.section--dark {
  background: var(--gray-900);
}

.section-head {
  text-align: center;
  margin-bottom: 4rem;
}

.section-head h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-head p {
  font-size: 1.25rem;
  max-width: 48rem;
  margin: 0 auto;
  color: var(--gray-600);
}

.section--dark .section-head h2 {
  color: var(--white);
}

.section--dark .section-head p {
  color: var(--gray-300);
}

/* Buttons ----------------------------------------------------------------- */

.btn {
  display: inline-block;
  border: 0;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.2s, color 0.2s, transform 0.2s;
}

.btn--primary {
  background: var(--yellow-500);
  color: var(--gray-900);
  padding: 0.5rem 1.5rem;
}

.btn--primary:hover {
  background: var(--yellow-400);
}

.btn--lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 700;
  box-shadow: var(--shadow);
}

.btn--lg:hover {
  transform: scale(1.05);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 700;
}

.btn--ghost:hover {
  background: var(--white);
  color: var(--gray-900);
}

/* Icons ------------------------------------------------------------------- */

.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon--md {
  width: 1.5rem;
  height: 1.5rem;
}

.icon--lg {
  width: 2rem;
  height: 2rem;
}

.icon--star {
  fill: currentColor;
  stroke: none;
}

/* Header ------------------------------------------------------------------ */

.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
  background: transparent;
  transition: background-color 0.3s, box-shadow 0.3s;
}

.header.is-scrolled {
  background: rgba(17, 24, 39, 0.95);
  backdrop-filter: blur(4px);
  box-shadow: var(--shadow);
}

.header__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.header__logo img {
  width: clamp(4rem, 18vw, 6rem);
}

.header__nav {
  display: none;
  gap: 2rem;
}

.header__nav a {
  color: var(--white);
  font-weight: 500;
  transition: color 0.2s;
}

.header__nav a:hover {
  color: var(--yellow-500);
}

.header__cta {
  display: none;
}

.header__toggle {
  background: none;
  border: 0;
  color: var(--white);
  cursor: pointer;
  padding: 0.25rem;
}

.header__mobile {
  display: none;
  background: rgba(17, 24, 39, 0.95);
  backdrop-filter: blur(4px);
  border-radius: var(--radius);
  margin-bottom: 0.5rem;
  padding: 1rem;
}

.header__mobile.is-open {
  display: block;
}

.header__mobile nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.header__mobile a:not(.btn) {
  color: var(--white);
  transition: color 0.2s;
}

.header__mobile a:not(.btn):hover {
  color: var(--yellow-500);
}

/* Hero -------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url("../whatsapp_image_2026-01-02_at_20.48.13.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.7);
}

.hero__inner {
  position: relative;
  max-width: 80rem;
  margin: 0 auto;
  padding: 8rem 1rem;
}

.hero__content {
  max-width: 48rem;
}

.hero__rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 1rem;
  color: var(--yellow-500);
}

.hero__rating span {
  color: var(--white);
  margin-left: 0.5rem;
}

.hero h1 {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero h1 .accent {
  display: block;
  color: var(--yellow-500);
}

.hero__lead {
  font-size: 1.25rem;
  color: var(--gray-300);
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero__meta {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  color: var(--white);
}

.hero__meta div {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero__meta .icon {
  color: var(--yellow-500);
}

.hero__meta a,
.hero__meta span {
  color: var(--gray-300);
}

/* Services / price list --------------------------------------------------- */

.price-group + .price-group {
  margin-top: 3rem;
}

.price-group__title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.price-group__title .icon {
  color: var(--yellow-500);
}

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

.price-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: box-shadow 0.3s, transform 0.3s;
}

.price-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.price-card__icon {
  color: var(--yellow-500);
  margin-bottom: 1rem;
}

.price-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.price-card p {
  color: var(--gray-600);
  margin-bottom: 1rem;
  flex-grow: 1;
}

.price-card__amount {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--yellow-500);
}

/* Premium variant sits on a dark card to set it apart from Standard. */
.price-group--premium .price-card {
  background: var(--gray-900);
  border-color: var(--gray-800);
}

.price-group--premium .price-card h4 {
  color: var(--white);
}

.price-group--premium .price-card p {
  color: var(--gray-400);
}

.price-note {
  margin-top: 4rem;
  text-align: center;
  background: var(--gray-900);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-xl);
}

.price-note h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.price-note p {
  color: var(--gray-300);
}

/* About ------------------------------------------------------------------- */

.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

.about h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.about p {
  font-size: 1.125rem;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.about__stat {
  text-align: center;
}

.about__stat .icon {
  color: var(--yellow-500);
  margin: 0 auto 0.5rem;
}

.about__stat strong {
  display: block;
  font-size: 1.875rem;
  font-weight: 700;
}

.about__stat span {
  color: var(--gray-600);
  font-weight: 500;
}

.about__media {
  position: relative;
}

.about__media img {
  width: 100%;
  height: 24rem;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.about__badge {
  position: absolute;
  bottom: -1.5rem;
  left: -0.5rem;
  background: var(--yellow-500);
  color: var(--gray-900);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about__badge strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
}

.about__badge span {
  font-size: 0.875rem;
}

/* Gallery ----------------------------------------------------------------- */

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

.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.gallery__item img {
  width: 100%;
  height: 16rem;
  object-fit: cover;
  transition: transform 0.3s;
}

.gallery__item:hover img {
  transform: scale(1.1);
}

.gallery__caption {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  color: var(--white);
  font-weight: 600;
  background: rgba(234, 179, 8, 0);
  opacity: 0;
  transition: opacity 0.3s, background-color 0.3s;
}

.gallery__item:hover .gallery__caption {
  opacity: 1;
  background: rgba(234, 179, 8, 0.2);
}

.gallery__footer {
  text-align: center;
  margin-top: 3rem;
}

/* Testimonials ------------------------------------------------------------ */

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.testimonial {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: box-shadow 0.3s, transform 0.3s;
}

.testimonial:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.testimonial__mark {
  color: var(--yellow-500);
  margin-bottom: 1rem;
}

.testimonial__text {
  color: var(--gray-700);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial__name {
  font-weight: 600;
}

.testimonial__stars {
  display: flex;
  gap: 0.125rem;
  color: var(--yellow-500);
  margin-top: 0.25rem;
}

.testimonial__stars .icon {
  width: 1rem;
  height: 1rem;
}

.rating-badge {
  display: inline-block;
  margin-top: 4rem;
  background: var(--yellow-500);
  color: var(--gray-900);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.rating-badge__stars {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.rating-badge__stars .icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--gray-900);
}

.rating-badge strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.text-center {
  text-align: center;
}

/* Contact ----------------------------------------------------------------- */

.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 56rem;
  margin: 0 auto;
}

.contact h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2rem;
}

.contact__list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact__item .icon {
  color: var(--yellow-500);
  margin-top: 0.25rem;
}

.contact__item h4 {
  color: var(--white);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact__item a,
.contact__item p {
  color: var(--gray-300);
}

.contact__item a:hover {
  color: var(--yellow-500);
}

.contact__card {
  margin-top: 2rem;
  background: var(--yellow-500);
  color: var(--gray-900);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.contact__card h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.contact__aside p {
  color: var(--gray-300);
  margin-bottom: 1.5rem;
}

/* Footer ------------------------------------------------------------------ */

.footer {
  background: var(--black);
  color: var(--white);
  /* Extra bottom padding keeps the last line clear of the floating
     back-to-top button when the page is scrolled all the way down. */
  padding: 3rem 0 5.5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.footer__brand img {
  width: clamp(5rem, 22vw, 7rem);
  margin-bottom: 1.5rem;
}

.footer__brand p {
  color: var(--gray-400);
  margin-bottom: 1.5rem;
  max-width: 28rem;
}

.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--gray-800);
  border-radius: 0.5rem;
  transition: background-color 0.2s, color 0.2s;
}

.footer__social a:hover {
  background: var(--yellow-500);
  color: var(--gray-900);
}

.footer h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.footer__links li + li {
  margin-top: 0.75rem;
}

.footer__links a {
  color: var(--gray-400);
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--yellow-500);
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer__contact div {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer__contact .icon {
  color: var(--yellow-500);
}

.footer__contact a,
.footer__contact span {
  color: var(--gray-300);
}

.footer__bottom {
  border-top: 1px solid var(--gray-800);
  margin-top: 3rem;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer__bottom p {
  color: var(--gray-400);
  font-size: 0.875rem;
}

/* Back to top ------------------------------------------------------------- */

.to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 40;
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 50%;
  background: var(--yellow-500);
  color: var(--gray-900);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.5rem);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background-color 0.2s;
  box-shadow: var(--shadow);
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  background: var(--yellow-400);
}

/* Responsive -------------------------------------------------------------- */

@media (min-width: 640px) {
  .container,
  .hero__inner {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .hero__actions,
  .hero__meta {
    flex-direction: row;
  }

  .hero__meta {
    gap: 1.5rem;
  }

  .price-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 3.75rem;
  }

  .header__nav,
  .header__cta {
    display: flex;
  }

  .header__toggle {
    display: none;
  }

  .header__mobile,
  .header__mobile.is-open {
    display: none;
  }

  .gallery__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Taller cells suit the portrait-orientation shop photos. */
  .gallery__item img {
    height: 20rem;
  }

  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .container,
  .hero__inner {
    padding-left: 2rem;
    padding-right: 2rem;
  }

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

  .about__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}
