/* ============================================================
   LOCAL BUSINESS TEMPLATE — style.css
   Restaurants · Coffee Shops · Nail Salons · Hairdressers
   ============================================================

   THEME SYSTEM — change 4 variables to restyle everything:

   Default (warm neutral):
     --color-bg: #FAF8F5   --color-text: #1E1B18
     --color-accent: #C9973A   --color-accent-text: #FFFFFF

   Dark / Moody (restaurant, wine bar):
     --color-bg: #1A1310   --color-bg-alt: #231A15
     --color-surface: #2A1F18   --color-text: #F5EFE6
     --color-text-muted: #A89880   --color-accent: #C9A84C

   Fresh / Clean (nail salon, brunch café):
     --color-bg: #FAFAFA   --color-bg-alt: #F3F7F4
     --color-surface: #FFFFFF   --color-text: #2A2A2A
     --color-text-muted: #777   --color-accent: #B7D6C2

   Bold / Graphic (barbershop, concept café):
     --color-bg: #FFFFFF   --color-bg-alt: #F5F5F5
     --color-text: #111111   --color-accent: #E63946

   ============================================================ */


/* ============================================================
   1. CSS VARIABLES
   ============================================================ */
:root {
  /* Background layers — brand palette: cream, copper, powder blue */
  --color-bg:           #FBEDD6;
  --color-bg-alt:       #F5E3C4;
  --color-surface:      #FFFFFF;

  /* Text */
  --color-text:         #2C1A0E;
  --color-text-muted:   #7A6148;

  /* Accent — copper from brand palette */
  --color-accent:       #BF7E46;
  --color-accent-light: rgba(191, 126, 70, 0.13);
  --color-accent-text:  #FFFFFF;

  /* Secondary — powder blue from brand palette */
  --color-secondary:    #97C6E0;

  /* Borders & shadows */
  --color-border:       rgba(44, 26, 14, 0.09);
  --shadow-sm:          0 2px 8px  rgba(44,26,14,0.06);
  --shadow-md:          0 4px 24px rgba(44,26,14,0.10);
  --shadow-lg:          0 8px 48px rgba(44,26,14,0.14);

  /* Typography */
  --font-heading:       'Cormorant Garamond', Georgia, serif;
  --font-body:          'DM Sans', system-ui, -apple-system, sans-serif;

  /* Radius */
  --radius-sm:          6px;
  --radius-md:          14px;
  --radius-lg:          22px;
  --radius-xl:          30px;

  /* Layout */
  --container-width:    1160px;
  --navbar-height:      68px;
  --section-padding:    clamp(4.5rem, 9vw, 7.5rem);
}


/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: var(--navbar-height);
}

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

img  { display: block; max-width: 100%; height: auto; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.15;
  color: var(--color-text);
}

h1 { font-size: clamp(3rem,   7vw, 5.5rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 600; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; }

.icon {
  width: 1.1em; height: 1.1em;
  vertical-align: -0.15em; flex-shrink: 0;
}


/* ============================================================
   3. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 9999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-accent-text);
  border-color: var(--color-accent);
}
.btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent);
}
.btn-ghost:hover {
  background: var(--color-accent);
  color: var(--color-accent-text);
  transform: translateY(-2px);
}

.btn-reserve { width: 100%; justify-content: center; margin-top: 1.5rem; }


/* ============================================================
   4. SHARED SECTION STYLES
   ============================================================ */
.section-header {
  text-align: center;
  max-width: var(--container-width);
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  padding: 0 2rem;
}

.section-sub {
  margin-top: 0.6rem;
  color: var(--color-text-muted);
  font-size: 1.05rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}


/* ============================================================
   5. NAVBAR
   ============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--navbar-height);
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

#navbar.scrolled {
  background: rgba(251, 237, 214, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 28px rgba(44,26,14,0.08);
}

.nav-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--color-text);
  transition: color 0.2s ease;
}
.nav-logo:hover { color: var(--color-accent); }

.nav-links { display: flex; align-items: center; gap: 2.5rem; }

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text);
  position: relative;
  padding-bottom: 3px;
  transition: color 0.2s ease;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
  transition: width 0.25s ease;
}
.nav-links a:hover             { color: var(--color-accent); }
.nav-links a:hover::after      { width: 100%; }
.nav-links a.active            { color: var(--color-accent); }
.nav-links a.active::after     { width: 100%; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  width: 36px;
  height: 36px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ============================================================
   6. HERO
   ============================================================ */
#hero {
  min-height: 100vh;
  padding-top: var(--navbar-height);
  background: var(--color-bg);
  display: flex;
  align-items: center;
}

