/* =====================================================
   D & F Remodeling LLC
   Polished Production CSS
   Blue / Black / White
   ===================================================== */

/* ================= VARIABLES ================= */
:root {
  --blue: #1f4fd8;
  --blue-soft: #3b6cff;
  --dark: #0f0f0f;
  --light: #f2f2f2;
  --white: #ffffff;
  --radius: 12px;
}

/* ================= RESET ================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  color: #111;
  background: var(--white);
  line-height: 1.6;
}

/* ================= MARQUEE ================= */
.css-marquee {
  background: var(--dark);
  color: var(--white);
  overflow: hidden;
  white-space: nowrap;
  font-size: 0.95rem;
}

.css-marquee .track {
  display: inline-block;
  padding: 0.65rem 0;
  animation: scroll 22s linear infinite;
}

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ================= HERO ================= */
.hero {
  background: var(--dark);
  position: relative;
  min-height: 70vh;
}

.hero-overlay {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: radial-gradient(
    circle,
    rgba(15,15,15,0.55),
    rgba(15,15,15,0.9)
  );
}

.hero-logo {
  width: 280px;
  max-width: 90%;
  margin-bottom: 1.5rem;
}

.hero h1 {
  color: var(--white);
  font-size: 2.4rem;
  margin: 0 0 0.75rem;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-icon {
  font-size: 2rem;
  color: var(--blue);
  margin-bottom: 0.75rem;
  opacity: 0.85;
}

.hero p {
  color: #eaeaea;
  font-size: 1.1rem;
  margin: 0;
}

/* ================= SECTIONS ================= */
.section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem;
  text-align: center;
}

.section.dark {
  background: var(--light);
  color: #111;
  max-width: none;
}

.section h2 {
  color: var(--blue);
  font-size: 1.8rem;
  margin-bottom: 1.25rem;
}

.section p {
  margin: 0.75rem 0;
}

/* ================= GALLERY ================= */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.gallery img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
}

/* ================= CARDS ================= */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.card {
  background: var(--light);
  padding: 2rem 1.75rem;
  border-radius: var(--radius);
}

/* ================= SERVICE ICONS ================= */
.icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: var(--blue);
  display: flex;
  justify-content: center;
  line-height: 1;
}

/* ================= TESTIMONIALS ================= */
.testimonials {
  background: linear-gradient(#fafafa, #f0f0f0);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.testimonial {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  text-align: left;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.testimonial p {
  font-style: italic;
  margin-bottom: 0.75rem;
  color: #333;
}

.testimonial span {
  font-weight: 600;
  color: var(--blue);
  font-size: 0.9rem;
}

/* ================= BUTTON ================= */
.btn {
  display: inline-block;
  margin-top: 2rem;
  margin-bottom: 2rem;
  padding: 0.9rem 2rem;
  background: var(--blue);
  color: var(--white);
  text-decoration: none;
  border-radius: 999px;
  font-weight: 600;
}

.btn:hover {
  background: var(--blue-soft);
}

/* ================= FOOTER ================= */
footer {
  background: var(--dark);
  color: #eaeaea;
  text-align: center;
  padding: 2.25rem 1rem;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}


.license {
  font-size: 0.85rem;
  opacity: 0.8;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding-top: 2.5rem;
    padding-bottom: 3rem;
  }

  .hero-overlay {
    justify-content: flex-start;
  }

  .hero-logo {
    width: 300px;
    max-width: 100%;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .section {
    padding: 3.5rem 1.25rem;
  }

  .cards {
    gap: 1.5rem;
  }

  .testimonial {
    padding: 1.75rem;
  }
}


/* ================= PORTFOLIO ================= */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.portfolio-item {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.portfolio-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.12);
}

.portfolio-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.portfolio-caption {
  padding: 0.9rem 1rem;
  font-weight: 600;
  text-align: center;
  color: #111;
  background: var(--white);
}

/* =====================================================
   CONTACT PAGE — NO FORM (Clean Contractor Layout)
   ===================================================== */

/* ================= CONTACT HERO ================= */

.contact-hero {
  background-color: #111;
  text-align: center;
  padding: 3rem 1rem 1.5rem;
}

.contact-logo {
  max-width: 320px;
  width: 90%;
  height: auto;
  margin: 0 auto;
  display: block;
}


.contact-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

/* Main contact card */
.contact-container {
  background: var(--light);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: 0 8px 22px rgba(0,0,0,0.08);
}

.contact-container h2 {
  color: var(--blue);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-container p {
  max-width: 560px;
  margin: 0 auto 2.25rem;
  font-size: 1.05rem;
  color: #333;
}

/* Contact methods */
.contact-method {
  margin-bottom: 2rem;
}

.contact-method h3 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
  color: #111;
}

.contact-link {
  display: inline-block;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
}

.contact-link:hover {
  text-decoration: underline;
}

/* Small supporting text */
.contact-note {
  font-size: 0.95rem;
  color: #555;
  margin-top: 0.4rem;
}

/* Map section */
.contact-map {
  margin-top: 3.5rem;
  text-align: center;
}

.contact-map h2 {
  color: var(--blue);
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.responsive-map {
  width: 100%;
  max-width: 900px;
  height: 360px;
  border-radius: var(--radius);
  box-shadow: 0 8px 22px rgba(0,0,0,0.1);
}

/* Optional home button container */
.contact-homeButton-container {
  text-align: center;
  margin: 3rem 0 1rem;
}

/* Mobile polish */
@media (max-width: 768px) {
  .contact-main {
    padding: 3rem 1.25rem;
  }

  .contact-container {
    padding: 2.5rem 1.5rem;
  }

  .contact-link {
    font-size: 1.15rem;
  }

  .responsive-map {
    height: 300px;
  }
}



