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

body {
  font-family: 'Mulish', sans-serif;
  background-color: #FFFFFF;
  color: #29292b;
  line-height: 1.6;
  font-weight: 300;
}

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem;
}

a,
a:visited {
  color: #5DC9C8;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* =====================================
   SECTION & AUTOMATED STRIPING
===================================== */
.section {
  padding: 3rem 2rem;
}

.section h2 {
  font-family: 'Mulish', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #5DC9C8;
}

.section p,
.section ul,
.section li {
  font-family: 'Mulish', sans-serif;
  color: #736D6D;
  line-height: 1.7;
}

.section ul {
  padding-left: 1.5rem;
  list-style: disc;
}

.section:nth-of-type(3n+1) {
  background-color: #FFFFFF;
}

.section:nth-of-type(3n+2) {
  background-color: #F4F0EC;
}

.section:nth-of-type(3n+3) {
  background-color: #ECEDED;
}

/* =====================================
   HERO SECTION
===================================== */
.hero {
  background: url('../images/finley-beach.jpg') center center / cover no-repeat;
  background-attachment: fixed;
  position: relative;
  height: 100vh;
  color: #fff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.hero .container {
  max-width: 800px;
  padding: 2rem;
  position: relative;
  z-index: 1;
}

.hero .logo {
  height: 90px;
  margin-bottom: 1.5rem;
}

.hero img.logo {
  filter: invert(100%) brightness(120%) contrast(90%);
  transition: filter 0.3s ease;
}

.hero h1 {
  font-family: "EB Garamond", serif;
  font-weight: 900;
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #FFFFFF;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.hero p {
  font-family: 'Mulish', sans-serif;
  font-weight: 300;
  font-size: 1.25rem;
  color: #F4F0EC;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* =====================================
   PRODUCT HIGHLIGHTS
===================================== */
.product-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.product-item {
  flex: 1 1 300px;
  max-width: 300px;
  text-align: center;
  position: relative;
}

.product-item a {
  display: block;
  position: absolute;
  height: 100%;
  width: 100%;
}

.product-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.product-item h3 {
  margin-top: 1rem;
  font-size: 1.25rem;
  color: #29292b;
}

.product-item p {
  font-size: 1rem;
  color: #736D6D;
}

/* =====================================
   BRAND VALUES
===================================== */
.brand-values-image {
  margin-top: 2rem;
  text-align: center;
}

.brand-values-image .staff-photo {
  max-width: 100%;
  max-height: 400px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  object-fit: cover;
}

/* =====================================
   GLOBAL DISTRIBUTORS
===================================== */
.distributor-list {
  margin-top: 1rem;
  padding-left: 1.5rem;
  list-style: square;
  color: #736D6D;
  font-family: 'Mulish', sans-serif;
}

.distributor-icons li {
  list-style: none;
  margin-bottom: 1rem;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.distributor-icons i {
  color: #5DC9C8;
  font-size: 1rem;
}

.distributor-icons .hq {
  font-size: 1.15rem;
  font-weight: 600;
}

.distributor-icons .hq-label {
  font-weight: normal;
  font-size: 0.9rem;
}

/* Warehouse background */
.warehouse-bg {
  background: url('../images/inside-Conni-Warehouse-with-workers3-1600x535.webp') center center / cover no-repeat;
  background-attachment: fixed;
  position: relative;
}

.warehouse-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.warehouse-bg .container {
  position: relative;
  z-index: 1;
}

.section.warehouse-bg * {
  color: #fff;
}

/* =====================================
   CTA
===================================== */
.cta {
  text-align: center;
  padding: 2rem;
}

.cta .btn {
  display: inline-block;
  background-color: #5DC9C8;
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  font-family: 'Mulish', sans-serif;
  transition: background 0.3s ease;
}

.cta .btn:hover {
  background-color: #3ab4b2;
}

.cta .tagline {
  margin-top: 1.5rem;
  font-size: 1rem;
  color: #736D6D;
  font-family: 'Mulish', sans-serif;
}

/* =====================================
   FOOTER
===================================== */
.site-footer {
  background-color: #FFFFFF;
  text-align: center;
  padding: 2rem;
  border-top: 1px solid #F4F0EC;
  font-size: 0.875rem;
  color: #A7A09E;
  font-family: 'Mulish', sans-serif;
}

.site-footer a {
  color: #5DC9C8;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer .footer-btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: #5DC9C8;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.3s ease;
}

.site-footer .footer-btn:hover {
  background-color: #3ab4b2;
  text-decoration: none;
}

/* =====================================
   ACCORDION
===================================== */
details.accordion {
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
  margin-top: 1.5rem;
  padding: 1rem;
}

details.accordion summary {
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 1.5rem;
  list-style: none;
  color: #29292b;
}

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

details.accordion summary::before {
  content: "\f054";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}

details.accordion[open] summary::before {
  transform: translateY(-50%) rotate(90deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.7s ease;
}

details.accordion[open] .accordion-content {
  max-height: 2000px;
}
.capability-collage {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 2rem;
}

.capability-collage .capability-img {
  width: 100%;
  max-width: 480px;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  object-fit: cover;
}

/* =====================================
   RESPONSIVE
===================================== */
@media (max-width: 768px) {
  .hero,
  .warehouse-bg {
    background-attachment: scroll; /* Prevent zoom and jitter on mobile */
    background-position: 40% center;
    background-size: cover;
  }

  #distributor-enquiry .container {
    padding: 1rem
  }
  .section {
  padding: 1rem .5rem;
  }
  .hero {
    background-position: 90% center;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .section h2 {
    font-size: 1.5rem;
  }
  .cta .btn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
  .capability-collage {
    flex-direction: column;
    align-items: center;
  }
  .brand-values-image .staff-photo {
    max-height: 300px;
  }
}
