/* =====================================================
   BARBER SHOP DOMINIK — Main Stylesheet
   Urban Retro Color Palette
   ===================================================== */

/* ---- FONTS ---- */
@font-face {
  font-family: 'Playfair Display';
  src: url('fonts/playfair-display-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('fonts/playfair-display-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/inter-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/inter-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ---- CSS VARIABLES ---- */
:root {
  --primary:     #B22222;
  --primary-dark:#8B1A1A;
  --accent:      #DAA520;
  --teal:        #2F4F4F;
  --teal-light:  #3d6363;
  --silver:      #C0C0C0;
  --blue-grey:   #6A8EAE;
  --tan:         #D2B48C;
  --neutral-bg:  #F8F8F8;
  --white:       #ffffff;
  --text-dark:   #1a1a1a;
  --text-muted:  #555555;
  --radius:      6px;
  --radius-lg:   12px;
  --shadow:      0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg:   0 8px 40px rgba(0,0,0,0.15);
  --transition:  0.3s ease;
  --font-heading:'Playfair Display', Georgia, serif;
  --font-body:   'Inter', Arial, sans-serif;
  --max-width:   1140px;
}

/* ---- 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-color: var(--neutral-bg);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

/* ---- CONTAINER ---- */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ---- SECTION HELPERS ---- */
.section { padding: 96px 0; }
.section-dark { background: var(--teal); color: var(--white); }
.section-accent { background: var(--primary); color: var(--white); }

.section-header { text-align: center; margin-bottom: 56px; }

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.section-label.light { color: var(--accent); }

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 16px;
}
.section-title.light { color: var(--white); }

.section-intro {
  max-width: 540px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.05rem;
}
.section-intro.light { color: rgba(255,255,255,0.80); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  padding: 14px 32px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform 0.15s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }

.btn-white {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}
.btn-white:hover { background: var(--neutral-bg); }

.btn-full { width: 100%; text-align: center; }

/* =====================================================
   HEADER / NAV
   ===================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(26, 26, 26, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--primary);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}
.logo-icon {
  font-size: 1.5rem;
  color: var(--accent);
}
.logo-text strong { color: var(--accent); }

.nav { display: flex; align-items: center; gap: 0; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  color: rgba(255,255,255,0.82);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover { color: var(--white); background: rgba(255,255,255,0.08); }

.nav-link.cta-nav {
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
  padding: 8px 20px;
  margin-left: 8px;
}
.nav-link.cta-nav:hover { background: var(--primary-dark); }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: 12px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d1010 45%, #1a2a2a 100%);
  overflow: hidden;
  padding-top: 68px;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      45deg,
      rgba(218,165,32,0.04) 0px,
      rgba(218,165,32,0.04) 1px,
      transparent 1px,
      transparent 60px
    ),
    repeating-linear-gradient(
      -45deg,
      rgba(178,34,34,0.06) 0px,
      rgba(178,34,34,0.06) 1px,
      transparent 1px,
      transparent 60px
    );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 80px 0 120px;
}

.hero-badge {
  display: inline-block;
  background: var(--accent);
  color: #1a1a1a;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 24px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.4);
}
.hero-title em { color: var(--accent); font-style: normal; }

.hero-sub {
  max-width: 560px;
  margin: 0 auto 40px;
  color: rgba(255,255,255,0.78);
  font-size: 1.1rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 36px;
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  margin-top: 4px;
  letter-spacing: 0.05em;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.2);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.scroll-arrow {
  font-size: 1.6rem;
  color: rgba(255,255,255,0.5);
  animation: bounce 2s infinite;
  display: block;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* =====================================================
   ABOUT
   ===================================================== */
.about { background: var(--neutral-bg); }

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

.about-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-badge-box {
  width: 280px;
  height: 280px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
  border: 3px solid var(--accent);
}
.scissors-big {
  font-size: 5rem;
  color: var(--accent);
  line-height: 1;
}
.badge-tagline {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--white);
  letter-spacing: 0.06em;
}

.about-deco-stripe {
  position: absolute;
  top: 24px;
  left: 24px;
  width: 280px;
  height: 280px;
  border-radius: var(--radius-lg);
  background: var(--primary);
  opacity: 0.18;
  z-index: 1;
}

.about-text { }

.section-label { display: block; }

.about-text .section-label { margin-bottom: 10px; }
.about-text .section-title { margin-bottom: 20px; }

.about-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1.02rem;
}

.about-features {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.about-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.98rem;
  color: var(--text-dark);
  font-weight: 500;
}
.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* =====================================================
   SERVICES
   ===================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.service-card:hover {
  background: rgba(255,255,255,0.10);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}

