/* =========================
   GENERAL PAGE STYLING
   ========================= */
   html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
  }
  
  :root {
    --section-gap: 65px;
    --nav-height: 90px;
  }
  
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }
  
  body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    padding-top: var(--nav-height); /* prevents content hiding under fixed nav */
    background-color: #BFBFBF;
    text-align: center;
    overflow-x: hidden;
  }
  
  /* =========================
     NAVIGATION BAR
     ========================= */
  .topnav {
    font-family: 'Bebas Neue', sans-serif;
    position: fixed;
    top: 0;
    left: 0;                 /* ✅ prevents mobile hairline gaps */
    right: 0;                /* ✅ prevents mobile hairline gaps */
    width: 100%;
    background: linear-gradient(to bottom, #616163, #4A4A4A);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    z-index: 1000;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
  }
  
  .topnav > a:first-child {
    display: flex;
    align-items: center;
  }
  
  .topnav img {
    height: 80px;
    width: auto;
    cursor: pointer;
    margin: 0;
  }
  
  .topnav a {
    text-decoration: none;
    color: #F5DB75;
    font-size: 18px;
    padding: 10px 12px;
    margin: 0;
    line-height: 1;
    display: inline-flex;
    align-items: center;
  }
  
  .topnav a:hover {
    color: #D93D8E;
  }
  
  /* =========================
     DROPDOWN MENU
     ========================= */
  .dropdown {
    position: relative;
    display: inline-block;
  }
  
  .dropbtn {
    text-decoration: none;
    color: #F5DB75;
    font-size: 18px;
    padding: 10px 12px;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #4A4A4A;
    min-width: 220px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 1000;
  }
  
  .dropdown-content a {
    display: block;
    color: #F5DB75;
    padding: 12px 16px;
    text-decoration: none;
    text-align: left;
    transition: background 0.3s;
    white-space: nowrap;
  }
  
  .dropdown:hover .dropdown-content {
    display: block;
  }
  
  .dropdown-content a:hover {
    background-color: #D93D8E;
    color: white;
  }
  
  /* =========================
     NAV CONTACT
     ========================= */
  .nav-contact {
    margin-left: auto;
    display: flex;
    align-items: center;
    white-space: nowrap;
    padding-right: 10px;
    gap: 0;
    min-width: 0;
  }
  
  .nav-contact-item {
    text-decoration: none;
    color: #F5DB75;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 16px;
    line-height: 1;
  }
  
  .nav-contact-item:hover {
    color: #0085B5 !important;
  }
  
  .nav-sep {
    color: rgba(245, 219, 117, 0.6);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 16px;
    line-height: 1;
    margin: 0 10px;
  }
  
  .nav-contact a:last-child {
    max-width: 420px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  /* =========================
     SERVICE HEADER
     ========================= */
  .service-header {
    position: relative;
    color: white;
    padding: 120px 30px 30px;
    font-size: 28px;
    font-family: 'Bebas Neue', sans-serif;
    background: url('servicesBackground.jpeg') center 10px / cover no-repeat;
    z-index: 1;
    margin-bottom: 10px;
  }
  
  .service-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 0;
  }
  
  .service-header h1 {
    position: relative;
    z-index: 1;
  }
  
  /* Service Summary */
  .service-summary {
    padding: 20px;
    font-size: 18px;
    color: #555;
    max-width: 800px;
    margin: auto;
  }
  
  /* =========================
     SERVICE PHOTOS (DESKTOP)
     ========================= */
  .service-photos {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    padding: 30px 20px;
  }
  
  .service-photos img {
    width: 350px;
    height: 350px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.3);
  }
  
  /* =========================
     LOADING PHOTOS TEXT
     ========================= */
  .loading-text {
    width: 100%;
    padding: 30px 20px;
    font-size: 26px;
    text-align: center;
    opacity: 0.85;
    font-family: 'Bebas Neue', sans-serif;
  }
  
  .loading-blink {
    animation: loadingPulse 1s ease-in-out infinite;
  }
  
  @keyframes loadingPulse {
    0% { opacity: 0.35; }
    50% { opacity: 1; }
    100% { opacity: 0.35; }
  }
  
  /* =========================
     BUTTONS
     ========================= */
  .quote-container {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    padding: 0 16px;
  }
  
  .get-quote-btn,
  .back-home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 175px;
    height: 44px;
    padding: 0;
    margin-top: 15px;
    border-radius: 8px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 18px;
    text-decoration: none;
    line-height: 1;
  }
  
  .get-quote-btn {
    background: #D93D8E;
    color: white;
    transition: 0.3s;
  }
  
  .get-quote-btn:hover {
    background: #b02b7c;
  }
  
  .back-home {
    background: black;
    color: white;
    transition: 0.3s;
  }
  
  .back-home:hover {
    background: #444;
  }
  
  /* =========================
     OTHER SERVICES
     ========================= */
  .other-services {
    margin-top: 60px;
    padding: 20px;
    background: #f1f1f1;
  }
  
  .other-services h2 {
    font-size: 40px;
    font-family: 'Bebas Neue', sans-serif;
    margin-top: 30px;
  }
  
  .service-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
  }
  
  .service-links .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 175px;
    height: 44px;
    padding: 0;
    border-radius: 8px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 18px;
    text-decoration: none;
    background: #D93D8E;
    color: white;
    transition: 0.3s;
    line-height: 1;
  }
  
  .service-links .btn:hover {
    background: #b02b7c;
  }
  
  /* =========================
     CONTACT SECTION
     ========================= */
  #contact {
    text-align: center;
    padding: 50px 20px;
    background: #fff;
  }
  
  .contact h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 40px;
    margin-top: 0px;
  }
  
  .contact-layout {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: stretch;
    padding: 20px;
  }
  
  .contact-map-wrap,
  .contact-form {
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  
  .contact-map-wrap {
    width: 100%;
    gap: 12px;
  }
  
  .contact-map {
    width: 100%;
    min-height: 350px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.25);
    flex: 1;
  }
  
  .contact-map iframe {
    width: 100%;
    height: 100%;
    display: block;
  }
  
  .directions-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50px;
    padding: 0 18px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 20px;
    border-radius: 5px;
    text-decoration: none;
    background: #D93D8E;
    color: white;
    transition: 0.25s ease;
    box-sizing: border-box;
  }
  
  .directions-btn:hover {
    background: #b02b7c;
  }
  
  .contact-form {
    max-width: none;
    width: 100%;
    margin: 0;
    gap: 22px;
  }
  
  .form-group {
    display: flex;
    flex-direction: column;
    width: 100%;
    text-align: left;
  }
  
  input, select, textarea {
    width: 100%;
    padding: 10px;
    border: 1.5px solid black;
    font-size: 16px;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
  }
  
  .send-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50px;
    padding: 0 20px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 20px;
    border-radius: 5px;
    background: black;
    color: white;
    transition: 0.3s;
    cursor: pointer;
    border: none;
    box-sizing: border-box;
  }
  
  .send-button:hover {
    background: #444;
  }
  
  /* =========================
     FOOTER
     ========================= */
  .footer {
    background: linear-gradient(to bottom, #616163, #4A4A4A);
    padding: 20px;
    text-align: center;
  }
  
  .footer-container {
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding: 20px 0;
    max-width: 1200px;
    margin: auto;
    flex-wrap: wrap;
  }
  
  .footer-links,
  .footer-contact,
  .footer-hours,
  .footer-social {
    flex: 1;
    min-width: 300px;
    text-align: left;
  }
  
  .footer-contact h3,
  .footer-hours h3,
  .footer-links h3,
  .footer-social h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #F5DB75;
  }
  
  .footer-contact p,
  .footer-hours p {
    font-size: 16px;
    color: white;
    margin: 3px 0;
  }
  
  .footer-links a {
    text-decoration: none;
    color: white;
    display: block;
    margin-bottom: 5px;
  }
  
  .footer-links a:hover {
    color: #D93D8E;
  }
  
  .footer-social img {
    width: 24px;
    height: 24px;
  }
  
  /* FOOTER BOTTOM */
  .footer-bottom {
    max-width: 1200px;
    margin: 6px auto 0;
    padding: 0 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 56px;
    box-sizing: border-box;
  }
  
  .footer-copyright {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    font-size: 14px;
    color: #777;
    white-space: nowrap;
  }
  
  .footer-logo {
    display: flex;
    align-items: center;
    gap: 14px;
  }
  
  .powered-by {
    font-size: 12px;
    color: #777;
    font-family: Arial, sans-serif;
    white-space: nowrap;
  }
  
  .footer-logo img {
    height: 52px;
    width: auto;
    display: block;
    transform: translate(-10px, -3px);
  }
  
  /* Hide address on medium screens */
  @media (max-width: 1100px) {
    .nav-contact a:last-child,
    .nav-contact span:last-of-type {
      display: none;
    }
  }
  
  /* =========================
     MOBILE (MATCH PORTFOLIO/ABOUT)
     ========================= */
  @media (max-width: 900px) {
    :root {
      --nav-height: 140px;
    }
  
    body {
      padding-top: var(--nav-height);
    }
  
    /* ---------- NAV: logo centered, links horizontal under it ---------- */
    .topnav {
      flex-wrap: wrap;
      justify-content: center;
      gap: 10px 14px;
      padding: 10px 12px;
      box-shadow: none; /* helps avoid “gap” illusion on mobile */
    }
  
    .topnav > a:first-child {
      flex-basis: 100%;
      justify-content: center;
    }
  
    .topnav img {
      height: 68px;
    }
  
    .topnav a,
    .dropbtn {
      font-size: 16px;
      padding: 8px 10px;
    }
  
    .nav-contact {
      display: none !important;
    }
  
    .dropdown-content {
      left: 50%;
      transform: translateX(-50%);
    }
  
    /* ---------- HEADER: simple + centered ---------- */
    .service-header {
      padding: 0;
      height: 115px;
      margin: 0 0 28px;
      display: flex;
      align-items: center;
      justify-content: center;
      background-position: center top;
    }
  
    .service-header h1 {
      margin: 0;
      font-size: 32px;
      line-height: 1;
      padding: 0 12px;
    }
  
    /* ---------- SERVICE PHOTOS: 3 per row on mobile ---------- */
    .service-photos {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 8px;
      padding: 16px;
    }
  
    .service-photos img {
      width: 100%;
      height: 110px;
      object-fit: cover;
      border-radius: 8px;
    }

    /* keep "Loading photos..." centered even inside the grid */
    .service-photos .loading-text {
        grid-column: 1 / -1;      /* span all 3 columns */
        justify-self: center;     /* center within the grid */
        text-align: center;
    }
  
  
    /* ---------- OTHER SERVICES: stack buttons ---------- */
    .service-links {
      flex-direction: column;
      gap: 10px;
    }
  
    .service-links .btn {
      width: 100%;
      max-width: 520px;
      margin: 0 auto;
    }
  
    /* ---------- CONTACT: center + flip order (FORM on top) ---------- */
    .contact-layout {
      grid-template-columns: 1fr;
      gap: 54px;
      padding: 14px;
      width: 100%;
      max-width: 680px;
      margin: 0 auto;
      justify-items: stretch;
    }
  
    .contact-form { order: 1; }
    .contact-map-wrap { order: 2; }
  
    .contact-map {
      min-height: 320px;
    }
  
    /* ---------- FOOTER: stack + socials horizontal ---------- */
    .footer-container {
      flex-direction: column;
      align-items: center;
      gap: 18px;
    }
  
    .footer-links,
    .footer-contact,
    .footer-hours,
    .footer-social {
      min-width: 0;
      width: 100%;
      text-align: center;
    }
  
    .footer-links a {
      display: inline-block;
      margin: 6px 10px;
    }
  
    .footer-social a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      margin: 0 12px;
    }
  
    .footer-bottom {
      justify-content: center;
      flex-direction: column;
      gap: 10px;
      min-height: unset;
      padding-top: 10px;
    }
  
    .footer-copyright {
      position: static;
      transform: none;
      text-align: center;
    }
  
    .footer-logo {
      justify-content: center;
    }
  
    .footer-logo img {
      transform: none;
    }

    .footer a[href^="tel"],
    .footer a[href^="mailto"] {
      color: white !important;
      text-decoration: none;
    }

  }  