/*
Theme Name: I-Lett Dark Landing (Full Service Text)
Theme URI: https://ilettptyltd.net
Author: I-Lett Pty Ltd
Description: Dark landing theme with video hero, full service copy, editable gallery, Google reviews, and blog.
Version: 1.2.0
License: GPLv2 or later
Text Domain: ilett-dark
*/
:root{
  --bg0:#2f3340; --bg1:#3a3f4f; --bg2:#464c5f;
  --card: rgba(255,255,255,.08);
  --border: rgba(255,255,255,.14);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.72);
  --muted2: rgba(255,255,255,.60);
  --accent:#f2b51f;
  --shadow: 0 18px 40px rgba(0,0,0,.25);
  --radius: 18px;
  --max: 1120px;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--text);
  background: linear-gradient(90deg, var(--bg0), var(--bg1), var(--bg2));
  min-height:100vh;
}
a{color:inherit}
.container{max-width:var(--max); margin:0 auto; padding:0 18px;}
.section{padding:38px 0;}
.topbar{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(30,33,42,.68);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.nav{display:flex; align-items:center; justify-content:space-between; gap:14px; padding:14px 0;}
.brand{display:flex; align-items:center; gap:12px; text-decoration:none;}
.brand img{height:84px; width:auto; border-radius:12px; background:#fff; padding:8px;}
.brand .name{font-weight:900; letter-spacing:.4px;}
.brand .tag{font-size:12px; color:var(--muted2); margin-top:2px;}
.menu{display:flex; gap:14px; align-items:center; flex-wrap:wrap;}
.menu a{color:var(--muted); text-decoration:none; font-weight:800; font-size:13px; padding:8px 10px; border-radius:999px;}
.menu a:hover{background:rgba(255,255,255,.08); color:var(--text);}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px; padding:11px 14px; border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  text-decoration:none; font-weight:900; letter-spacing:.2px;
  background: rgba(255,255,255,.06);
}
.btn:hover{background: rgba(255,255,255,.10)}
.btnPrimary{background: rgba(242,181,31,.95); border-color: rgba(242,181,31,.95); color:#111;}
.btnPrimary:hover{filter:brightness(.96)}

.hero{padding:46px 0 10px; position:relative;}
.heroGrid{display:grid; gap:16px; grid-template-columns: 1.2fr .8fr; align-items:stretch;}
@media (max-width: 900px){.heroGrid{grid-template-columns:1fr}}

.card{
  background: var(--card);
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding:18px;
}
.card.heroLight{
  background: rgba(248,249,252,.92);
  border: 1px solid rgba(20,30,50,.12);
  color: #0b1220;
}
.card.heroLight .lead{color: rgba(11,18,32,.72)}
.card.heroLight .badge{
  color: rgba(11,18,32,.75);
  background: rgba(255,255,255,.70);
  border-color: rgba(20,30,50,.10);
}
.card.heroLight .btn{
  background: rgba(255,255,255,.80);
  border-color: rgba(20,30,50,.14);
  color:#0b1220;
}
.card.heroLight .btn:hover{background: rgba(255,255,255,.92)}
.card.heroLight .btnPrimary{
  background: rgba(242,181,31,.95);
  border-color: rgba(242,181,31,.95);
  color:#111;
}

.lead{font-size:18px; line-height:1.45}
.h1{font-size:44px; margin:0 0 10px; line-height:1.02; letter-spacing:-.7px; font-weight:950;}
@media (max-width: 900px){.h1{font-size:38px}}
.kicker{display:inline-block; font-size:12px; font-weight:900; color:#111; background:rgba(242,181,31,.95); padding:6px 10px; border-radius:999px}
.badges{display:flex; gap:10px; flex-wrap:wrap; margin-top:14px}
.badge{font-size:12px; font-weight:850; border:1px solid rgba(255,255,255,.16); padding:8px 10px; border-radius:999px; background: rgba(255,255,255,.05)}
.grid3{display:grid; gap:14px; grid-template-columns: repeat(3, 1fr);}
@media (max-width: 900px){.grid3{grid-template-columns:1fr}}
.grid2{display:grid; gap:14px; grid-template-columns: repeat(2, 1fr);}
@media (max-width: 900px){.grid2{grid-template-columns:1fr}}
.serviceTile{
  display:flex; flex-direction:column; gap:10px;
  padding:16px; border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  text-decoration:none;
}
.serviceTile:hover{background: rgba(255,255,255,.10)}
.serviceTile .t{font-weight:950; letter-spacing:-.2px}
.serviceTile .d{color:var(--muted); font-weight:700; font-size:13px; line-height:1.35}
.serviceTile .pill{align-self:flex-start; font-size:11px; font-weight:900; padding:6px 10px; border-radius:999px; color:#0b1220; background: rgba(255,255,255,.75)}
.media{overflow:hidden; border-radius: var(--radius); border:1px solid rgba(255,255,255,.14); background: rgba(0,0,0,.15)}
.media img{display:block; width:100%; height:auto}
.caption{font-size:12px; color:var(--muted2); margin-top:8px}
.clean{margin:10px 0 0; padding-left:18px; color:var(--muted); font-weight:700}
.clean li{margin:7px 0}
footer{border-top:1px solid rgba(255,255,255,.10); padding:28px 0; color:var(--muted2);}
.small{font-size:12px; color:var(--muted2); line-height:1.55}
.reviewGrid{display:grid; gap:14px; grid-template-columns: repeat(4, 1fr);}
@media (max-width: 1100px){.reviewGrid{grid-template-columns: repeat(2, 1fr);}}
@media (max-width: 600px){.reviewGrid{grid-template-columns:1fr}}
.galleryGrid{display:grid; gap:12px; grid-template-columns: repeat(3, 1fr);}
@media (max-width: 900px){.galleryGrid{grid-template-columns: repeat(2, 1fr);}}
@media (max-width: 520px){.galleryGrid{grid-template-columns:1fr}}
.postList .postItem{padding:16px; border-radius: var(--radius); border:1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.06);}
.postList .postItem a{text-decoration:none;}
.postList .meta{font-size:12px; color:var(--muted2); margin-top:6px;}

.heroVideo{
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: -3;
  filter: saturate(.9) contrast(1.05);
}
.heroOverlay{
  position: fixed;
  inset: 0;
  z-index: -2;
  background: linear-gradient(
    rgba(20, 30, 50, 0.55),
    rgba(20, 30, 50, 0.78)
  );
}
@media (max-width: 700px){ .heroVideo{display:none;} }

/* Service prev/next arrows */
.servicePager{position:fixed;left:0;right:0;top:50%;transform:translateY(-50%);pointer-events:none;z-index:60;}
.servicePager a{pointer-events:auto;position:absolute;display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);color:var(--text);text-decoration:none;}
.servicePager a:hover{background:rgba(255,255,255,.12);}
.servicePager .prev{left:14px;}
.servicePager .next{right:14px;flex-direction:row-reverse;}
.servicePager .arrowIcon{font-size:18px;line-height:1;}
.servicePager .label{max-width:220px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:850;}
@media (max-width: 900px){ .servicePager .label{display:none;} }

/* Simple carousel (reviews) */
.carousel{position:relative;}
.carouselViewport{overflow:hidden;border-radius:18px;}
.carouselTrack{display:flex;gap:14px;scroll-behavior:smooth;overflow-x:auto;scroll-snap-type:x mandatory;padding:2px;}
.carouselTrack::-webkit-scrollbar{height:10px;}
.carouselTrack::-webkit-scrollbar-thumb{background:rgba(255,255,255,.18);border-radius:999px;}
.carouselTrack .media{flex:0 0 320px;scroll-snap-align:start;border-radius:18px;overflow:hidden;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.14);}
.carouselTrack .media img{width:100%;height:100%;object-fit:cover;display:block;}
.carouselBtn{position:absolute;top:50%;transform:translateY(-50%);border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.08);color:var(--text);width:40px;height:40px;border-radius:999px;display:flex;align-items:center;justify-content:center;font-size:22px;cursor:pointer;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);}
.carouselBtn:hover{background:rgba(255,255,255,.12);}
.carouselBtn.prev{left:-10px;}
.carouselBtn.next{right:-10px;}
@media (max-width: 600px){ .carouselBtn.prev{left:6px;} .carouselBtn.next{right:6px;} }


