@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700;900&display=swap');

:root {
  --black: #0d0d0d;
  --black-soft: #111111;
  --card: #1a1a1a;
  --red: #e82222;
  --red-dark: #bd1515;
  --white: #ffffff;
  --text: #cccccc;
  --muted: #9a9a9a;
  --line: rgba(255, 255, 255, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--black);
  color: var(--text);
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
}

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

label {
  display: block;
  color: #cccccc;
  margin-bottom: 6px;
  font-weight: bold;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  background: rgba(5, 5, 5, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.navbar {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto minmax(190px, 1fr);
  align-items: center;
  gap: 22px;
  width: min(1180px, calc(100% - 32px));
  min-height: 86px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  justify-self: start;
  color: var(--white);
  line-height: 1.15;
}

.brand span {
  font-size: 1.2rem;
  font-weight: 900;
}

.brand small {
  margin-top: 5px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 22px;
}

.nav-links a {
  position: relative;
  padding: 10px 0;
  color: var(--white);
  font-weight: 700;
  transition: all 0.3s ease;
}

.nav-links a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 3px;
  background: var(--red);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--red);
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-meta {
  display: flex;
  flex-direction: column;
  justify-self: end;
  color: var(--white);
  text-align: right;
}

.nav-meta strong {
  color: var(--red);
  font-size: 1rem;
}

.nav-meta span {
  color: var(--text);
  font-size: 0.88rem;
}

main {
  padding-top: 86px;
}

.hero {
  position: relative;
  display: grid;
  min-height: 680px;
  align-items: center;
  overflow: hidden;
  padding: 110px 20px;
  background-color: #222;
  background-position: center;
  background-size: cover;
  color: var(--white);
}

.hero-home {
  background-image: url("../images/hero-home.jpg");
}

.hero-services {
  background-image: url("../images/hero-services.jpg");
}

.hero-contact {
  background-image: url("../images/hero-contact.jpg");
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.hero-content.centered {
  text-align: center;
}

.hero h1 {
  max-width: 860px;
  margin: 0;
  color: var(--white);
  font-size: clamp(3rem, 8vw, 6.8rem);
  font-weight: 900;
  line-height: 0.98;
}

.page-hero {
  min-height: 430px;
}

.page-hero h1 {
  max-width: none;
}

.hero p {
  max-width: 780px;
  margin: 24px 0 0;
  color: var(--text);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 700;
}

.hero-content.centered p {
  margin-left: auto;
  margin-right: auto;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border: 2px solid transparent;
  border-radius: 3px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.2s ease;
}

.button-primary {
  background: var(--red);
  color: var(--white);
}

.button-primary:hover {
  background: var(--red-dark);
  transform: scale(1.03);
}

.button-outline {
  border-color: var(--white);
  background: transparent;
  color: var(--white);
}

.button-outline:hover {
  border-color: var(--red);
  background: var(--red);
  transform: scale(1.03);
}

.quick-services {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: min(1180px, calc(100% - 32px));
  margin: -54px auto 0;
  position: relative;
  z-index: 2;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.quick-service {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 108px;
  padding: 18px;
  border-right: 1px solid var(--line);
  color: var(--white);
  font-weight: 900;
  text-align: center;
  transition: all 0.3s ease;
}

.quick-service:last-child {
  border-right: 0;
}

.quick-service span {
  font-size: 1.7rem;
}

.quick-service:hover {
  color: var(--red);
  background: #111111;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 88px 0;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 900;
}

.section-heading p {
  margin: 14px 0 0;
  color: var(--text);
}

.feature-grid,
.service-grid {
  display: grid;
  gap: 24px;
}

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

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

.card {
  min-height: 250px;
  padding: 30px;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.26);
  transition: all 0.3s ease;
}

.card:hover {
  border-color: var(--red);
  box-shadow: 0 20px 44px rgba(232, 34, 34, 0.12);
  transform: translateY(-6px);
}

.card-icon {
  margin-bottom: 20px;
  color: var(--red);
  font-size: 2.1rem;
  font-weight: 900;
}

.card h2,
.card h3 {
  margin: 0 0 12px;
  color: var(--white);
  font-size: 1.35rem;
  font-weight: 900;
}

.card p {
  margin: 0;
  color: var(--text);
}

.service-card {
  display: flex;
  flex-direction: column;
}

.service-card p {
  flex-grow: 1;
  margin-bottom: 20px;
}

.service-book-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #e82222;
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.service-book-btn {
  align-self: flex-start;
  margin-top: 0;
}

.service-card .service-book-btn {
  align-self: flex-start;
}

.service-book-btn:hover {
  background-color: #c41a1a;
  transform: translateY(-2px);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 28px;
  align-items: start;
}

.contact-form,
.shop-info {
  padding: 32px;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.26);
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form h2,
.shop-info h2 {
  margin: 0 0 18px;
  color: var(--white);
  font-size: 1.65rem;
  font-weight: 900;
}

.contact-form label {
  color: var(--white);
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin-bottom: 20px;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #111111;
  color: var(--white);
  font: inherit;
  transition: all 0.3s ease;
}

.contact-form input:hover,
.contact-form textarea:hover,
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--red);
  outline: 3px solid rgba(232, 34, 34, 0.2);
}

