/*!
 * Joe's Barbershop — Hairstyles Lookbook CSS Extensions
 * Swipeable image carousel, style sections
 */

/* ═══════════════════════════════════════════
   NAVBAR LOGO UPDATE — Two-line JOE'S / Barbershop
═══════════════════════════════════════════ */
.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(200, 185, 155, 0.4);
  flex-shrink: 0;
}

.logo-text-stack {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-top {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: 0.18em;
  color: var(--text-dark, #1a1a1a);
  text-transform: uppercase;
}

.logo-bottom {
  font-family: 'Dancing Script', cursive;
  font-size: 0.95rem;
  color: var(--text-muted, #6b6b6b);
  letter-spacing: 0.03em;
  margin-top: -2px;
}

/* Hero context — white logo text */
.hero .logo-top,
.splash-brand-top { color: #f5f0e8; }

/* ═══════════════════════════════════════════
   HAIRSTYLES LOOKBOOK
═══════════════════════════════════════════ */
.lookbook-page {
  background: var(--bg-light, #f8f8f8);
  min-height: 100dvh;
  padding-top: 80px;
}

/* ── Section header ── */
.lookbook-section {
  padding: 80px 6% 60px;
  border-bottom: 1px solid var(--border-light, #e8e8e8);
}

.lookbook-section:last-child {
  border-bottom: none;
}

.style-section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 48px;
}

.style-num {
  font-family: 'Outfit', sans-serif;
  font-size: 5rem;
  font-weight: 900;
  color: var(--accent-silver-dark);
  opacity: 0.75;
  line-height: 1;
  letter-spacing: -0.05em;
  margin-bottom: -16px;
}

.style-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--text-dark, #1a1a1a);
  font-weight: 700;
  line-height: 1.1;
}

.style-desc {
  font-size: 0.95rem;
  color: var(--text-muted, #6b6b6b);
  max-width: 560px;
  line-height: 1.7;
  margin-top: 12px;
}

/* ── Carousel Slider ── */
.style-carousel {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #111;
  max-width: 900px;
  margin: 0 auto 32px;
  aspect-ratio: 4/3;
}

@media (min-width: 640px) {
  .style-carousel { aspect-ratio: 16/9; }
}

.carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0f0f11;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

/* ── Slide gradient overlay ── */
.carousel-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.45) 0%, transparent 50%);
  pointer-events: none;
}

/* ── Navigation arrows ── */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255,255,255,0.5);
}

.carousel-btn.prev { left: 12px; }
.carousel-btn.next { right: 12px; }

/* ── Dot indicators ── */
.carousel-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 20;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.25s ease;
}

.dot.active {
  background: #fff;
  width: 22px;
  border-radius: 4px;
}

/* ── Slide counter ── */
.carousel-counter {
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 20;
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.1em;
  background: rgba(0,0,0,0.3);
  padding: 4px 10px;
  border-radius: 20px;
}

/* ── "Book This Style" CTA ── */
.style-book-cta {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.btn-book-style {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #1a1a1a;
  color: #f5f0e8;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-book-style:hover {
  background: #c8b99b;
  color: #1a1a1a;
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════
   FOUNDERS — FULL HERO REDESIGN
═══════════════════════════════════════════ */
.founders-hero {
  min-height: 100dvh;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.founders-photo-col {
  flex: 0 0 45%;
  position: sticky;
  top: 0;
  height: 100dvh;
  overflow: hidden;
}

.founders-photo-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(15%);
}

.founders-photo-col::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent, rgba(248, 248, 248, 0.15));
  pointer-events: none;
}

.founders-text-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 8% 80px;
  background: var(--bg-light, #f8f8f8);
  min-height: 100dvh;
}

.founders-eyebrow {
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted, #888);
  margin-bottom: 20px;
}

.founders-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--text-dark, #1a1a1a);
  line-height: 1;
  margin-bottom: 8px;
}

.founders-role {
  font-family: 'Dancing Script', cursive;
  font-size: clamp(1.3rem, 3vw, 2rem);
  color: #c8b99b;
  margin-bottom: 40px;
}

