/* ═══════════════════════════════════════════
   ALESSA LANDING PAGE — Enhanced Styles
   ═══════════════════════════════════════════ */

/* ── SECTION HEADERS ── */
.section-header { text-align: center; margin-bottom: 50px; }
.section-header--between { display: flex; justify-content: space-between; align-items: flex-end; text-align: left; }
.section-eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-dark, #A37C13);
  margin-bottom: 8px;
  font-weight: 500;
}
body .section-header .section-title,
body .section-header--between .section-title {
  font-family: var(--font-display, 'Lora', serif) !important;
  font-size: 38px !important;
  color: var(--black, #111111) !important;
  font-weight: 400 !important;
  margin: 0;
  line-height: 1.2;
}
.view-all-link {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--black, #111111);
  text-decoration: none;
  border-bottom: 1px solid var(--black, #111111);
  padding-bottom: 2px;
  transition: all 0.3s;
  font-weight: 500;
}
.view-all-link:hover { color: var(--gold-dark, #A37C13); border-color: var(--gold-dark, #A37C13); }

/* ═══════════ HERO SLIDER ═══════════ */
.alessa-hero-slider {
  position: relative;
  height: 80vh;
  min-height: 500px;
  overflow: hidden;
}

@media (min-width: 992px) {
  .alessa-hero-slider { height: 100vh; min-height: 700px; }
}

.hero-slide {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center center !important;
  background-repeat: no-repeat;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s ease, visibility 1.2s;
  z-index: 0;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
  animation: kenBurns 8s ease-out forwards;
}

@keyframes kenBurns {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
}

@media (max-width: 768px) {
  .hero-slide-overlay { background: rgba(0,0,0,0.45); }
}

.hero-slide-content {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1600px;
  padding: 0 40px;
  z-index: 2;
  color: #fff;
}

.hero-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  padding: 8px 20px;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,0.3);
}

.hero-title {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 400;
  line-height: 1.1;
  color: #fff;
  margin: 0 0 15px;
  text-shadow: 0 2px 40px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 30px;
  max-width: 500px;
}

.hero-actions { display: flex; gap: 15px; }

.hero-btn-primary {
  background: #fff;
  color: #111;
  padding: 16px 40px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s;
}
.hero-btn-primary:hover { background: #111; color: #fff; }

.hero-btn-outline {
  background: transparent;
  color: #fff;
  padding: 16px 40px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.5);
  transition: all 0.3s;
}
.hero-btn-outline:hover { background: #fff; color: #111; border-color: #fff; }

/* Indicators */
.hero-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}

.hero-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 1.5px solid #fff;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}
.hero-dot.active { background: #fff; transform: scale(1.2); }

/* Progress bar */
.hero-progress {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: rgba(255,255,255,0.2);
  z-index: 5;
}

.hero-progress-bar {
  width: 0%;
  height: 100%;
  background: #fff;
  transition: width 0.1s linear;
}

/* ═══════════ SIGNATURE SPLIT BLOCKS ═══════════ */
.alessa-split-blocks {
  display: flex;
  width: 100%;
}

.split-block {
  flex: 1;
  position: relative;
  height: 800px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.split-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 1.2s ease;
}

.split-block:hover .split-bg {
  transform: scale(1.05);
}

.split-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.15);
  transition: background 0.5s ease;
}

.split-block:hover .split-overlay {
  background: rgba(0,0,0,0.4);
}

.split-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.split-block:hover .split-content {
  opacity: 1;
  transform: translateY(0);
}

.split-title {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 400;
  margin-bottom: 25px;
  line-height: 1.1;
  text-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.split-link {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 4px;
  transition: border-color 0.3s ease;
}

.split-link:hover {
  border-color: #fff;
}

@media (max-width: 1024px) {
  .alessa-split-blocks { flex-direction: column; }
  .split-block { height: 400px; }
}

/* ═══════════ CATEGORIES ═══════════ */
.alessa-categories {
  padding: 140px 0;
  background: #fafaf8;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.category-card-v2 {
  text-decoration: none;
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.category-card-v2:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.category-card-img {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}

.category-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.category-card-v2:hover .category-card-img img {
  transform: scale(1.08);
}

.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.1) 70%);
  transition: background 0.3s;
}

.category-card-v2:hover .category-card-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.2) 70%);
}

.category-card-info {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  padding: 20px 15px;
  color: #fff;
  z-index: 2;
}

