/* Sell Page Styles */
.sell-page {
    min-height: 100vh;
}

.sell-hero {
    background: #f8f9fa;
    color: #2c3e50;
    padding: 120px 0 80px;
    text-align: center;
}

.sell-hero-content h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.sell-hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: #6c757d;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.hero-features .feature {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.hero-features .feature i {
    font-size: 1.5rem;
    color: #007bff;
}

/* Form Section */
.sell-form-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.sell-content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
    align-items: start;
}

.form-side {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
}

.form-header {
    text-align: left;
    margin-bottom: 2.5rem;
}

.form-header h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.form-header p {
    font-size: 1.1rem;
    color: #6c757d;
}

/* Form Styles */
.sell-form {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-section {
    margin-bottom: 2.5rem;
}

.form-section h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.form-section h3 i {
    color: #007bff;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #495057;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

/* Property Type Grid */
.property-type-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.property-type-card {
    position: relative;
    cursor: pointer;
}

.property-type-card input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.property-type-card .card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    padding: 1.5rem;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-align: center;
}

.property-type-card .card-content i {
    font-size: 2rem;
    color: #6c757d;
}

.property-type-card input[type="radio"]:checked + .card-content {
    border-color: #007bff;
    background: #f8f9ff;
}

.property-type-card input[type="radio"]:checked + .card-content i {
    color: #007bff;
}

/* Amenities Grid */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.amenity-checkbox {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.amenity-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 4px;
    position: relative;
}

.amenity-checkbox input[type="checkbox"]:checked + .checkmark {
    background: #007bff;
    border-color: #007bff;
}

.amenity-checkbox input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
}

.amenity-checkbox:hover {
    border-color: #007bff;
    background: #f8f9ff;
}

/* Image Upload */
.image-upload {
    border: 2px dashed #ccc;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.upload-area {
    cursor: pointer;
}

