/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

/* Header Styles */
header {
    background: #000000;
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header h1 {
    text-align: center;
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
    letter-spacing: 1px;
}

header p {
    text-align: center;
    font-size: 1rem;
    opacity: 0.95;
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.logo {
    display: block;
    margin: 0 auto 1rem auto;
    max-width: 150px;
    height: auto;
}

.form-section {
    padding: 2rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.form-section h2 {
    color: #D4AF37;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    border-bottom: 3px solid #6B1B3F;
    padding-bottom: 0.5rem;
}

/* Form Groups */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #D4AF37;
    box-shadow: 0 0 5px rgba(212, 175, 55, 0.3);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.product-option {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 6px;
    background: #f9f9f9;
    transition: all 0.3s ease;
}

.product-option:hover {
    border-color: #D4AF37;
    background: #f5e8dc;
}

.product-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #D4AF37;
}

.product-option label {
    margin: 0;
    font-weight: 500;
    cursor: pointer;
}

.product-option input[type="number"] {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
}

.product-option input[type="number"]:focus {
    outline: none;
    border-color: #D4AF37;
}

/* File Upload Area */
.file-drop-area {
    border: 3px dashed #D4AF37;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    background-color: #faf6f0;
    transition: all 0.3s ease;
}

.file-drop-area:hover {
    border-color: #6B1B3F;
    background-color: #f5e8dc;
}

.file-drop-area.highlight {
    border-color: #6B1B3F;
    background-color: #f5e8dc;
    box-shadow: 0 0 10px rgba(107, 27, 63, 0.3);
}

.drop-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.file-drop-area p {
    margin: 0;
    color: #D4AF37;
    font-weight: 500;
}

/* Files List */
.files-list {
    margin-top: 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 1rem;
    background-color: #f9f9f9;
}

.no-files {
    text-align: center;
    color: #999;
    padding: 1rem;
    margin: 0;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    background: white;
    border: 1px solid #eee;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.file-name {
    flex: 1;
    font-weight: 500;
    color: #333;
}

.file-size {
    margin: 0 1rem;
    color: #999;
    font-size: 0.85rem;
}

.remove-file {
    background: none;
    border: none;
    color: #e74c3c;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.25rem 0.5rem;
    transition: color 0.3s ease;
}

.remove-file:hover {
    color: #c0392b;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 1rem;
    background: #D4AF37;
    color: #1a1a1a;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(212, 175, 55, 0.5);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Footer Styles */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
}

footer p {
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    main {
        padding: 1rem;
    }

    .form-section {
        padding: 1.5rem;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .file-drop-area {
        padding: 1.5rem;
    }

    .drop-icon {
        font-size: 2rem;
    }

    .file-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .file-size {
        margin: 0.5rem 0;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.5rem;
    }

    main {
        padding: 0.5rem;
    }

    .form-section {
        padding: 1rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .file-drop-area {
        padding: 1rem;
    }

    .drop-icon {
        font-size: 1.5rem;
    }
}
