/* ===========================================================
   Lightning Kitchens — modernized stylesheet
   Brand colors kept from the original site:
   Navy  #2F3581   Gold  #F7C001
   =========================================================== */

:root {
  --navy: #2a2f6e;
  --navy-dark: #1d2150;
  --navy-light: #3a4090;
  --gold: #f2b705;
  --gold-dark: #d99e00;
  --ink: #1c1e2a;
  --ink-soft: #4b4f63;
  --paper: #ffffff;
  --paper-soft: #f6f7fb;
  --border: #e4e6ef;
  --shadow: 0 10px 30px rgba(29, 33, 80, 0.10);
  --shadow-sm: 0 4px 12px rgba(29, 33, 80, 0.08);
  --radius: 14px;
  --radius-sm: 8px;
  --max-width: 1180px;
  --font-head: "Poppins", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.2; margin: 0 0 .5em; color: var(--navy-dark); }
h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; color: var(--ink-soft); }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 64px 0; }
.section-tight { padding: 40px 0; }
.section-alt { background: var(--paper-soft); }
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .75rem;
  color: var(--gold-dark);
  background: rgba(242, 183, 5, .13);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.lead { font-size: 1.1rem; color: var(--ink-soft); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  padding: 13px 26px;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn-primary { background: var(--gold); color: var(--navy-dark); }
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-outline { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-light); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

/* ===================== Header / Nav ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--navy);
  box-shadow: 0 2px 14px rgba(0,0,0,.15);
}
.nav-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { height: 54px; width: auto; border-radius: 8px; background: #fff; padding: 6px 10px; box-shadow: var(--shadow-sm); }
.brand-text { display: none; font-family: var(--font-head); color: rgba(255,255,255,.82); font-weight: 500; font-size: .82rem; letter-spacing: .02em; line-height: 1.2; }
.brand-text span { display: block; font-size: .68rem; font-weight: 500; letter-spacing: .14em; color: var(--gold); text-transform: uppercase; margin-top: 2px; }
@media (min-width: 640px) { .brand-text { display: block; } }

.mobile-actions { display: none; align-items: center; gap: 4px; }
.nav-home-mobile {
  display: flex;
  align-items: center;
  gap: 5px;
  color: rgba(255,255,255,.9);
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: .8rem;
  padding: 8px 10px;
  border-radius: 999px;
  transition: background .15s ease, color .15s ease;
}
.nav-home-mobile:hover,
.nav-home-mobile:active { background: rgba(255,255,255,.12); color: #fff; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  color: rgba(255,255,255,.88);
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: .92rem;
  padding: 10px 16px;
  border-radius: 999px;
  transition: background .15s ease, color .15s ease;
  white-space: nowrap;
}
.main-nav a:hover { background: rgba(255,255,255,.1); color: #fff; }
.main-nav a.active { background: var(--gold); color: var(--navy-dark); }
.nav-cta { margin-left: 10px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 880px) {
  .mobile-actions { display: flex; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--navy-dark);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 16px;
    max-height: 0;
    min-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height .25s ease, padding .25s ease, visibility 0s linear .25s;
  }
  .main-nav.open {
    max-height: 480px;
    min-height: 0;
    padding: 8px 16px 20px;
    visibility: visible;
    transition: max-height .25s ease, padding .25s ease;
  }
  .main-nav a { padding: 14px 10px; border-radius: 8px; }
  .nav-cta { margin: 10px 0 0; }
}

/* ===================== Hero ===================== */
.hero {
  position: relative;
  color: #fff;
  background: linear-gradient(160deg, var(--navy-dark), var(--navy) 60%, var(--navy-light));
  overflow: hidden;
}
.hero-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 72px 24px 88px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero h1 { color: #fff; }
.hero .lead { color: rgba(255,255,255,.85); max-width: 46ch; }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero-media { border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% auto;
  width: 55%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(242,183,5,.18), transparent 70%);
  z-index: 1;
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 44px; }
  .hero-media { order: -1; }
}

/* Page header (interior pages) */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: #fff;
  padding: 56px 0 44px;
  text-align: center;
}
.page-hero h1 { color: #fff; margin-bottom: 8px; }
.page-hero p { color: rgba(255,255,255,.8); max-width: 60ch; margin: 0 auto; }
.breadcrumb { font-size: .82rem; color: var(--gold); font-family: var(--font-head); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 10px; }

/* ===================== Stats strip ===================== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: -48px;
  position: relative;
  z-index: 3;
}
.stat-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 18px;
  text-align: center;
}
.stat-card strong { display: block; font-family: var(--font-head); font-size: 1.7rem; color: var(--navy); }
.stat-card span { font-size: .82rem; color: var(--ink-soft); }
@media (max-width: 760px) {
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: 28px; }
}

/* ===================== Cards / grids ===================== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
@media (max-width: 880px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(242,183,5,.15);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  color: var(--gold-dark);
}
.feature-icon svg { width: 24px; height: 24px; }

.section-head { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }

/* Two column text/media */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }
.split img { border-radius: var(--radius); box-shadow: var(--shadow-sm); }

