/* ======================================================
   Permanent Beauty by Sam — Luxury Minimal (Mobile-first)
   Colors: Black • White • Gold + Warm Neutral Background
====================================================== */

:root{
  --black:#000;
  --white:#fff;

  --gold:#c9a24d;
  --gold-soft: rgba(201,162,77,.16);

  --line: rgba(0,0,0,.10);
  --muted: rgba(0,0,0,.68);

  --bg: #f2f0ed;          /* warm luxury neutral */
  --surface: #ffffff;     /* content surface */

  --max: 1120px;
  --radius: 14px;
  --shadow: 0 12px 30px rgba(0,0,0,.10);
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}

body{
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background: var(--bg);
  color: var(--black);
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

main{
  background: var(--surface);
}

a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}

.container{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 18px;
}

/* ===============================
   HEADER (single source of truth) — BLACK like footer
================================= */
.site-header{
  position: sticky;
  top: 0;
  z-index: 1000;

  /* black header like footer */
  background: #111 !important;
  border-bottom: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 10px 22px rgba(0,0,0,.25);
}

.header-wrap{
  padding: 12px 0 10px;
}

.header-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
}

.logo img{
  height: 46px;
  width: auto;
}

/* WhatsApp button in header (optional, if you use it in header.html) */
.wa-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;

  border: 1px solid var(--gold);
  background: var(--gold);
  color: #000;

  box-shadow: 0 10px 22px rgba(0,0,0,.20);
  -webkit-tap-highlight-color: transparent;
  transition: transform .15s ease, background .2s ease, color .2s ease;
}

.wa-btn:active{ transform: translateY(1px); }
.wa-btn:hover{ background:#000; color:var(--gold); }
.wa-btn img{ width: 18px; height: 18px; }
.wa-btn .wa-text{ color: inherit; }

/* NAV pills (single line scroll, never clipped) */
.header-nav{
  margin-top: 10px;

  display:flex;
  flex-wrap: nowrap;
  gap: 10px;

  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;

  padding: 2px 22px 6px 2px; /* right padding avoids last tab cut */
}
.header-nav::-webkit-scrollbar{ display:none; }

.header-nav a{
  flex: 0 0 auto;
  white-space: nowrap;

  display:inline-flex;
  align-items:center;
  justify-content:center;

  padding: 9px 14px;
  border-radius: 999px;

  font-size: 13px;
  font-weight: 800;
  letter-spacing: .2px;

  /* dark pills */
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.86);

  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease;
}

.header-nav a:active{ transform: translateY(1px); }

.header-nav a.active{
  border-color: var(--gold);
  background: var(--gold);
  color: #000;
}

@media (hover:hover){
  .header-nav a:hover{
    border-color: rgba(255,255,255,.20);
    background: rgba(255,255,255,.12);
    color: #fff;
  }
}

/* Mobile tweaks */
@media (max-width: 420px){
  .logo img{ height: 42px; }
  .wa-text{ display:none; }   /* icon-only WhatsApp on small phones */
  .wa-btn{ padding: 11px 12px; }
}

/* Desktop */
@media (min-width: 900px){
  .container{padding: 0 22px}
  .header-wrap{ padding: 14px 0 12px; }
  .logo img{ height: 52px; }
  .header-nav{ padding-right: 2px; }
}

/* ===============================
   BUTTONS (global)
================================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  border: 1px solid var(--black);
  background: transparent;
  color: var(--black);
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn:active{ transform: translateY(1px); }

.btn-gold{
  border-color: var(--gold);
  background: var(--gold);
  color: #000;
}
.btn-gold:hover{
  background: var(--black);
  color: var(--gold);
}

.btn-outline{
  border-color: rgba(0,0,0,.18);
  background: transparent;
  color: #000;
}
.btn-outline:hover{
  border-color: rgba(0,0,0,.30);
}

/* ===============================
   HERO / SECTIONS
================================= */
.section{padding: 32px 0}
.hero{padding: 42px 0 18px}

.hero h1{
  font-size: 36px;
  line-height: 1.08;
  margin: 0 0 12px 0;
  letter-spacing: .2px;
}

.hero-sub{
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  max-width: 65ch;
}

.hero-actions{
  margin-top: 18px;
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}

@media (min-width: 900px){
  .hero{padding: 56px 0 20px}
  .hero h1{font-size: 54px}
  .hero-sub{font-size: 16px}
}

/* ===============================
   WHY (index cards)
================================= */
.why{
  padding: 28px 0 52px;
}

.why h2{
  margin: 0 0 16px 0;
  font-size: 22px;
  letter-spacing: .2px;
}

.why-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.why-card{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
  padding: 18px;
}

.why-card h3{
  margin: 0 0 8px 0;
  font-size: 16px;
}

