/* =========================
   TK Remodeling - styles.css
   Clean, corporate, responsive
   ========================= */

:root{
  --bg: #f4f6fb;
  --panel: #ffffff;
  --ink: #0b1220;
  --muted: #6b7280;
  --line: rgba(15, 23, 42, 0.10);

  --nav: #1f2a3a;
  --nav2:#162033;
  --accent: #18b6ff;

  --radius: 18px;
  --radius-lg: 28px;

  --shadow: 0 18px 50px rgba(2, 10, 26, .12);
  --shadow-soft: 0 10px 30px rgba(2, 10, 26, .10);

  --container: 1160px;
}

*{ box-sizing:border-box; }
html, body{ height:100%; }

body{
  margin:0;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
}

a{ color: inherit; text-decoration: none; }
img{ max-width:100%; display:block; }

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================
   NAV
   ========================= */
.site-header{
  background: linear-gradient(180deg, var(--nav), var(--nav2));
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.navbar{
  height: 76px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 18px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  min-width: 220px;
}

.brand img{
  height: 34px;
  width: auto;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.25));
}

.brand-text{
  display:flex;
  flex-direction:column;
  gap:2px;
  color:#fff;
}

.brand-text strong{
  font-size: 16px;
  letter-spacing: .2px;
}
.brand-text span{
  font-size: 12px;
  color: rgba(255,255,255,.70);
}

.nav-links{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap: 28px;            /* nav spacing */
  white-space: nowrap;
}

.nav-links a{
  color: rgba(255,255,255,.86);
  font-weight: 650;
  font-size: 14px;
  letter-spacing: .2px;
  padding: 10px 2px;
  border-bottom: 2px solid transparent;
  transition: all .18s ease;
}

.nav-links a:hover{
  color:#fff;
  border-bottom-color: rgba(255,255,255,.35);
}

.nav-links a.cta{
  background: rgba(24, 182, 255, .16);
  color: #d9f5ff;
  border: 1px solid rgba(24,182,255,.35);
  padding: 10px 14px;
  border-radius: 999px;
  border-bottom: none;
}

.nav-links a.cta:hover{
  background: rgba(24, 182, 255, .24);
  border-color: rgba(24,182,255,.55);
}

/* =========================
   HERO
   ========================= */
.hero-wrap{
  padding: 46px 0 30px;
}

