/* ── Base Styles ───────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
}

body, html {
  margin: 0;
  padding: 0;
  font-family: 'Lato', sans-serif;
}

/* ── Typography ───────────────────────────────────── */
header h1 {
  font-size: 1em;
  letter-spacing: 1.5px;
  font-weight: normal;
  margin: 0;
}

header h2,
nav,
blockquote,
label,
p {
  font-family: 'Lato', sans-serif;
}

.caption,
.grid-item p {
  font-family: 'Courier Prime', serif;
  font-size: 0.9em;
}

/* ── Landing Page ───────────────────────────────────── */
body.landing {
  background: url('images/SirtautCU1.jpg') no-repeat center center/cover;
  margin: 0;
  padding: 0;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: 'Lato', sans-serif;
}

.fade-container {
  width: 100%;
  height: 100%;
  animation: fadeIn 1s ease forwards;
  opacity: 0;
  position: relative;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.landing-overlay {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}

.landing-title {
  font-size: 3em;
  text-transform: uppercase;
  text-align: center;
  color: white;
  margin: 0;
}

.enter-button {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1em;
  padding: 0.7em 1.5em;
  border: 2px solid white;
  color: white;
  text-decoration: none;
  background: transparent;
  transition: background 0.3s ease, color 0.3s ease;
  animation: buttonFadeIn 1.5s ease 1s forwards;
  opacity: 0;
}

.enter-button:hover {
  background: white;
  color: black;
}

@keyframes buttonFadeIn {
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.button-exit {
  animation: buttonExit 0.9s ease forwards;
}

@keyframes buttonExit {
  to {
    opacity: 0;
    transform: scale(0.85) translateX(-50%);
  }
}

.black-fade-overlay {
  position: absolute;
  top: 0;
  left: 0;
  background: black;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.2s ease;
  z-index: 1;
}

.black-fade-overlay.show-black {
  opacity: 1;
}

/* ── Banner Section ───────────────────────────────────── */
.banner img {
  width: 100%;
  height: 90vh;
  object-fit: cover;
}

/* ── Quote Section ───────────────────────────────────── */
.quote {
  padding: 6em 2em 4em;
  text-align: center;
  font-style: italic;
  font-size: 1.2em;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

/* ── Collections Section ───────────────────────────────── */
.collections {
  width: 90%;
  margin: 0 auto;
  padding: 3em 0 2em;           
  background: #fff;             
}

.collections-title {
  font-family: 'Lato', sans-serif; 
  font-size: 2.5em;                
  text-align: left;                
  margin: 0 0 0.5em;               
  color: #000;                     
  text-transform: uppercase;       /* FORCE UPPERCASE */
}

/* 3-column fixed panels */
.collections-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2em;
  max-width: 100%;
  margin: 0 auto;
}

.collections-grid .grid-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

/* cover image, no transform */
.collections-grid .grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* constant 30% dark overlay */
.collections-grid .grid-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  transition: background 0.3s ease;
  z-index: 0;
}

/* darken to 60% on hover */
.collections-grid .grid-item:hover::before {
  background: rgba(0, 0, 0, 0.6);
}

/* panel titles */
.collections-grid .grid-item p {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(1);
  margin: 0;
  color: #fff;
  font-family: 'Lato', sans-serif;
  font-size: 1.875em;            
  text-align: center;
  z-index: 1;
  transition: transform 0.3s ease;  
}

/* text zooms on hover */
.collections-grid .grid-item:hover p {
  transform: translate(-50%, -50%) scale(1.25);
}

/* ── Footer & Contact Form ───────────────────────────────────── */
footer {
  background: #f0f0f0;
  padding: 1.5em;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5em;
  max-width: 600px;
  margin: 4em auto;
  font-family: 'Lato', sans-serif;
}

.contact-form-row {
  display: flex;
  gap: 1em;
}

.form-field {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.form-field label {
  font-size: 0.8em;
  color: #333;
  margin-bottom: 0.3em;
}

.contact-form input,
.contact-form textarea {
  padding: 0.5em;
  border: 1px solid #444;
  border-radius: 0;
  background: #f7f7f7;
  font-family: 'Lato', sans-serif;
  font-size: 1em;
}

.contact-form textarea {
  height: 8em;
  resize: vertical;
}

.contact-form button {
  align-self: flex-end;
  padding: 0.5em 1.5em;
  width: 50%;
  max-width: 200px;
  background: black;
  color: white;
  font-size: 0.95em;
  border: none;
  border-radius: 0;
  cursor: pointer;
  margin-top: 1em;
  font-family: 'Lato', sans-serif;
}

.required {
  color: #222;
  margin-left: 0.2em;
  font-size: 1em;
}

.form-container {
  min-height: 200px;
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.confirmation-message {
  font-family: 'Lato', sans-serif;
  text-align: center;
  margin-top: 2em;
  color: #333;
  font-size: 1.2em;
  opacity: 0;
  transition: opacity 0.6s ease;
  display: none;
}

.confirmation-message.visible {
  display: block;
  opacity: 1;
}

.contact-form button:hover {
  background: #222;
  transform: scale(1.02);
  transition: transform 0.2s ease, background 0.2s ease;
}

@media (max-width: 768px) {
  .contact-form-row {
    flex-direction: column;
  }
}

/* ── Slide-In Menu ─────────────────────────────────────── */
.fullscreen-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 33.3333vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  transform: translateX(100%);
  transition: transform 0.5s ease;
  z-index: 1001;
}

.fullscreen-menu.show {
  transform: translateX(0);
}

.fullscreen-menu ul {
  list-style: none;
  padding: 0 2em 0 0;
  margin: 0;
  text-align: right;
}

.fullscreen-menu li {
  margin: 1.5em 0;
}

.fullscreen-menu a {
  font-size: 2em;
  color: white;
  text-decoration: none;
  font-family: 'Lato', sans-serif;
  transition: opacity 0.3s;
}

.fullscreen-menu a:hover {
  opacity: 0.6;
}

.fullscreen-menu {
  align-items: center;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  opacity: 1.5;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1000;
  display: none;
}

.overlay.show {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

/* ── Header & Toggle ───────────────────────────────────── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background-color: #000;
  color: white;
  padding: 0.6em 1.2em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1002;
}

.menu-toggle {
  font-size: 2.2em;
  cursor: pointer;
  user-select: none;
  position: relative;
  z-index: 1002;
  transition: transform 0.3s ease;
}

.menu-toggle::before {
  content: "+";
  color: white;
  display: block;
  text-align: center;
  transition: all 0.3s ease;
}

.menu-toggle.open::before {
  content: "−";
  transform: rotate(180deg);
}

/* ── Banner Gallery ───────────────────────────────────── */
.banner-gallery {
  position: relative;
  top: 50px;
  width: 100%;
  height: calc(100vh - 50px);
  overflow: hidden;
}

/* Banner Slider with Fade Transition */
.slider {
  position: relative;
  width: 100%;
  height: 100%;
  opacity: 1;
}

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

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

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

/* Disable fade for instant jumps */
.slide.no-transition {
  transition: none !important;
}

/* Navigation Arrows */
.nav-arrows {
  position: absolute;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 1em;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.arrow {
  font-size: 1.5em;
  color: white;
  background: none;
  padding: 0.3em 0.6em;
  cursor: pointer;
  user-select: none;
  pointer-events: all;
}

/* Navigation Dots */
.nav-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.dot {
  width: 7px;
  height: 7px;
  background: white;
  border-radius: 50%;
  opacity: 0.6;
  cursor: pointer;
}

.dot.active {
  opacity: 1;
}

/* Bring arrows & dots above slides */
.banner-gallery .nav-arrows,
.banner-gallery .nav-dots {
  z-index: 3;
}

/* Show & activate controls on hover */
.banner-gallery:hover .nav-arrows {
  opacity: 1;
  pointer-events: auto;
}

.banner-gallery:hover .nav-dots {
  opacity: 1;
}

/* ── Collection Page Banner ───────────────────────────────── */
.collection-banner {
  position: relative;
  height: 100vh;
  background: url('images/collection-one-banner.jpg') no-repeat center/cover;
}
.collection-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 75%);
  z-index: 1;
}
.collection-banner h2 {
  position: absolute;
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-family: 'Lato', sans-serif;
  font-size: 3em;
  z-index: 2;
  margin: 0;
}

/* ── Collection Info ───────────────────────────────── */
.collection-info {
  text-align: center;
  padding: 4em 2em;
  background: #fff;
}
.collection-info h2 {
  font-family: 'Lato', sans-serif;
  font-size: 2em;
  color: #000;
  margin-bottom: 0.5em;
}
.collection-info p {
  max-width: 800px;
  margin: 0 auto;
  font-family: 'Lato', sans-serif;
  font-size: 1em;
  color: #333;
  line-height: 1.6;
}

/* ── Gallery Grid ───────────────────────────────── */
.collection-gallery {
  padding: 2em;
  background: #fff;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1em;
}
.gallery-grid img {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
}

/* ── Lightbox ───────────────────────────────── */
.lightbox {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10000;
}
.lightbox.show {
  visibility: visible;
  opacity: 1;
}
.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}
.lightbox-content img {
  width: 100%;
  height: auto;
  display: block;
}
.lightbox-caption {
  margin-top: 0.5em;
  text-align: center;
  font-family: 'Lato', sans-serif;
  font-size: 0.9em;
  color: #333;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.lightbox-content:hover .lightbox-caption {
  opacity: 1;
}
.lightbox .nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2em;
  color: #888;
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.lightbox:hover .nav-btn {
  opacity: 1;
}
.lightbox .prev { left: 1em; }
.lightbox .next { right: 1em; }
.lightbox .close {
  position: absolute;
  top: 1em; right: 1em;
  font-size: 2em;
  transform: none;
}