/* Quentin Corporation - long play design */
body {
  font-family: 'EB Garamond', serif;
  font-size: 1.2rem;
  letter-spacing: .008em;
  background: #e4eaed;
  color: #222;
  line-height: 1.75;
  margin: 0;
  padding: 0;
}

/* overlay */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('/assets/images/dln.png') repeat;
  background-size: 150px;
  opacity: .95;
  pointer-events: none;
  z-index: -1;
}

/* global headings */
h1, h2, h3 {
  font-family: 'EB Garamond', serif;
  font-weight: 500;
  letter-spacing: .3em;
}

/* ==================== HEADER ==================== */
header {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #222;
  padding: .25rem .25rem;
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all 0.3s ease;
}
.header-content {
  max-width: 700px;
  margin: 0 auto;
  padding: .75rem .75rem;
  text-align: center;
}

header.scrolled {
  background: rgba(255, 255, 255, 0.50);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}


.header-content {
  max-width: 700px;
  margin: 0 auto;
  padding: .75rem .5rem;
  text-align: center;
}

header.scrolled .header-content {
  padding-top: 0.01rem;
  padding-bottom: 0rem; 
  }

/* Logo */
.logo-link {
  display: block;
  margin-bottom: .35rem;
}

.logo {
  max-width: 610px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  transition: all 0.4s ease;
}

.logo-link:hover .logo {
  filter: brightness(.88);
}


/* NAV */
header nav {
  display: flex;
  justify-content: center;
  gap: .8rem;
  flex-wrap: wrap;
}

header nav a,
header nav a:visited {
  color: #000000;
  text-decoration: none;
  font-size: 1.19rem;
  font-weight: 400;
  padding: 0.5rem .5rem;
  white-space: nowrap;
}

header nav a:hover,
header nav a.active,
header nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 6px;
}



/* ==================== MAIN CONTENT ==================== */
main {
  max-width: 820px;
  margin: 4rem auto;
  padding: 0 2rem;
}

a {
  color: #1e71c9;
  text-decoration: none;
  text-underline-offset: 3px;
}

a:hover {
  color: #93a8c9;
  text-decoration: underline;
}

a:visited {
  color: #3a5c91;
}

.content-box {
  background: rgba(255, 255, 255, 0.25);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  border: 1px solid #222;
  padding: 2.2rem 2rem;
  border-radius: 4px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.11);
  text-align: center;
}

.content-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.888);
  filter: blur(1px);
  z-index: 1;
  border-radius: 4px;
}

.content-box > * {
  position: relative;
  z-index: 2;
}

h1 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  font-weight: 300;
  letter-spacing: .06em;
  color: #1a1a1a;
}

main ul {
  list-style: circle;
  list-style-position: inside;
  text-align: left;
  padding-left: 6rem; 
}

/* Layout Columns */
.layout {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  justify-content: center;
  gap: .5rem;
  margin: 1rem 0;
}

.column {
  grid-column: span var(--span, 12);
  width:100%;
}

.column .block {
  margin-bottom: .5rem;
}
.column .block img {
  max-width: 100%;
  height: auto;
}


/* homepage background slideshow */
#home-slideshow {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-image 1.8s ease-in-out;
}

#home-slideshow::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.78);
  z-index: 1;
  transition: background 1.8s ease-in-out;
}

#home-slideshow > * {
  position: relative;
  z-index: 2;
}

/* page content slideshow */
.content-slideshow-box {
  position: relative;
  width: 100%;
  max-width: 330px;
  aspect-ratio: 4 / 3;
  margin: 1.5rem auto;
  background: #fff;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  z-index: 2;
  box-sizing: border-box;
}

.content-slideshow-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.8s ease-in-out;
}

.content-slideshow-image.active {
  opacity: 1;
}



/* Image Link Styling (vendor logos) */
.image-link {
  display: block;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background: #fff;
  text-align: center;
  transition: all 0.35s ease;
}

.image-link:hover {
  border-color: #1e71c9;
  background: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.08);
}

.image-link img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  transition: transform 0.4s ease;
}

.image-link:hover img {
  transform: scale(1.03);
}



/* regular block images */
.block-image-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 5px;
}



/* vendor images w brochure */


.image-brochure-wrapper {
  display: flex;
   align-items: stretch;  
    justify-content: center; /* Keeps everything centered in the figure */
  gap: .65rem;        
  max-width:350px;
  margin: 0.5rem auto;
  width: 100%;  
 
}

.image-brochure-wrapper .image-link {
  flex-grow: 1;           /* Let the logo take up the remaining space */
  max-width: none;        /* Remove the restriction so it fills the wrapper */
  width: auto;
}

.brochure-download {
    display:flex;
  flex-shrink: 0;
  text-align: center;
  width: 45px;
}

.brochure-download a {
  display: flex;
  align-items: center;
  justify-content: center;
  height:100%;
  padding: 1rem .25rem;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 5px;
  transition: all 0.3s ease;
  
}

.brochure-download a:hover {
  border-color: #1e71c9;
  background: #fff;
  transform: translateY(-3px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.08);
}

.pdf-icon {
  width: 32px;
  height: auto;
}







/* ==================== FOOTER ==================== */
footer {
  text-align: center;
  padding: 4rem 1rem 3rem;
  color: #555;
  font-size: 0.95rem;
}




/* ==================== MOBILE ==================== */
@media (max-width: 768px) {
  .header-content {
    padding: 0.5rem 0.8rem 0.3rem;
  }

  .logo {
    max-width: 380px;
  }


  /* Nav - reliable 2-per-row, centered, tighter padding */
  header nav {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    width: 100%;
    padding: 0.3rem 0;
  }

  header nav a {
    font-size: .85rem;
    padding: 0.45rem 0.8rem;
    white-space: wrap;
    flex: 1 1 46%;           /* forces 2 per row */
    min-width: 110px;
    text-align: center;
    box-sizing: border-box;
  }
 .layout {
     grid-template-columns: 1fr;
     
 }
 .column {
    grid-column: span 12 !important; 
        margin-bottom: .75rem; /* Space between stacked vendors */
  }
  
  
  figure[style*="width"] {
    width: 100% !important;
    max-width: 100%;
  }
    /* Content & slideshow */
  main {
    margin: 1.8rem auto;
    padding: 0 1rem;
  }
  main ul {
  
  padding-left: .5rem; 
}

  .content-box {
    padding: 1.8rem 1.4rem;
  }

  .content-slideshow-box {
    width: 92%;
    height: 220px;
  }


   .image-brochure-wrapper {
    display: flex !important;
    flex-direction: row !important; 
    justify-content: center;
    align-items: center;
    gap: 1.2rem;
    width: 100%;
    
  }
   .block-image-img {
    max-width: 280px;    width: auto;
    height: auto;
    display: block;
  }
.pdf-icon {
    width: 35px;
    height: auto;
  }
}