.hero{
  position: relative;
  border-radius: var(--radius-lg);
  overflow:hidden;
  box-shadow: var(--shadow);
  background:
    radial-gradient(1200px 500px at 10% 20%, rgba(24,182,255,.22), transparent 55%),
    radial-gradient(900px 380px at 80% 60%, rgba(55, 48, 163, .18), transparent 60%),
    linear-gradient(135deg, #0b1324 0%, #0a1b33 45%, #071427 100%);
  color:#fff;
}

.hero-inner{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 34px;
  padding: 44px;
  align-items: center;
}

.badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
  padding: 8px 14px;
  border-radius: 999px;
  color: rgba(255,255,255,.88);
  font-weight: 750;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero h1{
  margin: 16px 0 12px;
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero p.lede{
  margin: 0 0 14px;
  color: rgba(255,255,255,.84);
  font-size: 16px;
  max-width: 64ch;
}

.hero p.detail{
  margin: 12px 0 0;
  color: rgba(255,255,255,.74);
  font-size: 14px;
  max-width: 72ch;
}

.hero-actions{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  font-weight: 800;
  font-size: 14px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor:pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.btn:active{ transform: translateY(1px); }

.btn-primary{
  background: linear-gradient(135deg, #18b6ff, #1ad7b9);
  color: #021022;
  box-shadow: 0 12px 30px rgba(24,182,255,.18);
}
.btn-primary:hover{
  filter: brightness(1.03);
}

.btn-ghost{
  background: rgba(255,255,255,.08);
  color: #ffffff;
  border-color: rgba(255,255,255,.18);
}
.btn-ghost:hover{
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.26);
}

.deliver-card{
  background: rgba(255,255,255,.97);
  color: var(--ink);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(2, 10, 26, .08);
}

.deliver-card h3{
  margin: 4px 0 10px;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.deliver-list{
  display:flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.deliver-item{
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(2, 10, 26, .08);
  background: #f6f8ff;
}

.deliver-item strong{
  display:block;
  font-size: 14px;
  margin-bottom: 2px;
}
.deliver-item span{
  display:block;
  color: var(--muted);
  font-size: 13px;
}

.deliver-bullets{
  margin: 14px 0 0;
  padding: 12px 0 0 18px;
  border-top: 1px solid rgba(2, 10, 26, .08);
  color: #1f2937;
}

.deliver-bullets li{
  margin: 6px 0;
  color: #111827;
}

/* =========================
   SECTIONS + PREMIUM POLISH
   ========================= */
.section{
  padding: 56px 0;
}

.section + .section{
  border-top: 1px solid var(--line);
}

.section h2{
  margin: 0 0 6px;
  font-size: 28px;
  letter-spacing: -0.02em;
}

.section .sub{
  margin: 0 0 18px;
  color: var(--muted);
  font-weight: 600;
  max-width: 80ch;
}

.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card{
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 12px 30px rgba(2, 10, 26, .06);
  transition: transform .15s ease, box-shadow .15s ease;
}

.card:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 45px rgba(2,10,26,.10);
}

.card h3{
  margin: 0 0 6px;
  font-size: 16px;
}

.card p{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* =========================
   PROJECTS PAGE (legacy layout)
   ========================= */
.project{
  display: flex;
  gap: 28px;
  margin-bottom: 60px;
  align-items: flex-start;
}

.project img{
  width: 420px;
  height: 280px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.project-info{ flex: 1; }

.project-meta{
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 12px;
}

.project-info ul{
  margin-top: 12px;
  padding-left: 18px;
  color: var(--ink);
}

.project-info li{ margin-bottom: 6px; }

/* =========================
   Projects Slider (current)
   ========================= */
.proj{
  margin: 26px 0 44px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(2,10,26,.06);
}

.proj-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom: 12px;
}

.proj-meta{
  margin: 6px 0 0;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
}

.slider{
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #0b1220;
  border: 1px solid rgba(15,23,42,.12);
}

.slider-track{
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 0px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.slider-track::-webkit-scrollbar{ height: 10px; }
.slider-track::-webkit-scrollbar-thumb{ background: rgba(255,255,255,.18); border-radius: 999px; }
.slider-track::-webkit-scrollbar-track{ background: rgba(255,255,255,.08); }

.slider-track img{
  width: 100%;
  height: 360px;
  object-fit: cover;
  scroll-snap-align: start;
}

.slider-btn{
  position:absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(0,0,0,.35);
  color: #fff;
  font-size: 28px;
  line-height: 0;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition: background .15s ease;
}

.slider-btn:hover{ background: rgba(0,0,0,.55); }
.slider-btn.prev{ left: 12px; }
.slider-btn.next{ right: 12px; }

.proj-body{ margin-top: 14px; color: var(--ink); }

.proj-bullets{
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--ink);
}
.proj-bullets li{ margin: 6px 0; }

/* =========================
   CONTACT FORM
   ========================= */
.grid-2{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
}

.form{
  margin-top: 14px;
}

.form-row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.field label{
  display:block;
  font-size: 13px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 6px;
}

.field input,
.field select,
.field textarea{
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,.16);
  background: #fff;
  outline: none;
  font-size: 14px;
}

.field input:focus,
.field select:focus,
.field textarea:focus{
  border-color: rgba(24,182,255,.65);
  box-shadow: 0 0 0 4px rgba(24,182,255,.14);
}

.bullets{
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--ink);
}
.bullets li{
  margin: 8px 0;
}

/* =========================
   FOOTER
   ========================= */
.footer{
  padding: 34px 0;
  color: rgba(15,23,42,.65);
  border-top: 1px solid var(--line);
}

.footer small{ display:block; }

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 980px){
  .hero-inner{ grid-template-columns: 1fr; }
  .brand{ min-width: auto; }
  .nav-links{ gap: 18px; }
  .grid-2{ grid-template-columns: 1fr; }
}

@media (max-width: 720px){
  .navbar{
    height: auto;
    padding: 14px 0;
    align-items:flex-start;
    flex-direction: column;
  }
  .nav-links{
    width: 100%;
    justify-content:flex-start;
    flex-wrap: wrap;
    gap: 12px 16px;
    padding-bottom: 6px;
  }
  .hero-inner{ padding: 26px; }
  .grid-3{ grid-template-columns: 1fr; }
  .form-row{ grid-template-columns: 1fr; }
  .slider-track img{ height: 260px; }
}

@media (max-width: 900px){
  .project{ flex-direction: column; }
  .project img{ width: 100%; height: auto; }
}
/* ===== Slider clarity + dots + counter (override) ===== */

.slider{
  background: #0b1220;        /* dark frame behind images */
}

.slider-track img{
  height: 420px;              /* clearer / larger */
  object-fit: contain;        /* IMPORTANT: shows whole image */
  background: #0b1220;        /* avoids white bars looking weird */
}

@media (max-width: 720px){
  .slider-track img{
    height: 280px;
  }
}

/* UI under slider */
.slider-ui{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 10px 6px 0;
}

.slider-dots{
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
}

.slider-dot{
  width: 26px;
  height: 8px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,.18);
  background: rgba(15,23,42,.08);
  cursor:pointer;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}

.slider-dot:hover{
  transform: translateY(-1px);
}

.slider-dot.is-active{
  background: rgba(24,182,255,.55);
  border-color: rgba(24,182,255,.65);
}

.slider-count{
  font-size: 13px;
  font-weight: 700;
  color: rgba(15,23,42,.65);
}
