/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px 0;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

header p {
    font-size: 1.1rem;
    color: #7f8c8d;
}

/* Upload box styles */
.upload-box {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    text-align: center;
}

#photo-upload {
    display: none;
}

.drop-area {
    border: 2px dashed #3498db;
    border-radius: 8px;
    padding: 40px;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 20px;
}

.drop-area:hover {
    background-color: #f8f9fa;
    border-color: #2980b9;
}

.drop-area img {
    width: 80px;
    margin-bottom: 15px;
}

.drop-area p {
    color: #7f8c8d;
    font-size: 1.1rem;
}

.enhance-btn {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.enhance-btn:hover {
    background-color: #2980b9;
}

/* Features section */
.features {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.feature {
    flex: 1;
    min-width: 250px;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.feature h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.feature p {
    color: #7f8c8d;
}

/* Results page styles */
.results-container {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.image-comparison {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.image-box {
    flex: 1;
    min-width: 300px;
}

.image-box h3 {
    margin-bottom: 15px;
    color: #2c3e50;
    text-align: center;
}

.image-box img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.download-btn, .enhance-another-btn {
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
}

.download-btn {
    background-color: #2ecc71;
    color: white;
}

.download-btn:hover {
    background-color: #27ae60;
}

.enhance-another-btn {
    background-color: #3498db;
    color: white;
}

.enhance-another-btn:hover {
    background-color: #2980b9;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .image-comparison {
        flex-direction: column;
    }
    
    .actions {
        flex-direction: column;
        align-items: center;
    }
    
    .download-btn, .enhance-another-btn {
        width: 100%;
        text-align: center;
    }
}