/*
Theme Name: Studio Shonae Theme
Author: Envelope Group
Author URI: https://envelopegroup.com
Description: A custom theme for Studio Shonae
Version: 1.0
*/

@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;600;700;900&display=swap");

/*_______________________________________*/

/*Root*/

/*_______________________________________*/

:root {
  --s-colour: #f76840;
  --s-bg-blue: #e0f7ff;
  --s-colour-secondary: #49866a;
  --s-background: #efe7dd;
  --s-background-secondary: #fdf1e2;

  --paragraph-width: 600px;
  --universal-padding: 1rem;
  --universal-margin: 2rem;
}

* {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-weight: 500;
}

/*_______________________________________*/

/*Global Defaults*/

/*_______________________________________*/

html {
  height: 100%;
}

img {
  pointer-events: none;
}

body {
  margin: 0;
  font-weight: normal;
  font-size: 16px;
  font-family: "Roboto", sans-serif;
  font-style: normal;
  color: var(--s-colour);
  background-color: var(--s-background);
}

@media screen and (max-width: 1200px) {
  body {
    font-size: 1.2rem;
  }
}

.contain {
  max-width: 2800px;
  margin: 0 auto;
  position: relative;
}

.container {
  padding: var(--universal-padding);
  padding-top: 2rem;
  max-width: 1600px;
  margin: 0 auto;
}

.full-bl {
  margin: 0;
  padding: 1rem;
}

img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

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

a:hover {
}

a:after {
}

.page-header {
  margin: var(--universal-margin);
  margin-top: 0;
  padding-bottom: 1rem;
  min-height: 30vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  border-bottom: 1px solid var(--s-colour);
  background-image: url("./assets/img/background.png");
  background-size: 30%;
  background-repeat: no-repeat;
  background-position: center right;
}

/*_______________________________________*/

/*Typography Global*/

/*_______________________________________*/

/* Base paragraph styling */
p {
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  max-width: var(--paragraph-width);
}

