/* ================= FONTS ================= */

@font-face {
  font-family: 'sf';
  src: url('/fonts/sf.otf') format('opentype');
}

/* ================= PC ================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'sf';
}

/* ================= SEACH BAR ================= */

.search-section {
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 100%;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.search-box {
  width: 100%;
  max-width: 560px;
  background: transparent;
  border-bottom: 1px solid white;
  padding: 14px;
  pointer-events: auto;
}

.search-box input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffffff;
  text-align: center;
}

.search-box input::placeholder {
  color: white;
}

/* ================= TITLE ================= */

.banner-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  font-size: 40px;
  font-family: 'Times New Roman';
  letter-spacing: 10px;
  color: white;
  text-transform: uppercase;
  text-align: center;
  pointer-events: none;
}

/* ================= SLIDER ================= */

.banner-slider {
  width: 100vw;
  max-width: none;
  margin: -100px;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.banner-slider .slides {
  height: 80vh;
  min-height: 420px;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

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

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

.slide-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 48px 24px;
  text-align: center;
  background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0));
}

.slide-slogan {
  color: #ffffff;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: 'sf';
  margin-bottom: 80px;
}

.lux-btn {
  padding: 12px 100px;
  border: 1px solid #ffffff;
  color: #ffffff;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 5px;
  text-transform: uppercase;
  transition: background 0.3s ease, color 0.3s ease;
}

.lux-btn:hover {
  background: #ffffff;
  color: #111111;
}

.banner-slider .nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #ffffff;
  font-size: 40px;
  cursor: pointer;
  z-index: 2;
  opacity: 0.7;
}

.banner-slider .prev { left: 16px; }
.banner-slider .next { right: 16px; }

/* ================= SECTION ================= */

section {
  padding: 64px 24px;
}

.section-title {
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-top: 100px;
  margin-bottom: 60px;
  text-align: center;
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
}

.material-card {
  text-decoration: none;
  color: inherit;
  text-align: center;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.material-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.material-card p {
  margin-top: 12px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #111111;
}

.material-card:hover {
  transform: translateY(-4px);
  opacity: 0.9;
}

.other-materials .section-title {
  margin-top: -50px;
}

/* ================= PHONE ================= */

@media (max-width: 768px) {

/* ================= SEACH BAR ================= */

.search-section {
  position: absolute;
  top: 17%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 100%;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.search-box {
  width: 80%;
  max-width: 560px;
  background: transparent;
  border-bottom: 1px solid white;
  padding: 14px;
  pointer-events: auto;
}

.search-box input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffffff;
  text-align: center;
}

.search-box input::placeholder {
  color: white;
}

/* ================= TITLE ================= */

.banner-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  font-size: 20px;
  font-family: 'Times New Roman';
  letter-spacing: 10px;
  color: white;
  text-transform: uppercase;
  text-align: center;
  pointer-events: none;
}

/* ================= SLIDER ================= */

.banner-slider {
  width: 100vw;
  max-width: none;
  margin: -60px;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.banner-slider .slides {
  height: 80vh;
  min-height: 420px;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

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

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

.slide-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 48px 24px;
  text-align: center;
  background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0));
}

.slide-slogan {
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: 'sf';
  margin-bottom: 30px;
}

.lux-btn {
  padding: 12px 100px;
  border: 1px solid #ffffff;
  color: #ffffff;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 5px;
  text-transform: uppercase;
  transition: background 0.3s ease, color 0.3s ease;
}

.lux-btn:hover {
  background: #ffffff;
  color: #111111;
}

.banner-slider .nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #ffffff;
  font-size: 40px;
  cursor: pointer;
  z-index: 2;
  opacity: 0.7;
}

.banner-slider .prev { left: 16px; }
.banner-slider .next { right: 16px; }

/* ================= SECTION ================= */

section {
  padding: 64px 24px;
}

.section-title {
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-top: 60px;
  margin-bottom: 60px;
  text-align: center;
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 900px;
  margin: 0 auto;
}

.material-card {
  text-decoration: none;
  color: inherit;
  text-align: center;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.material-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.material-card p {
  margin-top: 12px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #111111;
}

.material-card:hover {
  transform: translateY(-4px);
  opacity: 0.9;
}

.other-materials .section-title {
  margin-top: -50px;
}
}
