/**
 * Sell Your Airplane - Styling
 * Modern, responsive design for the Sell Your Airplane page
 */

/* ========================================
   Global Styles
   ======================================== */

.sell-airplane-page {
    width: 100%;
    overflow-x: hidden;
}

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

/* ========================================
   Hero Section
   ======================================== */

.sell-hero-section {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #f8f9fa;
    padding: 80px 20px;
}

.sell-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.2) 100%
    );
    z-index: 1;
}

.sell-hero-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.sell-hero-content {
    text-align: center;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(248, 249, 250, 0.95) 100%
    );
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 60px 50px;
    border-radius: 24px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    max-width: 900px;
    margin: 0 auto;
}

.sell-hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.sell-hero-subtitle {
    font-size: 1.75rem;
    font-weight: 600;
    color: #0066cc;
    margin: 0 0 20px 0;
}

.sell-hero-description {
    font-size: 1.125rem;
    color: #555;
    margin: 0;
    line-height: 1.6;
}

/* ========================================
   CTA Section
   ======================================== */

.sell-cta-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #0066cc 0%, #004999 100%);
    color: #fff;
    text-align: center;
}

.sell-cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 25px 0;
    color: #fff;
}

.sell-cta-content {
    font-size: 1.25rem;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
}

.sell-cta-content strong {
    font-weight: 700;
}

/* ========================================
   Brands Section - Uses homepage brands carousel
   ======================================== */

.sell-brands-section {
    padding: 80px 20px;
    background: #ffffff;
}

.sell-brands-title {
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    margin: 0 0 50px 0;
    color: #1a1a1a;
}

.sell-brands-note {
    text-align: center;
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    max-width: 800px;
    margin: 40px auto 0;
}

.sell-brands-note a {
    color: #0066cc;
    font-weight: 600;
    text-decoration: none;
}

.sell-brands-note a:hover {
    text-decoration: underline;
}

/* ========================================
   Features Section
   ======================================== */

.sell-features-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.sell-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.sell-feature-card {
    background: #fff;
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.sell-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 102, 204, 0.15);
    border-color: #0066cc;
}

.sell-feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #0066cc 0%, #004999 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sell-feature-icon svg {
    color: #fff;
}

.sell-feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: #1a1a1a;
}

.sell-feature-content {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin: 0;
}

/* ========================================
   How You Can Help Section
   ======================================== */

.sell-help-section {
    padding: 80px 20px;
    background: #fff;
    background-size: cover;
    background-position: center;
    position: relative;
}

.sell-help-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    z-index: 1;
}

.sell-help-section .sell-container {
    position: relative;
    z-index: 2;
}

.sell-help-title {
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    margin: 0 0 60px 0;
    color: #1a1a1a;
}

.sell-help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.sell-help-step {
    text-align: center;
}

.sell-help-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #0066cc 0%, #004999 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sell-help-icon svg {
    color: #fff;
}

.sell-help-step h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: #1a1a1a;
}

.sell-help-step p {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin: 0;
}

/* ========================================
   Guide Section
   ======================================== */

.sell-guide-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.sell-guide-card {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 60px 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 2px solid #0066cc;
}

.sell-guide-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 25px 0;
    color: #1a1a1a;
}

.sell-guide-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #555;
    margin: 0 0 35px 0;
}

.sell-guide-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: linear-gradient(135deg, #0066cc 0%, #004999 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.3);
}

.sell-guide-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 102, 204, 0.4);
    color: #fff;
}

.sell-guide-button svg {
    transition: transform 0.3s ease;
}

.sell-guide-button:hover svg {
    transform: translateX(5px);
}

/* ========================================
   Process Section
   ======================================== */

.sell-process-section {
    padding: 80px 20px;
    background: #fff;
    background-size: cover;
    background-position: center;
    position: relative;
}

.sell-process-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    z-index: 1;
}

.sell-process-section .sell-container {
    position: relative;
    z-index: 2;
}

.sell-process-title {
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    margin: 0 0 60px 0;
    color: #1a1a1a;
}

.sell-process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.sell-process-step {
    text-align: center;
    padding: 40px 30px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.sell-process-step:hover {
    transform: translateY(-5px);
    border-color: #0066cc;
    box-shadow: 0 12px 35px rgba(0, 102, 204, 0.15);
}

.sell-step-number {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #0066cc 0%, #004999 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 6px 15px rgba(0, 102, 204, 0.3);
}

.sell-process-step p {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin: 0;
}

/* ========================================
   We Can Buy Section - Compact List Style
   ======================================== */

.sell-canbuy-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    background-size: cover;
    background-position: center;
    position: relative;
}

