/* =============================================
   ANNING'S CLOTHING — HOMEPAGE STYLES
   ============================================= */

/* --- HERO --- */
.hero {
  position: relative;
  height: calc(100vh - var(--nav-height));
  min-height: 560px;
  background: #111;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.85;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.72) 40%, rgba(0,0,0,0.15) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 60px;
  max-width: 680px;
}
.hero-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 22px;
}
.hero-subtitle {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 340px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* --- CATEGORY GRID --- */
.category-section {
  padding: 70px 40px;
}
.category-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
}
.cat-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.cat-item.large {
  grid-row: 1 / 3;
}
.cat-item-img {
  width: 100%;
  overflow: hidden;
}
.cat-item.large .cat-item-img { height: 500px; }
.cat-item:not(.large) .cat-item-img { height: 240px; }

.cat-item-img img {
  width: 100%; height: 100%;
  transition: transform 0.7s ease;
}
.cat-item:hover .cat-item-img img { transform: scale(1.05); }
.cat-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 55%);
}
.cat-item-content {
  position: absolute;
  bottom: 0; left: 0;
  padding: 24px;
  color: white;
}
.cat-item-label {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 6px;
}
.cat-item-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}
.cat-item-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 2px;
  transition: all var(--transition);
}
.cat-item-link:hover {
  color: white;
  border-color: white;
}

/* --- TRENDING NOW --- */
.trending-section {
  padding: 70px 40px;
  background: var(--off-white);
}
.trending-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* --- SALE BANNER --- */
.sale-banner {
  position: relative;
  height: 380px;
  overflow: hidden;
  background: #1a1a1a;
  display: flex;
  align-items: center;
}
.sale-bg {
  position: absolute;
  inset: 0;
}
.sale-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.3;
}
.sale-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 40px;
}
.sale-label-top {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 16px;
}
.sale-title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 400;
  font-style: italic;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.1;
}
.sale-subtitle {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 30px;
}

/* --- JOURNAL --- */
.journal-section {
  padding: 80px 40px;
}
.journal-intro {
  text-align: center;
  margin-bottom: 50px;
}
.journal-intro .section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  font-style: italic;
  margin-bottom: 14px;
}
.journal-intro p {
  font-size: 13px;
  color: var(--dark-grey);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.75;
}
.journal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.journal-card { cursor: pointer; }
.journal-card-img {
  aspect-ratio: 16/10;
  background: var(--off-white);
  overflow: hidden;
  margin-bottom: 20px;
}
.journal-card-img img {
  transition: transform 0.6s ease;
}
.journal-card:hover .journal-card-img img { transform: scale(1.04); }
.journal-card-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 10px;
}
.journal-card-tag {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid-grey);
}
.journal-card-date {
  font-size: 10px;
  color: var(--mid-grey);
}
.journal-card-title {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.35;
  margin-bottom: 12px;
}
.journal-card-link {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dark-grey);
  border-bottom: 1px solid var(--dark-grey);
  padding-bottom: 2px;
  display: inline-block;
  transition: all var(--transition);
}
.journal-card-link:hover {
  color: var(--black);
  border-color: var(--black);
}

/* --- NEW ARRIVALS BANNER --- */
.new-arrivals-section {
  padding: 0 40px 70px;
}
.new-arrivals-inner {
  background: var(--black);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  min-height: 340px;
}
.new-arrivals-img {
  overflow: hidden;
}
.new-arrivals-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
  filter: grayscale(20%);
}
.new-arrivals-inner:hover .new-arrivals-img img { transform: scale(1.04); }
.new-arrivals-content {
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.new-arrivals-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 18px;
}
.new-arrivals-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 16px;
}
.new-arrivals-text {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 300px;
}
