/* Path: /assets/css/home.css */
/* Purpose: Styles for homepage sections on Mage Hookah Lounge */

.hero {
  background: url('/assets/images/hero-bg.jpg') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 4rem 1rem;
}

.hero h1 {
  font-size: 2.5rem;
  color: #E1B929;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  color: #eee;
  margin-bottom: 2rem;
}

.hero-cta {
  background-color: #2180A2;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-size: 1.1rem;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.hero-cta:hover {
  background-color: #78A1BB;
}

.about-preview {
  background-color: #292727;
  color: #eee;
  padding: 3rem 1rem;
  text-align: center;
}

.about-preview h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #E1B929;
}

.split-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 3rem 1rem;
}

.split-section.reverse {
  flex-direction: row-reverse;
}

.split-image {
  flex: 1 1 45%;
}

.split-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.split-content {
  flex: 1 1 45%;
  color: #f5f5f5;
}

.split-content h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: #E1B929;
}

.section-link {
  display: inline-block;
  margin-top: 1rem;
  color: #78A1BB;
  font-weight: bold;
}

.section-link:hover {
  color: #fff;
}

.faq-preview {
  background-color: #391047;
  padding: 3rem 1rem;
  color: #eee;
}

.faq-preview h2 {
  color: #E1B929;
  font-size: 1.75rem;
  margin-bottom: 1rem;
  text-align: center;
}

.faq-preview ul {
  list-style: none;
  max-width: 800px;
  margin: 0 auto 1rem auto;
  padding: 0;
}

.faq-preview li {
  margin-bottom: 1rem;
}

.call-to-action {
  background-color: #2180A2;
  text-align: center;
  color: #fff;
  padding: 3rem 1rem;
}

.call-to-action h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.call-to-action p {
  margin-bottom: 2rem;
  color: #fff;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.cta-btn {
  background-color: #E1B929;
  padding: 0.75rem 1.25rem;
  border-radius: 6px;
  color: #000;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.cta-btn:hover {
  background-color: #fff;
}

.cta-btn.alt {
  background-color: #292727;
  color: #fff;
}

.cta-btn.alt:hover {
  background-color: #78A1BB;
}

/* Mobile Optimization */
@media (max-width: 768px) {
  .split-section {
    flex-direction: column;
    text-align: center;
  }

  .split-content {
    padding: 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }
}