.sell-canbuy-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(248, 249, 250, 0.95);
    z-index: 1;
}

.sell-canbuy-section .sell-container {
    position: relative;
    z-index: 2;
}

.sell-canbuy-title {
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    margin: 0 0 50px 0;
    color: #1a1a1a;
}

/* Compact 2-column grid */
.sell-canbuy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

/* Compact list item */
.sell-canbuy-card {
    display: flex;
    gap: 18px;
    padding: 20px 25px;
    border-left: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.sell-canbuy-card:hover {
    transform: none;
    background: #f8f9fa;
}

/* Remove border from last items in each column */
.sell-canbuy-card:nth-last-child(-n+2) {
    border-bottom: none;
}

/* Icon - smaller and inline */
.sell-canbuy-icon {
    width: 36px;
    height: 36px;
    margin: 0;
    background: linear-gradient(135deg, #0066cc 0%, #004999 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sell-canbuy-icon svg {
    color: #fff;
    width: 20px;
    height: 20px;
}

/* Text content */
.sell-canbuy-content {
    flex: 1;
}

.sell-canbuy-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #1a1a1a;
    line-height: 1.4;
}

.sell-canbuy-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* ========================================
   Contact Form Section
   ======================================== */

.sell-form-section {
    padding: 80px 20px 100px;
    background: #fff;
}

.sell-form-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin: 0 0 25px 0;
    color: #1a1a1a;
}

.sell-form-intro {
    font-size: 1.125rem;
    line-height: 1.8;
    text-align: center;
    color: #555;
    max-width: 900px;
    margin: 0 auto 20px;
}

.sell-form-note {
    font-size: 1rem;
    line-height: 1.7;
    text-align: center;
    color: #666;
    max-width: 900px;
    margin: 0 auto 50px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #0066cc;
}

.sell-form-note a {
    color: #0066cc;
    font-weight: 600;
    text-decoration: none;
}

.sell-form-note a:hover {
    text-decoration: underline;
}

.sell-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

/* Contact Form 7 Styling - Custom Aircraft Form Layout */

/* Form container */
.sell-form-wrapper .cf7-aircraft-form {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

/* Form sections */
.sell-form-wrapper .form-section {
    border-radius: 12px;
    padding: 0;
}

.sell-form-wrapper .section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0066cc;
    margin: 0 0 25px 0;
    padding-bottom: 12px;
    border-bottom: 3px solid #e9ecef;
    position: relative;
}

.sell-form-wrapper .section-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #0066cc 0%, #004999 100%);
}

/* Form rows */
.sell-form-wrapper .form-row {
    margin-bottom: 20px;
}

.sell-form-wrapper .form-row:last-child {
    margin-bottom: 0;
}

/* Two column layout */
.sell-form-wrapper .form-row-half {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

/* Three column layout */
.sell-form-wrapper .form-row-third {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

/* Form fields */
.sell-form-wrapper .form-field {
    position: relative;
}

.sell-form-wrapper .form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6c757d;
    margin-top: 6px;
    display: block;
}

/* Input styling */
.sell-form-wrapper .form-input,
.sell-form-wrapper .form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #fff;
}

.sell-form-wrapper .form-input:focus,
.sell-form-wrapper .form-textarea:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.08);
}

.sell-form-wrapper .form-textarea {
    min-height: 120px;
    resize: vertical;
}

/* Radio buttons */
.sell-form-wrapper .form-field-radio {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sell-form-wrapper .radio-group-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.sell-form-wrapper .wpcf7-list-item {
    margin: 0;
    display: inline-block;
    margin-right: 20px;
}

.sell-form-wrapper .wpcf7-list-item-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    color: #495057;
}

.sell-form-wrapper input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #0066cc;
}

/* Checkboxes */
.sell-form-wrapper .form-checkbox,
.sell-form-wrapper .form-checkbox-block {
    margin-bottom: 15px;
}

.sell-form-wrapper .checkbox-input {
    display: inline-flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.sell-form-wrapper input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #0066cc;
    margin-top: 2px;
    flex-shrink: 0;
}

.sell-form-wrapper .checkbox-input label {
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #495057;
}

.sell-form-wrapper .privacy-text,
.sell-form-wrapper .privacy-note {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #6c757d;
    margin: 0;
}

.sell-form-wrapper .privacy-note a {
    color: #0066cc;
    text-decoration: underline;
}

.sell-form-wrapper .privacy-note a:hover {
    color: #004999;
}

/* File upload */
.sell-form-wrapper .form-field-file {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sell-form-wrapper .file-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1a1a;
}

