* {
  margin: 0;
  padding: 0;
}

:root {
  --padding: 1.5rem;
  --color-black: #000;
  --color-white: #fff;
  --color-grey: #777;
  --color-light: #333;
  --color-text: var(--color-white);
  --color-text-grey: var(--color-grey);
  --color-background: var(--color-black);
  --color-code-light-grey: #cacbd1;
  --color-code-comment: #a9aaad;
  --color-code-white: #c5c9c6;
  --color-code-red: #d16464;
  --color-code-orange: #de935f;
  --color-code-yellow: #f0c674;
  --color-code-green: #a7bd68;
  --color-code-aqua: #8abeb7;
  --color-code-blue: #7e9abf;
  --color-code-purple: #b294bb;
  --font-family-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  --font-family-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
}

html {
  font-family: var(--font-family-sans);
  color: var(--color-text);
  background: var(--color-background);
}

img {
  width: 100%;
}

body {
  padding: 0;
  max-width: none;
  margin: 0;
  overflow-x: hidden;
}

li {
  list-style: none;
}

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

a:hover {
  filter: drop-shadow(0 0.1rem 0.6rem var(--color-white));
}

button {
  font: inherit;
  background: none;
  border: 0;
  color: currentColor;
  cursor: pointer;
}

strong,
b {
  font-weight: 600;
}

small {
  font-size: inherit;
  color: var(--color-text-grey);
}

.bg-light {
  background-color: var(--color-light);
}

.color-grey {
  color: var(--color-text-grey);
}

.header {
  background: rgba(0, 0, 0, 0.8);
  padding: 10px 20px;
  margin-bottom: 2%;
  position: relative;
  z-index: 1002;
  min-height: 0 !important;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(5px);
  border-bottom: 1px solid rgba(224, 79, 79, 0.1);
  transition: all 0.3s ease;
}

/* Homepage specific header styling */
.homepage-slideshow~.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 0;
}

.homepage-slideshow~.header.scrolled {
  background: rgba(0, 0, 0, 0.8);
}

.logo {
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-white);
  gap: 0.2rem;
  opacity: 0.8;
  z-index: 10000;
  position: relative;
}

.logo-word {
  display: inline-block;
}

.logo-word--first {
  font-weight: 100;
}

.logo-word--second {
  font-weight: 500;
}

.menu {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.menu a {
  width: fit-content;
  display: block;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 400;
  color: var(--color-white);
  transition: all 0.3s ease;
  transform: scale(0.8);
}


.menu a[aria-current] {
  border-bottom: 0.06rem solid;
}

/* Dropdown menu styles */
.menu-item {
  position: relative;
  display: inline-block;
}

.menu-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 20px;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 5px solid rgba(0, 0, 0, 0.95);
}

.dropdown-item {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--color-white);
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 0.9rem;
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  transform: translateX(5px);
}

/* Grandchildren dropdown styles */
.dropdown-item-container {
  position: relative;
}

.dropdown-item-container:hover .sub-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.sub-dropdown-menu {
  position: absolute;
  top: 0;
  right: 100%;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.3s ease;
  z-index: 1001;
  padding: 0.5rem 0;
  margin-right: 0.5rem;
}

.sub-dropdown-menu::before {
  content: '';
  position: absolute;
  top: 10px;
  right: -5px;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 5px solid rgba(0, 0, 0, 0.95);
}

.sub-dropdown-item {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--color-white);
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 0.85rem;
}

.sub-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  transform: translateX(-5px);
}

.social {
  display: flex;
  padding: 0 0.5rem;
  margin-left: 1rem;
}

.social a {
  padding: 0.75rem 0.5rem;
  color: var(--color-white);
  transition: all 0.3s ease;
}

.social a:hover {
  opacity: 0.7;
}

.main {
  padding: var(--padding);
  max-width: 60rem;
  margin: 0 auto;
}

/* Homepage specific main content styling */
.homepage-slideshow~.main {
  margin-top: 100vh;
  position: relative;
  z-index: 2;
  background: var(--color-background);
}

.section {
  padding: 3rem 0;
}

.grid {
  --columns: 12;
  --gutter: 3rem;
  display: grid;
  grid-gap: var(--gutter);
  grid-template-columns: 1fr;
}

.grid>.column {
  margin-bottom: var(--gutter);
}

