/* General */
.border {
  border-radius: var(--radius-md);
  border: var(--border-width) solid var(--brand-yellow);
  box-shadow: var(--shadow-focus);
  transition: box-shadow var(--transition-slow), transform var(--transition-slow);
}
.border:hover {
  box-shadow: var(--shadow-focus-strong);
}

.yellow {
  color: var(--brand-yellow);
}

.bold {
  font-weight: 600;
}

.relative {
  position: relative;
}

.fullWidth {
  width: 100%;
  max-width: none;
  padding: var(--space-md) 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: var(--layout-inline-max);
  max-width: var(--layout-max);
  margin: var(--space-lg) auto;
  padding-inline: var(--section-padding-inline);
  box-sizing: border-box;
}

.view-basket {
  display: flex;
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  width: var(--layout-inline-max);
  background-color: var(--brand-yellow);
  justify-content: space-between;
  margin: 0 auto var(--space-sm);
}

.view-basket p {
  align-content: center;
}

.basket-item {
  color: var(--text-on-light);
}

section {
  background-color: var(--section);
  backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  gap: var(--section-gap);
  justify-content: center;
  max-width: var(--layout-max);
  margin: 0 auto var(--space-xl);
  border-radius: var(--radius-lg);
  padding: var(--section-padding-block) var(--section-padding-inline);
  box-sizing: border-box;
}

.sectionTitle {
  color: var(--brand-yellow);
  font-size: clamp(2.5rem, 6vw, 4rem);
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 0.12em;
  margin: 0;
}

#clothing {
  background-image: url("/assets/clothing.webp");
}

#banners {
  background-image: url("/assets/banners.webp");
}

#stickers {
  background-image: url("/assets/stickers.webp");
}

#dtf-transfers {
  background-image: url("/assets/dtf-transfers.webp");
}

#vehicle-graphics {
  background-image: url("/assets/vehicle-graphics.webp");
}

#signage {
  background-image: url("/assets/signage.webp");
}

#shop-fronts {
  background-image: url("/assets/shop-fronts.webp");
}

#specialised-signs {
  background-image: url("/assets/specialised-signs.webp");
}

#business-cards {
  background-image: url("/assets/business-cards.webp");
}

#flyers {
  background-image: url("/assets/flyers.webp");
}

#websites {
  background-image: url("/assets/websites.webp");
}

#design-services {
  background-image: url("/assets/graphic-design.webp");
}

.padding {
  padding: var(--space-xl);
}

@media (max-width: 1250px) {
  section {
    margin-inline: var(--space-md);
  }
}

@media (max-width: 540px) {
  section {
    margin-inline: var(--space-sm);
  }
}

@media (max-width: 600px) {
  .sectionTitle {
    font-size: clamp(2rem, 12vw, 3rem);
  }
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--button-padding-block, 0.75rem) var(--button-padding-inline, 2rem);
  background-color: var(--brand-yellow);
  color: var(--text-on-light);
  font-weight: 500;
  font-size: var(--button-font-size, 1.15rem);
  transition: background-color var(--transition-base), box-shadow var(--transition-base);
  cursor: pointer;
  white-space: nowrap;
  border: none;
  border-radius: var(--radius-md);
}
.button:hover,
.button:focus-visible {
  background-color: var(--brand-blue);
  box-shadow: var(--shadow-focus);
}

/* Hero */
.hero {
  min-height: 60vh;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto var(--space-xl);
  padding: var(--space-xl) var(--section-padding-inline);
  max-width: var(--layout-max);
  box-sizing: border-box;
}

.smallHero {
  min-height: unset;
  padding-top: var(--space-xl);
}

.hero h1 {
  margin: var(--space-lg) 0 0 10%;
  font-size: clamp(3rem, 9vw, 9rem);
  position: relative;
  z-index: 14;
  color: var(--text-on-dark);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1;
}

/* Service Grid */
.firstServiceGrid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}

.secondServiceGrid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: var(--space-md);
}

.dualServiceGrid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: var(--space-md);
}

