/* ==========================================================================
   FEEL FRESH BUILDERS — theme
   Identity: built like a technical drawing. Concrete + brick-oxide + steel,
   blueprint corner-brackets and dimension rules instead of soft SaaS cards.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Color */
  --concrete-900: #22262A;   /* charcoal - primary text, dark panels */
  --concrete-700: #4A5058;   /* muted steel-grey text */
  --steel-500:    #5C6B73;   /* secondary accent, structural lines */
  --paper-100:    #EDEAE2;   /* warm off-white background */
  --paper-000:    #F7F5F0;   /* lighter paper for cards */
  --brick-600:    #9A3B26;   /* primary accent - oxidized brick/rebar */
  --brick-700:    #7C2E1D;   /* hover state */
  --gold-500:     #C89B3C;   /* sparing highlight - status tags only */
  --line:         rgba(34,38,42,0.14);

  /* Type */
  --font-display: 'Big Shoulders Display', sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--concrete-900);
  background: var(--paper-100);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  margin: 0 0 0.4em;
  letter-spacing: 0.2px;
}
h1 { font-size: clamp(2.6rem, 5vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; max-width: 62ch; color: var(--concrete-700); }

/* Dimension-line heading rule: a real drafting convention (measurement line
   with end-ticks), used to mark section starts instead of a plain <hr>. */
.dim-rule {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 28px; color: var(--brick-600);
}
.dim-rule::before, .dim-rule::after { content: ''; height: 1px; background: var(--concrete-900); opacity: .25; flex: 0 0 28px; }
.dim-rule::before { border-left: 1px solid var(--concrete-900); }
.dim-rule::after { border-right: 1px solid var(--concrete-900); }
.dim-rule span {
  font-family: var(--font-body); font-weight: 600; font-size: 0.8rem;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--brick-600);
  white-space: nowrap;
}
.dim-rule .fill { flex: 1; height: 1px; background: var(--concrete-900); opacity: .12; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; font-weight: 600; font-size: 0.95rem;
  border: 2px solid var(--concrete-900); background: transparent; color: var(--concrete-900);
  cursor: pointer; transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { background: var(--concrete-900); color: var(--paper-100); }
.btn-primary { background: var(--brick-600); border-color: var(--brick-600); color: #fff; }
.btn-primary:hover { background: var(--brick-700); border-color: var(--brick-700); }

/* ---------------- Header / nav ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--paper-100);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
}
.nav .logo { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; }
.nav .logo img { height: 42px; width: auto; }
.nav-links { display: flex; gap: 30px; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-weight: 500; font-size: 0.95rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a.active { border-bottom-color: var(--brick-600); }
.nav-links .btn { padding: 10px 20px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--paper-100); border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .25s ease;
  }
  .nav-links.open { max-height: 400px; }
  .nav-links li { width: 100%; padding: 14px 24px; border-top: 1px solid var(--line); }
}

/* ---------------- Hero ---------------- */
.hero {
  display: grid; grid-template-columns: 1.1fr 1fr; min-height: 560px;
  background: var(--concrete-900);
}
.hero-text {
  color: var(--paper-100); display: flex; flex-direction: column; justify-content: center;
  padding: 60px 48px;
}
.hero-text .eyebrow { color: var(--gold-500); font-weight: 600; font-size: 0.85rem; margin-bottom: 14px; }
.hero-text h1 { color: #fff; }
.hero-text p { color: rgba(237,234,226,0.78); font-size: 1.1rem; max-width: 46ch; margin-top: 18px; }
.hero-text .cta-row { display: flex; gap: 16px; margin-top: 30px; flex-wrap: wrap; }
.hero-img { position: relative; overflow: hidden; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }

/* ---------------- Hero image slider ---------------- */
.hero-slider { position: relative; width: 100%; height: 100%; min-height: 420px; overflow: hidden; }
.hero-slider img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1s ease; min-height: 0;
}
.hero-slider img.active { opacity: 1; }
.hero-slider-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%; border: none;
  background: rgba(34,38,42,0.55); color: #fff; font-size: 0.9rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center; z-index: 5;
  transition: background .15s ease;
}
.hero-slider-nav:hover { background: var(--brick-600); }
.hero-slider-nav.prev { left: 16px; }
.hero-slider-nav.next { right: 16px; }
.hero-slider-dots {
  position: absolute; bottom: 16px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 8px; z-index: 5;
}
.hero-slider-dots button {
  width: 9px; height: 9px; border-radius: 50%; border: none; padding: 0;
  background: rgba(255,255,255,0.5); cursor: pointer; transition: background .15s ease, transform .15s ease;
}
.hero-slider-dots button.active { background: var(--gold-500); transform: scale(1.25); }
@media (max-width: 860px) { .hero-slider-nav { display: none; } }
.hero-stats {
  position: absolute; bottom: 0; left: 0; right: 0;
  display: flex; background: rgba(34,38,42,0.88); backdrop-filter: blur(2px);
}
.hero-stats div { flex: 1; padding: 18px 20px; border-right: 1px solid rgba(255,255,255,0.15); text-align: left; }
.hero-stats div:last-child { border-right: none; }
.hero-stats strong { display: block; font-family: var(--font-display); font-size: 1.8rem; color: var(--gold-500); }
.hero-stats span { font-size: 0.78rem; color: rgba(237,234,226,0.7); letter-spacing: .4px; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero-img { order: -1; height: 300px; }
  .hero-stats { position: static; }
}

/* ---------------- Sections ---------------- */
section { padding: 84px 0; }
.section-alt { background: var(--paper-000); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--concrete-900); color: var(--paper-100); }
.section-dark p { color: rgba(237,234,226,0.75); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 32px; } }

