/* ==========================================================================
   YS INFRA — Brand tokens
   Deep green: #184E47   Orange accent: #FD5320 / #fd7c47
   Cream bg:  #F8FAF7    Ink: #1D2321
   Display font: Funnel Display   Body font: Lato
   ========================================================================== */
:root{
  --ys-green: #184E47;
  --ys-green-dark: #0E322D;
  --ys-orange: #FD5320;
  --ys-orange-light: #fd7c47;
  --ys-cream: #F8FAF7;
  --ys-ink: #1D2321;
  --ys-muted: #5F6F6B;
  --ys-border: #E9EBEC;
  --radius-lg: 22px;
  --radius-md: 14px;
}

body{
  font-family: 'Lato', sans-serif;
  color: var(--ys-ink);
  background: #fff;
}
h1,h2,h3,h4,.display-font{
  font-family: 'Funnel Display', sans-serif;
  color: var(--ys-green);
  letter-spacing: -0.01em;
}
a{ text-decoration:none; color: var(--ys-green); }
.text-orange{ color: var(--ys-orange); }
.bg-cream{ background: var(--ys-cream); }
.bg-green{ background: var(--ys-green); }

/* ---- Buttons ---- */
.btn-brand-orange{
  background: var(--ys-orange);
  color:#fff;
  border:none;
  font-weight:700;
  transition: transform .15s ease, background .2s ease;
}
.btn-brand-orange:hover{ background: var(--ys-orange-light); color:#fff; transform: translateY(-2px); }
.btn-brand-outline{
  background: transparent;
  border: 2px solid var(--ys-green);
  color: var(--ys-green);
  font-weight:700;
  border-radius: 50px;
}
.btn-brand-outline:hover{ background: var(--ys-green); color:#fff; }

/* ---- Eyebrow / label ---- */
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  color: var(--ys-orange); font-weight:700; letter-spacing:.08em;
  text-transform:uppercase; font-size:.8rem; margin-bottom:.75rem;
}
.eyebrow::before{ content:""; width:22px; height:2px; background: var(--ys-orange); display:inline-block; }

/* ---- Header ---- */
.navbar .nav-link{ font-weight:600; color: var(--ys-ink); margin: 0 6px; }
.navbar .nav-link:hover{ color: var(--ys-orange); }

/* ---- Hero ---- */
.hero{
  background: linear-gradient(180deg, var(--ys-cream) 0%, #ffffff 100%);
  padding: 70px 0 40px;
  position:relative;
  overflow:hidden;
}
.hero h1{ font-size: clamp(2.1rem, 4vw, 3.4rem); font-weight:700; line-height:1.12; }
.hero-lead{ color: var(--ys-muted); font-size:1.15rem; max-width: 520px; }
.hero-image-wrap{ position:relative; }
.hero-image-wrap img{ border-radius: var(--radius-lg); box-shadow: 0 30px 60px -20px rgba(24,78,71,.35); }
.hero-stat-card{
  position:absolute; bottom:-24px; left:-24px;
  background:#fff; border-radius: var(--radius-md); padding:18px 22px;
  box-shadow: 0 15px 40px rgba(0,0,0,.12);
}
.hero-stat-card .num{ font-family:'Funnel Display',sans-serif; font-weight:700; color: var(--ys-orange); font-size:1.8rem; line-height:1;}

/* ---- Hero: full-bleed background photo variant ---- */
.hero-photo{
  position:relative;
  padding: 110px 0 90px;
  background-size: cover;
  background-position: center;
  overflow:hidden;
}
.hero-photo::before{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(100deg, rgba(14,50,45,var(--ys-overlay,.6)) 15%, rgba(14,50,45,calc(var(--ys-overlay,.6) * 0.4)) 65%, rgba(14,50,45,.15) 100%);
  z-index:0;
}
.hero-photo .container{ position:relative; z-index:1; }
.hero-photo h1, .hero-photo .eyebrow, .hero-photo .hero-lead{ color:#fff; }
.hero-photo .eyebrow::before{ background:#fff; }
.hero-photo .hero-lead{ color: rgba(255,255,255,.85); }
.hero-photo .hero-stat-num{ color:#fff; }
.hero-photo .hero-stat-label{ color: rgba(255,255,255,.7); }
.hero-photo .hero-stat-card{ position:static; background: rgba(255,255,255,.12); backdrop-filter: blur(6px); border:1px solid rgba(255,255,255,.25); }
.hero-photo .hero-stat-card .num{ color:#fff; }
.hero-photo .hero-stat-card .text-muted{ color: rgba(255,255,255,.8) !important; }

/* ---- Sections ---- */
section{ padding: 70px 0; }
.section-title{ max-width: 640px; }

/* ---- Feature / Why choose cards ---- */
.feature-card{
  background:#fff; border:1px solid var(--ys-border); border-radius: var(--radius-md);
  padding: 28px 26px; height:100%; transition: box-shadow .2s ease, transform .2s ease;
}
.feature-card:hover{ box-shadow: 0 20px 40px rgba(24,78,71,.10); transform: translateY(-4px); }
.feature-icon{
  width:54px; height:54px; border-radius:14px;
  background: rgba(253,83,32,.1); color: var(--ys-orange);
  display:flex; align-items:center; justify-content:center; font-size:1.5rem; margin-bottom:16px;
}

/* ---- Services ---- */
.service-card{ border-radius: var(--radius-md); overflow:hidden; position:relative; height:340px; }
.service-card img{ width:100%; height:100%; object-fit:cover; transition: transform .4s ease; }
.service-card:hover img{ transform: scale(1.06); }
.service-card-overlay{
  position:absolute; inset:auto 0 0 0; padding:22px;
  background: linear-gradient(0deg, rgba(14,50,45,.92) 10%, rgba(14,50,45,0) 100%);
  color:#fff;
}
.service-card-overlay h3{ color:#fff; font-size:1.2rem; margin-bottom:4px; }

/* ---- Process steps ---- */
.process-step{ text-align:center; padding: 0 10px; }
.process-num{
  width:56px; height:56px; border-radius:50%; background: var(--ys-green); color:#fff;
  display:flex; align-items:center; justify-content:center; font-weight:700; margin:0 auto 16px;
  font-family:'Funnel Display',sans-serif; font-size:1.2rem;
}

/* ---- Gallery ---- */
.gallery-item{ border-radius: var(--radius-md); overflow:hidden; position:relative; margin-bottom:24px; }
.gallery-item img{ width:100%; height:280px; object-fit:cover; transition: transform .4s ease; }
.gallery-item:hover img{ transform: scale(1.05); }
.gallery-cat-badge{ position:absolute; top:14px; left:14px; background:#fff; color: var(--ys-green); font-size:.75rem; font-weight:700; padding:4px 12px; border-radius:50px; }
.filter-btn{ border:1px solid var(--ys-border); background:#fff; border-radius:50px; padding:8px 20px; font-weight:600; margin:0 6px 10px 0; color: var(--ys-ink); }
.filter-btn.active,.filter-btn:hover{ background: var(--ys-green); color:#fff; border-color: var(--ys-green); }

/* ---- Before/After slider ---- */
.ba-slider{ cursor: ew-resize; user-select:none; background:#eee; }
.ba-slider .ba-after, .ba-slider .ba-before{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block;
}
.ba-slider .ba-after{ z-index:1; }
.ba-slider .ba-before{ z-index:2; clip-path: inset(0 50% 0 0); }
.ba-range{ position:absolute; inset:0; width:100%; height:100%; margin:0; opacity:0; cursor: ew-resize; z-index:4; }
.ba-handle{
  position:absolute; top:0; bottom:0; left:50%; width:0; z-index:3;
  border-left:3px solid #fff; pointer-events:none;
  display:flex; align-items:center; justify-content:center;
}
.ba-handle i{
  background:#fff; color:var(--ys-green); width:34px; height:34px; border-radius:50%;
  display:flex; align-items:center; justify-content:center; box-shadow:0 4px 12px rgba(0,0,0,.25);
}
.ba-label{ position:absolute; top:12px; background:rgba(14,50,45,.75); color:#fff; font-size:.7rem; font-weight:700; padding:3px 10px; border-radius:50px; text-transform:uppercase; letter-spacing:.05em; pointer-events:none; z-index:3; }
.ba-label-before{ left:12px; }
.ba-label-after{ right:12px; }

/* ---- Testimonials ---- */
.testimonial-card{ background:#fff; border:1px solid var(--ys-border); border-radius: var(--radius-md); padding:28px; height:100%; }
.testimonial-card .stars{ color: var(--ys-orange); }
.testimonial-avatar{ width:50px; height:50px; border-radius:50%; object-fit:cover; }

/* ---- FAQ ---- */
.accordion-button{ font-weight:700; color: var(--ys-green); }
.accordion-button:not(.collapsed){ color: var(--ys-orange); background: rgba(253,83,32,.06); }
.accordion-button:focus{ box-shadow:none; }

/* ---- CTA banner ---- */
.cta-banner{ background: var(--ys-green); border-radius: var(--radius-lg); color:#fff; padding: 50px; position:relative; overflow:hidden; }
.cta-banner h2{ color:#fff; }

/* ---- Booking form ---- */
.booking-card{ background:#fff; border-radius: var(--radius-lg); box-shadow: 0 30px 60px rgba(0,0,0,.08); padding: 36px; }
.form-control, .form-select{ border-radius: 10px; border-color: var(--ys-border); padding: 12px 14px; }
.form-control:focus, .form-select:focus{ border-color: var(--ys-orange); box-shadow: 0 0 0 .2rem rgba(253,83,32,.15); }

/* ---- Blog ---- */
.blog-card img{ border-radius: var(--radius-md); height:220px; object-fit:cover; width:100%; }
.blog-card .meta{ color: var(--ys-muted); font-size:.85rem; }

/* ---- Footer ---- */
.site-footer{ background: var(--ys-green-dark); }
.footer-links li{ margin-bottom:10px; color: rgba(255,255,255,.7); }
.footer-links a{ color: rgba(255,255,255,.7); }
.footer-links a:hover{ color: var(--ys-orange-light); }
.footer-logo{ filter: brightness(0) invert(1); }

/* ==========================================================================
   Chatbot widget
   ========================================================================== */
.ys-chatbot{ position:fixed; right:22px; bottom:22px; z-index:1050; }
.ys-chatbot-toggle{
  width:60px; height:60px; border-radius:50%; border:none;
  background: var(--ys-orange); color:#fff; font-size:1.6rem;
  box-shadow: 0 12px 30px rgba(253,83,32,.4);
  display:flex; align-items:center; justify-content:center;
  animation: ys-pulse 2.5s infinite;
}
@keyframes ys-pulse{
  0%{ box-shadow: 0 0 0 0 rgba(253,83,32,.45); }
  70%{ box-shadow: 0 0 0 14px rgba(253,83,32,0); }
  100%{ box-shadow: 0 0 0 0 rgba(253,83,32,0); }
}
.ys-chatbot-window{
  position:absolute; right:0; bottom:76px; width:340px; max-width: calc(100vw - 40px);
  background:#fff; border-radius:18px; box-shadow: 0 25px 60px rgba(0,0,0,.25);
  display:flex; flex-direction:column; overflow:hidden; height:480px; max-height: 70vh;
}
.ys-chatbot-header{
  background: var(--ys-green); color:#fff; padding:14px 16px;
  display:flex; align-items:center; justify-content:space-between;
}
.ys-chatbot-messages{ flex:1; overflow-y:auto; padding:16px; display:flex; flex-direction:column; gap:10px; background: var(--ys-cream); }
.ys-msg{ padding:10px 14px; border-radius:14px; max-width:85%; font-size:.92rem; line-height:1.4; }
.ys-msg-bot{ background:#fff; border:1px solid var(--ys-border); align-self:flex-start; border-bottom-left-radius:4px; }
.ys-msg-user{ background: var(--ys-orange); color:#fff; align-self:flex-end; border-bottom-right-radius:4px; }
.ys-msg-typing{ background:#fff; border:1px solid var(--ys-border); align-self:flex-start; padding:10px 16px; border-radius:14px; }
.ys-chatbot-quick{ display:flex; flex-wrap:wrap; gap:6px; padding:8px 12px; border-top:1px solid var(--ys-border); background:#fff; }
.ys-quick-btn{ border:1px solid var(--ys-border); background: var(--ys-cream); border-radius:50px; font-size:.75rem; padding:5px 12px; }
.ys-quick-btn:hover{ background: var(--ys-orange); color:#fff; }
.ys-chatbot-input{ display:flex; border-top:1px solid var(--ys-border); }
.ys-chatbot-input input{ flex:1; border:none; padding:14px 16px; outline:none; font-size:.9rem; }
.ys-chatbot-input button{ background: var(--ys-green); color:#fff; border:none; width:52px; }

@media (max-width: 576px){
  .ys-chatbot-window{ width: calc(100vw - 30px); right:-10px; }
}

/* ==========================================================================
   WhatsApp floating button
   ========================================================================== */
.ys-whatsapp-btn{
  position:fixed; left:22px; bottom:22px; z-index:1049;
  width:56px; height:56px; border-radius:50%;
  background:#25D366; color:#fff; font-size:1.6rem;
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 12px 30px rgba(37,211,102,.45);
  transition: transform .15s ease;
}
.ys-whatsapp-btn:hover{ color:#fff; transform: translateY(-3px) scale(1.05); }
@media (max-width: 576px){
  .ys-whatsapp-btn{ width:50px; height:50px; font-size:1.4rem; left:16px; bottom:16px; }
}
