/* ===========================
   BARBERHAUS — PREMIUM BARBERSHOP
   CSS STYLESHEET
   =========================== */

/* ===== VARIABLES ===== */
:root {
  --gold: #d4af37;
  --gold-dark: #b8941f;
  --dark: #1a1a1a;
  --dark-alt: #2a2a2a;
  --dark-light: #3a3a3a;
  --white: #ffffff;
  --white-soft: #f5f5f5;
  --text-muted: #999;
  --transition: all 0.3s ease;
}

/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--dark);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* ===== LANGUAGE TOGGLE ===== */
.language-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 10000;
  display: flex;
  gap: 8px;
  background: var(--dark-alt);
  padding: 6px;
  border-radius: 50px;
  border: 1px solid var(--dark-light);
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
}

.lang-btn.active {
  background: var(--gold);
  color: var(--dark);
}

.lang-btn:hover {
  opacity: 0.8;
}

@media (max-width: 768px) {
  .language-toggle {
    bottom: 16px;
    right: 16px;
  }
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
  padding: 1.2rem 0;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-main {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
}

.logo-sub {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
}

.nav-menu {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-menu a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--white);
  transition: var(--transition);
  position: relative;
}

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

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.btn-book {
  background: var(--gold);
  color: var(--dark);
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}

.btn-book:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

@media (max-width: 992px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--dark-alt);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem;
    gap: 2rem;
    transition: var(--transition);
    border-left: 1px solid var(--dark-light);
  }

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

  .menu-toggle {
    display: flex;
  }

  .btn-book {
    display: none;
  }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--dark) 0%, #0f0f0f 100%);
  z-index: -2;
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 35px,
    rgba(212, 175, 55, 0.02) 35px,
    rgba(212, 175, 55, 0.02) 70px
  );
  z-index: -1;
}

.hero-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.hero-title em {
  color: var(--gold);
  font-style: italic;
  font-weight: 600;
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--gold);
  color: var(--dark);
}

.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--dark);
}

.btn-ghost {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}

.btn-ghost:hover {
  background: rgba(212, 175, 55, 0.1);
}

.hero-stats {
  display: flex;
  gap: 3rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-visual {
  position: relative;
}

.hero-image-wrap {
  position: relative;
  overflow: visible; /* FIXED: was overflow: hidden */
}

.hero-image-wrap img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  border-radius: 16px;
}

.hero-float-card {
  position: absolute;
  bottom: -30px;
  right: -30px;
  background: var(--dark-alt);
  border: 1px solid var(--gold);
  border-radius: 16px;
  padding: 1.5rem 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  min-width: 200px;
}

.card-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.card-value {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.card-sub {
  font-size: 0.85rem;
  color: var(--white);
}

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

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-image-wrap img {
    height: 400px;
  }

  .hero-float-card {
    bottom: -20px;
    right: -20px;
  }
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== SECTIONS ===== */
.services-section,
.split-section,
.team-section,
.gallery-section,
.testimonials-section,
.cta-section {
  padding: 6rem 0;
}

/* ===== SECTION HEADER ===== */
.section-header {
  margin-bottom: 3rem;
}

.section-header.center {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.eyebrow {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 1rem;
  font-weight: 600;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.75rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
}

.gold-rule {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
  color: var(--gold);
  font-size: 1.5rem;
}

.gold-rule::before,
.gold-rule::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--dark-alt);
  border: 1px solid var(--dark-light);
  border-radius: 12px;
  padding: 2.5rem;
  text-align: center;
  transition: var(--transition);
}

.service-card:hover {
  border-color: var(--gold);
  transform: translateY(-5px);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--gold);
}

.service-card p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.service-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
}

.service-price span {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-left: 0.5rem;
}

/* ===== SPLIT SECTION ===== */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split-image {
  position: relative;
}

.split-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 12px;
}

.gold-line-accent {
  position: absolute;
  bottom: -15px;
  right: -15px;
  width: 200px;
  height: 200px;
  border: 2px solid var(--gold);
  border-radius: 12px;
  z-index: -1;
}

.split-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
}

.split-text p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.checklist {
  list-style: none;
  margin: 2rem 0;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
  color: var(--white);
}

.checklist li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  font-size: 1.25rem;
}

@media (max-width: 992px) {
  .split-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ===== TEAM ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.barber-card {
  background: var(--dark-alt);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.barber-card:hover {
  transform: translateY(-10px);
}

.barber-photo {
  position: relative;
  overflow: hidden;
}

.barber-photo img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: var(--transition);
}

.barber-card:hover .barber-photo img {
  transform: scale(1.05);
}

.barber-photo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(26, 26, 26, 0.8) 0%, transparent 50%);
}

.barber-info {
  padding: 2rem;
}

.barber-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--gold);
}

.barber-role {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.barber-info p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.barber-socials {
  display: flex;
  gap: 1rem;
}

.barber-socials a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark);
  border: 1px solid var(--dark-light);
  border-radius: 50%;
  color: var(--gold);
  transition: var(--transition);
}

.barber-socials a:hover {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(212, 175, 55, 0.9) 0%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  color: var(--dark);
  font-weight: 700;
  font-size: 1.125rem;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item.tall,
  .gallery-item.wide {
    grid-row: span 1;
    grid-column: span 1;
  }
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--dark-alt);
  border: 1px solid var(--dark-light);
  border-radius: 12px;
  padding: 2.5rem;
}

.stars {
  color: var(--gold);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.testimonial-quote {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  color: var(--gold);
  opacity: 0.2;
  line-height: 0.5;
  margin-bottom: 1rem;
}

.testimonial-text {
  color: var(--white);
  line-height: 1.8;
  margin-bottom: 2rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}

.author-info strong {
  display: block;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.author-info span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== CTA ===== */
.cta-section {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, transparent 100%);
  text-align: center;
  padding: 5rem 2rem;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.cta-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.75rem;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  border-top: 1px solid var(--dark-light);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

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

.footer-brand p {
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 350px;
  margin-bottom: 1.5rem;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark-alt);
  border: 1px solid var(--dark-light);
  border-radius: 50%;
  color: var(--gold);
  transition: var(--transition);
}

.footer-socials a:hover {
  background: var(--gold);
  color: var(--dark);
}

.footer-col h4 {
  color: var(--gold);
  margin-bottom: 1.5rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.125rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col a {
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--dark-light);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-bottom > div {
  margin-top: 1rem;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== REVEAL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ===== UTILITIES ===== */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .stat-num {
    font-size: 2rem;
  }

  .btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
  }
}