.gridItem {
  aspect-ratio: unset;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
  padding-block: var(--space-xl);
  transition: all var(--transition-slow);
  position: relative;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.gridItem:hover {
  font-size: 2.5rem;
}
.gridItem::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.35);
  z-index: 1;
  border-radius: var(--radius-md);
}

.gridItem span {
  z-index: 2;
}
.gridItemWide span {
  z-index: 2;
}

@media (min-width: 500px) {
  .firstServiceGrid,
  .dualServiceGrid {
    grid-template-columns: repeat(2, 1fr);
  }
  .secondServiceGrid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .firstServiceGrid {
    grid-template-columns: repeat(4, 1fr);
  }
  .secondServiceGrid {
    grid-template-columns: repeat(4, 1fr);
  }
  .gridItem {
    aspect-ratio: 1 / 1;
    padding: unset;
  }
}

@media (max-width: 600px) {
  .firstServiceGrid,
  .secondServiceGrid {
    gap: var(--space-xs);
  }
}

.gridItemWide {
  aspect-ratio: unset;
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
  padding-block: var(--space-xl);
  transition: all var(--transition-slow);
  position: relative;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.gridItemWide:hover {
  font-size: 2.5rem;
}
.gridItemWide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.35);
  z-index: 1;
  border-radius: var(--radius-md);
}

/* Container for Bento Images */
.bentoImages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-areas:
    "one two three"
    "four four three"
    "five six six";
  gap: var(--space-sm);
  margin: 0;
  padding: 0;
}

/* Base styles for each Bento item */
.bentoItem {
  min-height: 12rem;
  background-color: var(--secondary);
  border-radius: var(--radius-md);
  overflow: hidden; /* Ensures images stay within the container */
  display: flex;
  align-items: stretch; /* Ensures the content stretches to match container */
  justify-content: center;
}

/* Image styles */
.bentoItem img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  border-radius: calc(var(--radius-md) - 2px); /* Matches the border radius of the container */
  max-height: 290px; /* Ensures the images don't get too tall */
}

.bento3 img {
  max-height: unset;
  max-width: 400px;
}

/* Specific grid areas for each Bento */
.bento1 {
  grid-area: one;
}

.bento2 {
  grid-area: two;
}

.bento3 {
  grid-area: three;
}

.bento4 {
  grid-area: four;
}

.bento5 {
  grid-area: five;
}

.bento6 {
  grid-area: six;
}

/* Values Section */
.valuesContainer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-sm);
  max-width: 1000px;
  margin: 0 auto var(--space-lg);
}
.valueButton {
  border: none;
  background-color: transparent;
  font-size: 4rem;
  font-weight: 500;
  color: white;
  transition: all 0.5s ease;
  text-transform: uppercase;
}
.valueButton:hover {
  text-shadow: 0 0 15px var(--pinkGlow);
  font-size: 4.25rem;
}
.valueButton.active {
  color: var(--yellow);
}
.descriptionCard {
  background-color: rgba(0, 0, 0, 0.65);
  border-radius: var(--radius-md);
  padding: var(--panel-padding);
  box-shadow: var(--shadow-soft);
  max-width: 1000px;
  margin: 0 auto;
}
.descriptionCard h2 {
  margin-top: 0;
  color: var(--brand-yellow);
  text-align: center;
  font-size: 2.5rem;
}
.descriptionCard p {
  font-size: 1.5rem;
  line-height: 1.5;
  color: var(--text-on-dark);
}

@media (max-width: 800px) {
  .valueButton {
    font-size: 3rem;
  }
  .valueButton:hover {
    font-size: 3.25rem;
  }
  .descriptionCard {
    padding: 1rem;
    max-width: 80vw;
  }
  .descriptionCard h2 {
    font-size: 2rem;
  }
  .descriptionCard p {
    font-size: 1.5rem;
  }
  .bentoImages {
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas:
      "one two"
      "four three"
      "five three"
      "six six";
  }
}
@media (max-width: 768px) {
  .valuesContainer {
    justify-content: space-evenly;
  }
}
@media (max-width: 600px) {
  .valueButton {
    font-size: 2rem;
  }
  .valueButton:hover {
    font-size: 2.25rem;
  }
  .descriptionCard {
    padding: 1rem;
    width: unset;
  }
  .descriptionCard h2 {
    font-size: 1.5rem;
  }
  .descriptionCard p {
    font-size: 1rem;
  }
  .bentoImages {
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas:
      "one two"
      "three four"
      "five six";
  }
}

