/* ==========================================
   PERAHUZUR VENTURES LIMITED - LUXURY THEME
   C:\Users\LENOVO\Desktop\PERAHUZUR\frontend\css\main.css
   ========================================== */

:root {
  --bg-primary: #080808;
  --bg-secondary: #121212;
  --bg-card: #161616;
  --gold-primary: #d4af37;
  --gold-light: #f3e5ab;
  --gold-dark: #aa820a;
  --accent-red: #8b0000;
  --accent-crimson: #a91d22;
  --text-main: #f5f5f5;
  --text-muted: #b0b0b0;
  --border-gold: rgba(212, 175, 55, 0.3);
  --transition: all 0.3s ease;
}

/* ==========================================
   FEATURED SECTIONS & SCROLL ANIMATIONS (MVP)
   ========================================== */

.feature-section {
  padding: 80px 20px;
  /* A soft, balanced wine-red and dark black ambient glow */
  background: radial-gradient(circle at center, #1f0c0f 0%, #12080a 50%, var(--bg-primary) 85%);
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
  overflow: hidden;
  position: relative;
}

.feature-row {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 50px;
  justify-content: space-between;
}

/* Reverse layout for alternating sections */
.feature-row.reverse {
  flex-direction: row-reverse;
}

.feature-text {
  flex: 1;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
  animation-timeline: view();
  animation-range: entry 20% cover 40%;
}

.feature-image {
  flex: 1;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-gold);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: scale(0.95);
  animation: scaleIn 0.8s ease forwards;
  animation-timeline: view();
  animation-range: entry 20% cover 40%;
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.feature-image:hover img {
  transform: scale(1.03);
}

.feature-text h3 {
  font-size: 2rem;
  color: var(--text-main);
  margin: 15px 0 20px 0;
}

.feature-text p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 25px;
}

/* Keyframe animations for scroll feel */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Responsive design for tablets and phones */
@media (max-width: 992px) {
  .feature-row, .feature-row.reverse {
    flex-direction: column;
    gap: 30px;
  }
  
  /* Forces text to appear first on mobile */
  .feature-row .feature-text {
    order: 1;
  }

  /* Forces image to appear second on mobile (below text, above button) */
  .feature-row .feature-image {
    order: 2;
    width: 100%;
  }

  .feature-text h3 {
    font-size: 1.6rem;
  }
}