/* Colors
Blue: #bfe2dc
Pink: #e5b1b4
Gold: #beac61
Green: #5a7756 */

.libre-caslon-text-regular {
  font-family: "Libre Caslon Text", serif;
  font-weight: 400;
  font-style: normal;
}

.libre-caslon-text-bold {
  font-family: "Libre Caslon Text", serif;
  font-weight: 700;
  font-style: normal;
}

.libre-caslon-text-regular-italic {
  font-family: "Libre Caslon Text", serif;
  font-weight: 400;
  font-style: italic;
}

h1 {
  font-family: "Libre Caslon Text", serif;
  font-weight: 700;
  font-style: normal;
  margin: 0px;
}
@media screen and (max-width: 1000px) {
  h1 {
    font-size: 10px;
  }
}

h2 {
  font-family: "Libre Caslon Text", serif;
  font-weight: 700;
  font-style: normal;
  margin: 0px;
  padding-bottom: 10px;
}

@media screen and (max-width: 1000px) {
  h2 {
    font-size: 20px;
  }
}

h3 {
  font-family: "Libre Caslon Text", serif;
  font-weight: 700;
  font-style: normal;
  margin: 0px;
}

@media screen and (max-width: 1000px) {
  h3 {
    font-size: 16px;
  }
}

p {
  font-family: "Libre Caslon Text", serif;
  font-weight: 400;
  font-style: normal;
  margin: 0px;
  line-height: 24px;
}

@media screen and (max-width: 1000px) {
  p {
    font-size: 12px;
    line-height: 20px;
  }
}

.body {
  margin: 0px;
}

.grey-button {
  cursor: default;
  all: unset;
  display: block;
  margin-top: 20px;
  width: max-content;
  background-color: #000000;
  color: white;
  font-size: 14px;
  padding-bottom: 15px;
  padding-top: 15px;
  padding-left: 18px;
  padding-right: 18px;
  font-family: "Libre Caslon Text", serif;
  font-weight: 700;
}

.button {
  all: unset;
  display: block;
  margin-top: 20px;
  width: max-content;
  background-color: #5a7756;
  color: white;
  font-size: 14px;
  padding-bottom: 15px;
  padding-top: 15px;
  padding-left: 18px;
  padding-right: 18px;
  font-family: "Libre Caslon Text", serif;
  font-weight: 700;
}

.button-center {
  cursor: pointer;
  all: unset;
  display: flex;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
  width: max-content;
  background-color: #5a7756;
  color: white;
  font-size: 14px;
  padding-bottom: 15px;
  padding-top: 15px;
  padding-left: 18px;
  padding-right: 18px;
  font-family: "Libre Caslon Text", serif;
  font-weight: 700;
  z-index: 1;
}

.button:hover {
  cursor: pointer;
  background-color: #000000;
  transition: 0.5s ease;
}

.button-center:hover {
  cursor: pointer;
  background-color: #000000;
  transition: 0.5s ease;
}
@media screen and (max-width: 1000px) {
  .grey-button,
  .button,
  .button-center {
    font-size: 12px;
    padding: 10px 15px;
  }
}

/* Base nav styles */
.topnav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #5a7756;
  position: fixed;
  z-index: 1;
  width: 100%;
  padding: 0.5rem;
  box-sizing: border-box;
  overflow: hidden;
  font-family: "Libre Caslon Text", serif;
  font-weight: 400;
  font-size: 12px;
}

/* Flex containers */
.nav-left,
.nav-right {
  display: flex;
  align-items: center;
}

/* Logo image */
.logo img {
  height: 60px;
  display: block;
}

/* Base link styles */
.topnav a {
  color: #f4eed7;
  text-align: center;
  padding: 12px 15px;
  text-decoration: none;
  font-size: 17px;
  position: relative;
  transition: color 0.3s ease;
}

@media (max-width: 1000px) {
  .topnav a {
    font-size: 12px;
  }
}