.prose p { color: var(--ink-soft); }
.prose strong { color: var(--navy); }

/* Room chip list on home */
.room-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.room-tags a {
  font-size: .82rem;
  font-family: var(--font-head);
  font-weight: 500;
  background: var(--paper-soft);
  border: 1px solid var(--border);
  color: var(--navy);
  padding: 7px 14px;
  border-radius: 999px;
  text-decoration: none;
  transition: background .15s ease, border-color .15s ease;
}
.room-tags a:hover,
.room-tags a:focus-visible {
  background: var(--gold, #f2b705);
  border-color: var(--gold, #f2b705);
}

/* ===================== Sub-nav (gallery categories) ===================== */
.subnav {
  background: var(--paper-soft);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 76px;
  z-index: 100;
}
@media (max-width: 880px) {
  /* Mobile Safari mishandles two stacked "sticky" bars (header + subnav),
     leaving the subnav partly hidden under the header with no way to
     scroll further up to reveal it. Simplest reliable fix: let the
     subnav scroll away normally on small screens instead of sticking. */
  .subnav { position: static; top: auto; }
}
.subnav-scroll {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: thin;
}
.subnav a {
  flex: none;
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .88rem;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--border);
  padding: 9px 18px;
  border-radius: 999px;
  transition: background .15s ease, color .15s ease;
}
.subnav a:hover { background: var(--navy); color: #fff; }
.subnav a.active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ===================== Gallery grid + lightbox ===================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

.gallery-item {
  display: block;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
  cursor: zoom-in;
  box-shadow: var(--shadow-sm);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(29,33,80,.35), transparent 45%);
  opacity: 0;
  transition: opacity .2s ease;
}
.gallery-item:hover::after { opacity: 1; }

.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .category-grid { grid-template-columns: repeat(2, 1fr); } }
.category-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}
.category-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.category-card:hover img { transform: scale(1.08); }
.category-card .label {
  position: absolute; inset: auto 0 0 0;
  padding: 14px 16px;
  background: linear-gradient(0deg, rgba(29,33,80,.92), transparent);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
}

.lightbox {
  position: fixed; inset: 0;
  background: rgba(15,17,40,.92);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(92vw, 1100px); max-height: 84vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(255,255,255,.12);
  border: none;
  color: #fff;
  width: 46px; height: 46px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s ease;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,.25); }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-counter { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.7); font-family: var(--font-head); font-size: .85rem; }
@media (max-width: 620px) {
  .lightbox-prev, .lightbox-next { width: 38px; height: 38px; font-size: 1.1rem; }
}

/* ===================== Supply methods table cards ===================== */
.method-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .method-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .method-grid { grid-template-columns: 1fr; } }
.method-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.method-card img { aspect-ratio: 3/4; object-fit: cover; }
.method-card .body { padding: 18px 18px 22px; }
.method-card h3 { margin-bottom: 8px; }
.method-card p { font-size: .92rem; margin-bottom: .8em; }

/* ===================== Contact page ===================== */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: start; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 32px;
}
.contact-card h3 { color: #fff; }
.contact-line { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.12); }
.contact-line:first-of-type { border-top: none; }
.contact-line a { color: #fff; text-decoration: none; }
.contact-line a:hover { color: var(--gold); }
.contact-line .icon { color: var(--gold); flex: none; margin-top: 2px; }
.contact-form { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .88rem; margin-bottom: 6px; color: var(--navy-dark); }
.form-row input, .form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .95rem;
  background: var(--paper-soft);
  transition: border-color .15s ease, background .15s ease;
}
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--gold); background: #fff; }
.form-row textarea { resize: vertical; min-height: 140px; }
.form-note { font-size: .8rem; color: var(--ink-soft); margin-top: 10px; }
.map-wrap { border-radius: var(--radius); overflow: hidden; margin-top: 24px; box-shadow: var(--shadow-sm); }
.map-wrap iframe { width: 100%; height: 260px; border: 0; display: block; }

/* ===================== Footer ===================== */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,.75); padding: 52px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }
.footer-grid h4 { color: #fff; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 16px; }
.footer-grid a { color: rgba(255,255,255,.75); text-decoration: none; display: block; margin-bottom: 10px; font-size: .92rem; }
.footer-grid a:hover { color: var(--gold); }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { height: 44px; border-radius: 8px; background: #fff; padding: 5px 8px; }
.footer-bottom { text-align: center; font-size: .8rem; color: rgba(255,255,255,.45); margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); }

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.badge-list { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 10px; }
.badge-list li { list-style: none; display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--ink-soft); }
.badge-list li::before { content: "✓"; color: var(--gold-dark); font-weight: 700; }

/* ===================== WhatsApp float button ===================== */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.28);
  z-index: 500;
  transition: transform .15s ease, box-shadow .15s ease;
}
.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: scale(1.08);
  box-shadow: 0 8px 22px rgba(0,0,0,.34);
}
@media (max-width: 600px) {
  .whatsapp-float { right: 14px; bottom: 14px; width: 52px; height: 52px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
}