/* Service page side arrows */
.servicePager{
  position: fixed;
  top: 50%;
  left: 0;
  right: 0;
  pointer-events: none;
  z-index: 9999;
}
.servicePager .serviceArrow{
  pointer-events: auto;
  position: absolute;
  top: -50%;
  width: 88px;
  height: 88px;
  line-height: 88px;
  text-align: center;
  font-size: 56px;
  font-weight: 800;
  color: #111;
  background: #f5c400;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  transition: transform .15s ease, filter .15s ease;
}
.servicePager .serviceArrow:hover{
  transform: scale(1.06);
  filter: brightness(1.05);
}
.servicePager .serviceArrow.prev{ left: 18px; }
.servicePager .serviceArrow.next{ right: 18px; }
@media (max-width: 768px){
  .servicePager .serviceArrow{
    width: 70px; height: 70px; line-height: 70px;
    font-size: 46px;
  }
}


/* Reviews carousel - show full screenshot (no cropping) */
.reviewsCarousel .media img,
[data-carousel="reviews"] .media img{
  width: 100%;
  height: 520px;
  object-fit: contain;
  background: rgba(255,255,255,.06);
  border-radius: 18px;
}
@media (max-width: 768px){
  .reviewsCarousel .media img,
  [data-carousel="reviews"] .media img{
    height: 420px;
  }
}