.founders-divider {
  width: 50px;
  height: 2px;
  background: linear-gradient(to right, #1a1a1a, transparent);
  margin-bottom: 36px;
}

.founders-bio p {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--text-muted, #5a5a5a);
  line-height: 1.85;
  margin-bottom: 20px;
}

.founders-cta {
  margin-top: 48px;
}

/* Mobile stack */
@media (max-width: 768px) {
  .founders-hero {
    flex-direction: column;
  }

  .founders-photo-col {
    flex: 0 0 auto;
    height: min(60vw, 400px);
    position: relative;
    width: 100%;
  }

  .founders-photo-col::after {
    background: linear-gradient(to bottom, transparent, rgba(248,248,248,0.3));
  }

  .founders-text-col {
    padding: 48px 7% 80px;
    min-height: unset;
  }
}

/* ═══════════════════════════════════════════
   OUTLETS — Filter bar + Cards
═══════════════════════════════════════════ */
.outlets-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 6% 100px;
}

.outlets-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 0 0 48px;
}

.filter-btn {
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 30px;
  border: 1.5px solid var(--border-light, #ddd);
  background: transparent;
  color: var(--text-muted, #666);
  cursor: pointer;
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.filter-btn:hover,
.filter-btn.active {
  background: #1a1a1a;
  color: #f5f0e8;
  border-color: #1a1a1a;
}

.outlets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.outlet-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--border-light, #eee);
  padding: 24px;
  transition: all 0.25s ease;
}

.outlet-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

.outlet-card[style*="display: none"] { display: none !important; }

.outlet-state-tag {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #c8b99b;
  background: rgba(200, 185, 155, 0.1);
  border: 1px solid rgba(200, 185, 155, 0.3);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.outlet-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 14px;
  line-height: 1.3;
}

.outlet-details {
  list-style: none;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.outlet-details li {
  display: flex;
  gap: 10px;
  font-size: 0.85rem;
  color: #6b6b6b;
  line-height: 1.4;
}

.outlet-details li i {
  flex-shrink: 0;
  color: #c8b99b;
  margin-top: 2px;
  font-size: 0.8rem;
}

.outlet-btn {
  display: block;
  text-align: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1a1a1a;
  background: transparent;
  text-decoration: none;
  padding: 11px 20px;
  border: 1.5px solid #1a1a1a;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.outlet-btn:hover {
  background: #1a1a1a;
  color: #ffffff;
}

/* ═══════════════════════════════════════════
   OUTLET DETAIL PAGE
═══════════════════════════════════════════ */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100dvh - 120px);
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 6%;
  gap: 60px;
  align-items: start;
}

@media (max-width: 768px) {
  .detail-layout {
    grid-template-columns: 1fr;
    padding: 40px 5%;
    gap: 32px;
  }
}

.detail-photo-wrapper {
  border-radius: 16px;
  overflow: hidden;
  position: sticky;
  top: 100px;
  aspect-ratio: 4/3;
}

.detail-photo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-panel {
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.03);
}

.detail-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 24px;
  line-height: 1.2;
}

.detail-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 36px;
}

.detail-info-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.detail-info-list li i {
  font-size: 1.1rem;
  color: #c8b99b;
  flex-shrink: 0;
  margin-top: 3px;
}

.detail-info-list li h5 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 6px;
}

.detail-info-list li p {
  font-size: 0.95rem;
  color: #4a4a4a;
  line-height: 1.6;
}

.btn-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.btn-whatsapp:hover {
  background: #1da851;
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════
   GOOGLE SHEETS INFO TOAST
═══════════════════════════════════════════ */
.booking-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: #1a1a1a;
  color: #f5f0e8;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: 8px;
  white-space: nowrap;
  z-index: 9999;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.booking-toast.show {
  transform: translateX(-50%) translateY(0);
}

.booking-toast.success { background: #1da851; }
.booking-toast.error   { background: #c0392b; }
