/* css/home.css - Styles specific to the Home Page */

.hero {
  height: 100vh;
  min-height: 650px;
  background: linear-gradient(rgba(5, 18, 15, 0.78), rgba(5, 18, 15, 0.85)), 
              url('https://picsum.photos/id/1015/2000/1200') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(212, 175, 119, 0.12), transparent 70%);
}

.hero-content {
  max-width: 920px;
  padding: 0 20px;
  z-index: 2;
}

.hero-title {
  font-size: clamp(2.8rem, 6.5vw, 4.8rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.4rem;
  color: #f4f4f4;
  text-shadow: 0 4px 25px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
  font-size: 1.35rem;
  max-width: 720px;
  margin: 0 auto 2.8rem;
  opacity: 0.95;
  color: #e0e0e0;
}

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

.hero-buttons .btn {
  padding: 16px 36px;
  font-size: 1.1rem;
  min-width: 200px;
}

.primary {
  background: #d4af77;
  color: #05120f;
}

.primary:hover {
  background: #10b981;
  color: white;
  transform: translateY(-3px);
}

.secondary {
  background: transparent;
  border: 2px solid #d4af77;
  color: #d4af77;
}

.secondary:hover {
  background: #d4af77;
  color: #05120f;
}

/* Why Choose SEGO */
.section.featured {
  background-color: #05120f;
  padding: 100px 5% 80px;
}

.section-title {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 3.5rem;
  color: #d4af77;
  font-weight: 600;
}

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

.feature-card {
  background: #0a1f1b;
  padding: 45px 30px;
  border-radius: 16px;
  text-align: center;
  transition: all 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(212, 175, 119, 0.15);
}

.feature-card i {
  margin-bottom: 1.8rem;
  display: block;
}

.feature-card h3 {
  font-size: 1.55rem;
  margin-bottom: 1rem;
}

/* Products Teaser Section */
.section.products-teaser {
  background: #04100d;
  padding: 90px 5% 100px;
}

.teaser-text {
  text-align: center;
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 45px;
  opacity: 0.9;
}

.teaser-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
  max-width: 1300px;
  margin: 0 auto;
}

.product-card {
  background: #0a1f1b;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  transition: transform 0.4s ease;
}

.product-card:hover {
  transform: translateY(-10px);
}

.card-image {
  height: 240px;
  overflow: hidden;
  position: relative;
}

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

.product-card:hover .card-image img,
.product-card:hover .card-image video {
  transform: scale(1.08);
}

.card-content {
  padding: 26px;
}

.card-content h3 {
  font-size: 1.35rem;
  margin-bottom: 18px;
  line-height: 1.3;
}

/* Price & Location - Separate lines with Font Awesome icons from Cloudflare */
.card-meta {
  margin: 18px 0 16px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-weight: 600;
  font-size: 1.15rem;
}

.meta-item:last-child {
  margin-bottom: 0;
}

.price {
  color: #d4af77;
}

.location {
  color: #10b981;
}

.description {
  font-size: 1.02rem;
  opacity: 0.88;
  margin-bottom: 22px;
  line-height: 1.5;
}

.whatsapp-btn {
  width: 100%;
  background: #25D366;
  color: white;
  border: none;
  padding: 14px;
  border-radius: 50px;
  font-size: 1.08rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
}

.whatsapp-btn:hover {
  background: #20ba5a;
  transform: scale(1.03);
}

/* View All Button */
.view-all-container {
  text-align: center;
  margin-top: 55px;
}

.view-all-container .large {
  font-size: 1.32rem;
  padding: 18px 52px;
}

/* Video Speaker Button */
.video-wrapper {
  position: relative;
}

.speaker-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0,0,0,0.65);
  color: white;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
}

/* Carousel */
.carousel-section {
  background: #04100d;
  padding: 80px 5%;
}

.carousel-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 16px;
}

.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
  min-width: 100%;
  position: relative;
}

.carousel-slide img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(5,18,15,0.9));
  padding: 30px 25px 25px;
  color: white;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 20;
}

.carousel-btn:hover {
  background: #d4af77;
  color: #05120f;
}

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

/* Responsive */
@media (max-width: 768px) {
  .hero-title { font-size: 2.7rem; }
  .teaser-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .carousel-btn { width: 44px; height: 44px; font-size: 1.2rem; }
}