/* Mando App v2 — Booking + Pay + Theme */

/* ── Modal ── */
.m-overlay{position:fixed;inset:0;background:rgba(0,0,0,.7);z-index:10000;display:flex;align-items:center;justify-content:center;padding:16px;backdrop-filter:blur(4px)}
.m-modal{background:#1a1a1a;border:1px solid rgba(255,255,255,.08);border-radius:16px;width:100%;max-width:480px;max-height:90vh;overflow-y:auto;animation:mSlide .25s ease}
@keyframes mSlide{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:none}}
.m-modal-hdr{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid rgba(255,255,255,.06)}
.m-modal-hdr h2{font-family:"Cormorant Garamond",Georgia,serif;color:var(--brand,#D4AF37);font-size:1.3rem;margin:0}
.m-close{background:none;border:none;color:#999;font-size:1.8rem;cursor:pointer;line-height:1}
.m-close:hover{color:#fff}

/* ── Steps ── */
.m-steps{padding:20px 24px}
.m-step-label{font-size:.75rem;text-transform:uppercase;letter-spacing:1.5px;color:var(--brand,#D4AF37);font-weight:700;margin:0 0 12px}
.m-step-sub{color:#999;font-size:.85rem;margin:-8px 0 16px}
.m-back{background:none;border:none;color:var(--brand,#D4AF37);cursor:pointer;font-size:.85rem;margin-bottom:12px;padding:0}
.m-loading{color:#999;font-size:.9rem;padding:20px 0;text-align:center}
.m-empty{color:#999;font-size:.9rem;text-align:center;padding:20px 0}
.m-error{color:#f87171;font-size:.9rem;text-align:center;padding:20px 0}

/* ── Service cards ── */
.m-svc-grid{display:flex;flex-direction:column;gap:10px}
.m-svc-card{background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);border-radius:10px;padding:16px;cursor:pointer;transition:all .15s}
.m-svc-card:hover{border-color:var(--brand,#D4AF37);background:rgba(212,175,55,.06)}
.m-svc-name{font-weight:600;font-size:1rem;color:#f5f5f5;margin-bottom:4px}
.m-svc-meta{display:flex;gap:12px;font-size:.85rem}
.m-svc-price{color:var(--brand,#D4AF37);font-weight:700}
.m-svc-dur{color:#999}
.m-svc-desc{color:#777;font-size:.8rem;margin-top:6px}

/* ── Date pills ── */
.m-date-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:8px}
@media(max-width:480px){.m-date-grid{grid-template-columns:repeat(4,1fr)}}
.m-date-pill{background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);border-radius:10px;padding:10px 4px;cursor:pointer;text-align:center;transition:all .15s}
.m-date-pill:hover{border-color:var(--brand,#D4AF37)}
.m-date-pill.active{background:var(--brand,#D4AF37);border-color:var(--brand,#D4AF37);color:#000}
.m-date-pill.active .m-date-day,.m-date-pill.active .m-date-mon{color:#000}
.m-date-day{display:block;font-size:.65rem;text-transform:uppercase;color:#999;letter-spacing:.5px}
.m-date-num{display:block;font-size:1.2rem;font-weight:700;color:#f5f5f5;margin:2px 0}
.m-date-mon{display:block;font-size:.65rem;color:#999}

/* ── Time slots ── */
.m-time-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
@media(max-width:480px){.m-time-grid{grid-template-columns:repeat(3,1fr)}}
.m-time-btn{background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);border-radius:8px;padding:10px;font-size:.9rem;color:#f5f5f5;cursor:pointer;transition:all .15s;font-weight:500}
.m-time-btn:hover{border-color:var(--brand,#D4AF37)}
.m-time-btn.active{background:var(--brand,#D4AF37);border-color:var(--brand,#D4AF37);color:#000;font-weight:700}
.m-time-section,.m-confirm-section{margin-top:20px;padding-top:20px;border-top:1px solid rgba(255,255,255,.06)}

/* ── Confirm + form ── */
.m-summary{background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.06);border-radius:10px;padding:16px;margin-bottom:16px}
.m-summary-row{display:flex;justify-content:space-between;padding:6px 0;font-size:.85rem;color:#ccc}
.m-summary-row span{color:#999}
.m-summary-total{border-top:1px solid rgba(255,255,255,.06);margin-top:6px;padding-top:10px;font-size:1rem}
.m-summary-total strong{color:var(--brand,#D4AF37)}
.m-form{display:flex;flex-direction:column;gap:10px;margin-bottom:16px}
.m-input{width:100%;padding:12px 16px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);border-radius:8px;color:#f5f5f5;font-size:.9rem;outline:none;box-sizing:border-box}
.m-input:focus{border-color:var(--brand,#D4AF37)}
.m-input::placeholder{color:#666}
.m-btn-confirm{width:100%;padding:14px;background:var(--brand,#D4AF37);color:#000;border:none;border-radius:10px;font-size:1rem;font-weight:700;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:opacity .15s}
.m-btn-confirm:hover{opacity:.9}
.m-btn-confirm:disabled{opacity:.5;cursor:not-allowed}
.m-secure{text-align:center;font-size:.7rem;color:#666;margin-top:12px;letter-spacing:.3px}

/* ── Success ── */
.m-success{text-align:center;padding:30px 0}
.m-check{width:60px;height:60px;border-radius:50%;background:var(--brand,#D4AF37);color:#000;font-size:2rem;display:flex;align-items:center;justify-content:center;margin:0 auto 16px;animation:mPop .3s ease}
@keyframes mPop{from{transform:scale(0)}to{transform:scale(1)}}
.m-success h3{color:#f5f5f5;font-size:1.3rem;margin:0 0 8px}
.m-success p{color:#ccc;font-size:.9rem;margin:4px 0}

/* ── Pay modal ── */
.m-pay-wrap{padding:20px 24px}
.m-pay-methods{display:flex;gap:16px;justify-content:center;margin:16px 0 20px;flex-wrap:wrap}
.m-pay-brand{font-size:.9rem;color:#ccc;padding:8px 14px;border:1px solid rgba(255,255,255,.08);border-radius:8px;background:rgba(255,255,255,.03)}
.m-pay-input{font-size:1.5rem;text-align:center;font-weight:700;margin-bottom:16px}

/* ── Theme toggle ── */
.mando-theme-toggle{position:fixed;bottom:24px;right:24px;z-index:9000;display:flex;background:rgba(30,30,30,.9);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.1);border-radius:50px;padding:4px;gap:2px}
.mando-theme-btn{width:36px;height:36px;border-radius:50%;border:2px solid transparent;cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center;font-size:16px}
.mando-theme-btn:hover{transform:scale(1.1)}
.mando-theme-btn.active{border-color:var(--brand,#D4AF37);box-shadow:0 0 12px rgba(212,175,55,.4)}
.mando-theme-btn--dark{background:#1a1a1a;color:#D4AF37}
.mando-theme-btn--light{background:#f5f5f0;color:#1a1a1a}

/* ── Light theme ── */
html[data-theme="light"]{--bg:#fafaf8!important;--bg-alt:#f0efe8!important;--text:#1a1a1a!important;--text-muted:#666!important}
html[data-theme="light"] body{background:#fafaf8!important;color:#1a1a1a!important}
html[data-theme="light"] nav{background:rgba(250,250,248,.95)!important;border-bottom-color:rgba(0,0,0,.08)!important}
html[data-theme="light"] .btn-outline{color:#1a1a1a!important;border-color:#1a1a1a!important}
html[data-theme="light"] h1,html[data-theme="light"] h2{color:#1a1a1a!important}
html[data-theme="light"] p,html[data-theme="light"] td{color:#333!important}
html[data-theme="light"] .service-card{background:#fff!important;border-color:#e5e5e0!important}
html[data-theme="light"] footer{background:#f0efe8!important}
html[data-theme="light"] .m-modal{background:#fff;border-color:#e5e5e0}
html[data-theme="light"] .m-modal-hdr{border-color:#eee}
html[data-theme="light"] .m-svc-card{background:#f9f9f6;border-color:#e5e5e0}
html[data-theme="light"] .m-svc-name{color:#1a1a1a}
html[data-theme="light"] .m-date-pill{background:#f9f9f6;border-color:#e5e5e0}
html[data-theme="light"] .m-date-num{color:#1a1a1a}
html[data-theme="light"] .m-time-btn{background:#f9f9f6;border-color:#e5e5e0;color:#1a1a1a}
html[data-theme="light"] .m-input{background:#f5f5f0;border-color:#ddd;color:#1a1a1a}
html[data-theme="light"] .m-summary{background:#f9f9f6;border-color:#e5e5e0}
html[data-theme="light"] .m-summary-row{color:#333}
html[data-theme="light"] .mando-theme-toggle{background:rgba(255,255,255,.9);border-color:rgba(0,0,0,.1)}

/* ══════ GALLERY ALWAYS VISIBLE ══════ */
#gallery { background: rgba(0,0,0,.3) !important; }
#gallery img { display: block !important; opacity: 1 !important; border: 1px solid rgba(255,255,255,.1); }
html[data-theme="light"] #gallery { background: #f0efe8 !important; }
html[data-theme="light"] #gallery img { border-color: #e5e5e0; }
html[data-theme="light"] #gallery .section-title { color: var(--brand) !important; }

/* ══════ FIX DARK SECTIONS VISIBILITY ══════ */
section { min-height: auto !important; }
.section-title { color: var(--brand, #D4AF37) !important; font-size: 1.8rem !important; }
#about p, #services p, #hours td, #hours th, #contact p, #contact a { color: #ccc !important; }
html[data-theme="light"] #about p, html[data-theme="light"] #services p, 
html[data-theme="light"] #hours td, html[data-theme="light"] #hours th,
html[data-theme="light"] #contact p, html[data-theme="light"] #contact a { color: #333 !important; }

/* ══════ HERO IMAGE OVERLAY FOR TEXT READABILITY ══════ */
.hero { position: relative !important; }
.hero > * { position: relative; z-index: 1; }

/* ══════ TRUST BADGES ══════ */
.mando-trust-strip{display:flex;align-items:center;justify-content:center;gap:24px;flex-wrap:wrap;padding:16px 20px;background:#111;border-top:1px solid rgba(255,255,255,.06)}
.mando-trust-badge{display:flex;align-items:center;gap:6px;font-size:11px;color:#888;letter-spacing:.3px;font-family:system-ui,-apple-system,sans-serif;white-space:nowrap}
.mando-trust-badge svg{flex-shrink:0;opacity:.6}
html[data-theme="light"] .mando-trust-strip{background:#eae9e2;border-top-color:rgba(0,0,0,.06)}
html[data-theme="light"] .mando-trust-badge{color:#777}
@media(max-width:480px){.mando-trust-strip{gap:14px;padding:12px 16px}.mando-trust-badge{font-size:10px}}

.mando-pay-strip__label {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(212,175,55,.7);
  margin: 0 0 24px;
  font-weight: 600;
}
.mando-pay-strip__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

/* Payment Brands Strip — matches mando-bank.com homepage exactly */
.mando-pay-strip {
  max-width: 900px;
  margin: 40px auto;
  padding: 26px 32px;
  background: linear-gradient(180deg, #0e0b06, #0a0805);
  border: 1px solid rgba(139, 105, 20, .5);
  border-radius: 10px;
  box-shadow: 0 18px 48px rgba(0,0,0,.5), 0 0 0 1px rgba(255,232,115,.06) inset;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.mando-pay-strip::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #FFD700, transparent);
  opacity: .65;
}
.mando-pay-strip__label {
  font-size: 10px;
  color: #D4AF37;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 20px;
}
.mando-pay-strip__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 38px;
  flex-wrap: wrap;
}
.mando-pay-strip__mark {
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: .9;
  transition: opacity .25s, transform .25s;
}
.mando-pay-strip__mark:hover {
  opacity: 1;
  transform: translateY(-1px);
}
.mando-pay-strip__mark svg {
  height: 100%;
  width: auto;
  display: block;
  max-width: 100px;
}
/* Light theme */
[data-theme="light"] .mando-pay-strip {
  background: linear-gradient(180deg, #f5f3ed, #eae8e0);
  border-color: rgba(139, 105, 20, .3);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
[data-theme="light"] .mando-pay-strip__label { color: #8B6914; }
[data-theme="light"] .mando-pay-strip__mark svg path[fill="#f5f1e6"] { fill: #1a1a1a; }
[data-theme="light"] .mando-pay-strip__mark svg text[fill="#f5f1e6"] { fill: #1a1a1a; }
[data-theme="light"] .mando-pay-strip__mark svg path[stroke="#f5f1e6"] { stroke: #1a1a1a; }
@media(max-width:640px) {
  .mando-pay-strip__row { gap: 22px; }
  .mando-pay-strip__mark { height: 24px; }
}


/* ═══ ANIMATIONS ═══ */
/* Fade in on scroll */
.mando-anim{opacity:1;transform:translateY(20px);transition:opacity .6s cubic-bezier(.16,1,.3,1),transform .6s cubic-bezier(.16,1,.3,1)}
.mando-anim.visible{opacity:1;transform:translateY(0)}
.mando-anim-delay-1{transition-delay:.1s}
.mando-anim-delay-2{transition-delay:.2s}
.mando-anim-delay-3{transition-delay:.3s}

/* Hero entrance */
@keyframes heroFadeIn{from{opacity:0;transform:scale(1.05)}to{opacity:1;transform:scale(1)}}

/* Section headings slide in */
@keyframes slideUp{from{opacity:0;transform:translateY(40px)}to{opacity:1;transform:translateY(0)}}
.section-title{animation:slideUp .6s ease-out forwards}
.section-title.visible{opacity:1}

/* Service cards hover lift */
.service-card{transition:transform .3s ease,box-shadow .3s ease}
.service-card:hover{transform:translateY(-4px);box-shadow:0 12px 32px rgba(0,0,0,.2)}

/* Button press animation */
.btn{transition:all .2s ease}
.btn:active{transform:scale(.96)}

/* Nav entrance */
@keyframes navSlideDown{from{transform:translateY(-100%);opacity:0}to{transform:translateY(0);opacity:1}}
nav{animation:navSlideDown .4s ease-out}

/* Footer fade in */
footer{opacity:0;animation:slideUp .6s ease-out .3s forwards}

/* Smooth section transitions */
section{transition:background-color .3s ease}

/* Contact card hover */
.contact-item{transition:transform .2s ease,border-color .2s ease}
.contact-item:hover{transform:translateY(-2px);border-color:var(--brand)}

/* Hours table row hover */
table tr{transition:background .15s ease}
table tr:hover{background:rgba(212,175,55,.05)}

/* Gallery image hover zoom */
#gallery img{transition:transform .4s ease}
#gallery img:hover{transform:scale(1.03)}


/* Hero image - works on BOTH dark and light themes */
.hero{background-color:#0a0805;background-size:cover;background-position:center}
.hero .container{position:relative;z-index:1}

/* Dark theme hero overlay */
.hero h1{text-shadow:0 2px 20px rgba(0,0,0,.8)}
.hero p{text-shadow:0 1px 10px rgba(0,0,0,.6)}

/* Light theme hero overlay - keeps image visible */
html[data-theme="light"] .hero{background-color:#fafaf8}
html[data-theme="light"] .hero[style*="background-image"]{background-color:transparent!important}
html[data-theme="light"] .hero h1{color:#1a1a1a!important;text-shadow:0 2px 16px rgba(255,255,255,.9)!important}
html[data-theme="light"] .hero p{color:#333!important;text-shadow:0 1px 8px rgba(255,255,255,.7)!important}
html[data-theme="light"] .hero .btn-primary{background:var(--brand)!important;color:#111!important}
html[data-theme="light"] .hero .btn-outline{border-color:#333!important;color:#333!important}

/* Hero overlay - dark theme */
.hero[style*="background-image"]::before{content:"";position:absolute;inset:0;z-index:0;background:linear-gradient(180deg,rgba(0,0,0,.35) 0%,rgba(0,0,0,.5) 40%,rgba(10,8,5,.88) 100%)}
.hero .container{position:relative;z-index:1}

/* Hero overlay - light theme */
html[data-theme="light"] .hero[style*="background-image"]::before{background:linear-gradient(180deg,rgba(255,255,255,.1) 0%,rgba(255,255,255,.3) 40%,rgba(250,250,248,.85) 100%) !important}

.nav-inner{display:flex !important;align-items:center !important;justify-content:space-between !important}
nav .nav-inner{position:relative}

/* Fix chat bubble and language selector overlap */
.mando-chat-bubble{bottom:20px !important;left:20px !important}
.mando-chat-window{bottom:80px !important;left:20px !important}

/* ═══ MOBILE RESPONSIVE — All merchant websites ═══ */
@media(max-width:768px){
  /* Nav */
  nav .nav-inner{padding:10px 16px !important}
  .nav-logo img{width:36px !important;height:36px !important}
  .nav-inner::after,.nav-inner>div[style*="text-align:center"]{font-size:1.1rem !important}
  .nav-btns .btn{padding:8px 16px !important;font-size:.75rem !important}
  
  /* Hero */
  .hero{padding:100px 0 60px !important}
  .hero h1{font-size:clamp(2rem,8vw,3.5rem) !important}
  .hero p{font-size:1rem !important;padding:0 16px}
  .hero-btns{flex-direction:column !important;gap:10px !important;padding:0 20px}
  .hero-btns .btn{width:100% !important;padding:14px !important;font-size:1rem !important}
  
  /* Sections */
  section{padding:40px 0 !important}
  .container{padding:0 16px !important}
  .section-title{font-size:1.5rem !important}
  
  /* Services grid */
  .services-grid{grid-template-columns:1fr !important;gap:12px !important}
  .service-card{padding:18px !important}
  
  /* Contact */
  .contact-grid{grid-template-columns:1fr !important;gap:12px !important}
  
  /* Gallery */
  #gallery div[style*="grid-template-columns"]{grid-template-columns:1fr !important}
  
  /* Hours table */
  table{font-size:14px !important}
  table th,table td{padding:10px 8px !important}
  
  /* Footer */
  footer{padding:32px 16px !important;font-size:13px}
  
  /* Chat bubble */
  .mando-chat-bubble{width:48px !important;height:48px !important;bottom:16px !important;left:16px !important}
  .mando-chat-window{width:calc(100vw - 32px) !important;max-width:none !important;left:16px !important;right:16px !important;bottom:72px !important;max-height:60vh !important}
  
  /* Theme toggle */
  .mando-theme-toggle{bottom:16px !important;right:16px !important}
  .mando-theme-btn{width:36px !important;height:36px !important;font-size:16px !important}
  
  /* Trust badges */
  .mando-trust-strip{flex-direction:column !important;gap:8px !important;font-size:10px !important}
  
  /* Payment strip */
  .mando-pay-strip{padding:20px 16px !important;margin:20px 16px !important}
  .mando-pay-strip__row{gap:16px !important}
  .mando-pay-strip__mark{height:22px !important}
  
  /* Google reviews */
  #reviews div[style*="grid-template-columns"]{grid-template-columns:1fr !important}
  
  /* Map */
  .map-section iframe{height:200px !important}
}

@media(max-width:380px){
  .hero h1{font-size:1.8rem !important}
  .nav-btns .btn{padding:6px 12px !important;font-size:.7rem !important}
  .mando-chat-window{max-height:50vh !important}
}

/* ═══ CROSS-BROWSER FIXES ═══ */
*{box-sizing:border-box}
img{max-width:100%;height:auto}
input,button,select,textarea{font-family:inherit}
a{-webkit-tap-highlight-color:transparent}
button{-webkit-tap-highlight-color:transparent}
