/* =========================================
   06. SECTIONS
============================================ */

/* ==== Header ==== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: white;
}

.nav {
  display: flex;
  justify-content:center;
  align-items: center;
  height: 80px;
  background-color: var(--color-primary);
}

.nav__logo-img {
    height: 60px;
    width: auto;
}

.nav__buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.nav__inner {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 1200px;
  gap: 1rem;
}


.nav__banner {
    width: 100%;
    height: 25px;
    text-align: center;

}

.nav__banner p {
    margin: 0;
}

/* ==== Hero ==== */

.hero {
  background-image: url("../assets/images/hero-image-with-overlay.jpg");
  background-size: cover;
  display: flex;
  background-repeat: no-repeat;
  justify-content: center;
  align-items: center;
  padding: 8rem 0;
  min-height: 60vh;
  max-height: 70vh;
  color: white;
  margin: 0 auto;
}

.hero__company-text {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
}

.hero__badge-div {
    display: flex;
    justify-content: space-around;
    align-items: center; 
    width: 360px;
    margin-top: var(--space-xl);
}

.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  justify-content:flex-end;
  width: 100%;
}

/* ==== About ==== */

.about .container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-xl);
  align-items: center;
}

.about .btn-primary {
  display: inline-block;
  margin-top: var(--space-lg);
}


/* ==== Trust badges ==== */

.trust-badges .container {
  display: flex;
  margin: 0 auto;
  padding: 1.5rem;      /* ✅ match .container */
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;        /* ✅ wrap on mobile */
}



/* ==== Services ==== */

.services {
    background-color: #465E93;
    color: white;
    text-align: center;
    display: flex;
    padding: var(--space-xl) 0;
}


.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}


/* === Installation === */

.installation .container {

  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-lg);
  align-items: center;
}

.installation .btn-primary {
  display: inline-block;
  margin-top: var(--space-md);
}


/* === Gallery === */

.gallery {
  text-align: center;
  background-color: var(--color-light);
}

.gallery h2 {
  margin: var(--space-lg) 0;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: var(--space-sm);
}

.gallery img {
  width: 100%;
  height: 400px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}


/* ==== Why choose us ==== */

.why-choose-us {
  background-color: var(--color-primary);
  color: white;
}


/* ==== Contact ==== */

.contact {
  background: var(--color-light);
}

.contact .container{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}


/* ==== FAQS ==== */

.faqs {
  padding: var(--space-xl) 0;
  background: var(--color-light);
}

.faqs .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.faqs__list {
  display: grid;
  grid-template-columns: 1fr; /* explicit 1 column */
  gap: var(--space-sm);

  width: 100%;        /* <- key: stops shrink-to-fit */
  max-width: 80%;     /* your constraint */
  margin-inline: auto;
  justify-items: stretch; /* ensure items stretch */
}

.faqs__item {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  width: 100%;
}

.faqs__item summary {
  cursor: pointer;
  list-style: none; /* removes default marker in some browsers */
  padding: var(--space-md);
  font-family: var(--font-heading);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
}

.faqs__item summary::-webkit-details-marker {
  display: none;
}

.faqs__item p {
  padding: var(--space-md) var(--space-md);
  margin: 0;
  color: var(--color-accent);
}

.faqs__item[open] summary {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.faqs__item summary::after {
  content: "+";
  font-family: var(--font-heading);
  font-size: 1.4rem;
  line-height: 1;
  opacity: 0.7;
  transition: var(--transition);
}

.faqs__item[open] summary::after {
  content: "–";
  opacity: 1;
}


/* ==== Footer ==== */

.footer {
  background-color: var(--color-dark);
  color: var(--color-white);
}

.footer__logo-img {
    height: 60px;
    display: block;
    margin: 0 auto;
}

.footer__columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.footer__links {
  list-style: none;
  text-decoration: none;
  padding: 0;
  margin: 0;
}

.footer__item {
  margin-bottom: var(--space-xs);
}

.footer__link {
  color: var(--color-white);
  text-decoration: none;
}

.footer__link:hover {
  opacity: 0.75;
}

.footer__address {
  font-style: normal;
}

.footer__bottom {
  border-top: 1px solid var(--color-light);
  text-align: center;
  margin-top: var(--space-md);
}