/* Hover and active underline effect */
.topnav a::after {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 10px;
  right: 10px;
  height: 1px;
  background-color: #ffffff;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

/* Show underline on hover */
.topnav a:hover::after,
.topnav a.active::after {
  transform: scaleX(1);
}

/* Change color on hover/active */
.topnav a:hover,
.topnav a.active {
  color: #fff;
}

/* Responsive stacking on small screens */
@media (max-width: 1000px) {
  .topnav {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
  }

  .nav-left,
  .nav-right {
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 10px;
  }

  .logo img {
    height: 40px;
    margin-bottom: 10px;
  }

  .nav-right a {
    padding: 10px 0;
  }
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh; /* Full screen height */
  overflow: hidden;
  background-color: #7f7442;
}

.hero-image {
  width: 100vw;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.1;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60vw;
  color: #fff;
  text-align: center;
  padding: 2rem;
  max-width: 800px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  margin: 0px;
}

.hero-content p {
  margin-top: 10px;
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

@media screen and (max-width: 1000px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }
}

.container {
  display: flex;
  flex-wrap: wrap;
}

.square {
  width: 50vw;
  aspect-ratio: 2 / 1;
  box-sizing: border-box;
  background-color: #5a7756;
}

/* Left block with image */
.image-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.3;
}

/* Right block with text */
.text-block {
  background-color: #f4eed7;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.text-block h3 {
  margin: 0 0 0.5rem 0;
}

.text-block p {
  margin-bottom: 10px;
}

.full-width-block {
  height: 100vh;
  width: 100%;
  background-color: #7f7442;
  /* background-color: #beac61; */
}

.full-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.2;
}

/* Responsive: stack on small screens */
@media (max-width: 1000px) {
  .square {
    width: 100vw;
  }
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: top;
  background-color: #5a7756;
  color: #fff;
  padding: 2rem;
  flex-wrap: wrap;
}

.footer-logo img {
  height: 150px;
  width: auto;
  max-width: 100%;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s ease-in-out;
}

.footer-links a:hover {
  opacity: 0.7;
}

/* Stack vertically on mobile */
@media (max-width: 1000px) {
  .site-footer {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .footer-links {
    justify-content: center;
  }
}

/* ======== Work ======== */

.nav-background {
  height: 68px;
}

@media (max-width: 1000px) {
  .nav-background {
    height: 94px;
  }
}

.tabs {
  /* max-width: 1000px; */
  /* margin: 2rem auto; */
  /* margin-top: 20px; */
  font-family: "Libre Caslon Text", serif;
  /* padding: 1rem; */
}

.tab-buttons {
  margin-top: 10px;
  display: flex;
  /* gap: 1rem; */
  border-bottom: 1px solid #5a7756;
  border-top: 1px solid #5a7756;

  margin-bottom: 1rem;
  /* background-color: #f4eed7; */
  background-color: #5a7756;
  width: 100%;
  justify-content: space-between;
  font-family: "Libre Caslon Text", serif;
}

.tab-btn {
  background: none;
  border: none;
  padding: 1rem 1.5rem;
  cursor: pointer;
  font-size: 1rem;
  width: 100%;
  color: #ffffff;
  font-family: "Libre Caslon Text", serif;
  /* border-bottom: 2px solid transparent; */
  /* transition: border-color 0.2s ease-in-out, color 0.2s ease-in-out; */
}

@media screen and (max-width: 1000px) {
  .tab-btn {
    font-size: 12px;
  }
}

.tab-btn:hover {
  background-color: #fff;
  color: #000000;
  transition: 0.2s ease;
}

.tab-btn.active {
  color: #000000;
  /* background-color: #5a7756; */
  background-color: #f4eed7;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* Optional layout for image grid */
.gallery-grid,
.production-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.gallery-grid img,
.production-grid img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0; /* No spacing between images */
  width: 100%;
}

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

.image-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.tabs-text-container {
  margin-top: 40px;
  margin-left: 60px;
  margin-left: 60px;
  max-width: 60vw;
  margin-bottom: 40px;
}

@media (max-width: 1000px) {
  .tabs-text-container {
    display: flex;
    flex-direction: column;
    max-width: 80vw;
    margin-left: auto;
    margin-right: auto;
  }
}

.tabs-text-container p {
  line-height: 22px;
}

/* ====== Classes ====== */

/* Page background */
.content-section {
  background-color: #beac61;
  padding: 4rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

/* Content block wrapper */
.content-block {
  display: flex;
  width: 80vw;
  background-color: #f4eed7;
  overflow: hidden;
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); */
}

/* Image */
.block-image {
  width: 50%;
  object-fit: cover;
  display: block;
  margin: 0;
  border: none;
  opacity: 0.5;
}

/* Text */
.block-text {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.block-text h3 {
  margin-bottom: 10px;
}

@media (max-width: 1000px) {
  .content-block {
    flex-direction: column;
  }

  .block-image,
  .block-text {
    width: 100%;
  }

  .block-image {
    height: 250px;
  }

  .block-text {
    width: 60vw;
    margin-left: auto;
    margin-right: auto;
    display: flex;
  }
}
