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

:root {
  --dark: #111113;
  --accent: #dc2626;
  --accent-dark: #b91c1c;
  --light-bg: #1a1a1d;
  --white: #1e1e21;
  --text: #e2e2e2;
  --text-muted: #9a9a9a;
  --border: #2e2e32;
  --nav-height: 235px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  color: var(--text);
  background: #111113;
  line-height: 1.6;
}

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

/* ── Navigation ── */
nav {
  position: relative;
  z-index: 100;
  background: var(--dark);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  padding: 0 2rem;
  justify-content: space-between;
  box-shadow: 0 2px 12px rgba(0,0,0,.35);
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 220px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: #ffffff;
  font-size: .95rem;
  font-weight: 500;
  transition: color .2s;
}

.nav-links a:hover { color: var(--accent); }
.nav-links a.active { color: #ffffff; }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: .75rem 1.75rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: .95rem;
  transition: background .2s, transform .1s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.btn-outline:hover {
  background: #ffffff;
  color: #111113;
}

/* ── Section Headings ── */
.section { padding: 5rem 2rem; }
.section.alt-bg { background: var(--light-bg); }

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.2rem;
  color: #f1f1f1;
  margin-bottom: .5rem;
}

.section-header p {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

.accent-bar {
  width: 52px;
  height: 4px;
  background: var(--accent);
  margin: .6rem auto 0;
  border-radius: 2px;
}

.container { max-width: 1100px; margin: 0 auto; }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #111113 0%, #1e1e21 60%, #2e0a0a 100%);
  overflow: hidden;
  padding: 4rem 2rem;
}

/* ── Slideshow ── */
.slideshow-hero { background: #111113; }

.slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active { opacity: 1; }

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.78) 0%,
    rgba(0, 0, 0, 0.45) 60%,
    rgba(0, 0, 0, 0.25) 100%
  );
  z-index: 1;
}

.slideshow-hero .hero-content {
  position: relative;
  z-index: 2;
}

.slide-dots {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .6rem;
  z-index: 3;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.5);
  background: transparent;
  cursor: pointer;
  transition: background .3s, border-color .3s;
  padding: 0;
}

.dot.active {
  background: var(--accent);
  border-color: var(--accent);
}

.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,.4);
  color: #fff;
  border: 1px solid rgba(255,255,255,.2);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 3;
  transition: background .2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-arrow:hover { background: var(--accent); border-color: var(--accent); }
.slide-prev { left: 1.25rem; }
.slide-next { right: 1.25rem; }

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  max-width: 680px;
}

