/* ============================================
   Nusrat Online - Homepage Styles
   ============================================ */

/* ============================================
   Hero Section
   ============================================ */
.homepage-hero {
  position: relative;
  background-image: url('/wp-content/uploads/2013/05/nusrat-live-radio.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.hero-overlay {
  background: rgba(255, 255, 255, 0.95);
  width: 100%;
  padding: 80px 20px;
}

.hero-content {
  color: #222;
}

.hero-title {
  font-size: 3.5em;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: none;
  color: #222;
}

.hero-subtitle {
  font-size: 1.5em;
  margin-bottom: 30px;
  text-shadow: none;
  color: #555;
  font-weight: 400;
}

.hero-buttons {
  margin-top: 30px;
}

.hero-buttons .btn {
  margin: 0 10px;
  padding: 12px 30px;
  font-size: 1.1em;
}

.hero-buttons .btn-primary {
  background-color: #8B2332 !important;
  color: #fff !important;
  border: none;
}

.hero-buttons .btn-primary:hover {
  background-color: #6B1629 !important;
}

.hero-buttons .btn-default {
  background-color: #fff !important;
  color: #8B2332 !important;
  border: 2px solid #8B2332;
}

.hero-buttons .btn-default:hover {
  background-color: #8B2332 !important;
  color: #fff !important;
}

/* ============================================
   Section Styles
   ============================================ */
.homepage-wrapper section {
  padding: 60px 0;
}

.section-header {
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 15px;
  color: #222;
}

.section-header .lead {
  font-size: 1.2em;
  color: #555;
}

/* Alternating section backgrounds */
.nusrat-101-section {
  background-color: #f9f9f9;
}

.latest-posts-section {
  background-color: #fff;
}

.news-feed-section {
  background-color: #f9f9f9;
}

.playlists-section {
  background-color: #fff;
}

.quick-links-section {
  background-color: #f9f9f9;
}

/* ============================================
   Nusrat 101 Cards
   ============================================ */
/* Grid layout now handled by Tailwind classes in HTML */

.nusrat-card {
  background: #fff;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.nusrat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.nusrat-card .card-icon {
  color: #8B2332;
  margin-bottom: 20px;
  text-align: center;
}

.nusrat-card h3 {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #222;
  text-align: center;
  font-weight: 700;
}

.nusrat-card .card-content {
  flex-grow: 1;
  margin-bottom: 20px;
}

.nusrat-card .btn {
  width: 100%;
  margin-top: auto;
}

/* Override Bootstrap button colors - use maroon theme */
.btn-primary,
.nusrat-card .btn-primary,
.btn.btn-primary {
  background-color: #8B2332 !important;
  border-color: #8B2332 !important;
  color: #fff !important;
}

.btn-primary:hover,
.nusrat-card .btn-primary:hover,
.btn.btn-primary:hover {
  background-color: #6B1629 !important;
  border-color: #6B1629 !important;
  color: #fff !important;
}

.btn-primary:focus,
.btn-primary:active {
  background-color: #6B1629 !important;
  border-color: #6B1629 !important;
}

.song-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.song-list li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.song-list li:last-child {
  border-bottom: none;
}

.timeline-highlights {
  margin: 20px 0;
}

.timeline-item {
  padding: 10px 0;
  border-left: 3px solid #8B2332;
  padding-left: 15px;
  margin-bottom: 15px;
}

.timeline-year {
  font-weight: 700;
  color: #8B2332;
  display: block;
  margin-bottom: 5px;
}

/* ============================================
   Blog Post Cards
   ============================================ */
/* Grid layout now handled by Tailwind classes in HTML */

.post-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.post-thumbnail {
  overflow: hidden;
  max-height: 200px;
}

.post-thumbnail img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.post-card:hover .post-thumbnail img {
  transform: scale(1.05);
}

.post-card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.post-title {
  font-size: 1.4em;
  margin-bottom: 10px;
}

.post-title a {
  color: #222;
  text-decoration: none;
}

.post-title a:hover {
  color: #8B2332;
}

.post-meta {
  color: #777;
  font-size: 0.9em;
  margin-bottom: 15px;
}

.post-excerpt {
  color: #555;
  margin-bottom: 15px;
  flex-grow: 1;
}

.read-more {
  color: #8B2332;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.read-more:hover {
  color: #6B1629;
  text-decoration: none;
}

/* ============================================
   News Feed
   ============================================ */
.news-item {
  background: #fff;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 20px;
  height: 100%;
}

.news-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.news-item h4 {
  font-size: 1.3em;
  margin-bottom: 10px;
}

.news-item h4 a {
  color: #222;
  text-decoration: none;
}

.news-item h4 a:hover {
  color: #8B2332;
}

.news-meta {
  color: #777;
  font-size: 0.9em;
  margin-bottom: 15px;
}

.news-date {
  font-weight: 600;
}

/* ============================================
   Playlists Section
   ============================================ */
.playlist-card {
  background: #fff;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.playlist-card h4 {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #222;
  font-weight: 700;
}

.playlist-description {
  color: #555;
  margin-bottom: 20px;
}

.playlist-description .badge {
  background-color: #8B2332;
  margin-right: 10px;
}

.playlist-embed {
  margin-top: 20px;
}

.playlist-image {
  width: 100%;
  border-radius: 4px;
  transition: transform 0.3s ease;
}

.playlist-image:hover {
  transform: scale(1.02);
}

/* ============================================
   Quick Links Grid
   ============================================ */
.quick-links-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.quick-link-card {
  background: #fff;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.quick-link-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  background-color: #8B2332;
  color: #fff;
  text-decoration: none;
}

.quick-link-card i {
  color: #8B2332;
  margin-bottom: 15px;
  transition: color 0.3s ease;
}

.quick-link-card:hover i {
  color: #fff;
}

.quick-link-card h4 {
  font-size: 1.3em;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.quick-link-card p {
  color: #555;
  transition: color 0.3s ease;
}

.quick-link-card:hover h4,
.quick-link-card:hover p {
  color: #fff;
}

/* ============================================
   Responsive Design
   ============================================ */

/* Tablets and below */
@media (max-width: 991px) {
  .hero-title {
    font-size: 2.5em;
  }
  
  .hero-subtitle {
    font-size: 1.2em;
  }
  
  .section-header h2 {
    font-size: 2em;
  }
  
  .nusrat-card h3 {
    font-size: 1.5em;
  }
}

/* Mobile devices */
@media (max-width: 767px) {
  .homepage-hero {
    min-height: 400px;
  }
  
  .hero-title {
    font-size: 2em;
  }
  
  .hero-subtitle {
    font-size: 1em;
  }
  
  .hero-buttons .btn {
    display: block;
    margin: 10px 0;
    width: 100%;
  }
  
  .homepage-wrapper section {
    padding: 40px 0;
  }
  
  .section-header {
    margin-bottom: 30px;
  }
  
  .section-header h2 {
    font-size: 1.8em;
  }
  
  .quick-links-grid {
    gap: 15px;
  }
  
  .nusrat-card,
  .post-card,
  .news-item,
  .playlist-card,
  .quick-link-card {
    margin-bottom: 15px;
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.5em;
  }
  
  .hero-subtitle {
    font-size: 0.9em;
  }
  
  .section-header h2 {
    font-size: 1.5em;
  }
  
  .nusrat-card,
  .post-card,
  .news-item,
  .playlist-card,
  .quick-link-card {
    padding: 20px;
  }
}

/* ============================================
   Utility Classes
   ============================================ */
.text-center {
  text-align: center;
}

.img-responsive {
  max-width: 100%;
  height: auto;
}