.autogrid {
  --gutter: 3rem;
  --min: 10rem;
  display: grid;
  grid-gap: var(--gutter);
  grid-template-columns: repeat(auto-fit, minmax(var(--min), 1fr));
  grid-auto-flow: dense;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.text {
  line-height: 1.5em;
  padding-bottom: 10svh;
}

.text a {
  text-decoration: underline;
}

.text :first-child {
  margin-top: 0;
}

.text :last-child {
  margin-bottom: 0;
}

.text p,
.text ul,
.text ol {
  margin-bottom: 1.5rem;
}

.text ul,
.text ol {
  margin-left: 1rem;
}

.text ul p,
.text ol p {
  margin-bottom: 0;
}

.text ul>li {
  list-style: disc;
}

.text ol>li {
  list-style: decimal;
}

.text ul ol,
.text ul ul,
.text ol ul,
.text ol ol {
  margin-bottom: 0;
}

.text h1,
.h1,
.intro {
  font-size: 1.5rem;
  margin-bottom: 3rem;
  line-height: 1.25em;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  text-align: center;
  opacity: 0.85;
}

.text h2,
.h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.text h3,
.h3 {
  font-weight: 600;
}

.text .codeblock {
  display: grid;
}

.text code {
  font-family: var(--font-family-mono);
  font-size: 1em;
  background: var(--color-light);
  padding: 0 .5rem;
  display: inline-block;
  color: var(--color-white);
}

.text pre {
  margin: 3rem 0;
  background: var(--color-light);
  color: var(--color-white);
  padding: 1.5rem;
  overflow-x: scroll;
  overflow-y: hidden;
  line-height: 1.5rem;
}

.text pre code {
  padding: 0;
  background: none;
  color: inherit;
}

.text hr {
  margin: 6rem 0;
}

.text dt {
  font-weight: 600;
}

.text blockquote {
  font-size: 1.25rem;
  line-height: 1.325em;
  border-left: 2px solid var(--color-white);
  padding-left: 1rem;
  margin: 3rem 0;
  max-width: 25rem;
}

.text blockquote footer {
  font-size: .875rem;
  font-style: italic;
}

.text figure {
  margin: 3rem 0;
}

.text figcaption {
  padding-top: .75rem;
  color: var(--color-text-grey);
}

.text figure ul {
  line-height: 0;
  display: grid;
  gap: 1.5rem;
  margin: 0;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
}

.text figure ul li {
  list-style: none;
}

hr {
  border: 0;
  background: currentColor;
  height: 2px;
  width: 1.5rem;
  margin: 3rem auto;
}

.align-center {
  text-align: center;
}

.intro {
  max-width: 40rem;
}

.intro *:not(:last-child) {
  margin-bottom: 1em;
}

.cta {
  background: var(--color-white);
  color: var(--color-black);
  display: inline-flex;
  justify-content: center;
  padding: .75rem 1.5rem;
  border: 4px solid var(--color-black);
  outline: 2px solid var(--color-white);
}

.box {
  background: var(--color-light);
  padding: 1.5rem;
  border: 4px solid var(--color-white);
  outline: 2px solid var(--color-light);
}

.video,
.img {
  position: relative;
  display: block;
  --w: 1;
  --h: 1;
  padding-bottom: calc(100% / var(--w) * var(--h));
  background: var(--color-light);
}

.img img,
.video iframe {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

.img[data-contain] img {
  object-fit: contain;
}

.img-caption,
.video-caption {
  padding-top: .75rem;
  line-height: 1.5em;
}

.footer {
  padding: 4rem 0 0rem;
  line-height: 1.5em;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer:before {
  display: none;
}

.footer h2 {
  font-weight: 600;
  margin-bottom: .75rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer ul,
.footer p {
  color: var(--color-text-grey);
  font-weight: 300;
  letter-spacing: 0.02em;
}

/* .footer p {
  max-width: 15rem;
} */
.footer a:hover {
  color: var(--color-text);
}

.footer-copyright {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-copyright p {
  color: var(--color-text-grey);
  font-size: 0.8rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  margin: 0;
  max-width: none;
}


.map {
  --w: 2;
  --h: 1;
  padding-bottom: calc(100% / var(--w) * var(--h));
  position: relative;
  overflow: hidden;
  background: var(--color-light);
}

.map iframe {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.margin-s {
  margin-bottom: .75rem;
}

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

.margin-l {
  margin-bottom: 3rem;
}

.margin-xl {
  margin-bottom: 4.5rem;
}

.margin-xxl {
  margin-bottom: 6rem;
}

@media screen and (max-width: 40rem) {
  .menu a {
    font-size: 2rem;
    width: auto;
    display: inline;
    transform: none;
  }

  .mobile-menu-item {
    transform: none;
  }

  .mobile-menu-item:hover,
  .mobile-menu-item:active {
    color: var(--color-white);
    transform: 0;
  }

  .footer .column {
    margin-bottom: 0;
    padding-top: 0rem;
  }

  .footer .grid {
    padding: 1rem 0;
    grid-gap: 1rem;
  }
}

@media screen and (min-width: 60rem) {
  body {
    --padding: 3rem;
  }

  .grid {
    grid-template-columns: repeat(12, 1fr);
  }

  .grid>.column {
    grid-column: span var(--columns);
  }

}

.pagination {
  display: flex;
  padding-top: 6rem;
}

.pagination>span {
  color: var(--color-text-grey);
}

.pagination > * {
  width: auto;
  border: none;
}

.pagination {
  justify-content: space-between;
}

.pagination>a:hover {
  filter: drop-shadow(0 0.1rem 0.6rem var(--color-white));
}

.note-excerpt {
  line-height: 1.5em;
}

.note-excerpt header {
  margin-bottom: 1.5rem;
}

.note-excerpt figure {
  margin-bottom: .5rem;
}

.note-excerpt-title {
  font-weight: 600;
}

.note-excerpt-date {
  color: var(--color-text-grey);
}

/* CTA Section Styles */
.cta-section {
  background: transparent;
  padding: 6rem 2rem;
  margin: 6rem 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-content {
  max-width: 500px;
  margin: 0 auto;
}

.cta-content .h2 {
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.cta-description {
  margin-bottom: 3rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-grey);
  font-weight: 300;
  letter-spacing: 0.02em;
}

.email-signup-form {
  margin-bottom: 4rem;
}

.form-group {
  display: flex;
  gap: 0;
  margin-bottom: 1rem;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  overflow: hidden;
}

.email-input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 0;
  font-size: 0.9rem;
  background: transparent;
  color: var(--color-text);
  transition: all 0.3s ease;
  font-weight: 300;
  letter-spacing: 0.02em;
}

.email-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.05);
}

.email-input::placeholder {
  color: var(--color-text-grey);
  font-weight: 300;
}

.signup-button {
  padding: 1rem 2rem;
  background: var(--color-text);
  color: var(--color-background);
  border: none;
  border-radius: 0;
  font-size: 0.9rem;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.signup-button:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
}

.form-note {
  font-size: 0.8rem;
  color: var(--color-text-grey);
  margin: 0;
  font-weight: 300;
  letter-spacing: 0.02em;
}

.social-follow {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 3rem;
}

.follow-text {
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: var(--color-text-grey);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  background: transparent;
  color: var(--color-text);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  text-decoration: none;
  font-weight: 300;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.8rem;
}

.instagram-link:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}

.instagram-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.instagram-text {
  font-size: 0.8rem;
  font-weight: 400;
}

/* Hamburger Menu Styles */
.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10000;
  position: relative;
}

.hamburger-menu span {
  width: 100%;
  height: 3px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 0;
  /* Account for header height */
}



.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 0;
  align-items: stretch;
}

.mobile-menu-items {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 2rem;
  padding: 15svh 2rem;
  margin-top: 0;
  align-items: stretch;
  width: 100%;
  list-style: none;
}

.mobile-menu-items li {
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-white);
  font-weight: 300;
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: flex-start;
}