.hero-container {
  max-width: var(--container-width);
  width: 100%;
  margin: 0 auto;
  padding: 3.5rem 2rem 5rem;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.hero-image-wrap { position: relative; }

.hero-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

/* Content */
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}

.hero-tag {
  display: inline-flex;
  background: var(--color-accent-light);
  color: var(--color-accent);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.9rem;
  border-radius: 9999px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.hero-content h1 { line-height: 1.05; }
.hero-content h1 em {
  display: block;
  font-style: italic;
  color: var(--color-accent);
}

.hero-tagline {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--color-text-muted);
  margin-top: -0.5rem;
}

.hero-note {
  font-size: 0.93rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 340px;
}

/* Hero stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
}
.stat-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-weight: 500;
  white-space: nowrap;
}
.stat-sep {
  width: 1px;
  height: 36px;
  background: var(--color-border);
  flex-shrink: 0;
}


/* ============================================================
   7. ABOUT / STORY
   ============================================================ */
#about {
  background: var(--color-bg-alt);
  padding: var(--section-padding) 2rem;
  text-align: center;
}

.about-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about-container h2 { margin-bottom: 0.3rem; }

.about-container > p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.85;
}

/* Two-column list grid */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2.5rem;
  text-align: left;
  margin: 0.5rem 0;
}

.about-col-title {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 0.75rem;
}

.about-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.about-list li {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  padding-left: 1.1rem;
  position: relative;
  line-height: 1.5;
}

.about-list li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}

.about-quote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  border-left: 3px solid var(--color-secondary);
  padding-left: 1.25rem;
  text-align: left;
}

.about-highlights {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.highlight { display: flex; align-items: center; gap: 0.3rem; color: var(--color-accent); }
.highlight-sep { opacity: 0.3; font-size: 1.1rem; color: var(--color-text-muted); }


/* ============================================================
   8. SERVICES / TREATMENTS
   ============================================================ */
#services {
  background: var(--color-surface);
  padding: var(--section-padding) 2rem;
}

.menu-grid {
  max-width: var(--container-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem 4rem;
}

.menu-category { display: flex; flex-direction: column; gap: 1rem; }
.menu-category--wide { grid-column: 1 / -1; max-width: 560px; }

.category-title {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--color-border);
}

.menu-items { display: flex; flex-direction: column; gap: 0; }

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--color-border);
}
.menu-item:last-child { border-bottom: none; }

.item-left {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
}

.item-name {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
}

.item-desc {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.item-price {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-accent);
  white-space: nowrap;
  flex-shrink: 0;
}

.item-price-unit {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--color-text-muted);
}

.item-duration {
  font-size: 0.8rem;
  color: var(--color-accent);
  font-weight: 500;
  margin-top: 0.25rem;
}

.featured-category {
  background: var(--color-accent-light);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.25rem 1rem;
}

.featured-category .category-title {
  border-bottom-color: rgba(191, 126, 70, 0.2);
}

.featured-category .menu-item {
  border-bottom: none;
}

.services-cta {
  max-width: var(--container-width);
  margin: clamp(2rem, 4vw, 3rem) auto 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.services-cta p {
  color: var(--color-text-muted);
  font-size: 1rem;
}



/* ============================================================
   10. CONTACT, MAP & HOURS
   ============================================================ */
#contact {
  background: var(--color-bg);
  padding: var(--section-padding) 2rem;
}

.contact-container {
  max-width: var(--container-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

/* Map */
.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 460px;
}
.map-wrap iframe {
  width: 100%; height: 100%;
  border: none; display: block;
}

/* Contact info column */
.contact-info { display: flex; flex-direction: column; gap: 1.25rem; }

.contact-business-name {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
}

.contact-address {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--color-text-muted);
  font-size: 0.93rem;
  line-height: 1.6;
}


