/* ===== MANGO MOZAIC — Global Stylesheet ===== */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand palette */
  --charcoal:      #1e1e23;
  --deep-slate:    #2a2a32;
  --slate-mid:     #3a3a44;
  --slate-light:   #50505c;
  --saffron:       #f5a623;
  --burnt-orange:  #cc5500;
  --gold:          #ffc300;
  --gold-dim:      #c89b00;
  --white:         #f0efe9;
  --off-white:     #d8d6ce;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing */
  --section-pad: clamp(3rem, 8vw, 7rem) clamp(1.25rem, 5vw, 6rem);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--charcoal);
  color: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a   { color: var(--saffron); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold); }

/* --- Typography --- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); margin-bottom: 1.25rem; }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); margin-bottom: 0.75rem; }
p  { max-width: 68ch; }

/* --- Layout --- */
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 1.25rem; }
section    { padding: var(--section-pad); }

/* --- Navigation --- */
.site-nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(30,30,35,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(245,166,35,.12);
}
.site-nav .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.site-nav__logo {
  font-family: var(--font-display);
  font-size: 1.35rem; font-weight: 700;
  color: var(--white);
}
.site-nav__logo span { color: var(--saffron); }
.site-nav__links { display: flex; gap: 2rem; list-style: none; }
.site-nav__links a {
  color: var(--off-white); font-size: 0.9rem; font-weight: 500;
  letter-spacing: 0.03em; text-transform: uppercase;
  position: relative; padding-bottom: 2px;
}
.site-nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; background: var(--saffron);
  transition: width .3s;
}
.site-nav__links a:hover::after,
.site-nav__links a.active::after { width: 100%; }
.site-nav__links a:hover { color: var(--white); }

/* Hamburger (mobile) */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: .5rem; }
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--white);
  margin: 5px 0; transition: .3s;
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .site-nav__links {
    position: fixed; top: 72px; right: -100%; width: 260px; height: calc(100vh - 72px);
    flex-direction: column; gap: 0;
    background: var(--deep-slate); padding: 1rem 0;
    transition: right .35s ease;
  }
  .site-nav__links.open { right: 0; }
  .site-nav__links a { padding: 1rem 1.5rem; display: block; }
}

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 2rem; border-radius: 4px; font-weight: 600;
  font-size: 0.95rem; letter-spacing: 0.02em; cursor: pointer;
  border: none; transition: background .25s, transform .15s, box-shadow .25s;
}
.btn:active { transform: scale(.97); }

.btn--primary {
  background: var(--saffron); color: var(--charcoal);
}
.btn--primary:hover {
  background: var(--gold); color: var(--charcoal);
  box-shadow: 0 4px 20px rgba(245,166,35,.35);
}

.btn--outline {
  background: transparent; color: var(--saffron);
  border: 2px solid var(--saffron);
}
.btn--outline:hover {
  background: var(--saffron); color: var(--charcoal);
}

.btn--phone::before { content: '\260E\FE0F'; margin-right: .25rem; }

/* --- Cards --- */
.card {
  background: var(--deep-slate);
  border: 1px solid rgba(245,166,35,.1);
  border-radius: 8px;
  padding: 2rem;
  transition: border-color .3s, transform .3s;
}
.card:hover {
  border-color: rgba(245,166,35,.35);
  transform: translateY(-4px);
}
.card__icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(245,166,35,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1rem;
}