/* ---------------- Blueprint corner-bracket cards ----------------
   Used for project cards & service cards: corner marks like a drafting
   detail-callout, not a rounded shadowed box. */
.brk-card {
  position: relative; padding: 28px; background: var(--paper-000);
  border: 1px solid var(--line);
}
.brk-card::before, .brk-card::after,
.brk-card .c2::before, .brk-card .c2::after { content: ''; position: absolute; width: 16px; height: 16px; }
.brk-card::before { top: -1px; left: -1px; border-top: 2px solid var(--brick-600); border-left: 2px solid var(--brick-600); }
.brk-card::after { top: -1px; right: -1px; border-top: 2px solid var(--brick-600); border-right: 2px solid var(--brick-600); }
.brk-card .c2 { display: contents; }
.brk-card .c2::before { bottom: -1px; left: -1px; border-bottom: 2px solid var(--brick-600); border-left: 2px solid var(--brick-600); }
.brk-card .c2::after { bottom: -1px; right: -1px; border-bottom: 2px solid var(--brick-600); border-right: 2px solid var(--brick-600); }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .services-grid { grid-template-columns: 1fr; } }
.services-grid.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .services-grid.grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .services-grid.grid-3 { grid-template-columns: 1fr; } }
.service-card h3 { margin-bottom: 8px; }
.service-card .num { font-family: var(--font-display); font-size: 0.85rem; color: var(--steel-500); letter-spacing: 1px; }

/* ---------------- Project grid ---------------- */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.filter-bar a {
  padding: 8px 18px; border: 1px solid var(--concrete-900); font-size: 0.85rem; font-weight: 600;
}
.filter-bar a.active, .filter-bar a:hover { background: var(--concrete-900); color: var(--paper-100); }

.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 960px) { .project-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .project-grid { grid-template-columns: 1fr; } }

.project-card { position: relative; background: var(--paper-000); border: 1px solid var(--line); overflow: hidden; }
.project-card .thumb { height: 230px; overflow: hidden; position: relative; }
.project-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.project-card:hover .thumb img { transform: scale(1.05); }
.project-card .tag {
  position: absolute; top: 14px; left: 14px; background: var(--gold-500); color: var(--concrete-900);
  font-size: 0.7rem; font-weight: 700; letter-spacing: .5px; padding: 5px 10px;
}
.project-card .body { padding: 20px; }
.project-card .meta { font-size: 0.82rem; color: var(--steel-500); margin-bottom: 6px; }
.project-card h3 { margin-bottom: 6px; font-size: 1.2rem; }
.project-card .id-tag { font-family: var(--font-body); font-size: 0.72rem; color: var(--steel-500); letter-spacing: 0.4px; }