.contact-form .button {
  justify-self: start;
  margin-top: 10px;
}

.booking-hero {
  background-color: #222;
  background-image: url("../images/hero-booking.jpg");
}

.thank-you-hero {
  background: #111111;
}

.thank-you-section {
  display: flex;
  justify-content: center;
}

.thank-you-card {
  width: min(760px, 100%);
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #1a1a1a;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.32);
  text-align: center;
}

.thank-you-icon {
  display: inline-grid;
  width: 70px;
  height: 70px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 50%;
  background: #e82222;
  color: #ffffff;
  font-size: 2.2rem;
  font-weight: 900;
}

.thank-you-card h2 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.thank-you-card p {
  margin: 0 auto 16px;
  max-width: 560px;
  color: var(--text);
}

.thank-you-meta a {
  color: #ffffff;
  font-weight: 900;
}

.thank-you-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

.booking-section {
  display: flex;
  justify-content: center;
}

.booking-form {
  display: grid;
  gap: 14px;
  width: min(700px, 100%);
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #1a1a1a;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.32);
}

.booking-form label {
  color: var(--white);
  font-weight: 700;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  margin-bottom: 20px;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #111111;
  color: var(--white);
  font: inherit;
  transition: all 0.3s ease;
}

.booking-form select {
  appearance: auto;
}

.booking-form input:hover,
.booking-form select:hover,
.booking-form textarea:hover,
.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  border-color: var(--red);
  outline: 3px solid rgba(232, 34, 34, 0.2);
}

.booking-form .button {
  justify-self: start;
  margin-top: 12px;
}

.contact-preference {
  display: flex;
  gap: 24px;
  margin-bottom: 20px;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #cccccc;
  cursor: pointer;
  font-weight: normal;
}

.radio-option input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: #e82222;
  cursor: pointer;
  margin-bottom: 0;
}

.radio-option:hover span {
  color: #ffffff;
}

.shop-info p {
  margin: 0 0 18px;
  color: var(--text);
}

.shop-info p:last-child {
  margin-bottom: 0;
}

.shop-info strong {
  color: var(--white);
}

.map-container {
  margin-top: 30px;
  border-radius: 10px;
  overflow: hidden;
}

.map-container iframe {
  display: block;
  background: #222;
}

.directions-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 12px 24px;
  border-radius: 6px;
  background-color: var(--red);
  color: var(--white);
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
}

.directions-btn:hover {
  background-color: var(--red-dark);
  transform: scale(1.03);
}

.site-footer {
  padding: 34px 20px 24px;
  background: #050505;
  border-top: 1px solid var(--line);
  color: var(--text);
  text-align: center;
}

.footer-grid {
  display: grid;
  gap: 8px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.site-footer p {
  margin: 0;
}

.site-footer strong {
  color: var(--white);
}

.copyright {
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 940px) {
  .navbar {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px 0;
    text-align: center;
  }

  .brand,
  .nav-meta {
    justify-self: center;
    text-align: center;
  }

  main {
    padding-top: 154px;
  }

  .hero {
    min-height: 580px;
  }

  .quick-services,
  .feature-grid,
  .service-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .quick-service {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .quick-service:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 560px) {
  .navbar {
    width: min(100% - 22px, 1180px);
  }

  .nav-links {
    gap: 14px;
  }

  .hero {
    min-height: 360px;
    padding: 48px 16px;
    background-position: center;
  }

  .page-hero {
    min-height: 300px;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section {
    width: min(100% - 24px, 1180px);
    padding: 64px 0;
  }

  .quick-services {
    width: min(100% - 24px, 1180px);
  }

  .card,
  .contact-form,
  .shop-info {
    padding: 24px;
  }
}
