/* =============================================
   VIKINGS BARBERSHOP — Dark / Red / White
   ============================================= */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:wght@300;400;500;600;700&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  --red: #8b0000;
  --red-light: #b91c1c;
  --red-dark: #6b0000;
  --dark: #0d0d0d;
  --darker: #080808;
  --card-bg: #1a1a1a;
  --card-border: #2a2a2a;
  --white: #ffffff;
  --white-muted: #cccccc;
  --white-dim: #999999;
  --green-whatsapp: #25d366;
  --font-heading: 'Bebas Neue', 'Impact', sans-serif;
  --font-body: 'Montserrat', -apple-system, sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s ease;
  --shadow-card: 0 8px 32px rgba(0,0,0,0.5);
  --shadow-red: 0 0 20px rgba(139,0,0,0.2);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--darker);
  color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea {
  font-family: var(--font-body);
  border: none;
  outline: none;
  background: none;
  color: var(--white);
}

/* ---------- Utility ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 400;
  text-align: center;
  margin-bottom: 12px;
  color: var(--white);
  letter-spacing: 3px;
}

.section-subtitle {
  text-align: center;
  color: var(--white-dim);
  font-size: 1.05rem;
  margin-bottom: 56px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.red-label {
  color: var(--red);
  font-size: 0.8rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 600;
}

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   SECTION 1 — NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: var(--dark);
  padding: 10px 0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.6);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  letter-spacing: 2px;
}

.nav-logo .icon { font-size: 1.2rem; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--white-muted);
  transition: color var(--transition);
  letter-spacing: 0.5px;
}
.nav-links a:hover { color: var(--red); }

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

.lang-toggle {
  background: transparent;
  border: 1px solid var(--red);
  color: var(--red);
  padding: 6px 16px;
  border-radius: 50px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 600;
  transition: all var(--transition);
}
.lang-toggle:hover {
  background: var(--red);
  color: var(--white);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: transparent;
  border: none;
}
.hamburger span {
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(8,8,8,0.97);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.mobile-menu.open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}
.mobile-menu a {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--white);
  transition: color var(--transition);
  letter-spacing: 2px;
}
.mobile-menu a:hover { color: var(--red); }

/* =============================================
   SECTION 2 — HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('images/hero-bg.png') center/cover no-repeat;
  filter: brightness(0.3);
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(139,0,0,0.15) 0%, rgba(8,8,8,0.7) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 24px;
}

.hero .red-label {
  margin-bottom: 24px;
  display: inline-block;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 400;
  line-height: 1.05;
  margin-bottom: 20px;
  letter-spacing: 4px;
  background: linear-gradient(135deg, var(--white) 0%, #ff9999 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--white-muted);
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--white);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(139,0,0,0.45);
  background: linear-gradient(135deg, var(--red-light), var(--red));
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--red);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid var(--red);
  transition: all var(--transition);
}
.btn-outline:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-2px);
}

.scroll-arrow {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  animation: bounce 2s infinite;
  font-size: 1.6rem;
  color: var(--red);
  cursor: pointer;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-12px); }
}

/* =============================================
   SECTION 3 — SERVICES
   ============================================= */
.services { background: var(--darker); }

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

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
  cursor: default;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--red);
  box-shadow: var(--shadow-red);
}

.service-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.service-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 4px;
  letter-spacing: 1px;
}

.service-name-hy {
  font-size: 0.85rem;
  color: var(--white-dim);
  margin-bottom: 14px;
}

.service-price {
  color: var(--red);
  font-weight: 700;
  font-size: 0.95rem;
}

/* =============================================
   SECTION 4 — GALLERY
   ============================================= */
.gallery { background: var(--dark); }

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

.gallery-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/5;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(139,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-overlay span {
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

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

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-img {
  max-width: 85%;
  max-height: 85vh;
  border-radius: var(--radius);
  object-fit: contain;
  box-shadow: 0 0 60px rgba(0,0,0,0.7);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  font-size: 2rem;
  color: var(--white);
  cursor: pointer;
  transition: color var(--transition);
  background: transparent;
  border: none;
}
.lightbox-close:hover { color: var(--red); }

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.4rem;
  color: var(--white);
  cursor: pointer;
  padding: 12px;
  border-radius: 50%;
  transition: all var(--transition);
  background: rgba(255,255,255,0.08);
  border: none;
}
.lightbox-arrow:hover {
  background: rgba(139,0,0,0.4);
  color: var(--red-light);
}
.lightbox-arrow.prev { left: 24px; }
.lightbox-arrow.next { right: 24px; }

/* =============================================
   SECTION 5 — ABOUT
   ============================================= */
.about { background: var(--darker); }

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3/4;
}
.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid var(--red);
  border-radius: var(--radius);
  opacity: 0.3;
}

.about-content .red-label { margin-bottom: 16px; display: inline-block; }

.about-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.about-text {
  color: var(--white-muted);
  font-size: 0.98rem;
  margin-bottom: 40px;
  line-height: 1.8;
}

.counters {
  display: flex;
  gap: 40px;
  margin-bottom: 36px;
}

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

.counter-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 400;
  color: var(--red);
  line-height: 1;
  letter-spacing: 1px;
}

