:root {
  --bg-main: #0a0a0a;
  --bg-card: #141414;
  --bg-overlay: rgba(0, 0, 0, 0.8);
  --text-main: #ffffff;
  --text-dim: #a0a0a0;
  --accent: #d4af37;
  --accent-hover: #b39025;
  --accent-gradient: linear-gradient(135deg, #f2d780 0%, #d4af37 50%, #9e7d1d 100%);
  --font-main: "Poppins", sans-serif;
  --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  --spring: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--bg-main);
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-main); }
::-webkit-scrollbar-thumb { background: var(--bg-card); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

body {
  font-family: var(--font-main);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul { list-style: none; }

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

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title p {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.section-title h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--text-main);
}

.btn-primary {
  display: inline-block;
  background: var(--accent-gradient);
  color: #000;
  padding: 0.9rem 2rem;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  border-radius: 3px;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
  transition: var(--spring);
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: var(--text-main);
  padding: 0.9rem 2rem;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 3px;
  cursor: pointer;
  transition: var(--spring);
  white-space: nowrap;
}

.btn-secondary:hover {
  background-color: var(--text-main);
  color: #000;
  border-color: var(--text-main);
  transform: translateY(-3px) scale(1.02);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.2rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 999;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

header.scrolled {
  padding: 0.8rem 5%;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.brand img {
  height: 48px;
  width: auto;
}

.nav-menu {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-menu ul {
  display: flex;
  gap: 2rem;
}

.nav-menu a {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dim);
  font-weight: 500;
  position: relative;
  padding-bottom: 2px;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: var(--accent-gradient);
  transition: var(--transition);
}

.nav-menu a:hover { color: var(--text-main); }
.nav-menu a:hover::after { width: 100%; }

.header-btns {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 1001;
  padding: 0.25rem;
}

.hero {
  min-height: 100vh;
  min-height: 100svh;
  background:
    linear-gradient(var(--bg-overlay), var(--bg-overlay)),
    url("../img/barbing.png") no-repeat center center / cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem 3rem;
}

.hero-content {
  max-width: 800px;
  width: 100%;
}

.hero-tagline {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 3.8rem);
  margin-bottom: 1.5rem;
  text-shadow: 0 5px 20px rgba(0, 0, 0, 0.8);
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: #cccccc;
  margin-bottom: 2.5rem;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

#services {
  padding: 6rem 5%;
  background-color: var(--bg-main);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: var(--bg-card);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 6px;
  transition: var(--spring);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.08);
}

.service-card i {
  font-size: 2.2rem;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.2rem;
  display: block;
  transition: var(--spring);
}

.service-card:hover i { transform: scale(1.1); }

.service-card h3 {
  margin-bottom: 0.4rem;
  font-size: 1.15rem;
}

.service-card .price {
  display: block;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.8rem;
  font-size: 1.05rem;
}

.service-card .per-game {
  font-size: 0.7em;
  color: var(--text-dim);
}

.service-card p {
  color: var(--text-dim);
  font-size: 0.9rem;
}

.prices-note {
  text-align: center;
  color: var(--text-dim);
  margin-top: 2rem;
  font-style: italic;
  font-size: 0.85rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

#about {
  padding: 6rem 5%;
  background-color: var(--bg-card);
}

.about-container {
  display: flex;
  align-items: center;
  gap: 4rem;
  max-width: 1100px;
  margin: 0 auto;
}

.about-img {
  flex: 1;
  position: relative;
  min-width: 0;
}

.about-img::before {
  content: "";
  position: absolute;
  top: -16px;
  left: -16px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--accent);
  border-radius: 6px;
  z-index: 0;
  pointer-events: none;
}

.about-img img {
  position: relative;
  z-index: 1;
  border-radius: 6px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  width: 100%;
}

.about-text {
  flex: 1;
  min-width: 0;
}

.about-label {
  color: var(--accent);
  letter-spacing: 2px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.about-text h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 1.2rem;
}

.about-text p {
  color: var(--text-dim);
  margin-bottom: 1.2rem;
  font-size: 1rem;
}

#experience {
  padding: 7rem 5%;
  background-color: var(--bg-main);
}

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

.experience-card {
  background: var(--bg-card);
  padding: 2.5rem 2rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.03);
  text-align: center;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  position: relative;
  overflow: hidden;
}

.experience-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.experience-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(212, 175, 55, 0.2);
  box-shadow: 0 20px 40px rgba(212, 175, 55, 0.1);
}

.experience-card:hover::before { transform: scaleX(1); }

.icon-wrapper {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.2);
  transition: var(--spring);
}

.experience-card:hover .icon-wrapper {
  background: var(--accent-gradient);
}

.icon-wrapper i {
  font-size: 1.8rem;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: var(--spring);
}

.experience-card:hover .icon-wrapper i {
  background: none;
  color: #000;
  -webkit-text-fill-color: #000;
}

.experience-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.experience-card p {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.7;
}

#gallery {
  padding: 7rem 5%;
  background-color: var(--bg-card);
  background-image:
    linear-gradient(rgba(20, 20, 20, 0.92), rgba(20, 20, 20, 0.92)),
    url("../img/interior.png");
  background-size: cover;
  background-position: center;
}

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

.gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  height: 380px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.5);
  cursor: pointer;
}

.gallery-item:nth-child(2),
.gallery-item:nth-child(3) {
  height: 480px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay span {
  color: var(--accent);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 1px;
  transform: translateY(16px);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-item:hover .gallery-overlay span { transform: translateY(0); }

.reveal-up {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92) translateY(30px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.25, 1, 0.5, 1);
}

.is-revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

#faq {
  padding: 6rem 5%;
  background-color: var(--bg-main);
}

