/* ========================================
   HOMEPAGE STYLES
   ======================================== */

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
  min-height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.55)),
              url('https://images.unsplash.com/photo-1506744038136-46273834b3fb?q=80&w=1400') center/cover;
  display: flex;
  align-items: center;
  position: relative;
  padding: 0 40px;
  margin-top: 0;
}

.hero-container {
  max-width: 1300px;
  margin: auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 50px;
  align-items: center;
}

/* ========================================
   HERO TEXT
   ======================================== */

.hero-text h1 {
  color: white;
  font-size: 64px;
  line-height: 1.1;
  margin-bottom: 25px;
}

.hero-text p {
  color: #e5e7eb;
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 35px;
  max-width: 700px;
}

/* ========================================
   HERO BUTTONS
   ======================================== */

.hero-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

/* ========================================
   HERO CARD
   ======================================== */

.hero-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(16px);
  padding: 30px;
  border-radius: 28px;
  color: white;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.hero-card h3 {
  margin-bottom: 25px;
  font-size: 24px;
  color: white;
}

.hero-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-info:last-child {
  border: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.hero-info span {
  color: #d1d5db;
  font-size: 14px;
}

.hero-info strong {
  font-size: 17px;
  color: white;
}

.hero-info-icon {
  font-size: 24px;
}

/* ========================================
   QUICK MENU SECTION
   ======================================== */

.quick-menu {
  max-width: 1300px;
  margin: -70px auto 80px;
  position: relative;
  z-index: 10;
  padding: 0 40px;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

.quick-card {
  display: block;
  background: white;
  padding: 35px 25px;
  border-radius: 28px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.07);
  transition: 0.3s;
  color: inherit;
  text-decoration: none;
}

.quick-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.quick-icon {
  width: 70px;
  height: 70px;
  margin: auto;
  margin-bottom: 20px;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  background: #eff6ff;
}

.quick-card h3 {
  margin-bottom: 12px;
  color: #111827;
  font-size: 20px;
}

.quick-card p {
  color: #6b7280;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 0;
}

/* ========================================
   SECTION TITLE
   ======================================== */

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 42px;
  color: #111827;
  margin-bottom: 15px;
}

.section-title p {
  color: #6b7280;
  max-width: 700px;
  margin: auto;
  line-height: 1.8;
}

/* ========================================
   NEWS SECTION
   ======================================== */

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.news-card {
  background: white;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.news-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.news-content {
  padding: 25px;
}

.news-content span {
  color: #2563eb;
  font-size: 14px;
  font-weight: 600;
}

.news-content h3 {
  margin: 15px 0;
  font-size: 22px;
  line-height: 1.5;
  color: #111827;
}

.news-content p {
  color: #6b7280;
  line-height: 1.8;
  font-size: 15px;
  margin-bottom: 15px;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  border-top: 1px solid #e5e7eb;
  font-size: 13px;
  color: #9ca3af;
}

.news-views {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ========================================
   RATING STARS
   ======================================== */

.rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.stars {
  display: flex;
  gap: 3px;
}

.stars .star {
  font-size: 18px;
  color: #e5e7eb;
  cursor: pointer;
  transition: 0.2s;
}

.stars .star.active {
  color: #fbbf24;
}

.stars .star:hover,
.stars .star.hover {
  color: #fbbf24;
}

.rating-count {
  font-size: 13px;
  color: #9ca3af;
}

/* ========================================
   PAGINATION
   ======================================== */

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 50px;
}

.pagination a,
.pagination span {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.3s;
}

.pagination a {
  background: white;
  color: #2563eb;
  border: 1px solid #e5e7eb;
}

.pagination a:hover {
  background: #2563eb;
  color: white;
  border-color: #2563eb;
}

.pagination span.active {
  background: #2563eb;
  color: white;
  cursor: default;
}

.pagination a:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ========================================
   RESPONSIVE HOMEPAGE
   ======================================== */

@media (max-width: 992px) {
  .hero {
    margin-top: 0;
    padding: 0 30px;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-text h1 {
    font-size: 48px;
  }
  
  .hero-card {
    max-width: 500px;
    margin: auto;
  }
  
  .quick-menu {
    padding: 0 30px;
    margin-bottom: 60px;
  }
  
  .section-title h2 {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 80vh;
    padding-top: 48px;
  }
  
  .hero-text h1 {
    font-size: 38px;
  }
  
  .hero-text p {
    font-size: 16px;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
  
  .quick-menu {
    margin: -50px auto 60px;
    padding: 0 20px;
  }
  
  .quick-grid {
    gap: 20px;
  }
  
  .quick-card {
    padding: 25px 20px;
  }
  
  .section-title {
    margin-bottom: 40px;
  }
  
  .section-title h2 {
    font-size: 28px;
  }
  
  .news-grid {
    gap: 25px;
  }
  
  .news-card img {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 60vh;
    padding: 20px;
  }
  
  .hero-text h1 {
    font-size: 28px;
  }
  
  .hero-text p {
    font-size: 14px;
  }
  
  .hero-card {
    padding: 20px;
  }
  
  .hero-info {
    flex-direction: column;
    gap: 15px;
  }
  
  .quick-menu {
    margin: -30px auto 40px;
    padding: 0 15px;
  }
  
  .quick-card {
    padding: 20px 15px;
  }
  
  .quick-icon {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }
  
  .section-title h2 {
    font-size: 24px;
  }
  
  .news-card img {
    height: 150px;
  }
  
  .news-content {
    padding: 15px;
  }
  
  .news-content h3 {
    font-size: 18px;
  }
}
