/* ===== SHARED PAGE STYLES (About, Contact, Dealer) ===== */

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.page-hero h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 10px;
}

.page-hero p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Page Container */
.page-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Section Card */
.section-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.section-card h2 {
    font-size: 28px;
    color: #1a1a1a;
    margin-bottom: 20px;
    font-weight: 700;
}

.section-card h3 {
    font-size: 20px;
    color: #1a1a1a;
    margin-bottom: 12px;
    font-weight: 600;
}

.section-card p,
.section-card .rich-text {
    color: #4b5563;
    font-size: 16px;
    line-height: 1.8;
}

.section-card .rich-text p {
    margin-bottom: 15px;
}

.section-card .rich-text ul,
.section-card .rich-text ol {
    margin: 15px 0;
    padding-left: 25px;
}

.section-card .rich-text li {
    margin-bottom: 8px;
}

/* ===== ABOUT PAGE ===== */

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.about-feature-card {
    text-align: center;
    padding: 25px 15px;
    background: #f9fafb;
    border-radius: 12px;
    transition: all 0.3s;
}

.about-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.about-feature-card img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 15px;
}

.about-feature-card .feature-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 15px;
}

.about-feature-card h4 {
    font-size: 16px;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.about-feature-card p {
    font-size: 14px;
    color: #6b7280;
}

/* ===== CONTACT PAGE ===== */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 18px 0;
    border-bottom: 1px solid #f0f0f0;
}

.contact-info-list li:last-child {
    border-bottom: none;
}

.contact-icon {
    width: 44px;
    height: 44px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-info-list .label {
    font-size: 13px;
    color: #6b7280;
    display: block;
    margin-bottom: 2px;
}

.contact-info-list .value {
    font-size: 16px;
    color: #1a1a1a;
    font-weight: 500;
}

.contact-info-list a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info-list a:hover {
    color: var(--primary-color);
}

/* ===== FORMS (Contact + Dealer) ===== */

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.form-group label .required {
    color: #ef4444;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s;
    background: white;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
}

.form-submit:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Form Messages */
.form-message {
    padding: 14px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 15px;
    display: none;
}

.form-message.success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    display: block;
}

.form-message.error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
    display: block;
}

/* ===== DEALER PAGE ===== */

.dealer-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.dealer-benefit {
    text-align: center;
    padding: 25px 15px;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-radius: 12px;
}

.dealer-benefit .benefit-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.dealer-benefit h4 {
    font-size: 15px;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.dealer-benefit p {
    font-size: 13px;
    color: #6b7280;
}

/* ===== BANNER GRID LAYOUT ===== */
.page-with-banners {
    display: grid !important;
    grid-template-columns: 160px 1fr 160px !important;
    gap: 20px !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 20px !important;
}

.banner-sidebar {
    width: 160px !important;
    min-height: 100px !important;
}

.banner-left { grid-column: 1 !important; }
.main-content { grid-column: 2 !important; }
.banner-right { grid-column: 3 !important; }

.desktop-banner {
    position: sticky !important;
    top: 100px !important;
}

.page-with-banners .page-container {
    max-width: 100% !important;
    width: 100% !important;
}

@media (max-width: 1200px) {
    .page-with-banners {
        grid-template-columns: 1fr !important;
    }
    .banner-sidebar {
        display: none !important;
    }
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 30px;
    }

    .page-hero p {
        font-size: 16px;
    }

    .page-hero {
        padding: 40px 20px;
    }

    .section-card {
        padding: 25px 20px;
        border-radius: 12px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .about-features {
        grid-template-columns: 1fr 1fr;
    }

    .dealer-benefits {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .about-features {
        grid-template-columns: 1fr;
    }

    .dealer-benefits {
        grid-template-columns: 1fr;
    }

    .page-hero h1 {
        font-size: 26px;
    }
}
