/*
 Theme Name:   GeneratePress Child
 Template:     generatepress
 Description:  Custom Child Theme for SongSubtext
 Author:       WPCodeQuill
 Version:      1.0.0
*/

/* =========================================
   WPCQ HOMEPAGE STYLES
   ========================================= */

/* --- 1. HERO SECTION --- */
.wpcq-home-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); /* Premium Dark Blue */
    padding: 100px 20px;
    text-align: center;
    color: #ffffff;
    margin-bottom: 50px;
}

.wpcq-hero-container {
    max-width: 800px;
    margin: 0 auto;
}

.wpcq-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: #ffffff;
    line-height: 1.1;
}

.wpcq-hero-subtitle {
    font-size: 1.25rem;
    color: #cbd5e1; /* Light Grey */
    margin-bottom: 40px;
    font-weight: 400;
}

/* --- 2. SEARCH BAR (The "Tech" Look) --- */
.wpcq-main-search {
    max-width: 600px;
    margin: 0 auto;
}

.search-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input-group input.search-field {
    width: 100%;
    padding: 20px 30px;
    border-radius: 60px;
    border: none;
    font-size: 18px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2); /* Deep Shadow */
    outline: none;
    padding-right: 140px; /* Space for button */
}

.search-input-group button.search-submit {
    position: absolute;
    right: 6px;
    top: 6px;
    bottom: 6px;
    background-color: #0073aa; /* Brand Blue */
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0 30px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-input-group button.search-submit:hover {
    background-color: #005a87;
}

/* --- 3. SONGS GRID --- */
.wpcq-latest-section {
    padding-bottom: 60px;
}

.section-heading {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: #1e293b;
}

.wpcq-song-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); /* Responsive Columns */
    gap: 30px;
    padding: 0 20px;
}

/* --- 4. SONG CARD --- */
.song-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}

.song-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.song-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #f1f5f9;
}

.song-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.song-card:hover .song-card-image img {
    transform: scale(1.05); /* Zoom effect */
}

.song-cat-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.song-card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.song-card-content h3 {
    margin: 0 0 15px 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.4;
}

.read-more-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0073aa;
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
    .wpcq-hero-title { font-size: 2.5rem; }
    .search-input-group button.search-submit { padding: 0 20px; font-size: 14px; }
}