/* Heading hierarchy with responsive sizing */
h1 {
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: clamp(1.75rem, 2.5vw + 1rem, 2.5rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

h2 {
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-weight: 200;
  font-size: clamp(1.5rem, 2vw + 1rem, 2rem);
  line-height: 1.1;
  margin-bottom: 0.875rem;
}

h3 {
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-weight: 300;
  font-size: clamp(1.25rem, 1.6vw + 0.9rem, 1.75rem);
  line-height: 1.3;
  margin-bottom: 0.75rem;
  max-width: var(--paragraph-width);
}

h4 {
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: clamp(1.125rem, 1.2vw + 0.9rem, 1.5rem);
  line-height: 1.4;
  margin-bottom: 0.625rem;
}

h5 {
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: clamp(1rem, 0.9vw + 0.9rem, 1.25rem);
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

h6 {
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: clamp(0.9rem, 0.6vw + 0.85rem, 1.125rem);
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

/* Tablet responsive typography */
@media screen and (max-width: 1024px) {
  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 1.875rem;
  }

  h3 {
    font-size: 1.625rem;
  }

  h4 {
    font-size: 1.375rem;
  }

  h5 {
    font-size: 1.125rem;
  }

  h6 {
    font-size: 1rem;
  }
}

/* Mobile responsive typography */
@media screen and (max-width: 768px) {
  p {
    font-size: 1rem;
    line-height: 1.5;
  }

  h1 {
    font-size: 2rem;
    line-height: 1.1;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  h4 {
    font-size: 1.25rem;
  }

  h5 {
    font-size: 1.125rem;
  }

  h6 {
    font-size: 1rem;
  }
}

/* Small mobile responsive typography */
@media screen and (max-width: 480px) {
  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  h4 {
    font-size: 1.125rem;
  }
}

.caps {
  text-transform: uppercase;
}

b,
strong {
  font-weight: 700;
}

i,
em {
  font-style: normal;
}
/*_______________________________________*/

/*Grid*/

/*_______________________________________*/

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

.grid--margin {
  margin: 1rem;
}

.grid--gap {
  gap: 1rem;
}

@media screen and (max-width: 700px) {
  .grid {
    grid-template-columns: 1fr 1fr;
  }
}

.grid--span2 {
  grid-column: span 2;
}

.grid--span3 {
  grid-column: span 3;
}

.grid--span4 {
  grid-column: span 4;
}

/* buttons */

.btn--primary {
  padding: 1rem 2rem;
  border: 1px solid;
  border-radius: 50px;
  cursor: pointer;
  display: block;
  width: max-content;
  transition: all 0.3s ease;
}

.btn--primary:hover {
  background-color: white;
  color: var(--s-colour);
  transition: all 0.3s ease;
}

/*_______________________________________*/

/*Homepage*/

/*_______________________________________*/

.hero {
  height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  border-bottom: 1px solid var(--s-colour);
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: var(--universal-padding);
  background-image: url("./assets/img/background.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom right;
}

.hero-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.logo {
  animation: fadeInUp 2s ease-out forwards;
}

.hero__text {
  text-wrap: balance;
  max-width: 40ch;
  animation: fadeInUp 5s ease-out 0.2s forwards;
  opacity: 0;
}

.hero__text * {
  margin: 0;
}

@media screen and (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 0 2rem;
    height: 90vh;
    gap: 2rem;
  }

  .hero-left,
  .hero-right {
    align-items: flex-start;
    padding: 0;
  }

  .hero-left {
    justify-content: flex-end;
  }

  .logo {
    max-width: 250px;
  }

  .hero-right {
    justify-content: flex-start;
  }
}

/*_______________________________________*/

/*Scroll Indicator*/

/*_______________________________________*/

.scroll-indicator {
  position: absolute;
  bottom: 4rem;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  animation: bounce 2s infinite;
}

.scroll-indicator .arrow-down {
  width: 2rem;
  height: 2rem;
  border-right: 3px solid var(--s-colour);
  border-bottom: 3px solid var(--s-colour);
  transform: rotate(45deg);
  position: relative;
}

.scroll-indicator p {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0;
  color: var(--s-colour);
  font-weight: 600;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-0.5rem);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media screen and (max-width: 768px) {
  .scroll-indicator {
    bottom: 1rem;
  }
}

/* Introduction Sections */

.intro-section {
  position: relative;
  overflow: hidden;
}

.intro-section::after {
  content: "";
  background-image: url("./assets/img/background.png");
  background-repeat: no-repeat;
  display: block;
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50%;
  height: 100vh;
  z-index: -1;
}

@media screen and (max-width: 768px) {
  .intro-section::after {
    width: 100%;
    height: 100%;
    background-position: center;
    opacity: 0.5;
  }
}

.intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: var(--universal-margin);
  height: 50vh;
}

.intro.quote {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
}

.hero .quote .quote-inner {
  display: flex;
  flex-direction: column;
  padding: var(--universal-padding);
}

.intro.right {
  align-items: flex-end;
}

.dots {
  position: relative;
  padding-top: 2rem;
}

.dots:before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 20px;
  background-image: url("./assets/img/dots.svg");
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 0.5rem;
}

/*_______________________________________*/

/*About section*/

/*_______________________________________*/

.section-title * {
  margin: 0;
  padding: 0;
  line-height: 100%;
}

.section-title h3:first-of-type::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 20px;
  background-image: url("./assets/img/dots.svg");
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 0.5rem;
}

.about-section {
  color: var(--s-colour-secondary);
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-bottom: 10rem;
}

.about-section__home {
  background-color: var(--s-bg-blue);
  border-top: 1px solid var(--s-colour);
  border-bottom: 1px solid var(--s-colour);
  padding: 3rem 0;
}

.about-section__image {
  padding: var(--universal-padding);
}

.about-section__image .image-wrapper {
  border-radius: 35px;
  aspect-ratio: 1/1.5;
  overflow: hidden;
}

.about-section:nth-child(even) {
  grid-template-columns: 1fr 1fr;
}

.about-section:nth-child(even) .about-section__image {
  order: 2;
}

.about-section__image .image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (max-width: 800px) {
  .about-section:nth-child(even),
  .about-section {
    grid-template-columns: 1fr;
  }

  .about-section__image .image-wrapper {
    order: 0 !important;
    height: 50vh;
    width: 100%;
    overflow: hidden;
  }
}

.about-section__caption {
  font-size: 0.9rem;
  font-weight: 300;
  margin-top: 0.5rem;
  padding-right: 3rem;
}

.about-section__text {
  padding: var(--universal-padding);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 1.2rem;
}

.about-section__text p {
  font-size: 1.2rem;
}

.services-concertina {
  margin-top: 2rem;
  max-width: 750px;
}

.concertina-item {
  border-bottom: 1px solid;
  color: var(--s-colour);
}

.concertina-button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  text-align: left;
  font-family: inherit;
  transition: none;
  color: var(--s-colour);
}