/* Project detail gallery */
.detail-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 32px 0; }
.detail-gallery img { height: 220px; object-fit: cover; width: 100%; }
@media (max-width: 700px) { .detail-gallery { grid-template-columns: 1fr 1fr; } }

.spec-list { list-style: none; padding: 0; margin: 24px 0; border-top: 1px solid var(--line); }
.spec-list li { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.spec-list li span:first-child { color: var(--steel-500); }
.spec-list li span:last-child { font-weight: 600; }

/* ---------------- Forms ---------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--concrete-900); }
.field input, .field select, .field textarea {
  padding: 13px 14px; border: 1px solid var(--concrete-900); background: var(--paper-000);
  font-family: var(--font-body); font-size: 0.95rem; color: var(--concrete-900);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--brick-600); outline-offset: 1px;
}
.field textarea { resize: vertical; min-height: 120px; }
.alert { padding: 14px 18px; margin-bottom: 20px; border-left: 4px solid var(--brick-600); background: var(--paper-000); font-size: 0.92rem; }
.alert-success { border-left-color: #2E7D4F; }

/* ---------------- Testimonials ---------------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .testi-grid { grid-template-columns: 1fr; } }
.testi-card { background: var(--paper-000); border: 1px solid var(--line); padding: 26px; }
.testi-card .stars { color: var(--gold-500); letter-spacing: 2px; margin-bottom: 12px; }
.testi-card .who { margin-top: 16px; font-weight: 700; font-size: 0.9rem; }
.testi-card .where { color: var(--steel-500); font-size: 0.82rem; }

/* ---------------- CTA band ---------------- */
.cta-band {
  background: var(--brick-600); color: #fff; padding: 56px 0; text-align: left;
}
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0; }
.cta-band .btn { border-color: #fff; color: #fff; }
.cta-band .btn:hover { background: #fff; color: var(--brick-600); }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--concrete-900); color: rgba(237,234,226,0.8); padding: 64px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.site-footer a:hover { color: var(--gold-500); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 20px; font-size: 0.82rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------------- Admin ---------------- */
.admin-body { background: var(--paper-100); font-family: var(--font-body); }
.admin-shell { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.admin-sidebar { background: var(--concrete-900); color: var(--paper-100); padding: 28px 0; }
.admin-sidebar .brand { font-family: var(--font-display); font-size: 1.3rem; padding: 0 24px 24px; border-bottom: 1px solid rgba(255,255,255,0.12); margin-bottom: 16px; }
.admin-sidebar a { display: block; padding: 12px 24px; color: rgba(237,234,226,0.8); font-size: 0.92rem; }
.admin-sidebar a:hover, .admin-sidebar a.active { background: rgba(255,255,255,0.06); color: #fff; border-left: 3px solid var(--brick-600); }
.admin-main { padding: 36px 40px; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.admin-card { background: #fff; border: 1px solid var(--line); padding: 24px; margin-bottom: 24px; }
.admin-table { width: 100%; border-collapse: collapse; background: #fff; }
.admin-table th, .admin-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
.admin-table th { background: var(--paper-000); font-weight: 700; }
.admin-table img { width: 56px; height: 56px; object-fit: cover; }
.badge { display: inline-block; padding: 3px 10px; font-size: 0.72rem; font-weight: 700; background: var(--paper-000); border: 1px solid var(--line); }
.badge-ongoing { color: var(--gold-500); border-color: var(--gold-500); }
.badge-completed { color: #2E7D4F; border-color: #2E7D4F; }
.login-shell { display: flex; align-items: center; justify-content: center; min-height: 100vh; background: var(--concrete-900); }
.login-box { background: var(--paper-100); padding: 44px; width: 380px; }

/* ---------------- WhatsApp floating button ---------------- */
.whatsapp-float {
  position: fixed; bottom: 22px; right: 22px; z-index: 200;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
  transition: transform .15s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; }
@media (max-width: 600px) {
  .whatsapp-float { bottom: 16px; right: 16px; width: 52px; height: 52px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
}
