/* Cleaned & Responsive styles.css for Monochromatic Mirrors */

@font-face {
  font-family: 'Oswald';
  src: url('https://monochromaticmirrorsartgallery-custom-s3bucketroot-lij084xz4xv6.s3.us-east-1.amazonaws.com/fonts/Oswald-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900; /* Optional: adjust if needed */
  font-style: normal;
}

/* Universal Reset & Base Styles */
html, body {
  height: 100%;
  margin: 0;
  font-family: 'Oswald', sans-serif;
  background: #fff;
  color: #000;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header-container {
  background: #fff;
  padding: 0 1rem;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1em 0;
}

.gallery-title {
  font-size: 1.8em;
  font-weight: normal;
  text-decoration: none;
  color: #000;
}

.header-right {
  display: flex;
  align-items: center;
}

.header-right a {
  margin-left: 20px;
  text-decoration: none;
  color: #000;
  font-size: 1em;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5em;
  cursor: pointer;
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  .menu-toggle {
    display: block;
    font-size: 2rem; /* was 1.5em — now a touch larger */
    padding: 5px;   /* expands tap area slightly */
    cursor: pointer;
    line-height: 1;
    margin-right: 1rem; 
  }

  .header-right {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    background: #fff;
  }

  .header-right a {
    font-size: 1.15em;      /* slightly larger on mobile only */
    margin-left: 0;         /* resets desktop spacing */
  }

  .header-right.open {
    display: flex;
  }

  .hero {
    padding-top: 10px;
  }
}

.header-divider {
  border: none;
  border-top: 30px solid #fff;
  margin-top: 0.5em;
}

/* Hero Slideshow */
.hero {
  padding-top: 10px;
  padding-bottom: 20px;
}

.slideshow-container {
  overflow: hidden;
  position: relative;
  height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide {
  position: absolute;
  top: 50%;
  left: 50%;
  max-height: 100%;
  max-width: 100%;
  transform: translate(-50%, -50%);
  transition: opacity 1s ease-in-out;
  opacity: 0;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.artist-header img[alt$="artwork"] {
  width: 100%;
  height: auto;
  max-width: 600px;
  max-height: 700px;
  display: block;
  margin: 0 auto;
  object-fit: contain !important; /* ensures full image visible, no crop */
}

/* Forms */
.form-wrapper {
  margin: 1em auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  max-width: 600px;
  padding-bottom: 2rem;
}

.form-row,
.form-inline-row {
  display: flex;
  gap: 0.5rem;
  width: 100%;
  margin-bottom: 1em;
  flex-wrap: wrap;
}

.form-contact .form-row .input-field.thin {
  width: calc(50% - 0.25rem);
}

.input-field.thin, .button.thin {
  font-size: 0.9rem;
  height: 32px;
  line-height: 1;
  padding: 0 10px;
  border-radius: 0;
  border: 1px solid #ccc;
  background-color: #fff;
  color: #333;
  box-sizing: border-box;
}

.input-field.thin::placeholder {
  color: #777;
  font-weight: 300;
}

textarea.input-field.thin {
  min-height: 90px;
  resize: vertical;
  padding: 6px 10px;
}

.button.thin {
  background-color: #6b6b6b;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s ease;
  min-width: 100px;
}

.button.thin:hover {
  background-color: #333;
}

.form-contact.wider {
  max-width: 700px;
}

.form-instructions {
  font-variant: small-caps;
  color: #222;
  text-align: center;
  margin-bottom: 2rem;
}

.form-subscribe {
  margin-bottom: 1px;
}

.form-subscribe .form-inline-row.spaced {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

/* Content Area */

.content { 
padding-bottom: 0; 
} 

.content .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0 auto;
}

.content h1, .content p, .content iframe {
  margin-left: auto;
  margin-right: auto;
}

/* Virtual Gallery */
.virtual-gallery {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  padding-top: 56.25%; /* 16:9 aspect ratio */
}

.virtual-gallery iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

@media (min-width: 1024px) {
  .virtual-gallery {
    padding-top: 0;
    display: flex;
    justify-content: center;
  }

  .virtual-gallery iframe {
    width: 1280px;
    height: 720px;
    position: static;
  }
}

/* Footer */
.footer-container {
  margin-top: auto;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left {
  font-size: 0.9em;
}

.footer-right a {
  margin-left: 10px;
}

.social-icon {
  height: 1em;
  width: auto;
  vertical-align: middle;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
  .slideshow-container {
    height: 50vh;
  }

  .form-contact .form-row .input-field.thin {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1em;
  }
} 

/* Prevent image dragging, selection, and right-click */
img {
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}
img::selection {
  background: transparent;
}


/* Disable pointer and selection inside lightbox images */
.glightbox .gslide-image img {
  pointer-events: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

/*Display dropdown only (for Artists in Nav bar) */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 180px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  flex-direction: column;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
  display: flex;
}


/* ================================
   Exhibitions: Manual Carousel + Thumbnails
   ================================ */

.exhibit-carousel {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto 2rem auto;
  position: relative;
  user-select: none;
}

.exhibit-carousel__viewport {
  overflow: hidden;
  border-radius: 0;
}

.exhibit-carousel__track {
  display: flex;
  will-change: transform;
  transition: transform 350ms ease;
  touch-action: pan-y;
}

.exhibit-carousel__slide {
  flex: 0 0 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.exhibit-carousel__slide img {
  width: 100%;
  height: min(78vh, 720px);
  object-fit: contain;
  display: block;
}

/* Arrows */
.exhibit-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid #ccc;
  background: rgba(255, 255, 255, 0.92);
  color: #000;
  width: 44px;
  height: 44px;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 2;
}

.exhibit-carousel__btn:hover { background: #fff; }
.exhibit-carousel__btn:disabled { opacity: 0.35; cursor: not-allowed; }
.exhibit-carousel__btn--prev { left: 10px; }
.exhibit-carousel__btn--next { right: 10px; }

/* Thumbnails */
.exhibit-carousel__thumbs {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  padding: 6px 2px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.exhibit-carousel__thumb {
  border: 1px solid #ccc;
  background: #fff;
  padding: 0;
  cursor: pointer;
  flex: 0 0 auto;
  width: 64px;
  height: 44px;
  overflow: hidden;
}

.exhibit-carousel__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.exhibit-carousel__thumb[aria-current="true"] {
  border-color: #111;
  outline: 2px solid #111;
  outline-offset: 2px;
}

/* Caption */
.exhibit-carousel__caption {
  text-align: center;
  margin-top: 10px;
  font-weight: 300;
  color: #222;
}

@media (max-width: 768px) {
  body {
    font-size: 0.95rem;
  }

  .container {
    width: 100%;
    padding: 0 1rem;
  }

  img {
    max-width: 100%;
    height: auto;
  }

  .form-wrapper {
    padding: 0 1rem;
  }

  .slideshow-container {
    height: 50vh;
    padding: 10px 0;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1em;
  }

  .dropdown:focus-within .dropdown-content {
    display: flex;
  }

  .artwork-grid {
    gap: 40px !important;
  }

  .artwork-row {
    flex-direction: column !important;
    padding: 0 20px !important;
    gap: 40px !important;
    align-items: center;
  }

  .artwork-item {
    margin-bottom: 40px !important;
    width: 100% !important;
  }

  .artwork-item img {
    max-width: 100% !important;
    height: auto !important;
  }
  .artist-header {
    flex-direction: column;
    text-align: center;
    padding-top: 30px;
  }

  .artist-header img[alt$="artwork"] {
    width: 100%;
    height: auto;
    max-width: 350px;
    max-height: 400px;
    margin-top: 15px;
    object-fit: contain !important;
  }

  .exhibit-carousel__slide img { 
height: 52vh; 
}
  .exhibit-carousel__btn { 
width: 42px; height: 42px; 
}
}