.mobile-menu-item {
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: left;
  width: 100%;
  display: block;
  color: inherit;
  padding: 0;
  margin: 0;
  text-align: left;
}

.mobile-menu-item:hover,
.mobile-menu-item[aria-current="page"] {
  color: var(--color-white);
  /* transform: translateX(10px); */
}

/* Desktop Menu */
.desktop-menu {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Responsive CTA */
@media (max-width: 768px) {
  .cta-section {
    padding: 4rem 1rem;
    margin: 4rem 0;
  }

  .cta-content .h2 {
    font-size: 2rem;
  }

  .form-group {
    flex-direction: column;
    gap: 0;
    border: none;
  }

  .email-input {
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0;
    margin-bottom: 0.5rem;
  }

  .signup-button {
    width: 100%;
    border-radius: 0;
  }

  .instagram-link {
    width: 100%;
    justify-content: center;
  }

  /* Mobile hamburger menu */
  .hamburger-menu {
    display: flex;
  }

  .desktop-menu {
    display: none;
  }

  /* Hide dropdown menus on mobile */
  .dropdown-menu,
  .sub-dropdown-menu {
    display: none;
  }
}

@media (max-width: 480px) {
  .cta-section {
    padding: 3rem 1rem;
    margin: 3rem 0;
  }

  .cta-content .h2 {
    font-size: 1.75rem;
  }

  .cta-description {
    font-size: 0.9rem;
  }
}

/* Lazy Loading Styles */
.lazy-image {
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--color-light);
}

.lazy-image.loaded {
  opacity: 1;
}

.lazy-image::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  animation: lazy-spin 1s infinite linear;
  z-index: 1;
}

.lazy-image.loaded::before {
  display: none;
}

@keyframes lazy-spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Gallery image lazy loading */
.gallery-image {
  position: relative;
}

