/* ============================================
   MOUNTAIN STUDIO LAB - CONSOLIDATED STYLES
   ============================================ */

/* ----------------------------------------
   1. FONTS
   ---------------------------------------- */
/* Google Fonts loaded:
   - Antic Didone (serif)
   - Syne (sans-serif, weights 400-800)
*/

/* ----------------------------------------
   2. BASE STYLES
   ---------------------------------------- */

html,
body {
  height: 100%;
  /*overflow-x: hidden;*/
  /*max-width: 100%;*/
}


body {
  font-family: "Syne", monospace;
  color: #ffffffaa;
  font-weight: 100;
  line-height: 1.6;
  background-color: #000000;
  display: flex;
  flex-direction: column;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 400;
  letter-spacing: 0px;
}

p2 {
  font-size: 0.7rem;
  margin-bottom: 0rem;
}

.text-landin {
  font-size: 1.2rem;
  font-weight: 400;
}

.rights {
  font-size: 0.6rem;
  margin-top: 0rem;
}

a {
  font-weight: 200;
  color: #ffffff;
  text-decoration: none;
}

/* ----------------------------------------
   3. NAVIGATION (from original app.css)
   ---------------------------------------- */
.navbar-toggler {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.navbar-toggler:hover .nav-arrow {
  opacity: 1;
}

/* Main nav */
#main-nav {
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.logoindex {
  padding-top: 1rem;
  padding-left: 0.5rem;
  opacity: 0.85;
}

/* Link aplastado */
.nav {
  --bs-nav-link-hover-color: #0dfd19;
}

.navbar {
  background-color: rgb(0, 0, 0);
  opacity: 95%;
}

.navbar-brand h1 {
  font-size: 2rem;
  margin-left: 0.5rem;
  font-weight: 600;
}

.navbar-brand img {
  max-height: 60px;
  width: auto;
  display: block;
}

.nav-link {
  font-weight: 200;
  color: #ffffff;
  letter-spacing: 1px;
  padding: 0.5rem 1rem !important;
  border-radius: 8px;
  transition: opacity 0.3s ease;
}

.nav-link:hover {
  background-color: #000000ea;
  color: #ffffff;
  box-shadow: 1px 1px rgba(255, 255, 255, 0.911);
  border-radius: 8px;
  opacity: 0.7;
}

/* UNUSED - from original */
.square-img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 0px;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.7)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  width: 1.5em;
  height: 1.5em;
}

/* Smaller logo on mobile */
@media (max-width: 767.98px) {
  .navbar-brand img {
    max-height: 35px !important;
  }
}

/* ----------------------------------------
   4. LAYOUT UTILITIES (from original app.css)
   ---------------------------------------- */

.biocont {
  margin-left: 2rem;
  margin-right: 2rem;
  margin-bottom: 2rem;
}

.discont {
  margin-left: 1rem;
  margin-right: 1rem;
  margin-bottom: 0rem;
  margin-top: 0rem;
}

/* Next Workshop Page - Consistent Details Grid */
.workshop-info-list {
  display: flex;
  flex-direction: column;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-row:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.info-label {
  font-family: "Syne", sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #666;
}

.info-value {
  font-family: "Syne", sans-serif;
  font-size: 1rem;
  color: #ffffff;
  font-weight: 400;
  text-align: right;
}

@media (max-width: 767.98px) {
  .info-row {
    flex-direction: column;
    gap: 0.25rem;
  }

  .info-value {
    text-align: left;
    font-size: 1.1rem;
  }
}
.workshop-details-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .workshop-details-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem 3rem;
  }
}

.detail-block {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
}

.detail-title {
  font-family: "Syne", sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

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

.detail-list li {
  font-family: "Syne", sans-serif;
  font-size: 1rem;
  color: #aaaaaa;
  line-height: 1.6;
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 1rem;
}

.detail-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: #ffffff;
}

.detail-note {
  display: block;
  font-size: 0.85rem;
  color: #666;
  margin-top: 0.15rem;
  line-height: 1.4;
}

/* Inscripción specific styles */
.detail-price {
  font-family: "Syne", sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1rem;
}