.alessa-categories .categories-grid .category-card-v2 .category-card-info h3 {
  font-family: var(--font-display) !important;
  font-size: clamp(16px, 1.8vw, 22px) !important;
  color: #ffffff !important;
  font-weight: 300 !important;
  margin: 0 0 6px !important;
  letter-spacing: 3px !important;
  text-transform: uppercase !important;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8) !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.alessa-categories .categories-grid .category-card-v2 .category-card-info span {
  font-family: var(--font-body) !important;
  font-size: clamp(10px, 1.1vw, 12px) !important;
  color: #ffffff !important;
  opacity: 0.8 !important;
  letter-spacing: normal !important;
  font-weight: 400 !important;
  text-transform: none !important;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6) !important;
  display: block !important;
}

/* ═══════════ PRODUCT CAROUSEL ═══════════ */
.alessa-product-carousel {
  padding: 80px 0;
}

.alessa-bestsellers {
  background: #fafaf8;
}

.product-carousel-wrap {
  position: relative;
}

.product-carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding: 10px 0;
}

.product-carousel-track::-webkit-scrollbar { display: none; }

.product-carousel-track .product-card {
  min-width: calc(25% - 15px);
  scroll-snap-align: start;
  flex-shrink: 0;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.carousel-arrow:hover { background: #111; color: #fff; border-color: #111; }
.carousel-arrow svg { width: 20px; height: 20px; }

.carousel-prev { left: -24px; }
.carousel-next { right: -24px; }

/* ═══════════ LIFESTYLE BANNER ═══════════ */
.alessa-lifestyle-banner {
  position: relative;
  height: 550px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

@media (max-width: 768px) {
  .alessa-lifestyle-banner { height: 450px !important; }
}

.lifestyle-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
}

@media (max-width: 768px) {
  .lifestyle-bg { background-attachment: scroll !important; }
}

.lifestyle-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

.lifestyle-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 600px;
}

.lifestyle-eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 12px;
}

.alessa-lifestyle-banner .lifestyle-content .lifestyle-title {
  font-family: var(--font-display);
  font-size: 52px !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  line-height: 1.15;
  margin: 0 0 20px;
  text-shadow: 0 4px 15px rgba(0,0,0,0.6) !important;
}

.alessa-lifestyle-banner .lifestyle-content .lifestyle-subtitle {
  font-size: 18px !important;
  color: rgba(255,255,255,0.95) !important;
  line-height: 1.7;
  font-weight: 400 !important;
  margin-bottom: 35px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4) !important;
}

/* ═══════════ SERVICES ═══════════ */
.alessa-services {
  padding: 80px 0;
  border-top: 1px solid #eee;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.service-icon {
  width: 50px; height: 50px;
  margin: 0 auto 15px;
}

.service-icon svg {
  width: 100%;
  height: 100%;
  stroke: #B35E44;
}

.service-item h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  margin: 0 0 8px;
  color: #111;
}

.service-item p {
  font-size: 13px;
  color: #777;
  margin: 0;
  line-height: 1.6;
}

/* ═══════════ NEWSLETTER ═══════════ */
.alessa-newsletter {
  padding: 80px 0;
  background: #111;
  color: #fff;
}

.newsletter-inner {
  text-align: center;
  max-width: 550px;
  margin: 0 auto;
}

.newsletter-inner h2 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  margin: 0 0 10px;
}

.newsletter-inner p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 30px;
}

.newsletter-form {
  display: flex;
  gap: 0;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 16px 20px;
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  color: #fff;
  font-size: 14px;
  outline: none;
}

.newsletter-form input[type="email"]::placeholder { color: rgba(255,255,255,0.4); }

.newsletter-form button {
  padding: 16px 30px;
  background: #fff;
  color: #111;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
}
.newsletter-form button:hover { background: #B35E44; color: #fff; }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1024px) {
  .hero-title { font-size: 48px; }
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .product-carousel-track .product-card { min-width: calc(33.333% - 14px); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero-title { font-size: 36px; }
  .hero-slide-content { bottom: 60px; padding: 0 20px; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .category-card-img { aspect-ratio: 1/1; }
  .category-card-info h3 { font-size: 20px !important; }
  .product-carousel-track .product-card { min-width: 260px; }
  .product-carousel-track .product-card-img { aspect-ratio: 1/1; }
  .product-carousel-track .product-card-name { 
    white-space: normal !important; 
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    height: 2.8em !important;
  }
  .section-header { padding-top: 20px; }
  .section-header--between { flex-direction: column; align-items: flex-start; gap: 10px; }
  .carousel-prev { left: 5px; }
  .carousel-next { right: 5px; }
  .alessa-lifestyle-banner { height: 400px; }
  .lifestyle-title { font-size: 32px; }
  .services-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .newsletter-form { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 28px; }
  .categories-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product-carousel-track .product-card { min-width: 240px; }
  .hero-actions { flex-direction: column; gap: 10px; }
  .hero-actions a { text-align: center; }
}
