/* =========================
   Black & White Salon — CLEANED & MERGED CSS
   - Replaces the fragmented CSS you provided
   - Responsive, accessible, and consistent
   ========================= */

/* ---------- Variables ---------- */
:root{
  --accent: #f400ff;
  --accent-2: #ff4d94;
  --bg: #ffffff;
  --muted: #666;
  --dark: #1a1a1a;
  --card: #000;
  --max-width: 1200px;
  --site-padding: 20px;
}

/* ---------- Reset & Base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; font-family: Arial, Helvetica, sans-serif; background-color: var(--bg); color: #222; -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; height: auto; }

/* Handy container */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--site-padding); }

/* ---------- Header / Nav ---------- */
header {
  background-color: #fff;
  color: #000;
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}
.header-inner { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:12px 0; }

.logo img { width: 180px; height: auto; display:block; }

/* Nav */
nav { display:flex; align-items:center; gap:12px; }
nav ul { list-style:none; display:flex; gap:14px; align-items:center; margin:0; padding:0; }
nav li { display:inline-block; }
nav a {
  color: #000;
  font-weight:700;
  font-size:14px;
  padding:8px 12px;
  text-transform:uppercase;
  position:relative;
  display:inline-block;
}
nav a:hover { color: var(--accent); }

/* animated underline */
nav a::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: var(--accent-2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s ease;
}
nav a:hover::before { transform: scaleX(1); }

/* mobile nav toggle */
.nav-toggle { display:none; background:none; border:0; font-size:20px; padding:8px; cursor:pointer; }

/* ---------- Hero ---------- */
/* Prefer using a background-image on the hero section element in the HTML if available. */
.hero {
  background-color: #fafafa;
  background-size: cover;
  background-position: center;
  padding: 80px 0;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  color: #111;
}
.hero-inner { max-width:1000px; padding: 0 16px; }

.hero h1 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.hero p {
  color: var(--muted);
  font-size: clamp(14px, 1.6vw, 18px);
  margin-bottom: 18px;
}

/* Explore button — fixed size & responsive */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #111;
  color: #fff;
  padding: 10px 22px;        /* compact & consistent */
  border-radius: 999px;
  border: 2px solid #111;
  font-weight:700;
  font-size: 15px;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
  cursor: pointer;
  text-decoration: none;
}
.btn .fa-chevron-down { font-size: 12px; opacity: .9; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.12); }
.btn:active { transform: translateY(-1px); }
.btn:focus { outline: 3px solid rgba(17,17,17,0.12); outline-offset: 3px; }

/* Prevent full-width on mobile unless you want it */
.btn.fullwidth { width: 100%; justify-content: center; }

/* ---------- Services ---------- */
.services {
  background: var(--dark);
  color: #fff;
  padding: 64px 0;
}
.services-inner { display:grid; grid-template-columns: repeat(4, 1fr); gap:20px; align-items:start; max-width:1100px; margin:0 auto; padding: 0 12px; }
.services h2 { grid-column: 1 / -1; text-align:center; margin-bottom:8px; color: var(--accent); }

