/* ============================================
   BARBERSHOP LEGAN — Shared Stylesheet v3
   ============================================ */

:root {
  --gold: #C9A84C;
  --gold-light: #E8C97A;
  --gold-dark: #9B7A28;
  --black: #0A0A0A;
  --dark: #111111;
  --dark-2: #1A1A1A;
  --dark-3: #242424;
  --gray: #888888;
  --light-gray: #CCCCCC;
  --white: #F5F5F0;
  --font-display: 'Bebas Neue', sans-serif;
  --font-serif: 'Playfair Display', serif;
  --font-body: 'Barlow', sans-serif;
  --transition: 0.3s ease;
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { background: var(--black); color: var(--white); font-family: var(--font-body); font-weight: 300; line-height: 1.7; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-body); }

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

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gold); color: var(--black);
  font-family: var(--font-body); font-weight: 600;
  font-size: 0.88rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 14px 32px; border: 2px solid var(--gold);
  transition: all var(--transition); position: relative; overflow: hidden;
}
.btn-primary::before {
  content: ''; position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%; background: var(--gold-light);
  transition: left 0.4s ease; z-index: 0;
}
.btn-primary:hover::before { left: 0; }
.btn-primary > * { position: relative; z-index: 1; }
.btn-primary:hover { color: var(--black); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: var(--white);
  font-family: var(--font-body); font-weight: 500;
  font-size: 0.88rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 14px 32px; border: 2px solid rgba(255,255,255,0.3);
  transition: all var(--transition);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ---- SECTION HEADERS ---- */
.section-label { font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; font-weight: 500; }
.section-title { font-family: var(--font-serif); font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 700; line-height: 1.2; margin-bottom: 48px; }
.section-title em { font-style: italic; color: var(--gold); }
.section-header { text-align: center; }

/* ---- NAVBAR ---- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 0; transition: all 0.4s ease;
}
.navbar.scrolled {
  background: rgba(10,10,10,0.96); backdrop-filter: blur(20px);
  padding: 10px 0; border-bottom: 1px solid rgba(201,168,76,0.2);
}
.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo img { height: 50px; width: 50px; object-fit: cover; border-radius: 50%; border: 2px solid var(--gold); }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
  font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 500; color: var(--light-gray); transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px; background: var(--gold); transition: width var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.nav-cta {
  background: var(--gold); color: var(--black) !important;
  padding: 8px 18px; font-weight: 600 !important;
}
.nav-links a.nav-cta::after { display: none; }
.nav-links a.nav-cta:hover { background: var(--gold-light); }

/* Admin button in nav */
.nav-admin-btn {
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.05); color: var(--gray) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  padding: 6px 14px !important; font-size: 0.75rem !important;
  transition: all var(--transition); border-radius: 0;
}
.nav-admin-btn::after { display: none !important; }
.nav-admin-btn:hover { background: rgba(201,168,76,0.1) !important; border-color: rgba(201,168,76,0.4) !important; color: var(--gold) !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); 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); }

/* ---- PAGE HERO (interior pages) ---- */
.page-hero {
  padding-top: calc(var(--nav-h) + 60px);
  padding-bottom: 60px;
  background: var(--dark);
  border-bottom: 1px solid rgba(201,168,76,0.15);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(201,168,76,0.06) 0%, transparent 70%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero-label { font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.page-hero-title { font-family: var(--font-display); font-size: clamp(3rem, 7vw, 6rem); color: var(--white); line-height: 0.9; }
.page-hero-title span { color: var(--gold); }
.page-hero-sub { font-size: 1rem; color: var(--gray); margin-top: 16px; letter-spacing: 0.04em; }

/* ---- BREADCRUMB ---- */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.78rem; color: var(--gray); margin-bottom: 20px; }
.breadcrumb a { color: var(--gold); transition: opacity var(--transition); }
.breadcrumb a:hover { opacity: 0.8; }
.breadcrumb span { color: rgba(255,255,255,0.3); }

/* ---- FOOTER ---- */
.footer { background: var(--dark-2); border-top: 1px solid rgba(201,168,76,0.2); padding-top: 60px; }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer-brand img { width: 60px; height: 60px; object-fit: cover; border-radius: 50%; border: 2px solid var(--gold); margin-bottom: 16px; }
.footer-brand p { font-size: 0.88rem; color: var(--gray); line-height: 1.8; }
.footer-links, .footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-links h4, .footer-contact h4 { font-family: var(--font-display); font-size: 1.1rem; letter-spacing: 0.1em; color: var(--gold); margin-bottom: 8px; }
.footer-links a { font-size: 0.88rem; color: var(--gray); transition: color var(--transition); }
.footer-links a:hover { color: var(--gold); }
.footer-contact p { font-size: 0.88rem; color: var(--gray); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05); padding: 20px 24px;
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.78rem; color: var(--gray);
}
.footer-admin-link { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.15); transition: color var(--transition); }
.footer-admin-link:hover { color: var(--gold); }

/* ---- WHATSAPP FLOAT ---- */
.whatsapp-float {
  position: fixed; bottom: 32px; right: 32px;
  width: 58px; height: 58px; background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  z-index: 999; box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); }
.wa-pulse { position: absolute; width: 100%; height: 100%; border-radius: 50%; background: #25D366; animation: waPulse 2s ease infinite; z-index: -1; }
@keyframes waPulse { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---- SCROLL REVEAL ---- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

/* ---- FORM STYLES ---- */
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray); }
.form-group input, .form-group select, .form-group textarea {
  background: var(--dark-2); border: 1px solid rgba(255,255,255,0.1);
  color: var(--white); padding: 13px 16px; font-family: var(--font-body);
  font-size: 0.95rem; transition: border-color var(--transition); outline: none;
  -webkit-appearance: none; appearance: none; border-radius: 0;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='%23C9A84C'%3E%3Cpath d='M0 0l6 8 6-8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px;
}
.form-group select option { background: var(--dark-2); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--gold); }
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,0.25); }
.form-group textarea { resize: vertical; min-height: 88px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-msg { padding: 12px 16px; font-size: 0.88rem; display: none; border-left: 3px solid var(--gold); margin-top: 4px; }
.form-msg.success { background: rgba(201,168,76,0.1); color: var(--gold); display: block; }
.form-msg.error { background: rgba(220,50,50,0.1); color: #ff6b6b; border-color: #ff6b6b; display: block; }
.btn-full { width: 100%; justify-content: center; }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed; top: 0; right: -100%; width: 80%; max-width: 300px;
    height: 100vh; background: var(--dark-2); flex-direction: column;
    justify-content: center; align-items: flex-start; padding: 40px 32px;
    gap: 24px; transition: right 0.4s ease; border-left: 1px solid rgba(201,168,76,0.15);
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 0.95rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .whatsapp-float { bottom: 20px; right: 20px; width: 52px; height: 52px; }
}

/* ---- ANIMATIONS ---- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