.detail-text {
  font-family: "Syne", sans-serif;
  font-size: 1rem;
  color: #aaaaaa;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.detail-text a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.detail-text a:hover {
  color: #ffffff;
}

.detail-subtitle {
  font-family: "Syne", sans-serif;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #666;
  margin-bottom: 0.75rem;
}

/* Buttons */
.btn-paypal {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #ffffff;
  color: #000000;
  font-family: "Syne", sans-serif;
  font-size: 0.875rem;
  text-decoration: none;
  border-radius: 8px;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.btn-paypal:hover {
  background: #0dfd19;
  color: #000000;
}

.btn-inscribirme {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border: 1px solid #ffffff;
  background: transparent;
  color: #ffffff;
  font-family: "Syne", sans-serif;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-inscribirme:hover {
  background: #ffffff;
  color: #000000;
}

.btn-inscribirme svg {
  transition: transform 0.3s ease;
}

.btn-inscribirme:hover svg {
  transform: translate(2px, -2px);
}

/* Stack buttons on mobile */
@media (max-width: 767.98px) {
  .btn-paypal,
  .btn-inscribirme {
    display: flex;
    width: 100%;
    justify-content: center;
  }
}
.btn-center {
  display: flex;
  justify-content: center;
  width: 100%;
  padding-top: 6rem;
}

/* Session List Styles */
.session-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.session-item {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: 1.5rem;
}

.session-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1rem;
}

.session-number {
  font-family: "Syne", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
  min-width: 1.5rem;
}

.session-title {
  font-family: "Syne", sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: #ffffff;
  margin: 0;
}

.session-topics {
  list-style: none;
  padding: 0;
  margin: 0;
}

.session-topics li {
  font-family: "Syne", sans-serif;
  font-size: 0.95rem;
  color: #aaaaaa;
  line-height: 1.6;
  margin-bottom: 0.5rem;
  padding-left: 2.5rem;
  position: relative;
}

.session-topics li::before {
  content: "·";
  position: absolute;
  left: 1.5rem;
  color: #ffffff;
}

@media (max-width: 767.98px) {
  .session-header {
    flex-direction: column;
    gap: 0.5rem;
  }

  .session-title {
    font-size: 1.1rem;
  }
}

/* ----------------------------------------
   5. FOOTER (from original app.css)
   ---------------------------------------- */

footer {
  background-color: rgb(0, 0, 0);
  color: white;
  margin-top: auto;
}

footer a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  background-color: #000000ea !important;
}

/* Makes footer stick to bottom */
main {
  flex: 1;
  padding-bottom: 60px;
}

/* White line above footer */
.footer-line {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1320px;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.3);
  margin: 0 auto;
}

@media (max-width: 1400px) {
  .footer-line {
    max-width: 1140px;
  }
}

@media (max-width: 1200px) {
  .footer-line {
    max-width: 960px;
  }
}

@media (max-width: 992px) {
  .footer-line {
    max-width: 720px;
  }
}

@media (max-width: 768px) {
  .footer-line {
    max-width: 540px;
    left: 1rem;
    right: 1rem;
    transform: none;
    width: calc(100% - 2rem);
  }
}

@media (max-width: 576px) {
  .footer-line {
    left: 0.75rem;
    right: 0.75rem;
    width: calc(100% - 1.5rem);
  }
}

/* Footer link styling with arrow */
.footer-links .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  transition: opacity 0.3s ease;
}

.footer-links .nav-link:hover {
  opacity: 0.7;
}

.link-arrow {
  transition: transform 0.3s ease;
}

.footer-links .nav-link:hover .link-arrow {
  transform: translate(2px, -2px);
}

/* Footer text styling */
.footer-copy {
  font-size: 0.875rem;
  opacity: 0.8;
}

