/* ===== Theme ===== */
:root {
  --font-head: Garamond, "Times New Roman", serif;
  --font-body: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  --black: #0b0b0b;
  --white: #fff;
  --text: #111;
  --muted: #888;
  --maxW: 1200px;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--black);
  color: #fff;
  border-bottom: 1px solid #111;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  margin: 0 auto;
  padding: 14px 24px;
}
.header__left {
  display: flex;
  align-items: center;
  gap: 40px;
}

.brand__mark {
  width: 48px;
  height: 48px;
  object-fit: contain;
  transition: 0.3s ease;
}

/* Nav */
.nav {
  display: flex;
  gap: 132px;
}
.nav a {
  font-family: var(--font-body);
  color: #eaeaea;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.08em;
}
.nav a:hover {
  color: #800000;
}

/* ===== Social Icons Styling ===== */
.header__social {
  display: flex;
  gap: 24px;
  align-items: center;
}

.header__social a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #fff;
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
  transition: all 0.3s ease;
}

/* Unified Hover Effect for ALL icons */
.header__social a:hover {
  background: #800000;
  border-color: #800000;
  color: #fff;
}


/* Centered logo under header */
.logo-center {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}
.logo-center img {
  max-width: 180px;
  height: auto;
}

.banner {
  width: 90%;   /* 10% smaller than full width */
  max-width: 2200px; /* safety cap */
  margin: 30px auto;
  position: relative;
  aspect-ratio: 16/7;
  background: #f7f7f7;
  border-radius: 10px;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  background-size: cover;
  background-position: center;
}
.slide.is-active {
  opacity: 1;
}
.slide--1 {
  background-image: url("/static/images/home/01.jpg");
}
.slide--2 {
  background-image: url("/static/images/home/02.jpg");
}
.slide--3 {
  background-image: url("/static/images/home/03.jpg");
}


.dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(0, 0, 0, 0.2);
}
.dot.is-active {
  background: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  .header__inner {
    flex-direction: column;
    gap: 10px;
  }
  .nav {
    flex-direction: column;
    gap: 12px;
  }
  .header__social {
    justify-content: center;
  }
}
/* ===== Footer ===== */
.site-footer {
  background: #0b0b0b;
  color: #ccc;
  padding: 20px 24px;
  font-family: Inter, sans-serif;
  font-size: 14px;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.footer__left p,
.footer__right p {
  margin: 0;
}

.footer__right {
  color: #999;
  font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
  .footer__inner {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }
}
.back-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 18px;
  background: #111; /* black background */
  color: #fff; /* white text */
  border-radius: 4px;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 1px;
  transition: background 0.3s ease, transform 0.2s ease;
}

.back-btn:hover {
  background: #333; /* lighter black */
  transform: translateY(-2px);
}
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(200px,1fr));
  gap: 20px;
  margin-top: 20px;
}
.thumb {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
}
.card { background:#fff; border-radius:8px; overflow:hidden; box-shadow:0 4px 10px rgba(0,0,0,0.08); }
.meta { padding:10px; font-size:13px; font-weight:bold; text-align:center; background:#800000; color:#fff; }

@media(max-width:900px){ .thumb{height:150px;} }
@media(max-width:600px){ .thumb{height:120px;} }

/* editorial_detail */
/* Two-column layout */
.editorial-grid {
  display: grid;
  grid-template-columns: 1fr 2fr; /* left text smaller, right images wider */
  gap: 40px;
  max-width: 1400px;
  margin: 40px auto;
  align-items: start;
}

/* Left text */
.editorial-text {
  font-size: 16px;
  line-height: 1.6;
}

/* Right thumbnails grid */
.editorial-images {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
}

.thumb-icon img,
.thumb-icon video {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 900px) {
  .editorial-grid {
    grid-template-columns: 1fr;
  }
  .editorial-images {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }
}

/* collection_detail */
/* Two-column layout */
.collection-grid {
  display: grid;
  grid-template-columns: 1fr 2fr; /* text smaller, images wider */
  gap: 40px;
  max-width: 1400px;
  margin: 40px auto;
  align-items: start;
}

/* Left column text */
.collection-text {
  font-size: 16px;
  line-height: 1.6;
}

/* Right thumbnails grid */
.collection-images {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
}

.collection-images img,
.collection-images video {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 900px) {
  .collection-grid {
    grid-template-columns: 1fr;
  }
  .collection-images {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }
}


/* ===== Popup ===== */
.popup {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: var(--white);
  z-index: 1000;
}
.popup.show {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.popup-content {
  max-width: 90%;
  max-height: 85vh;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 36px;
  font-weight: bold;
  color: #000;
  cursor: pointer;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 36px;
  font-weight: bold;
  color: #000;
  background: rgba(255, 255, 255, 0.7);
  border: none;
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
  transition: background 0.3s ease, color 0.3s ease;
  z-index: 1100;
}

.arrow:hover {
  background: var(--maroon); /* maroon background */
  color: #800000;               /* white arrow */
}

.arrow.left { left: 20px; }
.arrow.right { right: 20px; }