.sell-form-wrapper .form-file {
    padding: 12px;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    cursor: pointer;
    background: #f8f9fa;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.sell-form-wrapper .form-file:hover {
    border-color: #0066cc;
    background: #fff;
}

.sell-form-wrapper .file-note {
    font-size: 0.85rem;
    color: #6c757d;
    font-style: italic;
}

/* Submit button */
.sell-form-wrapper .form-submit-row {
    text-align: center;
    margin-top: 15px;
}

.sell-form-wrapper .form-submit {
    background: linear-gradient(135deg, #0066cc 0%, #004999 100%);
    color: #fff;
    padding: 16px 60px;
    border: none;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 18px rgba(0, 102, 204, 0.25);
}

.sell-form-wrapper .form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 102, 204, 0.35);
}

/* Validation messages */
.sell-form-wrapper .wpcf7-not-valid-tip {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 5px;
    display: block;
}

.sell-form-wrapper .wpcf7-response-output {
    margin: 25px 0 0;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 0.95rem;
}

.sell-form-wrapper .wpcf7-validation-errors {
    background: #fff3cd;
    border: 2px solid #ffc107;
    color: #856404;
}

.sell-form-wrapper .wpcf7-mail-sent-ok {
    background: #d4edda;
    border: 2px solid #28a745;
    color: #155724;
}

.sell-form-wrapper .wpcf7-mail-sent-ng {
    background: #f8d7da;
    border: 2px solid #dc3545;
    color: #721c24;
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 768px) {
    .sell-hero-title {
        font-size: 2rem;
    }

    .sell-hero-subtitle {
        font-size: 1.5rem;
    }

    .sell-hero-description {
        font-size: 1rem;
    }

    .sell-hero-content {
        padding: 40px 30px;
    }

    .sell-cta-title,
    .sell-form-title {
        font-size: 2rem;
    }

    .sell-brands-title,
    .sell-help-title,
    .sell-process-title,
    .sell-canbuy-title {
        font-size: 1.75rem;
    }

    .sell-brands-section {
        padding: 50px 20px;
    }

    .sell-features-grid,
    .sell-help-grid,
    .sell-process-steps {
        grid-template-columns: 1fr;
    }

    .sell-canbuy-grid {
        grid-template-columns: 1fr;
        padding: 30px 25px;
    }

    .sell-canbuy-card {
        padding: 18px 20px;
    }

    .sell-canbuy-card:last-child {
        border-bottom: none;
    }

    .sell-form-wrapper {
        padding: 30px 20px;
    }

    .sell-guide-card {
        padding: 40px 30px;
    }

    .sell-guide-title {
        font-size: 1.5rem;
    }

    /* Single column form on tablet */
    .sell-form-wrapper .form-row-half,
    .sell-form-wrapper .form-row-third {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .sell-form-wrapper .section-title {
        font-size: 1.125rem;
    }

    .sell-form-wrapper .form-submit {
        padding: 14px 45px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .sell-hero-section {
        min-height: 400px;
        padding: 60px 15px;
    }

    .sell-hero-title {
        font-size: 1.75rem;
    }

    .sell-hero-subtitle {
        font-size: 1.25rem;
    }

    .sell-hero-content {
        padding: 30px 20px;
    }

    .sell-cta-section,
    .sell-brands-section,
    .sell-features-section,
    .sell-help-section,
    .sell-guide-section,
    .sell-process-section,
    .sell-canbuy-section,
    .sell-form-section {
        padding: 50px 15px;
    }

    .sell-form-section {
        padding-bottom: 60px;
    }

    /* Single column form on small mobile */
    .sell-form-wrapper .cf7-aircraft-form {
        gap: 25px;
    }

    .sell-form-wrapper .form-row {
        margin-bottom: 15px;
    }

    .sell-form-wrapper .section-title {
        font-size: 1.0625rem;
        margin-bottom: 18px;
    }

    .sell-form-wrapper .form-submit {
        width: 100%;
        padding: 14px 30px;
    }

    .sell-form-wrapper .wpcf7-list-item {
        display: block;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .sell-canbuy-grid {
        padding: 25px 20px;
    }

    .sell-canbuy-card {
        padding: 15px;
        gap: 15px;
    }

    .sell-canbuy-icon {
        width: 32px;
        height: 32px;
    }

    .sell-canbuy-icon svg {
        width: 18px;
        height: 18px;
    }

    .sell-canbuy-card h3 {
        font-size: 1rem;
    }

    .sell-canbuy-card p {
        font-size: 0.875rem;
    }
}
