/* ===== HOMEPAGE STYLES - NAVY BLUE THEME ===== */

/* SEARCH BAR */
.search-bar-container {
  background: var(--bg-navy-dark);
  padding: 20px;
  position: sticky;
  top: 60px;
  z-index: 999;
  border-bottom: 2px solid var(--primary-orange);
}

.search-bar {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border-radius: 50px;
  padding: 5px;
  border: 2px solid var(--border-color);
}

.search-icon {
  font-size: 20px;
  padding: 0 15px;
}

.search-bar input {
  flex: 1;
  border: none;
  background: transparent;
  color: white;
  font-size: 16px;
  padding: 12px 10px;
  outline: none;
}

.search-bar input::placeholder {
  color: var(--text-gray);
}

.search-btn {
  background: var(--primary-orange);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.search-btn:hover {
  background: var(--secondary-orange);
}

/* HERO IMAGE SLIDER */
.hero-slider {
  position: relative;
  overflow: hidden;
  background: var(--bg-navy-dark);
}

.slider-container {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease;
}

.slide {
  min-width: 100%;
  height: 500px;
  position: relative;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
}

.slide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 10;
  width: 80%;
}

.slide-content h2 {
  font-size: 48px;
  margin-bottom: 15px;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
}

.slide-content h3 {
  font-size: 36px;
  margin-bottom: 12px;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
}

.slide-content p {
  font-size: 22px;
  margin-bottom: 25px;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.8);
}

.slide-btn {
  display: inline-block;
  background: var(--primary-orange);
  color: white;
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.slide-btn:hover {
  background: var(--secondary-orange);
  transform: scale(1.05);
}

.slide-btn-small {
  display: inline-block;
  background: var(--primary-orange);
  color: white;
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.slide-btn-small:hover {
  background: var(--secondary-orange);
  transform: scale(1.05);
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(232, 105, 51, 0.9);
  color: white;
  border: none;
  padding: 15px 20px;
  font-size: 24px;
  cursor: pointer;
  z-index: 20;
  transition: 0.3s;
  border-radius: 5px;
}

.slider-btn:hover {
  background: var(--primary-orange);
}

.slider-btn.prev {
  left: 20px;
}

.slider-btn.next {
  right: 20px;
}

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 20;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: 0.3s;
}

.dot.active {
  background: var(--primary-orange);
  width: 30px;
  border-radius: 10px;
}

/* CATEGORY PILLS */
.category-scroll-container {
  background: var(--bg-navy);
  padding: 20px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.category-pills {
  display: flex;
  gap: 12px;
  max-width: 1400px;
  margin: 0 auto;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 25px;
  background: var(--bg-card);
  color: white;
  border-radius: 50px;
  text-decoration: none;
  white-space: nowrap;
  border: 2px solid var(--border-color);
  transition: 0.3s;
  font-weight: 500;
}

.category-pill:hover,
.category-pill.active {
  background: var(--primary-orange);
  border-color: var(--primary-orange);
  transform: translateY(-2px);
}

/* AI QUIZ CTA */
.cta-section {
  background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
  padding: 40px 20px;
  text-align: center;
}

.btn-ai-test {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background: white;
  color: var(--primary-orange);
  padding: 20px 50px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 24px;
  font-weight: bold;
  transition: 0.3s;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.btn-ai-test:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.btn-icon {
  font-size: 32px;
}

.btn-arrow {
  font-size: 28px;
}

.cta-note {
  color: white;
  margin-top: 15px;
  font-size: 16px;
  opacity: 0.9;
}

/* SECTIONS */
.section {
  background: var(--bg-navy);
  padding: 80px 20px;
  text-align: center;
}

.section h2 {
  font-size: 40px;
  color: var(--primary-orange);
  margin-bottom: 15px;
}

.section-subtitle {
  color: var(--text-gray);
  font-size: 18px;
  margin-bottom: 50px;
}

.section.dark {
  background: var(--bg-navy-dark);
}

.btn-view-all {
  display: inline-block;
  background: var(--primary-orange);
  color: white;
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 40px;
  transition: 0.3s;
}

.btn-view-all:hover {
  background: var(--secondary-orange);
  transform: translateY(-3px);
}

/* WELLNESS SLIDER SECTION */
.wellness-slider-section {
  background: var(--bg-card);
  padding: 80px 20px;
  text-align: center;
}

.wellness-slider-section h2 {
  font-size: 40px;
  color: var(--primary-orange);
  margin-bottom: 15px;
}

.wellness-slider-section .slider-container {
  max-width: 1400px;
  margin: 40px auto 0;
  height: 400px;
}

.wellness-slider-section .slide {
  height: 400px;
}

/* FREE SEMINAR SECTION */
.seminar-section {
  background: var(--bg-card);
  padding: 80px 20px;
}

.seminar-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.seminar-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(232, 105, 51, 0.3);
}

.seminar-badge {
  background: var(--primary-orange);
  color: white;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 20px;
}

.seminar-content h2 {
  font-size: 36px;
  color: white;
  margin-bottom: 20px;
}

.seminar-content > p {
  font-size: 18px;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 30px;
}

.seminar-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.seminar-feature {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.feature-icon {
  background: var(--primary-orange);
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
}

.seminar-feature h4 {
  color: white;
  font-size: 18px;
  margin-bottom: 5px;
}

.seminar-feature p {
  color: var(--text-gray);
  font-size: 15px;
}

.seminar-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  background: var(--primary-orange);
  color: white;
  padding: 18px 40px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.btn-primary:hover {
  background: var(--secondary-orange);
  transform: translateY(-3px);
}

.btn-secondary-outline {
  display: inline-block;
  background: transparent;
  color: var(--primary-orange);
  padding: 18px 40px;
  border: 2px solid var(--primary-orange);
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.btn-secondary-outline:hover {
  background: var(--primary-orange);
  color: white;
}

/* ARTICLES SECTION */
.articles-section {
  background: var(--bg-navy-dark);
  padding: 80px 20px;
  text-align: center;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1400px;
  margin: 50px auto;
}

.article-card {
  background: var(--bg-card);
  border-radius: 15px;
  overflow: hidden;
  transition: 0.3s;
  cursor: pointer;
  border: 2px solid var(--border-color);
  text-align: left;
}

.article-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-orange);
  box-shadow: 0 10px 30px rgba(232, 105, 51, 0.3);
}

.article-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.3s;
}

.article-card:hover .article-image img {
  transform: scale(1.1);
}

.article-category {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--primary-orange);
  color: white;
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: bold;
}