.upload-area i {
    font-size: 3rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

.upload-area p {
    margin-bottom: 0.5rem;
}

.upload-area span {
    color: #007bff;
    font-weight: 600;
}

.upload-area input[type="file"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.image-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.preview-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1;
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-item .remove-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(255, 0, 0, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    cursor: pointer;
    font-size: 12px;
}

/* Submit Button */
.form-submit {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.submit-btn {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin: 0 auto 1rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.submit-note {
    font-size: 0.9rem;
    color: #6c757d;
}

.submit-note a {
    color: #007bff;
    text-decoration: none;
}

/* Benefits Sidebar */
.benefits-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
}

.benefit-card i {
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 1rem;
}

.benefit-card h4 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 0.8rem;
}

.benefit-card p {
    color: #6c757d;
    line-height: 1.6;
}

/* Success Stories */
.success-stories {
    padding: 80px 0;
    background: white;
}

.success-stories h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 3rem;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.story-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.story-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.story-content h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.story-content p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.sale-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sale-info .price {
    font-weight: 700;
    color: #28a745;
    font-size: 1.1rem;
}

.sale-info .time {
    background: #007bff;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
}

/* Active navigation link */
.nav-menu a.active {
    color: #007bff !important;
    font-weight: 600;
}

/* Benefits Sidebar */
.benefits-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-header {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px;
}

.sidebar-header h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.sidebar-header p {
    opacity: 0.9;
    margin: 0;
    font-size: 0.95rem;
}

.benefit-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #28a745, #20c997);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-icon i {
    color: white;
    font-size: 1.4rem;
}

.benefit-content h4 {
    color: #1a365d;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.benefit-content p {
    color: #4a5568;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.stats-card {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f4fd 100%);
    padding: 1.5rem;
    border-radius: 15px;
    border: 2px solid #e2e8f0;
}

.stats-card h4 {
    color: #1a365d;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.stat-item {
    text-align: center;
    padding: 0.75rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.stat-number {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8rem;
    color: #4a5568;
    font-weight: 500;
}

.contact-card {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
}

.contact-card h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-method {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.75rem;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease;
}

.contact-method:hover {
    background: rgba(255, 255, 255, 0.3);
}

.contact-method i {
    font-size: 1rem;
}

/* Submit Buttons */
.submit-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.valuation-btn {
    flex: 1;
    background: linear-gradient(135deg, #17a2b8, #138496);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(23, 162, 184, 0.3);
}

.valuation-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(23, 162, 184, 0.4);
}

.submit-btn {
    flex: 1;
}

/* Footer Updates */
.footer-links {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #1a365d;
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #4a5568;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #667eea;
}

.contact-info {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #4a5568;
    line-height: 1.4;
}

.contact-info strong {
    color: #1a365d;
}

/* Responsive */
@media (max-width: 1200px) {
    .sell-content-wrapper {
        max-width: 1000px;
    }
    
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Valuation Modal */
.valuation-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.valuation-modal-content {
    background: white;
    border-radius: 20px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(-50px) scale(0.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.valuation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 2px solid #e2e8f0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px 20px 0 0;
}

.valuation-header h3 {
    margin: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.close-valuation {
    font-size: 2rem;
    cursor: pointer;
    color: white;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.close-valuation:hover {
    opacity: 1;
}

.valuation-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
}

.valuation-summary, .valuation-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.valuation-price {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f4fd 100%);
    border-radius: 15px;
    border: 2px solid #e2e8f0;
}

.valuation-price label {
    display: block;
    font-size: 0.9rem;
    color: #4a5568;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

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

.price-range {
    padding: 1.5rem;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 15px;
}

.price-range label {
    display: block;
    font-size: 0.9rem;
    color: #4a5568;
    margin-bottom: 1rem;
    font-weight: 600;
}

.price-range-chart {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.price-point {
    text-align: center;
    flex: 1;
}

.price-label {
    display: block;
    font-size: 0.8rem;
    color: #4a5568;
    margin-bottom: 0.25rem;
}

.price-value {
    font-weight: 700;
    color: #1a365d;
}

.price-bar {
    position: relative;
    height: 8px;
    background: linear-gradient(90deg, #28a745, #ffc107, #dc3545);
    border-radius: 4px;
    flex: 2;
}

.price-indicator {
    position: absolute;
    top: -4px;
    width: 16px;
    height: 16px;
    background: #667eea;
    border: 3px solid white;
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.map-placeholder {
    text-align: center;
    padding: 2rem;
    background: #f7fafc;
    border: 2px dashed #cbd5e0;
    border-radius: 15px;
    color: #4a5568;
}

.map-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #667eea;
}

.property-details-summary {
    background: #f7fafc;
    padding: 1.5rem;
    border-radius: 15px;
    border: 2px solid #e2e8f0;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.summary-item:last-child {
    border-bottom: none;
}

.market-analysis {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    padding: 1.5rem;
}

.market-factor {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.market-factor:last-child {
    border-bottom: none;
}

.factor-label {
    font-weight: 600;
    color: #4a5568;
}

.factor-value {
    font-weight: 700;
    color: #1a365d;
}

.factor-value.positive {
    color: #28a745;
}

.market-insight {
    margin-top: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, #e8f5e8, #f0f8f0);
    border-radius: 10px;
    border-left: 4px solid #28a745;
}

.market-insight i {
    color: #28a745;
    margin-right: 0.5rem;
}

.valuation-actions {
    display: flex;
    gap: 1rem;
    padding: 2rem;
    background: #f7fafc;
    border-radius: 0 0 20px 20px;
}

.download-report-btn, .share-report-btn {
    flex: 1;
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.download-report-btn {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.share-report-btn {
    background: linear-gradient(135deg, #6f42c1, #e83e8c);
    color: white;
}

.download-report-btn:hover, .share-report-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .valuation-body {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .valuation-actions {
        flex-direction: column;
    }
    
    .estimated-price {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .sell-content-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .form-side {
        padding: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .property-type-grid {
        grid-template-columns: 1fr;
    }
    
    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-features {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .stories-grid {
        grid-template-columns: 1fr;
    }
    
    .sell-hero-content h1 {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .contact-methods {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .contact-method {
        flex: 1;
        min-width: 120px;
    }
    
    .submit-buttons {
        flex-direction: column;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}