.concertina-button span {
  font-weight: 300;
}

.concertina-button:hover {
  opacity: 0.8;
}

.concertina-icon {
  display: inline-flex;
  font-size: 2.25rem;
  font-weight: 100;
  line-height: 1;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 1rem;
}

.concertina-button.active .concertina-icon {
  transform: rotate(45deg);
}

.concertina-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.concertina-content.active {
  max-height: 1000px;
}

.concertina-text {
  padding-bottom: 1rem;
  color: var(--s-colour-secondary);
}

/*_______________________________________*/

/*Recent work repeater*/

/*_______________________________________*/

.recent-work {
  background-image: url("./assets/img/background.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  min-height: 100vh;
}

/* Only for homepage */
.recent_work-title {
  padding-top: 4rem;
}

.project-image {
  height: 75vh;
  min-height: 300px;
  object-fit: cover;
  overflow: hidden;
  background-color: var(--s-colour-secondary);
  border-radius: 15px;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (max-width: 768px) {
  .project-image {
    height: 35vh;
    min-height: auto;
  }
}

.work-repeater {
  padding-top: 4rem;
}

.project-card {
  padding-bottom: 2rem;
}

.project-card .project-card-content {
  padding: var(--universal-padding);
}

.project-card .project-card-content * {
  margin: 0;
  line-height: 100%;
}

.project-card .project-card-content .project-location {
  color: var(--s-colour-secondary);
  padding-top: 0.5rem;
}

/*_______________________________________*/

/*Project Content inc. Blocks*/

/*_______________________________________*/

.project-grid {
  padding: var(--universal-margin);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

/* Breakpoint */
@media screen and (max-width: 768px) {
  .project-grid {
    grid-template-columns: 1fr;
  }
}

.project-content .content {
  max-width: var(--paragraph-width);
}

/* Project Details */

.project-details-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.project-blocks {
  padding-top: 5rem;
}

.block--video--2col {
  grid-column: span 2;
  padding-bottom: var(--universal-padding);
}

.block--video--2col video {
  width: 100%;
  height: auto;
  display: block;
}

/* Image Block */

.block--image {
  grid-column: span 2;
  padding-bottom: var(--universal-padding);
}

.block--image__captions {
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  max-width: var(--paragraph-width);
}

.block--image__caption-1 {
  font-weight: 600;
}

.block--image__caption-2 {
  font-weight: 300;
}

.block--image__caption-3 {
  font-weight: 300;
  margin-top: 1rem;
  font-size: 0.9rem;
}

/* Carousel Block */

.block--image-carousel {
  grid-column: span 2;
  padding: 4rem 0;
}

.block--image-carousel__wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.block--image-carousel__container {
  flex: 1;
  overflow: hidden;
  min-height: 600px;
  height: 75vh;
}

@media (max-width: 768px) {
  .block--image-carousel__container {
    min-height: 300px;
    height: 50vh;
  }
}

.block--image-carousel__track {
  display: flex;
  gap: 1rem;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.block--image-carousel__slide {
  flex: 0 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
}

.block--image-carousel__figure {
  height: 100%;
  display: flex;
  align-items: center;
}

.block--image-carousel__figure img {
  height: 100%;
  width: auto;
  display: block;
}

.block--image-carousel__figure img.is-width-constrained {
  height: auto;
  width: 100vw;
}

.block--image-carousel__nav {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border: 1px solid var(--s-colour);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  background: none;
  padding: 0;
  color: var(--s-colour);
}

.block--image-carousel__nav:hover {
  background-color: var(--s-colour);
  color: var(--s-background);
}

.block--image-carousel__nav:active {
  transform: scale(0.95);
}

.block--image-carousel__nav svg {
  width: 20px;
  height: 20px;
}

.block--image-carousel__footer {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  align-items: flex-start;
}

.block--image-carousel__caption-area {
  flex: 1;
}

.block--image-carousel__caption {
  opacity: 1;
  font-size: 1rem;
  visibility: visible;
  max-width: var(--paragraph-width);
  text-wrap: balance;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.block--image-carousel__caption--hidden {
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.block--image-carousel__controls {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* Fullscreen Modal */

.block--image-carousel__modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.block--image-carousel__modal--active {
  opacity: 1;
  visibility: visible;
}

.block--image-carousel__modal-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.block--image-carousel__modal-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.2s ease;
  padding: 0.5rem;
}

.block--image-carousel__modal-close:hover {
  opacity: 0.7;
}

.block--image-carousel__modal-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex: 1;
  max-width: 90%;
}

.block--image-carousel__modal-image-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 70vh;
}

.block--image-carousel__modal-image {
  max-height: 70vh;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.block--image-carousel__modal-nav {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border: 2px solid white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  background: none;
  padding: 0;
  color: white;
}

.block--image-carousel__modal-nav:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.block--image-carousel__modal-nav:active {
  transform: scale(0.95);
}

.block--image-carousel__modal-nav svg {
  width: 24px;
  height: 24px;
}

.block--image-carousel__modal-footer {
  margin-top: 2rem;
  text-align: center;
  color: white;
  max-width: 80%;
}

@media (max-width: 768px) {
  .block--image-carousel__modal-container {
    flex-direction: column;
    gap: 1rem;
  }

  .block--image-carousel__modal-nav {
    width: 48px;
    height: 48px;
  }

  .block--image-carousel__modal-nav svg {
    width: 20px;
    height: 20px;
  }

  .block--image-carousel__modal-image-wrapper {
    max-height: 50vh;
  }

  .block--image-carousel__modal-image {
    max-height: 50vh;
  }

  .block--image-carousel__modal-close {
    top: 1rem;
    right: 1rem;
  }

  .block--image-carousel__modal-content {
    padding: 1rem;
  }
}

/* Carousel slide caption (hidden on desktop, shown on mobile) */
.block--image-carousel__slide-caption {
  display: none;
}

/* Mobile: Destroy carousel and stack images */
@media (max-width: 840px) {
  .block--image-carousel__figure img.is-width-constrained {
    height: auto;
    width: 100%;
  }

  .block--image-carousel__wrapper {
    display: block;
  }

  .block--image-carousel__container {
    overflow: visible;
    min-height: auto;
    height: auto;
  }

  .block--image-carousel__track {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    transform: none !important;
    transition: none;
  }

  .block--image-carousel__slide {
    flex: none;
    height: auto;
    display: block;
  }

  .block--image-carousel__figure {
    height: auto;
    display: block;
    width: 100%;
  }

  .block--image-carousel__figure img {
    height: auto;
    width: 100%;
    opacity: 1 !important;
  }

  .block--image-carousel__slide-caption {
    display: block;
    margin-top: 0.75rem;
  }

  .block--image-carousel__footer {
    display: none;
  }

  .block--image-carousel__controls {
    display: none;
  }
}

/* Table Block */

.block--table {
  grid-column: span 2;
  padding-bottom: var(--universal-padding);
}

.block--table__content {
  width: 100%;
  border-collapse: collapse;
}

.block--table__heading {
  text-align: left;
  font-weight: 500;
  padding: 1rem 0;
  border-bottom: 1px solid var(--s-colour);
}

.block--table__heading--venue {
  text-align: right;
}

.block--table__row {
  border-bottom: 1px solid var(--s-colour);
}

.block--table__cell {
  padding: 1rem 0;
  font-weight: 300;
  vertical-align: top;
}

.block--table__cell--year {
  width: 80px;
  font-weight: 500;
}

.block--table__cell--exhibition {
  padding-right: 2rem;
}

.block--table__cell--venue {
  text-align: right;
}

@media screen and (max-width: 768px) {
  .block--table__row {
    display: flex;
    flex-direction: column;
    padding: 1rem 0;
  }

  .block--table__cell {
    padding: 0.25rem 0;
  }

  .block--table__cell--year {
    width: auto;
  }

  .block--table__cell--venue {
    text-align: left;
  }
}

@media screen and (max-width: 750px) {
  .block--table thead {
    display: none;
  }
}

/*_______________________________________*/

/*Overlay Navigation*/

/*_______________________________________*/

.overlay-nav {
  position: relative;
  z-index: 100;
}

/* Toggle Button (Fixed Top Right) */
.overlay-nav__toggle {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 101;
  background: transparent;
  border: none;
  color: var(--s-colour);
  font-size: 1.25rem;
  font-weight: 400;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: color 0.3s ease;
  border: 1px solid var(--s-colour);
  border-radius: 50px;
  margin: 1rem;
}

.overlay-nav__toggle:hover {
  color: var(--s-colour-secondary);
  border: 1px solid var(--s-colour-secondary);
}

.overlay-nav__toggle--active {
  color: white;
  border: 1px solid white;
}

/* Full Screen Overlay Panel */
.overlay-nav__panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--s-colour);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 2rem 3rem;

  /* Slide animation */
  transform: translateY(-100%);
  transition: transform 0.5s ease;
  overflow-y: auto;
}

.overlay-nav__panel--active {
  transform: translateY(0);
}

/* Navigation Content */
.overlay-nav__content {
  width: 100%;
  max-width: 600px;
}

/* Menu List */
.overlay-nav__menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.overlay-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.overlay-nav__list li {
  margin-bottom: 1rem;
}

.overlay-nav__list a {
  color: #ffffff;
  text-decoration: none;
  font-size: 2.5rem;
  font-weight: 300;
  text-transform: uppercase;
  display: inline-block;
  transition: color 0.3s ease;
  line-height: 1.2;
}

.overlay-nav__list a:hover {
  color: var(--s-colour-secondary);
}

/* Prevent body scroll when menu is open */
body.nav-open {
  overflow: hidden;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
  .overlay-nav__toggle {
    font-size: 1rem;
    padding: 0.5rem 0.75rem;
  }

  .overlay-nav__panel {
    padding: 1.5rem 1.5rem;
  }

  .overlay-nav__list a {
    font-size: 1.8rem;
  }

  .overlay-nav__list li {
    margin-bottom: 1.5rem;
  }
}

.project-details-list li {
  margin-bottom: 1.3rem;
  border-bottom: 1px solid var(--s-colour);
  font-size: 1.2rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  font-weight: 300;
}

@media screen and (max-width: 1200px) {
  .project-details-list li {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
}

.project-details-list li:last-of-type {
  border-bottom: none;
}

/*_______________________________________*/

/*Footer*/

/*_______________________________________*/

.footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

@media screen and (max-width: 1000px) {
  .footer {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 800px) {
  .footer {
    grid-template-columns: 1fr;
  }
}

.footer__left {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 1rem;
  background-image: url("./assets/img/background.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom right;
  min-height: 400px;
}

.footer__left img {
  width: 350px;
  max-width: 100%;
  height: auto;
}

@media screen and (max-width: 600px) {
  .footer__left img {
    width: 250px;
  }
}

.footer__right {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 1rem;
  min-height: 400px;
}

.footer__text {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  display: flex;
  flex-direction: column;
}

.footer__link {
  text-decoration: none;
  color: inherit;
}

.contact-cta {
  margin-top: 2rem;
  padding: 4rem 2rem;
  background-color: var(--s-colour);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
}

/*_______________________________________*/

/*CONTACT FORM */

/*_______________________________________*/

.contact-container h2 {
  max-width: 700px;
  padding-bottom: 2rem;
}

@media screen and (min-width: 500px) {
  .contact--grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 3rem;
  }
}

.contact--column p {
  margin-bottom: 2rem;
}

label {
}

input {
  margin: 0;
  margin-top: 0.5rem;
  border: 0;
  padding: 1rem;
  width: 100%;
  font-family: inherit;
  -webkit-box-sizing: border-box;
  /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box;
  /* Firefox, other Gecko */
  box-sizing: border-box;
  /* Opera/IE 8+ */
  background-color: var(--s-background);
  border: 1px solid var(--s-colour);
  color: var(--s-colour);
  font-size: 1.5rem;
  border-radius: 5px;
}

input:focus,
textarea:focus {
  outline: none;
}

input[type="radio"] {
  width: 22px;
}

input[type="checkbox"] {
  font-size: 1em;
  margin: 0;
  position: relative;
  text-align: center;
  line-height: normal;
  min-height: 0 !important;
  width: 20px;
  height: 20px;
  padding: 0;
  padding-left: 8px;
  padding-right: 8px;
}

textarea {
  padding: 1rem;
  width: 100%;
  font-family: inherit;
  margin: 0;
  border: 0;
  -webkit-box-sizing: border-box;
  /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box;
  /* Firefox, other Gecko */
  box-sizing: border-box;
  /* Opera/IE 8+ */
  border: 1px solid var(--s-colour);
  background-color: var(--s-background);
  color: var(--s-colour);
  font-size: 1.5rem;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 5px;
}

.wpcf7-list-item {
  margin: 0 !important;
  padding: 0;
  display: block;
}

.wpcf7-list-item {
  padding: 0.5rem 0;
  padding-right: 1.5rem;
}

.wpcf7-list-item * {
  display: inline-block;
}

.wpcf7-list-item-label {
  font-size: 1.3rem;
  white-space: pre;
}

.wpcf7-submit {
  border-bottom: 0;
  text-align: left;
  cursor: pointer;
  font-size: 1.5rem;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: var(--s-colour-secondary);
  border: none;
  color: var(--s-background);
  border-radius: 50px;
  padding: 1rem 2rem;
}

.wpcf7 form .wpcf7-response-output {
  width: 80%;
  margin: 0;
  padding: 0;
  font-size: 2rem;
  color: inherit;
  border: 0;
}

@media screen and (max-width: 600px) {
  .wpcf7 form .wpcf7-response-output {
    font-size: 1.2rem;
  }
}

.wpcf7-form label {
  padding-left: 0;
  font-size: 1.3rem;
}

.sidebar {
  padding: var(--universal-padding);
  padding-top: 5rem;
}

.sidebar a {
  display: block;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--s-colour);
  font-size: 1.2rem;
}

.sidebar a:hover {
  color: var(--s-colour-secondary);
}

.sidebar h4 {
  margin-top: 3rem;
}
