/* Home page — full-screen dark landing */

.home-body {
  background: var(--hero-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.home-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

/* Subtle diagonal texture matching the hero */
.home-main::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
          -45deg,
          transparent,
          transparent 60px,
          rgba(192,97,74,0.03) 60px,
          rgba(192,97,74,0.03) 61px
  );
  pointer-events: none;
}

.home-inner {
  width: 100%;
  max-width: 680px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* Headline */
.home-headline { text-align: center; }

.home-label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 1rem;
}

.home-headline h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 400;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

.home-headline h1 em {
  font-style: italic;
  color: var(--accent);
}

.home-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.35);
  font-family: 'DM Sans', sans-serif;
}

/* Search bar */
.home-search-wrap { width: 100%; }

.home-search-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.home-search-input-wrap {
  flex: 1;
  position: relative;
}

.home-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: rgba(255,255,255,0.3);
  pointer-events: none;
}

.home-search-input {
  width: 100%;
  height: 52px;
  padding: 0 16px 0 44px;
  font-size: 15px;
  font-family: 'DM Sans', sans-serif;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  color: #fff;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.15s, background 0.15s;
}

.home-search-input::placeholder { color: rgba(255,255,255,0.3); }
.home-search-input:focus {
  outline: none;
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.25);
  color: #fff;
}
/* Override global input colour rules for the dark home page */
.home-body input,
.home-body input:focus {
  color: #fff;
}

.home-search-btn {
  height: 52px;
  padding: 0 1.75rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-lg);
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
  white-space: nowrap;
  flex-shrink: 0;
}

.home-search-btn:hover { background: #a84f3a; }

/* Filter dropdowns */
.home-filters {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.home-filter-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.home-filter-group label {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
}

.home-filter-group select,
.home-filter-group .home-filter-input {
  height: 38px;
  padding: 0 10px;
  font-size: 13px;
  font-family: 'DM Sans', sans-serif;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  color: rgba(255,255,255,0.7);
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.15s, background 0.15s;
  width: 100%;
}

.home-filter-group select:focus,
.home-filter-group .home-filter-input:focus {
  outline: none;
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.09);
  color: #fff;
}

.home-filter-group select option {
  background: #1a0a0a;
  color: #fff;
}

.home-filter-group select {
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0l5 6 5-6z' fill='rgba(255,255,255,0.4)'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 28px;
}

.home-filter-group .home-filter-input::placeholder {
  color: rgba(255,255,255,0.3);
}

/* Responsive */
@media (max-width: 640px) {
  .home-filters { grid-template-columns: repeat(2, 1fr); }
  .home-search-btn { padding: 0 1.25rem; font-size: 13px; }
  .home-headline h1 { font-size: 2rem; }
}