/* Phone & email links */
.contact-links { display: flex; flex-direction: column; gap: 0.6rem; }
.contact-link {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--color-text);
  transition: color 0.2s ease;
  padding: 0.25rem 0;
}
.contact-link:hover { color: var(--color-accent); }

/* Social icons */
.contact-socials { display: flex; gap: 0.65rem; }

.contact-social-icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}
.contact-social-icon svg    { width: 19px; height: 19px; }
.contact-social-icon:hover  { transform: translateY(-3px); box-shadow: var(--shadow-md); filter: brightness(1.1); }

.contact-social-icon.whatsapp  { background: #25D366; }
.contact-social-icon.instagram {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
.contact-social-icon.facebook  { background: #1877F2; }

/* Booking box */
.contact-booking {
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.contact-booking-text {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}


/* ============================================================
   11. FOOTER
   ============================================================ */
#footer {
  background: var(--color-text);
  color: rgba(255,255,255,0.7);
}

.footer-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 3rem 2rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.footer-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: #FFFFFF;
}
.footer-tagline {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.5);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}
.footer-nav a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s ease;
}
.footer-nav a:hover { color: #FFFFFF; }

.footer-details {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
  font-size: 0.82rem;
  text-align: right;
  color: rgba(255,255,255,0.5);
}

.footer-social {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.footer-social-icon {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: background 0.22s ease, transform 0.22s ease;
}
.footer-social-icon svg   { width: 16px; height: 16px; }
.footer-social-icon:hover { background: var(--color-accent); color: #FFFFFF; transform: translateY(-2px); }

.footer-bottom-bar {
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  padding: 1rem 2rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}


/* ============================================================
   12. FLOATING BUTTONS
   ============================================================ */
.floating-buttons {
  position: fixed;
  bottom: 2rem; right: 2rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-end;
}

.float-btn {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  padding: 0.8rem;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  overflow: hidden;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.float-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.float-icon { width: 24px; height: 24px; flex-shrink: 0; }

.float-label {
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  margin-left: 0;
  transition:
    max-width   0.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity     0.25s ease 0.1s,
    margin-left 0.35s ease;
}
.float-btn:hover .float-label {
  max-width: 180px;
  opacity: 1;
  margin-left: 0.5rem;
}

.float-whatsapp {
  background: #25D366;
  animation: float-bounce 2.2s ease-in-out 1.5s 3;
}
.float-instagram {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

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


/* ============================================================
   13. FADE-IN ON SCROLL
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

.gallery-grid img:nth-child(2) { transition-delay: 0.05s; }
.gallery-grid img:nth-child(3) { transition-delay: 0.10s; }
.gallery-grid img:nth-child(4) { transition-delay: 0.05s; }
.gallery-grid img:nth-child(5) { transition-delay: 0.10s; }
.gallery-grid img:nth-child(6) { transition-delay: 0.15s; }


/* ============================================================
   14. RESPONSIVE
   ============================================================ */

/* ── Tablet (≤ 960px) ── */
@media (max-width: 960px) {
  .hamburger   { display: flex; }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--navbar-height);
    left: 0; right: 0;
    background: var(--color-bg);
    flex-direction: column;
    padding: 1.5rem 2rem 2rem;
    gap: 1.25rem;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--color-border);
    z-index: 999;
  }
  .nav-links.open  { display: flex; }
  .nav-links a     { font-size: 1rem; }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 3rem 1.5rem 5rem;
  }
  .hero-image-wrap { max-width: 400px; margin: 0 auto; }
  .hero-content    { align-items: center; }
  .hero-rating     { justify-content: center; }

  .menu-grid { grid-template-columns: 1fr; gap: 2rem; }

  .about-grid { grid-template-columns: 1fr; }

  .contact-container {
    grid-template-columns: 1fr;
  }
  .map-wrap    { height: 300px; }

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-brand    { align-items: center; }
  .footer-details  { align-items: center; text-align: center; }
}

/* ── Mobile (≤ 580px) ── */
@media (max-width: 580px) {
  .floating-buttons { bottom: 1.25rem; right: 1.25rem; }

  #about, #services, #contact {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .hero-stats { gap: 1rem; }
  .stat-number { font-size: 1.3rem; }
}

