/* =====================
   BASE
===================== */
html, body {
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: #222;
}

h1, h2, h3 {
  margin-top: 0;
}

img {
  max-width: 100%;
  display: block;
}

/* =====================
   HEADER
===================== */
.site-header {
  padding: 1rem;
  text-align: center;
}

/* =====================
   HERO
===================== */
.hero {
  position: relative;
  min-height: 100vh;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: left;
}

.hero-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%);

  max-width: 1000px;
  width: calc(100% - 3rem);

  color: #fff;
  background: rgba(0,0,0,0.6);
  padding: 2rem;
  border-radius: 8px;
}

/* =====================
   CONTAINER
===================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

/* =====================
   PROJECT GALLERY
===================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.project-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.project-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card:hover img {
  transform: scale(1.06);
}

.project-card figcaption {
  padding: 0.75rem;
  text-align: center;
  font-weight: 600;
  background: #f7f7f7;
}

/* =====================
   SERVICES
===================== */
.services-section {
  position: relative;
  background-size: cover;
  background-position: center;
}

.services-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
}

.content-box {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  background: rgba(0,0,0,0.65);
  border-radius: 12px;
  color: #fff;
}

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

/* =====================
   CONTACT
===================== */
.contact form {
  max-width: 600px;
  margin: auto;
}

.contact label {
  display: block;
  margin-bottom: 1rem;
}

.contact input,
.contact textarea {
  width: 100%;
  padding: 0.5rem;
}

/* =====================
   CTA BUTTON
===================== */
.cta {
  background: #d62828;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

/* =====================
   CALL NOW BUTTON
===================== */
.call-now-button {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 2000;

  background: rgba(0,0,0,0.8);
  color: #fff;
  text-decoration: none;

  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;

  box-shadow: 0 4px 12px rgba(0,0,0,0.35);
  transition: background 0.3s ease, transform 0.2s ease;
}

.call-now-button:hover {
  background: rgba(0,0,0,0.95);
  transform: translateY(-1px);
}

/* =====================
   FOOTER
===================== */
.site-footer {
  text-align: center;
  padding: 2rem;
  background: #111;
  color: #fff;
}

/* =====================
   MOBILE ADJUSTMENTS
===================== */
@media (max-width: 768px) {

  .hero-overlay {
    top: 25%;
    padding: 1.5rem;
  }

  .call-now-button {
    font-size: 1rem;
    padding: 0.7rem 1.1rem;
  }

  .parallax-desktop-only {
    background-attachment: scroll;
  }
}
