/* ========================================================
   HOME PAGE STYLES
   Separate file for personalized homepage
   ======================================================== */



/* ---------- CARD GRID ---------- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    padding: 15px;
    text-align: center;
    transition: transform 0.2s;
}

.card img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
}

.card-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 5px;
}

.card-subtitle {
    font-size: 0.9rem;
    color: #777;
}

/* Card hover effect */
.card:hover {
    transform: translateY(-5px);
}

/* ---------- SECTION HEADINGS ---------- */
.featured-section h2,
.trending-section h2,
.playlists-section h2,
.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #222;
    text-align: center;
}

/* ---------- CTA SECTION ---------- */
.cta-section {
    text-align: center;
    padding: 50px 20px;
    background-color: #67594D; /* light blue background for CTA */
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.cta-section .btn {
    margin: 5px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
    .card-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }

    .hero-section h1 {
        font-size: 2rem;
    }
}