.gallery-image img.lazy-image {
  position: relative;
}

/* Slideshow lazy loading */
.slideshow-image img.lazy-image {
  position: relative;
}

/* Default Template Gallery Styles */
.gallery-container {
  max-width: 1400px;
  margin: 0 auto 3rem;
  padding: 2rem 0;
}

.gallery-container .gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.gallery-container .gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: var(--color-background);
  break-inside: avoid;
  aspect-ratio: 1;
  cursor: pointer;
}

.gallery-container .gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.gallery-container .gallery-image {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.gallery-container .gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.3s ease;
  opacity: 1;
}

.gallery-container .gallery-item:hover .gallery-image img {
  transform: scale(1.02);
}

.gallery-container .gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 1rem;
  font-size: 0.9rem;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-container .gallery-item:hover .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

/* Lightbox Styles for Default Template */
.slideshow-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
}

.lightbox-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
}

.lightbox-image-container {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  transition: opacity 0.3s ease;
}

.lightbox-caption {
  margin-top: 1rem;
  color: white;
  text-align: center;
  font-size: 1rem;
  line-height: 1.5;
  max-width: 600px;
  padding: 0 1rem;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1002;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
}

.lightbox-close {
  top: 2rem;
  right: 2rem;
}

.c-lightbox__close:hover {
  color: #ffffff94;
}

.lightbox-prev {
  left: 2rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
}

/* Responsive Design for Default Template Gallery */
@media (max-width: 768px) {
  .gallery-container .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.75rem;
  }

  .gallery-container {
    padding: 1rem;
    margin-bottom: 2rem;
  }

  .lightbox-close,
  .lightbox-prev,
  .lightbox-next {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .lightbox-close {
    top: 1rem;
    right: 1rem;
  }

  .lightbox-prev {
    left: 1rem;
  }

  .lightbox-next {
    right: 1rem;
  }

  .lightbox-caption {
    font-size: 0.9rem;
    padding: 0 0.5rem;
  }
}

@media (max-width: 480px) {
  .gallery-container .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.5rem;
  }

  .lightbox-close,
  .lightbox-prev,
  .lightbox-next {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .lightbox-image {
    max-width: 95%;
    max-height: 70vh;
  }
}

/* Video Player Styles */
.video-player-container {
  margin: 3rem 0;
  max-width: 100%;
}

.video-player {
  position: relative;
  width: 100%;
  background: var(--color-light);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-caption {
  margin-top: 1rem;
  padding: 1rem;
  background: var(--color-light);
  border-radius: 4px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--color-text-grey);
}

.video-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-grey);
  margin-bottom: 2rem;
  font-weight: 300;
  letter-spacing: 0.02em;
}

/* Homepage Fullscreen Slideshow */
.slideshow-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1000;
  background: var(--color-black);
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slideshow-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Slideshow Navigation */
.slideshow-nav {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
  z-index: 1001;
}

.slideshow-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.3s ease;
}

.slideshow-dot.active {
  background: var(--color-white);
}

.slideshow-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  color: var(--color-white);
  font-size: 2rem;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 0.5rem;
}

.slideshow-close:hover {
  opacity: 0.7;
}

.footer {
  max-width: 50rem;
  margin: auto;
}

.main,
.footer {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.main.fade-in {
  opacity: 1;
  transition-delay: 0s;
}

.footer.fade-in {
  opacity: 1;
  transition-delay: 0.3s;
}

/* Contact Section Styles */
.contact {
  max-width: 900px;
  margin: 4rem auto 0 auto;
  padding: 0 1rem 3rem 1rem;
  text-align: center;
}

.contact .h1 {
  font-size: 2rem;
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
  text-align: center;
}

.contact-divider {
  width: 100%;
  max-width: 700px;
  height: 1px;
  background: rgba(255, 255, 255, 0.5);
  margin: 0 auto 2.5rem auto;
  border: none;
}

.contact .grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
  margin: 0 auto;
  max-width: 700px;
  border: none;
  padding: 2rem 0 0 0;
}

.contact .column {
  flex: 1 1 0;
  min-width: 200px;
  text-align: left;
  padding: 0 1rem;
}

.contact .column.text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.5rem;
}

.contact .column.text h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.contact .column.text p,
.contact .column.text a,
.contact .column.text .social-links {
  font-size: 1rem;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.contact .social-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact .social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text);
  text-decoration: underline;
  font-size: 1rem;
}

.contact .social-link svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 700px) {
  .contact .grid {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 2rem 0 0 0;
  }

  .contact .column {
    min-width: 0;
    width: 100%;
    text-align: center;
    align-items: center;
    padding: 0;
  }

  .contact .column.text {
    align-items: center;
    text-align: center;
  }
}