.why-card p{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

@media (min-width: 900px){
  .why-grid{ grid-template-columns: repeat(2, 1fr); }
}

/* ===============================
   SERVICES PAGE
================================= */
.service-section {
  padding: 60px 0;
}

.service-section h2{
  margin: 0 0 14px 0;
  font-size: 22px;
  letter-spacing: .2px;
}

.service-block {
  display: grid;
  gap: 24px;
  margin-bottom: 60px;
  align-items: start; /* ✅ prevents image stretching vertically */
}

/* ✅ Control image size so it doesn't dominate */
.service-photo {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 12px 28px rgba(0,0,0,.08);
  max-width: 620px;          /* ✅ key fix */
}

.service-photo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.service-cards {
  display: grid;
  gap: 18px;
}

.service-card {
  background: #fff;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.service-card h3 {
  margin: 0 0 8px 0;
  font-size: 16px;
}

.service-card p{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.service-cta {
  margin-top: 20px;
}

@media (min-width: 768px) {
  .service-block {
    grid-template-columns: minmax(0, 620px) 1fr; /* ✅ keeps image reasonable */
    align-items: start;
  }

  .service-cards {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1100px) {
  .service-block { gap: 40px; }
  .service-section { padding: 80px 0; }

  /* Slightly smaller images on big screens for luxury balance */
  .service-photo { max-width: 520px; }
}

/* ===============================
   FOOTER (partial)
================================= */
.site-footer {
  background: #111;
  color: #eee;
  padding: 60px 0 20px;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  gap: 40px;
}

.footer-col h3,
.footer-col h4 {
  margin: 0 0 16px 0;
  color: #fff;
}

.footer-col p {
  margin: 0;
  line-height: 1.6;
  color: #bbb;
}

.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 10px;
}

.footer-links a,
.footer-contact a {
  color: #bbb;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: #d4af37;
}

.footer-bottom {
  border-top: 1px solid #222;
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  font-size: 14px;
  color: #888;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

/* ===============================
   FLOATING WHATSAPP BUTTON
================================= */
.wa-float{
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 2000;

  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 12px 14px;
  border-radius: 999px;

  background: var(--gold);
  color: #000;
  font-weight: 900;
  font-size: 14px;

  border: 1px solid rgba(0,0,0,.10);
  box-shadow: 0 14px 34px rgba(0,0,0,.18);

  -webkit-tap-highlight-color: transparent;
  transition: transform .15s ease;
}

.wa-float img{
  width: 22px;
  height: 22px;
}

.wa-float:active{
  transform: translateY(1px);
}

@supports (padding: env(safe-area-inset-bottom)){
  .wa-float{
    bottom: calc(16px + env(safe-area-inset-bottom));
    right: calc(16px + env(safe-area-inset-right));
  }
}

@media (max-width: 380px){
  .wa-float span{ display:none; }
  .wa-float{ padding: 12px; }
}
/* ===== FORCE FOOTER BLACK (mobile + desktop) ===== */
.site-footer{
  background: #0b0b0b !important;
  color: #ffffff !important;
}

.site-footer *{
  color: inherit;
}

.site-footer a{
  color: #ffffff !important;
  opacity: .9;
}

.site-footer a:hover{
  opacity: 1;
}

.site-footer .footer-bottom{
  border-top: 1px solid rgba(255,255,255,.12);
}

/* If your global body background is white, keep footer full black */
.site-footer{
  width: 100%;
}

/* ===== CONTACT PAGE ===== */

.contact-hero{
  padding: 80px 0 50px;
}

.contact-sub{
  margin-top: 12px;
  color: #555;
  font-size: 16px;
}

.contact-actions{
  margin-top: 25px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.contact-details{
  padding: 50px 0;
}

.contact-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.contact-card{
  background: #fff;
  border-radius: 18px;
  padding: 30px;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 10px 22px rgba(0,0,0,.05);
}

.contact-list{
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  line-height: 1.9;
}

.contact-list a{
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.contact-note{
  margin-top: 15px;
  color: #666;
}

.contact-map{
  padding: 50px 0;
}

.map-wrapper{
  margin-top: 20px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.08);
}

.map-wrapper iframe{
  width: 100%;
  height: 400px;
  border: 0;
}

.map-actions{
  margin-top: 20px;
}

.contact-faq{
  padding: 60px 0;
}

.faq-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.faq-item{
  background: #fff;
  padding: 25px;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,.08);
}

@media (max-width: 900px){
  .contact-grid,
  .faq-grid{
    grid-template-columns: 1fr;
  }
}
.wa-float{
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #d4af37;
  color: #000;
  padding: 12px 18px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
  z-index: 9999;
}

.wa-float img{
  width: 20px;
  height: 20px;
}
.wa-float{
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #d4af37;
  color: #000;
  padding: 12px 18px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
  z-index: 5000; /* lower than viewer (9999) */
}