/* ==========================================================================
   HOME.CSS - Homepage Styling
   ========================================================================== */

/* ---------- HERO SECTION ---------- */
.hero {
  position: relative;
  height: 85vh;
  min-height: 600px;
  background: 
    linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)),
    url('/images/banners/hero-bg.jpg') center center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,0.8) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  padding: 0 20px;
}

.hero-title {
  font-size: 64px;
  font-weight: 800;
  color: #ffd700;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 20px;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.5), 0 4px 10px rgba(0, 0, 0, 0.8);
  line-height: 1.1;
}

.hero-title span {
  color: #fff;
  display: inline-block;
}

.hero-tagline {
  font-size: 18px;
  line-height: 1.6;
  color: #ddd;
  margin-bottom: 35px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.hero-tagline strong {
  color: #ffd700;
  font-weight: 600;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- BUTTONS ---------- */
.btn.gold {
  background: linear-gradient(180deg, #ffd700 0%, #c6a600 100%);
  color: #111;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.btn.gold:hover {
  background: linear-gradient(180deg, #ffec7a 0%, #d1a800 100%);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.btn.dark {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn.dark:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffd700;
  transform: translateY(-3px);
}

.btn.large {
  padding: 16px 40px;
  font-size: 15px;
}

/* ---------- PULSE ANIMATION ---------- */
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.pulse {
  animation: pulse 2s ease-in-out infinite;
}

.pulse:hover {
  animation: none;
}

/* ---------- FEATURES SECTION ---------- */
.features {
  padding: 80px 20px;
  background: linear-gradient(180deg, #0a0a0a 0%, #151515 100%);
  text-align: center;
}

.section-title {
  font-size: 36px;
  color: #ffd700;
  margin-bottom: 50px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid #222;
  border-radius: 10px;
  padding: 35px 25px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
  transition: left 0.5s ease;
}

.feature:hover::before {
  left: 100%;
}

.feature:hover {
  border-color: #ffd700;
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.2);
}

.feature .icon {
  font-size: 48px;
  margin-bottom: 20px;
  filter: grayscale(0.3);
  transition: all 0.3s ease;
}

.feature:hover .icon {
  filter: grayscale(0);
  transform: scale(1.1);
}

.feature h3 {
  font-size: 20px;
  color: #ffd700;
  margin-bottom: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.feature p {
  font-size: 13px;
  color: #bbb;
  line-height: 1.6;
}

/* ---------- QUOTE SECTION ---------- */
.quote {
  position: relative;
  padding: 100px 20px;
  background: 
    linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85)),
    url('/images/banners/quote-bg.jpg') center center/cover fixed;
  text-align: center;
  color: #fff;
}

.quote-inner {
  max-width: 800px;
  margin: 0 auto;
}

.quote-text {
  font-size: 28px;
  font-style: italic;
  line-height: 1.6;
  color: #ffd700;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
  font-weight: 300;
  letter-spacing: 0.5px;
}

.quote-author {
  font-size: 14px;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
}

/* ---------- PREVIEW SECTION ---------- */
.preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
}

.preview-text h2 {
  font-size: 38px;
  color: #ffd700;
  margin-bottom: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.preview-text p {
  font-size: 15px;
  line-height: 1.8;
  color: #bbb;
  margin-bottom: 25px;
}

.preview-text strong {
  color: #ffd700;
  font-weight: 600;
}

.preview-image {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.preview-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
  filter: brightness(0.9) contrast(1.1);
}

.preview-image:hover img {
  transform: scale(1.05);
}

/* ---------- ANIMATIONS ---------- */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 1s ease-out;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-in-left {
  animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-in-right {
  animation: slideInRight 0.8s ease-out;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 52px;
  }

  .preview {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .preview-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  .hero {
    height: 70vh;
    min-height: 500px;
  }

  .hero-title {
    font-size: 40px;
    letter-spacing: 2px;
  }

  .hero-tagline {
    font-size: 15px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .btn.large {
    width: 100%;
    max-width: 300px;
  }

  .section-title {
    font-size: 28px;
  }

  .features {
    padding: 60px 15px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .quote {
    padding: 60px 20px;
  }

  .quote-text {
    font-size: 20px;
  }

  .preview {
    margin: 50px auto;
    gap: 30px;
  }

  .preview-text h2 {
    font-size: 28px;
  }

  .preview-text p {
    font-size: 14px;
  }
}

@media (max-width: 500px) {
  .hero-title {
    font-size: 32px;
  }

  .hero-tagline {
    font-size: 14px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 12px;
  }

  .section-title {
    font-size: 24px;
  }

  .feature {
    padding: 25px 20px;
  }

  .quote-text {
    font-size: 18px;
  }
}