/* Footer logo styling */
.footer-logo {
  max-height: 80px;
  width: auto;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.footer-logo:hover {
  opacity: 1;
}

/* Mobile adjustments */
@media (max-width: 767.98px) {
  .footer-logo {
    max-height: 60px;
  }
}

/* ----------------------------------------
   6. UTILITY CLASSES (from original app.css)
   ---------------------------------------- */

.text-uppercase {
  letter-spacing: 1px;
}

/* ----------------------------------------
   7. RESPONSIVE ADJUSTMENTS (from original app.css)
   ---------------------------------------- */

@media (max-width: 768px) {
  .navbar-brand h1 {
    font-size: 2rem;
  }
}

/* Extra small devices (phones, 576px and down) */
@media (max-width: 575.98px) {
}

/* Small devices (phones, 576px and up) */
@media (min-width: 576px) {
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .biocont {
    margin-left: 15rem;
    margin-right: 15rem;
    margin-bottom: 2rem;
    margin-top: 5rem;
  }

  .discont {
    margin-left: 15rem;
    margin-right: 15rem;
    margin-bottom: 0rem;
    margin-top: 2rem;
  }

  .navbar-brand h1 {
    font-size: 2rem;
    margin-left: 0rem;
  }
}

/* XXL devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
}

/* ----------------------------------------
   8. WORKS/PORTFOLIO SECTION (from original app.css)
   ---------------------------------------- */

.works-title {
  font-family: "Syne", sans-serif;
  font-weight: 600;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #ffffffaa;
}

.work-item {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.work-item:hover {
  transform: translateY(-5px);
}

/* Square Image Container */
.work-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: #1a1a1a;
}

.work-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.5s ease,
    filter 0.5s ease;
}

.work-item:hover .work-image {
  transform: scale(1.05);
  filter: brightness(0.7);
}

/* Hover Overlay */
.work-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.work-item:hover .work-overlay {
  opacity: 1;
}

.view-more {
  font-family: "Syne", sans-serif;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ffffff;
  border: 1px solid #ffffff;
  padding: 0.75rem 1.5rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
}

/* Work Title & Category */
.work-title {
  font-family: "Syne", sans-serif;
  font-weight: 500;
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.work-category {
  font-family: "Syne", sans-serif;
  font-size: 0.875rem;
  color: #aaaaaa;
  margin-bottom: 0;
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
  .works-title {
    font-size: 1.5rem;
  }

  .work-title {
    font-size: 1.1rem;
  }

  .work-category {
    font-size: 0.8rem;
  }

  #works {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
}

@media (max-width: 575.98px) {
  .work-image-wrapper {
    aspect-ratio: 4 / 5;
  }
}

/* ----------------------------------------
   9. STYLES FROM HTML FILES (inline styles moved here)
   ---------------------------------------- */

/* From index.html - SVG container */
#svg-container {
  position: relative;
  min-height: 150px;
  overflow-x: hidden;
  max-width: 100%;
}

#responsive-mountain-line {
  display: block;
  margin: 0 auto;
}

#mountain-path {
  stroke: white;
  stroke-width: 0.5;
  fill: none;
}

/* From contact.html */
.contact-hero-text {
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1.2;
  color: #ffffff;
  text-align: left;
  margin-bottom: 3rem;
}

@media (max-width: 767.98px) {
  .contact-hero-text {
    font-size: 1.75rem;
  }
}

.contact-form .form-control {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0;
  color: #ffffff;
  font-family: "Syne", sans-serif;
  font-size: 1rem;
  padding: 1rem 0;
  margin-bottom: 2rem;
}

.contact-form .form-control:focus {
  background: transparent;
  border-color: #ffffff;
  box-shadow: none;
  color: #ffffff;
}

.contact-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
  text-transform: lowercase;
}

.contact-form textarea.form-control {
  resize: none;
  min-height: 120px;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border: 1px solid #ffffff;
  background: transparent;
  color: #ffffff;
  font-family: "Syne", sans-serif;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: 1rem;
  border-radius: 8px;
}

.btn-submit:hover {
  background: #ffffff;
  color: #000000;
  border-radius: 8px;
}

.btn-submit svg {
  transition: transform 0.3s ease;
}

.btn-submit:hover svg {
  transform: translate(2px, -2px);
}

.contact-links-section {
  margin-top: 5rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-link-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-link-item:hover {
  color: #ffffff;
  padding-left: 0.5rem;
}

.contact-link-icon {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  text-transform: lowercase;
}

.contact-link-text {
  font-size: 1rem;
  text-transform: lowercase;
}

.contact-link-arrow {
  margin-left: auto;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.contact-link-item:hover .contact-link-arrow {
  opacity: 1;
  transform: translate(2px, -2px);
}

/* From project.html */
.project-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin-bottom: 3rem;
}

.project-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
  transition: filter 0.5s ease;
}

