/* ========================================================== */
/* ==== CLEANED CSS FOR palette-generator.css ==== */
/* ==== Ismein sirf is page ke zaroori styles hain. ==== */
/* ========================================================== */

/* ============== TOOL WRAPPER & HEADER ============== */
.tool-header {
    text-align: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
}
.tool-header h1 { font-size: 2.5rem; }
.tool-header p { color: var(--text-muted); }

/* ============== CONTROLS ============== */
.controls-section { text-align: center; padding-top: 1rem; }
.controls-section h2 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-weight: 600;
}
.color-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
#color-picker {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    cursor: pointer;
    background: transparent;
    padding: 4px;
}
#hex-input {
    font-family: 'Poppins', sans-serif;
    background-color: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-color);
    padding: 12px 15px;
    font-size: 1rem;
    text-align: center;
    width: 120px;
}

/* ============== PALETTES DISPLAY ============== */
#palettes-container { margin-top: 2.5rem; }
.palette-group { margin-bottom: 2.5rem; }
.palette-group h3 {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 1rem;
}
.color-strip {
    display: flex;
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}
.color-box {
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: flex 0.3s ease;
}
.color-box:hover { flex: 2; }
.hex-code {
    background: rgba(0,0,0,0.6);
    padding: 5px 8px;
    border-radius: 5px;
    color: #ffffff;
    font-size: 0.8rem;
    margin-bottom: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.color-box:hover .hex-code { opacity: 1; }
.palette-group-placeholder { text-align: center; color: var(--text-muted); padding: 2rem; }

/* ============== SEO GUIDE ============== */
.content-guide {
    margin-top: 4rem; /* Add some space above the guide */
}
.content-guide h2 { font-size: 2rem; margin-bottom: 1rem; }
.content-guide h3 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}