/* Find Us Visit Us Location */
.visitSection {
  display: flex;
  flex-direction: row;
  gap: var(--space-lg);
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.address {
  padding: var(--space-md);
  background-color: var(--surface-glass);
  border: var(--border-width) solid var(--text-on-dark);
}
.address p {
  margin: auto;
  white-space: nowrap;
  font-size: 1.25rem;
  color: var(--text-on-dark);
}

.map {
  width: fill-available;
  width: -webkit-fill-available;
  background-image: url("/assets/prints-charming-map.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: var(--border-width) solid var(--text-on-dark);
  min-height: 200px;
}

@media (max-width: 768px) {
  .visitSection {
    flex-direction: column-reverse;
  }
  .address {
    text-align: center;
    margin: auto;
  }
}

/* PROCESS */
.processDiv {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
}

.processTitleBlock {
  position: relative;
}
.topArrowDiv {
  width: 90%;
  height: 25px;
  background-color: var(--yellow);
  transform: skewX(40deg);
  margin-inline: auto;
}
.bottomArrowDiv {
  width: 90%;
  height: 25px;
  background-color: var(--yellow);
  transform: skewX(-40deg);
  margin-inline: auto;
}
.processTitle {
  z-index: 2;
  color: black;
  font-size: 2rem;
  font-weight: 600;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  text-transform: uppercase;
}

.processCopy {
  padding: 10px;
  color: white;
  font-size: 1.25rem;
  line-height: 1.25;
  padding: 1rem;
}

@media (max-width: 768px) {
  .processDiv {
    flex-direction: column;
  }

  .processColumn {
    margin-bottom: 1.5rem;
  }
}

/* OFFERINGS */
.renameDiv {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-evenly;
  gap: var(--space-sm);
  padding: 0 var(--space-sm) var(--space-sm);
}
.linkTile {
  background-color: var(--brand-sky);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
  transition: all var(--transition-slow);
  width: 100%;
}
.linkTile:hover {
  font-size: 2.5rem;
}

/* FAQs */
.faqDiv {
  width: 100%;
  margin: 0 auto;
}

.faqItem {
  margin-bottom: 15px;
}

.faqQuestion {
  width: 100%;
  color: white;
  background-color: transparent;
  padding: 15px;
  font-size: 2rem;
  font-weight: bold;
  border: none;
  text-align: center;
  cursor: help;
  outline: none;
  transition: all 0.3s ease;
}

.faqQuestion:hover {
  color: var(--pink);
}

.faqAnswer {
  padding: 15px;
  display: none;
  color: white;
  border: 1px solid var(--grey);
  border-top: 2px solid var(--grey);
  text-align: center;
  font-size: 1.75rem;
  width: 75%;
  margin-inline: auto;
}

.faqQuestion.active + .faqAnswer {
  display: block;
}

/* IMAGE FLOW */
.imageFlowContainer {
  width: 120vw;
  position: absolute;
  left: -25vw;
  height: 40%;
}
.imageFlowImage {
  position: absolute;
  left: 100vw;
  max-width: 300px;
  height: auto;
}

@media (max-width: 480px) {
  .imageFlowContainer {
    left: -50vw;
  }
  .imageFlowImage {
    position: absolute;
    left: 100vw;
    max-width: 300px;
    height: auto;
  }
}

/* =============================
   Features Grid Section
   ============================= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 0 2rem 2rem;
}

.feature {
  text-align: center;
  color: white;
}

.feature-icon {
  font-size: 7rem;
  color: var(--yellow);
  margin-bottom: 1rem;
}

.feature-title {
  font-size: 1.5rem;
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =============================
   Button Replacement
   ============================= */
.button-replacement {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.5rem 1.5rem;
  color: white;
  text-align: left;
  font-size: 1.25rem;
  line-height: 1.6;
}
.button-replacement h3 {
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
  color: var(--yellow);
}