.faq-container {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  background: var(--bg-card);
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item:hover { border-color: rgba(212, 175, 55, 0.15); }

.faq-question {
  width: 100%;
  background: transparent;
  color: var(--text-main);
  padding: 1.5rem 1.8rem;
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color 0.3s ease;
}

.faq-question:hover { color: var(--accent); }

.faq-question i {
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.faq-question.active { color: var(--accent); }
.faq-question.active i { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.faq-answer p {
  padding: 0 1.8rem 1.5rem;
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.7;
}

#contact {
  padding: 6rem 5%;
  background-color: var(--bg-card);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
}

.contact-item i {
  font-size: 1.8rem;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.6rem;
}

.contact-item h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.contact-item p {
  color: var(--text-dim);
  font-size: 0.95rem;
}

.contact-item a {
  color: var(--text-dim);
  transition: color 0.3s;
}

.contact-item a:hover { color: var(--accent); }

.contact-map {
  border-radius: 8px;
  overflow: hidden;
  height: 380px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

#booking {
  padding: 7rem 5%;
  background-color: var(--bg-main);
  background-image:
    linear-gradient(rgba(10, 10, 10, 0.92), rgba(10, 10, 10, 0.92)),
    url("../img/new-image-2.png");
  background-size: cover;
  background-position: center;
}

.booking-form {
  max-width: 760px;
  margin: 0 auto;
  background: rgba(20, 20, 20, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 3rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.full-width { grid-column: 1 / -1; }
.form-submit { text-align: center; }

label {
  font-size: 0.85rem;
  color: var(--text-dim);
  font-weight: 500;
}

input,
select,
textarea {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.85rem 1rem;
  color: var(--text-main);
  font-family: var(--font-main);
  font-size: 0.95rem;
  border-radius: 4px;
  width: 100%;
  transition: var(--transition);
  -webkit-appearance: none;
  appearance: none;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12);
  background: rgba(0, 0, 0, 0.5);
}

input::placeholder,
textarea::placeholder { color: rgba(255,255,255,0.25); }

textarea { resize: vertical; min-height: 90px; }

.service-tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.3rem;
}

.service-tag {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-dim);
  padding: 0.6rem 1.1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-main);
  outline: none;
}

.service-tag:hover {
  border-color: rgba(212, 175, 55, 0.5);
  color: var(--text-main);
}

.service-tag.selected {
  background: var(--accent-gradient);
  color: #000;
  border-color: transparent;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(212, 175, 55, 0.2);
}

footer {
  background-color: var(--bg-main);
  padding: 4rem 5%;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-brand {
  display: flex;
  justify-content: center;
  margin-bottom: 1.8rem;
}

.footer-brand img { height: 70px; width: auto; }

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.8rem;
  margin-bottom: 2rem;
  font-size: 1.7rem;
}

.social-links a {
  color: var(--text-dim);
  transition: var(--spring);
}

.social-links a:hover {
  color: var(--accent);
  transform: translateY(-4px);
}

.footer-copy {
  color: var(--text-dim);
  font-size: 0.8rem;
}

.toast-container {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast {
  background: var(--bg-card);
  color: var(--text-main);
  padding: 1rem 1.25rem;
  border-radius: 6px;
  border-left: 4px solid var(--accent);
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 280px;
  pointer-events: all;
  transform: translateX(110%);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.toast.show { transform: translateX(0); opacity: 1; }
.toast.success { border-left-color: #2ecc71; }
.toast.error { border-left-color: #e74c3c; }
.toast-icon { font-size: 1.1rem; flex-shrink: 0; }
.toast.success .toast-icon { color: #2ecc71; }
.toast.error .toast-icon { color: #e74c3c; }

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-gradient);
  color: #000;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 998;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

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

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.5);
}

@media (max-width: 992px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    left: auto;
    transform: none;
    width: min(300px, 80vw);
    height: 100vh;
    height: 100dvh;
    background: rgba(14, 14, 14, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    transition: right 0.45s cubic-bezier(0.175, 0.885, 0.32, 1);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
    z-index: 1000;
  }

  .nav-menu.active { right: 0; }

  .nav-menu ul {
    flex-direction: column;
    gap: 2.5rem;
    align-items: center;
  }

  .nav-menu a { font-size: 1.2rem; }

  .menu-toggle { display: block; }

  .hide-mobile { display: none !important; }

  .about-container {
    flex-direction: column;
    gap: 3.5rem;
  }

  .about-img::before { display: none; }

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

  .contact-map { height: 280px; }
}

@media (max-width: 768px) {
  #services,
  #about,
  #experience,
  #gallery,
  #faq,
  #contact,
  #booking {
    padding: 5rem 4%;
  }

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

  .booking-form { padding: 2rem 1.5rem; }

  .gallery-masonry {
    grid-template-columns: 1fr;
  }

  .gallery-item,
  .gallery-item:nth-child(2),
  .gallery-item:nth-child(3) {
    height: 280px;
  }

  .toast-container {
    top: auto;
    bottom: 5rem;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: calc(100% - 2rem);
    max-width: 400px;
  }

  .toast {
    transform: translateY(20px);
    min-width: unset;
    width: 100%;
    opacity: 0;
  }

  .toast.show {
    transform: translateY(0);
    opacity: 1;
  }

  .back-to-top {
    bottom: 1.5rem;
    right: 1.5rem;
  }

  .gallery-overlay {
    opacity: 1;
  }

  .gallery-overlay span {
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .hero { padding: 5rem 1.25rem 2rem; }

  .hero-btns {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

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

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

  .section-title h2 { font-size: 1.6rem; }
}