/* --- Mosaic Grid (decorative background) --- */
.mosaic-bg {
  position: relative; overflow: hidden;
}
.mosaic-bg::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(245,166,35,.03) 1px, transparent 1px),
    linear-gradient(rgba(245,166,35,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding-top: 72px;
}
.hero__bg {
  position: absolute; inset: 0;
  background: url('hero-mosaic-mango.jpg') center/cover no-repeat;
  opacity: .35;
}
.hero__video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  min-width: 100%; min-height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero__overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(30,30,35,.75) 0%, rgba(30,30,35,.45) 100%);
  z-index: 1;
}
.hero__content {
  position: relative; z-index: 2;
  max-width: 720px;
}
.hero__badge {
  display: inline-block;
  padding: .35rem 1rem; border-radius: 20px;
  background: rgba(245,166,35,.12);
  color: var(--saffron); font-size: .8rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero h1 { margin-bottom: 1.25rem; }
.hero h1 span { color: var(--saffron); }
.hero__sub {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: var(--off-white); margin-bottom: 2.5rem;
}
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* --- Quick-Book Form --- */
.quick-form {
  background: var(--deep-slate);
  border: 1px solid rgba(245,166,35,.15);
  border-radius: 8px;
  padding: 2rem; margin-top: 3rem;
  max-width: 520px;
}
.quick-form h3 { color: var(--saffron); }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block; font-size: .85rem; font-weight: 500;
  margin-bottom: .35rem; color: var(--off-white);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: .7rem 1rem;
  background: var(--charcoal);
  border: 1px solid var(--slate-mid);
  border-radius: 4px; color: var(--white);
  font-family: var(--font-body); font-size: .95rem;
  transition: border-color .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--saffron);
  box-shadow: 0 0 0 3px rgba(245,166,35,.12);
}
.form-group textarea { resize: vertical; min-height: 80px; }

/* --- Section Headers --- */
.section-header {
  text-align: center; max-width: 640px; margin: 0 auto 3.5rem;
}
.section-header p { margin: .75rem auto 0; color: var(--off-white); }

/* --- Feature Grid --- */
.feature-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* --- Stats Row --- */
.stats-row {
  display: flex; flex-wrap: wrap; gap: 2rem;
  justify-content: center; margin-top: 3rem;
}
.stat {
  text-align: center; min-width: 140px;
}
.stat__number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--saffron); line-height: 1;
}
.stat__label {
  font-size: .85rem; color: var(--off-white);
  margin-top: .35rem;
}

/* --- Map Section --- */
.map-wrapper {
  border-radius: 8px; overflow: hidden;
  border: 1px solid rgba(245,166,35,.15);
  position: relative;
}
.map-wrapper iframe {
  width: 100%; height: 480px; border: 0;
  filter: saturate(.15) brightness(.7) contrast(1.1);
  transition: filter .4s;
}
.map-wrapper:hover iframe {
  filter: saturate(.35) brightness(.8) contrast(1.05);
}
.active-now {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .5rem 1.25rem; border-radius: 20px;
  background: rgba(0, 200, 83, .12);
  color: #00c853; font-size: .85rem; font-weight: 600;
  margin-bottom: 1.5rem;
}
.active-now__dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #00c853;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,200,83,.5); }
  50%      { box-shadow: 0 0 0 8px rgba(0,200,83,0); }
}

/* --- Contact Form (full) --- */
.contact-form {
  background: var(--deep-slate);
  border: 1px solid rgba(245,166,35,.12);
  border-radius: 8px; padding: 2.5rem;
  max-width: 640px; margin: 0 auto;
}
.contact-form .form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem;
}
@media (max-width: 540px) {
  .contact-form .form-row { grid-template-columns: 1fr; }
}

/* --- Encryption Badge --- */
.encrypt-badge {
  display: flex; align-items: center; gap: .5rem;
  margin-top: 1rem; font-size: .8rem; color: var(--off-white);
}
.encrypt-badge svg { width: 16px; height: 16px; fill: var(--saffron); }

/* --- Footer --- */
.site-footer {
  background: var(--deep-slate);
  border-top: 1px solid rgba(245,166,35,.08);
  padding: 3rem 0 2rem;
}
.footer-grid {
  display: grid; gap: 2rem;
  grid-template-columns: 2fr 1fr 1fr 1fr;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1rem; margin-bottom: .75rem;
  color: var(--white);
}
.footer-col p,
.footer-col a { font-size: .88rem; color: var(--off-white); }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: .4rem; }

.footer-bottom {
  text-align: center; margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(245,166,35,.06);
  font-size: .8rem; color: var(--slate-light);
}

/* --- Utility --- */
.text-saffron { color: var(--saffron); }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}