.project-hero:hover img {
  filter: grayscale(0%);
}

.tech-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
  .tech-specs {
    grid-template-columns: repeat(4, 1fr);
  }
}

.tech-item {
  display: flex;
  flex-direction: column;
}

.tech-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #666;
  margin-bottom: 0.25rem;
}

.tech-value {
  font-size: 0.9rem;
  color: #fff;
  font-weight: 400;
}

/* Book a Call Section */
.book-call-section {
  margin: 4rem 0;
  padding: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.3s ease;
}

.book-call-section:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.04);
}

.book-call-content {
  text-align: center;
}

.book-call-title {
  font-family: "Syne", sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.book-call-text {
  font-family: "Syne", serif;
  font-size: 1.1rem;
  color: #aaaaaa;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.btn-book-call {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 2rem;
  border: 1px solid #ffffff;
  background: transparent;
  color: #ffffff;
  font-family: "Syne", sans-serif;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: all 0.3s ease;
  border-radius: 8px;
}

.btn-book-call:hover {
  background: #ffffff;
  color: #000000;
  border-radius: 8px;
}

.btn-book-call svg {
  transition: transform 0.3s ease;
}

.btn-book-call:hover svg {
  transform: translate(2px, -2px);
}

@media (max-width: 767.98px) {
  .book-call-section {
    margin: 3rem 0;
    padding: 1.5rem;
  }

  .book-call-title {
    font-size: 1.1rem;
  }

  .book-call-text {
    font-size: 1rem;
  }
}

.project-title {
  font-size: 2.5rem;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 0.5rem;
  line-height: 1.1;
}

.project-year {
  font-family: "Syne", sans-serif;
  font-size: 1rem;
  color: #666;
  margin-bottom: 2rem;
}

.project-description {
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.7;
  color: #ffffffcc;
  text-align: justify;
  text-align-last: left;
  margin-bottom: 3rem;
}

.press-dropdown {
  margin-bottom: 4rem;
  position: relative;
  z-index: 1000;
}

.btn-press {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #ffffff;
  font-family: "Syne", sans-serif;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: all 0.3s ease;
  border-radius: 0;
}

.btn-press:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.btn-press[aria-expanded="true"] .press-arrow {
  transform: rotate(180deg);
}

.press-arrow {
  transition: transform 0.3s ease;
}

.dropdown-menu-press {
  position: absolute;
  z-index: 1001;
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  padding: 0;
  margin-top: 0.5rem;
  min-width: 250px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.dropdown-item-press {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  color: #ffffff;
  font-size: 0.9rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.2s ease;
}

.dropdown-item-press:last-child {
  border-bottom: none;
}

.dropdown-item-press:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  padding-left: 1.75rem;
}

.gallery-section {
  margin-top: 2rem;
}

.gallery-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

/* .gallery-item {
  position: relative;
  overflow: hidden;
  background: #1a1a1a;
  aspect-ratio: 4 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
  filter: grayscale(30%);
}

.gallery-item:hover img {
  transform: scale(1.05);
  filter: grayscale(0%);
} */

/* Gallery Layout - Flexible with Classes */
.gallery-item {
  position: relative;
  overflow: hidden;
  background: #1a1a1a;
  aspect-ratio: 4 / 3;
}

.gallery-item.portrait {
  aspect-ratio: 3 / 4;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
  filter: grayscale(30%);
}

.gallery-item:hover img {
  transform: scale(1.05);
  filter: grayscale(0%);
}

/* Desktop layout */
@media (min-width: 768px) {
  .gallery-item.wide {
    grid-column: span 2;
    aspect-ratio: 2 / 1;
  }

  .gallery-item.portrait {
    aspect-ratio: 3 / 4;
    grid-row: span 2;
  }
}

/* Desktop layout overrides */
@media (min-width: 768px) {
  .gallery-item.wide {
    grid-column: span 2;
    aspect-ratio: 2 / 1;
  }

  .gallery-item.wide-43 {
    grid-column: span 2;
    aspect-ratio: 4 / 3;
  }

  .gallery-item.portrait {
    grid-row: span 2;
  }
}

.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Wide items - must come BEFORE vertical items to avoid override issues */
/* @media (min-width: 768px) {
  .gallery-item.wide {
    grid-column: span 2;
    aspect-ratio: 2 / 1 !important; 
  }
} */

/* Vertical Gallery Items - Specific Positioning */
/* .gallery-item:nth-child(2),
.gallery-item:nth-child(3) {
  aspect-ratio: 3 / 4;
}

@media (min-width: 768px) {
  .gallery-item:nth-child(2),
  .gallery-item:nth-child(3) {
    aspect-ratio: 3 / 4;
    grid-row: span 2;
  }
} */

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #666;
  font-size: 0.875rem;
  text-transform: lowercase;
  text-decoration: none;
  margin-bottom: 2rem;
  transition: color 0.3s ease;
}

