/* ============================================
   PAVERS IN LUTZ — style.css
   Brand Colors:
     Navy Blue:  #0D3057
     Lime Green: #A8D132
     White:      #FFFFFF
     Dark Text:  #1A1A1A
     Light BG:   #F5F5F5
   Font: Inter (Google Fonts)
   ============================================ */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  color: #1A1A1A;
  background: #FFFFFF;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

/* --- CONTAINER --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- BUTTONS --- */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  text-align: center;
}

.btn-primary {
  background: #A8D132;
  color: #1A1A1A;
  border-color: #A8D132;
}

.btn-primary:hover {
  background: #96bc28;
  border-color: #96bc28;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(168, 209, 50, 0.4);
}

.btn-outline {
  background: transparent;
  color: #FFFFFF;
  border-color: #FFFFFF;
}

.btn-outline:hover {
  background: #FFFFFF;
  color: #0D3057;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.1rem;
}

/* --- SECTION TITLE --- */
.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  color: #0D3057;
  margin-bottom: 48px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: #A8D132;
  margin: 12px auto 0;
  border-radius: 2px;
}

.section-title--left {
  text-align: left;
}

.section-title--left::after {
  margin: 12px 0 0;
}

.section-title--light {
  color: #FFFFFF;
}

.section-title--light::after {
  background: #A8D132;
}

/* ============================================
   1. HEADER / NAV
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #FFFFFF;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-img {
  height: 48px;
  width: auto;
}

.logo-placeholder {
  display: none;
  align-items: center;
  font-size: 1.4rem;
  font-weight: 800;
  color: #0D3057;
}

/* Navigation */
.nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-weight: 500;
  color: #1A1A1A;
  position: relative;
  padding: 4px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #A8D132;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  color: #0D3057;
}

.nav-cta {
  padding: 10px 24px;
  font-size: 0.95rem;
}

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger {
  display: block;
  width: 28px;
  height: 3px;
  background: #0D3057;
  position: relative;
  transition: background 0.3s ease;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 28px;
  height: 3px;
  background: #0D3057;
  left: 0;
  transition: all 0.3s ease;
}

.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }

/* Hamburger active state */
.nav-toggle.active .hamburger {
  background: transparent;
}

.nav-toggle.active .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle.active .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ============================================
   2. HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0D3057;
}

/* Diagonal split background */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0D3057 50%, #A8D132 50%);
  z-index: 1;
}

/* Hero background photo */
.hero-bg-photo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dark overlay on top of photo */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13, 48, 87, 0.65);
  z-index: 3;
}

.hero-content {
  position: relative;
  z-index: 4;
  text-align: center;
  padding: 120px 20px 80px;
}

.hero-headline {
  font-size: 3.2rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 16px;
  line-height: 1.15;
}

.hero-subheadline {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   3. SERVICES SECTION
   ============================================ */
.services {
  padding: 100px 0;
  background: #F5F5F5;
}

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

.service-card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  color: #A8D132;
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #0D3057;
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.6;
}

.service-link {
  font-weight: 600;
  color: #A8D132;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.service-link:hover {
  color: #0D3057;
}

/* ============================================
   4. GALLERY SECTION
   ============================================ */
.gallery {
  padding: 100px 0;
  background: #FFFFFF;
}

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

.gallery-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  background: #ddd;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

/* Placeholder box for missing images */
.gallery-placeholder {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0D3057 0%, #1a4a7a 100%);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 1rem;
  position: absolute;
  top: 0;
  left: 0;
}

/* Hover overlay with caption */
.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(transparent, rgba(13, 48, 87, 0.85));
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-caption {
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.95rem;
}

/* ============================================
   5. ABOUT SECTION
   ============================================ */
.about {
  padding: 100px 0;
  background: #F5F5F5;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-body {
  font-size: 1.05rem;
  color: #444;
  margin-bottom: 20px;
  line-height: 1.8;
}

.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #0D3057;
  color: #FFFFFF;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 12px;
}

.badge-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.about-photo {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #ddd;
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-photo-placeholder {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0D3057 0%, #1a4a7a 100%);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 1.1rem;
  position: absolute;
  top: 0;
  left: 0;
}

/* ============================================
   6. TESTIMONIALS SECTION
   ============================================ */
.testimonials {
  padding: 100px 0;
  background: #0D3057;
}

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

.testimonial-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 36px 28px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.12);
}

