body {
    min-height: 100vh;
    background: #f8fafc;
    padding: 100px 0 50px;
    color: #1e293b;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; width: 100%; box-sizing: border-box; }
header { text-align: center; margin-bottom: 50px; max-width: 900px; margin-left: auto; margin-right: auto; }
h1 {
    font-size: 3.5rem; 
    margin-bottom: 10px; 
    padding-top: 30px;
    letter-spacing: 1px;
    background: linear-gradient(to right, #2563eb, #14b8a6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.tagline { font-size: 1.3rem; color: #475569; font-weight: 500; margin-bottom: 20px; text-align: center; }
.header-intro { font-size: 1.1rem; color: #64748b; line-height: 1.8; margin-top: 15px; text-align: center; }

/* ✅ Added padding + background + rounded corners */
.category {
    margin-bottom: 60px;
    padding: 30px;              /* NEW */
    background: #ffffff;        /* NEW */
    border-radius: 16px;        /* NEW */
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    border: 1px solid #e2e8f0;
}

.category-title {
    font-size: 22px;
    margin-bottom: 25px;
    padding: 10px 20px;
    background: #f1f5f9;
    border-radius: 8px;
    display: inline-block;
    font-weight: bold;
    color: #2563eb;
    border: 1px solid #e2e8f0;
}

.palette {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.color-box {
    height: 160px;
    border-radius: 15px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    cursor: pointer;
    transition: 0.4s ease;
    position: relative;
    color: white;
    font-weight: bold;
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}

.color-box:hover, .cement-color-box:hover {
    transform: translateY(-10px);
}

.cement-color-box
{
    height: 160px;
    border-radius: 15px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    cursor: pointer;
    transition: 0.3s ease;
    position: relative;
    color: black;
    font-weight: bold;
}

.color-name {
    font-size: 16px;
}

.color-code {
    font-size: 13px;
    opacity: 0.9;
}

.copied {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.6);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    opacity: 0;
    transition: 0.3s;
}

.show {
    opacity: 1;
}

/* Custom Color Tester Styles */
.tester-container {
    display: flex;
    gap: 30px;
    margin-top: 20px;
    flex-wrap: wrap;
}
.color-controls {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
}
.color-controls label {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    cursor: pointer;
}
.color-controls input[type="radio"] {
    margin-right: 5px;
    transform: scale(1.2);
    cursor: pointer;
}
.color-controls input[type="color"] {
    width: 60px;
    height: 50px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    padding: 0;
    background: none;
}
.preview-area {
    flex: 2;
    min-width: 300px;
}
.main-wall {
    width: 100%;
    height: 250px;
    background-color: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: background-color 0.1s ease;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.05);
}
.accent-wall {
    width: 40%;
    height: 100%;
    background-color: #2563eb;
    position: absolute;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.1s ease;
    border-left: 2px solid rgba(0,0,0,0.1);
}
.wall-text {
    font-weight: bold;
    color: #1e293b;
    background: rgba(255, 255, 255, 0.8);
    padding: 5px 10px;
    border-radius: 6px;
    z-index: 1;
    pointer-events: none;
}

@media (max-width: 850px) {
    body { padding-top: 140px; padding-left: 0; padding-right: 0; }
    .container { padding: 0 15px; width: 100%; }
    h1 { font-size: 2.2rem; padding-top: 10px; margin-bottom: 10px; }
    .tagline { font-size: 1.1rem; margin-bottom: 15px; }
    .header-intro { font-size: 1rem; padding: 0; text-align: justify; }
    .category { padding: 20px; margin-bottom: 40px; }
    .category-title { font-size: 18px; margin-bottom: 15px; }
}