.back-link:hover {
  color: #ffffff;
}

.back-link svg {
  transform: rotate(-135deg);
}

.back-link-down {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #666;
  font-size: 0.875rem;
  text-transform: lowercase;
  text-decoration: none;
  margin-bottom: 0;
  transition: color 0.3s ease;
  padding-top: 5rem;
}

.back-link-down:hover {
  color: #ffffff;
}

.back-link-down svg {
  transform: rotate(-135deg);
}

/* From workshop.html */
.workshop-hero-img {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin: 10rem 0rem 0rem 0rem;
}

.workshop-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(30%) contrast(1.1);
  transition: all 0.5s ease;
}

.workshop-hero-img:hover img {
  filter: grayscale(0%) contrast(1);
  transform: scale(1.02);
}

.workshop-text {
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.6;
  color: #ffffffaa;
  text-align: justify;
  text-align-last: left;
  padding-top: 2rem;
}

.workshop-title {
  font-size: 0.9rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ffffff;
  margin-top: 1rem;
  margin-bottom: 0.25rem;
}

.workshop-meta {
  font-family: "Syne", sans-serif;
  font-size: 0.85rem;
  color: #aaaaaa;
}

.past-workshop-img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background-color: #1a1a1a;
}

.past-workshop-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.5s ease,
    filter 0.5s ease;
}

.past-workshop-img:hover img {
  transform: scale(1.05);
  filter: brightness(0.8);
}

.workshop-section-title {
  font-size: 1.5rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffffff;
  margin-bottom: 1.5rem;
  text-align: left;
}

.next-workshop-section {
  margin: 4rem 0;
  padding: 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 0px solid rgba(255, 255, 255, 0.1);
}

.next-workshop-section2 {
  margin: 4rem 0;
  padding: 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.next-workshop-img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background-color: #1a1a1a;
  max-width: 400px;
}

.next-workshop-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.5s ease,
    filter 0.5s ease;
}

.next-workshop-img:hover img {
  transform: scale(1.03);
  filter: brightness(0.9);
}

.btn-workshop {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid #ffffff;
  background: transparent;
  color: #ffffff;
  font-family: "Syne", sans-serif;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: 1.5rem;
  border-radius: 8px;
}

.btn-workshop:hover {
  background: #ffffff;
  color: #000000;
}

.btn-workshop svg {
  transition: transform 0.3s ease;
}

.btn-workshop:hover svg {
  transform: translate(2px, -2px);
}

.next-workshop-date {
  font-family: "Syne", sans-serif;
  font-size: 1rem;
  color: #aaaaaa;
  margin-bottom: 1rem;
}

/* From about.html */
.team-member-img {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: #1a1a1a;
}

.team-member-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.5s ease,
    filter 0.5s ease;
  filter: grayscale(20%);
}

.team-member:hover .team-member-img img {
  transform: scale(1.05);
  filter: grayscale(0%);
}

.member-bio {
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 1rem 0;
}

.member-links .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0;
  font-size: 0.9rem;
  text-transform: lowercase;
}

/* Work item link wrapper */
.work-item-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.work-item-link:hover {
  color: inherit;
}
