/* --- style.css (Premium Refactor) --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: #f8f8f8; /* Light gray background */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* --- Header & Navigation --- */
header {
    background: #111827; /* Dark header */
    padding: 15px 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky; /* Sticky header for premium feel */
    top: 0;
    z-index: 100;
}

header h1 {
    color: #f3f4f6;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

/* --- Generator Specific Styles --- */

.colors-container {
    display: flex;
    flex-grow: 1;
    width: 100%;
}

.color-col {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    flex: 1;
    transition: all 0.4s ease;
    position: relative;
    user-select: none;
}

.color-col h2 {
    font-size: 1.2rem;
    font-weight: 700;
    padding: 8px 12px;
    border-radius: 4px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5); 
    transition: color 0.4s;
    cursor: copy;
}

.lock-btn {
    background: rgba(255, 255, 255, 0.2); /* Semi-transparent white */
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s;
}
.lock-btn:hover { background: rgba(255, 255, 255, 0.4); transform: scale(1.05); }

/* --- Control Panel (Panel) --- */
.panel {
    background: white;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    gap: 15px;
    min-height: 150px;
}

.control-group {
    display: flex;
    gap: 10px;
    width: 100%;
    max-width: 500px;
    align-items: center;
}

.control-group label {
    font-weight: 600;
    color: #4b5563;
    flex-shrink: 0;
}

.control-group input {
    flex-grow: 1;
    padding: 10px 15px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.control-group input:focus {
    border-color: #3b82f6;
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.generate-btn {
    padding: 12px 30px;
    font-size: 1rem;
    background: #ef4444; /* Primary CTA Red */
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.3);
    transition: all 0.2s;
}
.generate-btn:hover { background: #dc2626; transform: translateY(-1px); }

.instruction { color: #6b7280; font-size: 0.9rem; margin-top: 5px; }

/* --- Homepage Specific Styles --- */

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 80px 20px;
    gap: 20px;
    flex-grow: 1;
}

.hero h2 {
    font-size: 2.8rem;
    color: #1f2937;
    margin-bottom: 10px;
    font-weight: 800;
}

.hero p {
    color: #4b5563;
    font-size: 1.15rem;
    max-width: 700px;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* --- Utilities --- */
.text-accent { color: #ef4444; }


/* Mobile Styles */
@media (max-width: 600px) {
    header h1 { font-size: 1.4rem; }
    .hero h2 { font-size: 2rem; }
    .hero p { font-size: 1rem; }
    .control-group { flex-direction: column; }
    .control-group label { align-self: flex-start; }
}