.testimonial-stars {
  color: #A8D132;
  font-size: 1.3rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-text {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  color: #A8D132;
  font-weight: 600;
  font-size: 0.9rem;
}

/* ============================================
   7. CONTACT FORM SECTION
   ============================================ */
.contact {
  padding: 100px 0;
  background: #FFFFFF;
  position: relative;
}

/* Navy left accent bar */
.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 8px;
  height: 100%;
  background: #0D3057;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.contact-subtitle {
  color: #555;
  font-size: 1.05rem;
  margin-bottom: 36px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  color: #333;
}

.contact-icon {
  width: 24px;
  height: 24px;
  color: #A8D132;
  flex-shrink: 0;
}

/* Form styles */
.quote-form {
  background: #F9F9F9;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: #1A1A1A;
  margin-bottom: 6px;
}

.required {
  color: #e74c3c;
}

.optional {
  color: #999;
  font-weight: 400;
  font-size: 0.85rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #E0E0E0;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: #1A1A1A;
  background: #FFFFFF;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #A8D132;
  box-shadow: 0 0 0 3px rgba(168, 209, 50, 0.2);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #e74c3c;
}

.error-msg {
  display: block;
  color: #e74c3c;
  font-size: 0.82rem;
  margin-top: 4px;
  min-height: 18px;
}

.form-group textarea {
  resize: vertical;
}

.btn-submit {
  width: 100%;
  padding: 16px;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  margin-top: 8px;
}

/* Success message */
.form-success {
  text-align: center;
  padding: 40px 20px;
}

.form-success h3 {
  color: #0D3057;
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.form-success p {
  color: #555;
  font-size: 1rem;
}

/* ============================================
   8. FOOTER
   ============================================ */
.footer {
  background: #0D3057;
  color: #FFFFFF;
  padding: 60px 0 30px;
}

.footer-inner {
  text-align: center;
}

.footer-brand {
  margin-bottom: 24px;
}

.footer-logo {
  height: 40px;
  margin: 0 auto 12px;
}

.footer-logo-text {
  display: none;
  font-size: 1.3rem;
  font-weight: 800;
  color: #FFFFFF;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin-top: 8px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 30px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #A8D132;
}

.footer-copy {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
}

/* --- Phone link styling --- */
.phone-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.phone-link:hover {
  color: #A8D132;
}

/* ============================================
   SCROLL TO TOP BUTTON
   ============================================ */
.scroll-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #A8D132;
  color: #1A1A1A;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 999;
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background: #96bc28;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(168, 209, 50, 0.5);
}

.scroll-top-btn svg {
  width: 24px;
  height: 24px;
}

/* ============================================
   RESPONSIVE — TABLET (max-width: 992px)
   ============================================ */
@media (max-width: 992px) {
  .services-grid,
  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-photo {
    max-width: 500px;
    margin: 0 auto;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-headline {
    font-size: 2.6rem;
  }
}

/* ============================================
   RESPONSIVE — MOBILE (max-width: 768px)
   ============================================ */
@media (max-width: 768px) {
  /* Header */
  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #FFFFFF;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    transition: right 0.3s ease;
    padding: 80px 32px 32px;
    z-index: 1000;
  }

  .nav.open {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }

  .nav-cta {
    width: 100%;
    text-align: center;
  }

  /* Hero */
  .hero-headline {
    font-size: 2rem;
  }

  .hero-subheadline {
    font-size: 1.05rem;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
    width: 100%;
    max-width: 300px;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Section titles */
  .section-title {
    font-size: 1.6rem;
    margin-bottom: 36px;
  }

  /* About */
  .section-title--left {
    text-align: center;
  }

  .section-title--left::after {
    margin: 12px auto 0;
  }

  .about-body {
    text-align: center;
  }

  .about-badge {
    margin: 12px auto 0;
    display: flex;
    justify-content: center;
  }

  /* Contact form */
  .quote-form {
    padding: 28px 20px;
  }

  .contact::before {
    width: 4px;
  }

  /* Footer */
  .footer-links {
    flex-direction: column;
    gap: 16px;
  }

  /* Scroll to top */
  .scroll-top-btn {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }
}

/* ============================================
   ANIMATIONS (fade-in on scroll)
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