.article-content {
  padding: 25px;
}

.article-content h3 {
  font-size: 20px;
  color: white;
  margin-bottom: 12px;
  line-height: 1.4;
}

.article-content p {
  color: var(--text-gray);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.article-meta {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: var(--text-gray);
}

.article-date,
.article-read {
  display: inline-block;
}

/* WHY BLUE FARM */
.mission-box {
  background: var(--bg-card);
  padding: 40px;
  border-radius: 15px;
  max-width: 900px;
  margin: 40px auto 60px;
  border: 2px solid var(--primary-orange);
}

.mission-box h3 {
  color: var(--primary-orange);
  font-size: 24px;
  margin-bottom: 20px;
}

.mission-box p {
  color: white;
  font-size: 18px;
  line-height: 1.8;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.why-card {
  background: var(--bg-card);
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  border: 2px solid var(--border-color);
  transition: 0.3s;
}

.why-card:hover {
  border-color: var(--primary-orange);
  transform: translateY(-5px);
}

.why-icon {
  font-size: 60px;
  margin-bottom: 20px;
}

.why-card h4 {
  color: white;
  font-size: 20px;
  margin-bottom: 10px;
}

.why-card p {
  color: var(--text-gray);
  font-size: 15px;
}

/* FOOTER */
footer {
  background: var(--bg-navy-dark);
  border-top: 2px solid var(--primary-orange);
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 40px 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.footer-section h4 {
  color: var(--primary-orange);
  margin-bottom: 20px;
  font-size: 18px;
}

.footer-section p,
.footer-section a {
  color: var(--text-gray);
  font-size: 15px;
  line-height: 2;
  text-decoration: none;
  display: block;
}

.footer-section a:hover {
  color: var(--primary-orange);
}

.footer-bottom {
  text-align: center;
  padding: 20px;
  border-top: 1px solid var(--border-color);
  color: var(--text-gray);
}

/* MOBILE RESPONSIVE */
@media(max-width: 768px) {
  .search-bar-container {
    padding: 15px 10px;
    top: 56px;
  }

  .search-bar {
    padding: 3px;
  }

  .search-bar input {
    font-size: 14px;
    padding: 10px 5px;
  }

  .search-btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  .slider-container {
    height: 300px;
  }

  .slide,
  .wellness-slider-section .slide {
    height: 300px;
  }

  .slide-content {
    width: 90%;
  }

  .slide-content h2 {
    font-size: 24px;
  }

  .slide-content h3 {
    font-size: 20px;
  }

  .slide-content p {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .slide-btn {
    padding: 12px 25px;
    font-size: 14px;
  }

  .slide-btn-small {
    padding: 10px 20px;
    font-size: 13px;
  }

  .slider-btn {
    padding: 8px 12px;
    font-size: 18px;
  }

  .slider-btn.prev {
    left: 10px;
  }

  .slider-btn.next {
    right: 10px;
  }

  .category-pills {
    padding: 0 10px;
  }

  .category-pill {
    padding: 10px 20px;
    font-size: 14px;
  }

  .btn-ai-test {
    font-size: 18px;
    padding: 15px 30px;
    gap: 10px;
  }

  .btn-icon {
    font-size: 24px;
  }

  .btn-arrow {
    font-size: 20px;
  }

  .cta-note {
    font-size: 14px;
  }

  .section {
    padding: 50px 15px;
  }

  .section h2 {
    font-size: 28px;
  }

  .section-subtitle {
    font-size: 15px;
  }

  .wellness-slider-section .slider-container {
    height: 300px;
  }

  .seminar-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .seminar-content h2 {
    font-size: 26px;
  }

  .seminar-content > p {
    font-size: 15px;
  }

  .seminar-actions {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary-outline {
    width: 100%;
    text-align: center;
  }

  .articles-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .article-image {
    height: 180px;
  }

  .article-content {
    padding: 20px;
  }

  .article-content h3 {
    font-size: 17px;
  }

  .mission-box {
    padding: 25px;
  }

  .mission-box h3 {
    font-size: 20px;
  }

  .mission-box p {
    font-size: 15px;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .why-card {
    padding: 30px 20px;
  }

  .why-icon {
    font-size: 48px;
  }

  .footer-content {
    padding: 40px 20px 20px;
    grid-template-columns: 1fr;
    gap: 30px;
  }
}