/* Clothing Builder CSS - Orange-Purple Theme */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #e96443 0%, #904e95 100%);
    padding: 20px;
    min-height: 100vh;
}

/* Navigation Bar */
.main-nav {
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 30px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}

.main-nav a {
    color: #e96443;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s;
}

.main-nav a:hover {
    background: #f0f0f0;
    color: #904e95;
}

.main-nav a.active {
    background: linear-gradient(135deg, #e96443 0%, #904e95 100%);
    color: white;
}
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            background: white;
            border-radius: 12px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.2);
            overflow: hidden;
        }
        
        .header {
            background: linear-gradient(135deg, #e96443 0%, #904e95 100%);
            color: white;
            padding: 30px;
            text-align: center;
        }
        
        .header h1 {
            font-size: 2em;
            margin-bottom: 10px;
        }
        
        .header p {
            opacity: 0.9;
            font-size: 1.1em;
        }
        
        .content {
            padding: 30px;
        }
        
        .preset-section {
            background: linear-gradient(135deg, #fff5f3 0%, #f8e8ff 100%);
            padding: 25px;
            border-radius: 8px;
            margin-bottom: 30px;
            border: 2px solid #e96443;
        }
        
        .preset-section h2 {
            color: #904e95;
            margin-bottom: 15px;
            font-size: 1.4em;
        }
        
        .preset-buttons {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
            gap: 10px;
            margin-top: 15px;
        }
        
        .preset-btn {
            padding: 12px 16px;
            background: white;
            border: 2px solid #e96443;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.3s;
            font-size: 0.95em;
            font-weight: 600;
            color: #904e95;
            text-align: center;
        }
        
        .preset-btn:hover {
            background: #e96443;
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(233, 100, 67, 0.3);
        }
        
        .preset-btn.active {
            background: #904e95;
            color: white;
            border-color: #904e95;
        }
        
        .section {
            margin-bottom: 30px;
            border: 2px solid #e0e0e0;
            border-radius: 8px;
            overflow: hidden;
        }
        
        .section-header {
            background: linear-gradient(135deg, #e96443 0%, #904e95 100%);
            color: white;
            padding: 15px 20px;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            user-select: none;
        }
        
        .section-header:hover {
            background: linear-gradient(135deg, #d45539 0%, #7d4381 100%);
        }
        
        .section-header h2 {
            font-size: 1.3em;
        }
        
        .toggle-icon {
            font-size: 1.5em;
            transition: transform 0.3s;
        }
        
        .section-header.collapsed .toggle-icon {
            transform: rotate(-90deg);
        }
        
        .section-content {
            padding: 20px;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
            background: #f9f9f9;
        }
        
        .section-content.collapsed {
            display: none;
        }
        
        .form-group {
            display: flex;
            flex-direction: column;
        }
        
        .form-group label {
            font-weight: 600;
            margin-bottom: 8px;
            color: #333;
            font-size: 0.95em;
        }
        
        .form-group select,
        .form-group input[type="text"],
        .form-group input[type="color"] {
            padding: 10px;
            border: 2px solid #ddd;
            border-radius: 6px;
            font-size: 1em;
            transition: border-color 0.3s;
        }
        
        .form-group select:focus,
        .form-group input:focus {
            outline: none;
            border-color: #e96443;
        }
        
        .color-input-group {
            display: flex;
            gap: 10px;
            align-items: center;
        }
        
        .color-input-group input[type="color"] {
            width: 60px;
            height: 40px;
            padding: 2px;
            cursor: pointer;
        }
        
        .color-input-group input[type="text"] {
            flex: 1;
        }
        
        .output-section {
            margin-top: 40px;
            padding: 30px;
            background: linear-gradient(135deg, #fff5f3 0%, #f8e8ff 100%);
            border-radius: 8px;
        }
        
        .output-section h2 {
            margin-bottom: 15px;
            color: #904e95;
        }
        
        #generatedPrompt {
            width: 100%;
            min-height: 150px;
            padding: 15px;
            border: 2px solid #e96443;
            border-radius: 6px;
            font-size: 1em;
            font-family: 'Courier New', monospace;
            background: white;
            resize: vertical;
        }
        
        .button-group {
            margin-top: 15px;
            display: flex;
            gap: 10px;
        }
        
        .btn {
            padding: 12px 24px;
            border: none;
            border-radius: 6px;
            font-size: 1em;
            cursor: pointer;
            transition: all 0.3s;
            font-weight: 600;
        }
        
        .btn-primary {
            background: linear-gradient(135deg, #e96443 0%, #904e95 100%);
            color: white;
        }
        
        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(233, 100, 67, 0.4);
        }
        
        .btn-secondary {
            background: #e0e0e0;
            color: #333;
        }
        
        .btn-secondary:hover {
            background: #d0d0d0;
        }
        
        .full-width {
            grid-column: 1 / -1;
        }
        
        .subsection-title {
            grid-column: 1 / -1;
            font-size: 1.1em;
            font-weight: 700;
            color: #904e95;
            margin-top: 10px;
            padding-bottom: 5px;
            border-bottom: 2px solid #e0e0e0;
        }
        
        .info-box {
            grid-column: 1 / -1;
            background: #fff3cd;
            border: 2px solid #ffc107;
            border-radius: 6px;
            padding: 15px;
            color: #856404;
        }
        
        .info-box strong {
            display: block;
            margin-bottom: 5px;
        }
    
/* Responsive Design */
@media (max-width: 768px) {
    .main-nav {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .preset-buttons {
        grid-template-columns: 1fr;
    }
    
    .section-content {
        grid-template-columns: 1fr;
    }
    
    .button-group {
        flex-direction: column;
    }
}