.service-icon {
  font-size: 2.4rem;
  margin-bottom: 20px;
  color: var(--accent);
  line-height: 1;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.service-card p {
  color: rgba(255,255,255,0.72);
  font-size: 0.96rem;
  line-height: 1.75;
}

.service-tag {
  display: inline-block;
  margin-top: 20px;
  background: var(--accent);
  color: #1a1a1a;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
}

/* =====================================================
   WHY CHOOSE US
   ===================================================== */
.why { background: var(--white); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.why-card {
  background: var(--neutral-bg);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border-top: 4px solid var(--primary);
  transition: transform var(--transition), box-shadow var(--transition);
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.why-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  line-height: 1;
}

.why-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.why-card p {
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.7;
}

/* =====================================================
   HOURS
   ===================================================== */
.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.hours-text .section-label { margin-bottom: 10px; }
.hours-text .section-title { margin-bottom: 16px; }

.hours-note {
  color: rgba(255,255,255,0.80);
  margin-bottom: 32px;
  font-size: 1.02rem;
}

.hours-table-wrap {
  background: rgba(255,255,255,0.10);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(4px);
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}
.hours-table td {
  padding: 14px 0;
  font-size: 1.02rem;
  color: rgba(255,255,255,0.90);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.hours-table td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--accent);
}
.hours-table tr:last-child td { border-bottom: none; }
.closed-row td { color: rgba(255,255,255,0.45) !important; }

/* =====================================================
   CONTACT
   ===================================================== */
.contact { background: var(--neutral-bg); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: start;
}

.contact-info .section-label { margin-bottom: 10px; }
.contact-info .section-title { margin-bottom: 16px; }

.contact-info > p {
  color: var(--text-muted);
  margin-bottom: 36px;
  font-size: 1.02rem;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-icon {
  font-size: 1.4rem;
  line-height: 1;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-list li div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.contact-list li strong {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dark);
}
.contact-list li span {
  color: var(--text-muted);
  font-size: 1rem;
}
.contact-list li a {
  color: var(--primary);
  font-weight: 500;
  transition: color var(--transition);
}
.contact-list li a:hover { color: var(--primary-dark); }

/* Form */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--primary);
}

.contact-form h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 28px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 0.03em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.97rem;
  color: var(--text-dark);
  background: var(--neutral-bg);
  border: 1.5px solid var(--silver);
  border-radius: var(--radius);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(178,34,34,0.12);
}

.form-success {
  margin-top: 14px;
  font-size: 0.93rem;
  color: #2a7a3b;
  font-weight: 600;
  min-height: 1.2em;
}

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
  background: #111111;
  padding: 40px 0;
  border-top: 3px solid var(--primary);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.1rem;
}
.footer-brand .logo-icon { color: var(--accent); font-size: 1.4rem; }
.footer-brand strong { color: var(--accent); }

.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-nav a {
  color: rgba(255,255,255,0.60);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--accent); }

.footer-copy {
  color: rgba(255,255,255,0.35);
  font-size: 0.82rem;
}

/* =====================================================
   BACK TO TOP
   ===================================================== */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: var(--white);
  font-size: 1.4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  z-index: 99;
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}
.back-to-top:hover { transform: translateY(-3px); background: var(--primary-dark); }

/* =====================================================
   RESPONSIVE
   ===================================================== */

/* Tablet */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .hours-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-form-wrap { padding: 36px 28px; }
}

/* Mobile */
@media (max-width: 768px) {
  .section { padding: 72px 0; }

  /* Nav */
  .nav-toggle { display: flex; }
  .nav-list {
    display: none;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: rgba(20,20,20,0.98);
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 24px 0 32px;
    border-bottom: 2px solid var(--primary);
  }
  .nav-list.open { display: flex; }
  .nav-link {
    padding: 14px 24px;
    width: 100%;
    text-align: center;
    border-radius: 0;
    font-size: 1rem;
  }
  .nav-link.cta-nav { margin: 12px 24px 0; width: calc(100% - 48px); border-radius: var(--radius); }

  .hero-title { font-size: clamp(2.2rem, 9vw, 3.5rem); }
  .hero-content { padding: 60px 0 100px; }
  .hero-actions { flex-direction: column; align-items: center; }

  .stat { padding: 0 20px; }
  .stat-number { font-size: 1.7rem; }
  .stat-divider { height: 36px; }

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

  .hours-table-wrap { padding: 28px 24px; }
  .hours-table td { font-size: 0.95rem; }

  .contact-form-wrap { padding: 32px 22px; }

  .footer-nav { gap: 16px; }
}

@media (max-width: 480px) {
  .hero-stats { flex-direction: column; gap: 20px; }
  .stat-divider { display: none; }
}