.counter-label {
  font-size: 0.82rem;
  color: var(--white-dim);
  margin-top: 6px;
}

/* =============================================
   SECTION 6 — BOOKING
   ============================================= */
.booking { background: var(--dark); }

.booking-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.booking-tab {
  padding: 12px 28px;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  color: var(--white-muted);
  transition: all var(--transition);
}
.booking-tab.active {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.booking-tab:hover:not(.active) { border-color: var(--red); }

.tab-content { display: none; }
.tab-content.active { display: block; }

/* Form */
.booking-form {
  max-width: 640px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group { display: flex; flex-direction: column; }
.form-group.full { grid-column: 1 / -1; }

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white-dim);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 0.95rem;
  color: var(--white);
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--red); }

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

.form-group select option { background: var(--dark); color: var(--white); }

.form-submit-row {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 8px;
}

/* WhatsApp tab */
.whatsapp-content {
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
}
.whatsapp-icon { font-size: 4rem; margin-bottom: 20px; }
.whatsapp-content p {
  color: var(--white-muted);
  margin-bottom: 28px;
  font-size: 1rem;
}
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green-whatsapp);
  color: var(--white);
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}
.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37,211,102,0.3);
}

/* Call tab */
.call-content {
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
}
.call-icon { font-size: 4rem; margin-bottom: 16px; }
.call-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 400;
  color: var(--red);
  margin-bottom: 12px;
  letter-spacing: 2px;
}
.call-number.secondary {
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: var(--white-dim);
}
.call-number.secondary a { color: var(--white-dim); }
.call-number a { color: var(--red); }
.call-hours {
  color: var(--white-dim);
  font-size: 0.92rem;
  margin-bottom: 28px;
  line-height: 1.8;
}

/* Booking success message */
.booking-success {
  text-align: center;
  padding: 60px 20px;
  display: none;
}
.booking-success.show { display: block; }
.booking-success .checkmark { font-size: 3rem; margin-bottom: 16px; }
.booking-success p {
  font-size: 1.1rem;
  color: var(--white-muted);
}

/* =============================================
   SECTION 7 — LOCATION
   ============================================= */
.location { background: var(--darker); }

.location-center {
  max-width: 700px;
  margin: 0 auto;
}

.location-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}
.location-card:hover { border-color: var(--red); }

.location-map {
  width: 100%;
  height: 280px;
  border: none;
}

.location-info {
  padding: 28px;
}

.location-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 16px;
  color: var(--red);
  letter-spacing: 2px;
}

.location-detail {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.92rem;
  color: var(--white-muted);
}
.location-detail .loc-icon { flex-shrink: 0; }
.location-detail a { color: var(--red); }

.location-directions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--red);
  font-weight: 600;
  font-size: 0.92rem;
  transition: gap var(--transition);
}
.location-directions:hover { gap: 12px; }

/* =============================================
   SECTION 8 — CONTACT
   ============================================= */
.contact { background: var(--dark); }

.contact-icons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.contact-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 32px 20px;
  text-align: center;
  transition: all var(--transition);
}
.contact-card:hover {
  border-color: var(--red);
  transform: translateY(-4px);
}
.contact-card .card-icon { font-size: 2rem; margin-bottom: 14px; }
.contact-card .card-label {
  font-size: 0.88rem;
  color: var(--white-muted);
}
.contact-card a {
  color: var(--red);
  font-weight: 600;
  display: block;
  margin-top: 6px;
  font-size: 1rem;
  transition: color var(--transition);
}
.contact-card a:hover { color: var(--red-light); }

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.contact-form .form-group.full { grid-column: 1 / -1; }
.contact-form .form-submit-row { grid-column: 1 / -1; text-align: center; margin-top: 8px; }

/* Toast */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: var(--card-bg);
  border: 1px solid var(--red);
  color: var(--white);
  padding: 16px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  z-index: 3000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s ease;
  box-shadow: var(--shadow-card);
}
.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* =============================================
   SECTION 9 — FOOTER
   ============================================= */
.footer {
  background: var(--darker);
  padding: 60px 0 24px;
  border-top: 2px solid var(--red);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .nav-logo { margin-bottom: 12px; }
.footer-brand p {
  color: var(--white-dim);
  font-size: 0.88rem;
  font-style: italic;
}
.footer-brand .footer-location {
  color: var(--white-dim);
  font-size: 0.85rem;
  margin-top: 4px;
  font-style: normal;
}

.footer-links-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--red);
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a {
  color: var(--white-dim);
  font-size: 0.88rem;
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--red); }

.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all var(--transition);
}
.footer-social a:hover {
  border-color: var(--red);
  background: rgba(139,0,0,0.15);
}

.footer-bottom {
  border-top: 1px solid var(--card-border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--white-dim);
}
.footer-bottom a { color: var(--red); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  
  .hero-title { font-size: clamp(2rem, 9vw, 3rem); }

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

  .about-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .counters {
    justify-content: center;
    flex-wrap: wrap;
  }

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

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

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-social { justify-content: center; }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .lightbox-arrow { font-size: 1.6rem; padding: 8px; }
  .lightbox-arrow.prev { left: 12px; }
  .lightbox-arrow.next { right: 12px; }
}