/* Individual service card */
.service {
  background: var(--card);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  text-align:center;
  transition: transform .22s ease, box-shadow .22s ease;
}
.service:hover { transform: translateY(-6px); box-shadow: 0 14px 40px rgba(0,0,0,0.35); }
.service img { width: 100%; height: 160px; object-fit: cover; border-radius: 10px; margin-bottom:12px; }
.service h3 { color: var(--accent); font-size: 20px; margin-bottom:8px; }
.service p { color: #ccc; font-size: 15px; line-height:1.5; }

/* ---------- Gallery ---------- */
.gallery { background: var(--dark); color: var(--accent); padding: 64px 0; text-align:center; }
.gallery-images { display:flex; flex-wrap:wrap; gap:12px; justify-content:center; margin-top:18px; }
.gallery-images img { width: 220px; border-radius:10px; box-shadow: 0 8px 40px rgba(255,255,255,0.06); transition: transform .25s ease; }
.gallery-images img:hover { transform: scale(1.05); }

/* ---------- About / Our Salons ---------- */
.about { background:#333; color:#fff; padding:64px 0; text-align:center; }
.about h1, .about h3 { color: var(--accent); margin-bottom:12px; }
.about p { color:#e8e8e8; max-width:900px; margin:0 auto 8px; padding: 0 12px; }

/* Our salons layout */
.our-salons { background:#222; color:#fff; padding:64px 0; text-align:center; }
.salon-inner { display:flex; gap:20px; align-items:flex-start; max-width:1100px; margin:0 auto; padding:0 12px; flex-wrap:wrap; }
.salon-location { flex:1 1 300px; text-align:left; color: var(--accent); }
.salon-images { flex:2 1 420px; display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-start; }
.salon-images img { width: calc(33.333% - 8px); border-radius:8px; }

/* ---------- Contact ---------- */
.contact { background: var(--dark); color: var(--accent); padding: 64px 0; text-align:center; }
.contact .contact-info { max-width:900px; margin:24px auto 0; display:flex; gap:12px; justify-content:space-between; flex-wrap:wrap; }
.contact .location { flex:1 1 260px; color: var(--accent); text-align:center; padding: 6px; }

/* Forms */
.contact form { max-width:600px; margin: 0 auto; text-align:left; }
.contact label { display:block; margin-bottom:6px; color:#fff; font-weight:600; }
.contact input[type="text"], .contact input[type="email"], .contact textarea {
  width:100%; padding:10px; border-radius:6px; border:1px solid #ddd; margin-bottom:12px; background:#fff;
}
.contact button { background: var(--accent); color:#fff; padding:10px 18px; border-radius:6px; border:0; cursor:pointer; }
.contact button:hover { opacity:0.95; }

/* ---------- Price list & Image container ---------- */
.price-list { padding: 36px 0; text-align:center; }
.price-list h2 { display:inline-block; background:#000; color:var(--accent); padding:8px 18px; border-radius:8px; }

.image-container { margin-top:18px; overflow:hidden; display:flex; gap:8px; flex-wrap:wrap; justify-content:center; background:#000; padding:12px; border-radius:8px; }
.image-container img { height: 160px; width: auto; object-fit:cover; border-radius:6px; }

/* ---------- Footer ---------- */
footer { background:#fff; color: var(--accent); padding:14px 0; text-align:center; }
.footer-nav { list-style:none; margin:8px 0 0; padding:0; display:inline-flex; gap:12px; }
.footer-nav a { color: var(--accent); font-weight:700; }

/* Social links hover */
.social-links img { width:34px; border-radius:50%; transition: transform .2s ease; }
.social-links img:hover { transform: scale(1.08); }

/* ---------- Responsive Breakpoints ---------- */
@media (max-width: 1100px) {
  .services-inner { grid-template-columns: repeat(3, 1fr); }
  .gallery-images img { width: 200px; }
}
@media (max-width: 900px) {
  .services-inner { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 56px 0; }
  .nav-toggle { display:inline-flex; }
  nav ul { display: none; } /* toggled with JS */
  .salon-images img { width: calc(50% - 8px); }
}
@media (max-width: 680px) {
  .services-inner { grid-template-columns: 1fr; padding: 0 12px; }
  .gallery-images img { width: 160px; }
  .hero { padding: 40px 12px; }
  .hero h1 { font-size: 28px; }
  .btn { padding: 10px 18px; font-size: 14px; }
  .btn.fullwidth { width: 100%; }
  .salon-images img { width: calc(50% - 8px); }
  .contact .contact-info { flex-direction: column; align-items:center; }
  .logo img { width: 150px; }
}

/* ---------- Helpful small utilities ---------- */
.text-center { text-align:center; }
.mb-8 { margin-bottom: 8px; }
.mt-12 { margin-top: 12px; }
.hidden { display:none !important; }
