:root {
    --primary: #000957;
    --secondary: #38b6ff;
    --accent: #ffeb00;
    --light: #efefef;
    --dark: #2a2a2c;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

header {
    text-align: center;
    margin-bottom: 3rem;
}

h1 {
    font-family: 'Helvetica Now', sans-serif;
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.upload-section {
    margin-bottom: 2rem;
}

.upload-area {
    background: white;
    border: 2px dashed var(--primary);
    border-radius: 12px;
    padding: 3rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-area:hover {
    background: rgba(0, 9, 87, 0.05);
    border-color: var(--secondary);
}

.upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.upload-icon {
    width: 48px;
    height: 48px;
    fill: var(--primary);
    transition: transform 0.3s ease;
}

.upload-area:hover .upload-icon {
    transform: scale(1.1);
}

.sub-text {
    color: #666;
    font-size: 0.9rem;
}

.preview-section {
    margin-bottom: 2rem;
    display: none;
}

.image-preview {
    max-width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.image-preview img {
    width: 100%;
    height: auto;
    display: block;
}

.colors-section {
    display: none;
    animation: fadeIn 0.5s ease;
}

.colors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.color-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.color-card:hover {
    transform: translateY(-5px);
}

.color-preview {
    width: 100%;
    height: 100px;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.color-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.color-code {
    font-family: monospace;
    font-size: 0.9rem;
    padding: 0.5rem;
    background: var(--light);
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.color-code:hover {
    background: #e0e0e0;
}

.copy-tooltip {
    position: absolute;
    background: var(--dark);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.8rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.copy-tooltip.show {
    opacity: 1;
}

footer {
    text-align: center;
    margin-top: 3rem;
    color: #666;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    .upload-area {
        padding: 2rem;
    }

    .colors-grid {
        grid-template-columns: 1fr;
    }
} 