.hero-eyebrow {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: .35rem .9rem;
  border-radius: 2px;
  margin-bottom: 1.2rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

.hero h1 span { color: #ffffff; }

.hero p {
  font-size: 1.1rem;
  color: #c0c0c0;
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3.5rem;
  flex-wrap: wrap;
}

.stat { color: var(--white); }
.stat strong { display: block; font-size: 2rem; font-weight: 800; color: var(--accent); }
.stat span { font-size: .85rem; color: #aaa; }

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

.service-card {
  background: #18181b;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  transition: box-shadow .25s, transform .25s;
}

.service-card:hover {
  box-shadow: 0 8px 28px rgba(220,38,38,.15);
  transform: translateY(-4px);
}

.service-icon {
  width: 54px;
  height: 54px;
  background: #2a1010;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.1rem;
}

.service-card h3 { font-size: 1.1rem; margin-bottom: .5rem; color: #f1f1f1; }
.service-card p { font-size: .9rem; color: var(--text-muted); }

/* ── Why Choose Us ── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  text-align: center;
}

.why-item .icon {
  font-size: 2.5rem;
  margin-bottom: .75rem;
}

.why-item h3 { font-size: 1rem; font-weight: 700; margin-bottom: .4rem; }
.why-item p { font-size: .88rem; color: var(--text-muted); }

/* ── Projects Grid ── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.project-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  transition: transform .25s, box-shadow .25s;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,.14);
}

.project-thumb {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  position: relative;
}

.project-info { padding: 1.25rem 1.4rem; background: #18181b; }
.project-info h3 { font-size: 1rem; font-weight: 700; margin-bottom: .3rem; color: #f1f1f1; }
.project-info p { font-size: .85rem; color: var(--text-muted); margin-bottom: .6rem; }
.tag {
  display: inline-block;
  background: #2a1010;
  color: #f87171;
  font-size: .75rem;
  font-weight: 600;
  padding: .2rem .65rem;
  border-radius: 20px;
}

/* ── About Page ── */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-img-placeholder {
  background: linear-gradient(135deg, #2c2c2c, #555);
  border-radius: 12px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}

.about-text h2 { font-size: 2rem; margin-bottom: 1rem; color: #f1f1f1; }
.about-text p { color: var(--text-muted); margin-bottom: 1rem; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.value-card {
  background: #18181b;
  border-left: 4px solid var(--accent);
  padding: 1.5rem;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}

.value-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .4rem; color: #f1f1f1; }
.value-card p { font-size: .88rem; color: var(--text-muted); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  text-align: center;
}

.team-card { padding: 1.5rem; }

.team-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #f87171);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1rem;
}

.team-card h3 { font-size: 1rem; font-weight: 700; color: #f1f1f1; }
.team-card p { font-size: .85rem; color: var(--text-muted); }

/* ── Contact Page ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 { font-size: 1.8rem; margin-bottom: 1rem; color: #f1f1f1; }
.contact-info p { color: var(--text-muted); margin-bottom: 2rem; }

.contact-detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-detail .icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: .1rem;
}

.contact-detail h4 { font-size: .9rem; font-weight: 700; margin-bottom: .2rem; color: #f1f1f1; }
.contact-detail p { font-size: .88rem; color: var(--text-muted); margin: 0; }

.contact-form {
  background: #18181b;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,.4);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: 1.25rem;
}

.form-group label { font-size: .85rem; font-weight: 600; color: #d1d1d1; }

.form-group input,
.form-group select,
.form-group textarea {
  padding: .7rem 1rem;
  border: 1px solid var(--border);
  border-radius: 5px;
  font-size: .95rem;
  font-family: inherit;
  transition: border-color .2s, box-shadow .2s;
  color: var(--text);
  background: #111113;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(220,38,38,.2);
}

.form-group textarea { resize: vertical; min-height: 120px; }

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, #111113 0%, #2e0a0a 100%);
  padding: 4rem 2rem;
  text-align: center;
  color: var(--white);
}

.cta-banner h2 { font-size: 2rem; margin-bottom: .75rem; color: #ffffff; }
.cta-banner p { color: #bbb; margin-bottom: 1.75rem; font-size: 1rem; }

/* ── Page Hero (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, #111113 0%, #2e0a0a 100%);
  padding: 4rem 2rem;
  text-align: center;
  color: var(--white);
}

.page-hero h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: .5rem; }
.page-hero p { color: #bbb; font-size: 1rem; }
.breadcrumb { font-size: .85rem; color: #888; margin-bottom: .75rem; }
.breadcrumb a { color: var(--accent); }
.breadcrumb a:hover { text-decoration: underline; }

/* ── Footer ── */
footer {
  background: #0d0d0f;
  color: #ccc;
  padding: 3rem 2rem 1.5rem;
}

.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #222226;
}

.footer-brand p { font-size: .88rem; color: #cccccc; margin-top: .75rem; max-width: 260px; line-height: 1.7; }

.footer-col h4 { font-size: .9rem; font-weight: 700; color: #ffffff; margin-bottom: 1rem; }

.footer-col ul li { margin-bottom: .5rem; }
.footer-col ul a { font-size: .85rem; color: #ffffff; transition: color .2s; }
.footer-col ul a:hover { color: var(--accent); }

.footer-bottom {
  max-width: 1100px;
  margin: 1.25rem auto 0;
  display: flex;
  justify-content: space-between;
  font-size: .8rem;
  color: #555;
  flex-wrap: wrap;
  gap: .5rem;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links { display: none; }

  .about-intro,
  .contact-layout { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; }

  .form-row { grid-template-columns: 1fr; }

  .hero-stats { gap: 1.5rem; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 3.5rem 1.25rem; }
}
