/* Custom Resume Builder Styles */

/* Global Styles */
body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Navbar Styles */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Card Styles */
.card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

.card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 1.5rem;
}

.card-header h4 {
    font-weight: 600;
    margin: 0;
}

/* Form Styles */
.form-label {
    font-weight: 500;
    color: #495057;
    font-size: 0.95rem;
}

.form-control {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.form-control::placeholder {
    color: #adb5bd;
}

/* Section Headers */
h5.text-primary {
    font-weight: 600;
    border-left: 4px solid #667eea;
    padding-left: 1rem;
    margin-top: 2rem !important;
}

/* Experience/Education Items */
.experience-item,
.education-item {
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.experience-item:hover,
.education-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.btn-outline-primary {
    border: 2px solid #667eea;
    color: #667eea;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

.btn-success {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    border: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(17, 153, 142, 0.4);
}

/* Resume Preview Styles */
.resume-container {
    border-radius: 15px;
}

.resume-header {
    padding: 2rem 0;
}

.resume-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.resume-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: #764ba2;
}

.resume-contact span {
    font-size: 0.95rem;
    color: #6c757d;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.resume-contact i {
    color: #667eea;
}

.resume-social a {
    color: #667eea;
    font-weight: 500;
    transition: color 0.3s ease;
}

.resume-social a:hover {
    color: #764ba2;
}

.resume-section-title {
    font-weight: 600;
    color: #667eea;
    border-bottom: 3px solid #667eea;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.resume-item-title {
    font-weight: 600;
    color: #212529;
    font-size: 1.1rem;
}

.resume-item-subtitle {
    font-weight: 500;
    color: #6c757d;
}

.resume-item-date {
    font-size: 0.85rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
}

.resume-item-description {
    color: #495057;
    line-height: 1.7;
}

.resume-summary {
    line-height: 1.8;
    color: #495057;
}

/* Skills and Languages Badges */
.badge {
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.badge.bg-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

.badge.bg-info.text-dark {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%) !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .resume-name {
        font-size: 2rem;
    }
    
    .resume-title {
        font-size: 1.25rem;
    }
    
    .resume-contact {
        font-size: 0.85rem;
    }
    
    .btn-lg {
        padding: 0.6rem 1.2rem;
        font-size: 1rem;
    }
}

/* Animation for form sections */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.experience-item,
.education-item {
    animation: fadeIn 0.5s ease-out;
}

/* Remove button styles */
.remove-btn {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.remove-btn:hover {
    background: #c82333;
    transform: scale(1.05);
}

/* Form validation styles */
.form-control:invalid {
    border-color: #dc3545;
}

.form-control:valid {
    border-color: #28a745;
}

/* Print styles override */
@media print {
    body {
        background: white !important;
    }
    
    .resume-container {
        box-shadow: none !important;
        border: none !important;
    }
}
