/**
 * TEKLİF AL SAYFASI STYLING
 * Modern, responsive quote form design
 */

/* ==============================================
   HERO SECTION
   ============================================== */
.quote-page .page-hero {
    background: linear-gradient(135deg, #f35b23 0%, #d44a1c 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
    margin-bottom: 50px;
}

.quote-page .page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.quote-page .page-hero p {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

/* ==============================================
   HOW IT WORKS SECTION
   ============================================== */
.how-it-works-section {
    padding: 50px 20px;
    background: #f8f9fa;
}

.how-it-works-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #333;
}

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

.step {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.step-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f35b23 0%, #d44a1c 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #333;
}

.step p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

/* ==============================================
   QUOTE FORM SECTION
   ============================================== */
.quote-form-section {
    padding: 50px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.quote-form {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}

.form-section {
    padding: 40px 30px;
    border-bottom: 1px solid #e0e0e0;
}

.form-section:last-child {
    border-bottom: none;
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.section-header i {
    font-size: 1.5rem;
    color: #f35b23;
    margin-right: 12px;
}

.section-header h3 {
    font-size: 1.5rem;
    color: #333;
    margin: 0;
    font-weight: 600;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

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

.form-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.form-group .required {
    color: #f35b23;
    font-weight: bold;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #f35b23;
    box-shadow: 0 0 0 3px rgba(243, 91, 35, 0.1);
}

.form-group select {
    cursor: pointer;
    background-color: white;
}

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

.form-help {
    display: block;
    margin-top: 5px;
    font-size: 0.85rem;
    color: #666;
}

/* ==============================================
   FORM ACTIONS
   ============================================== */
.form-actions {
    padding: 30px;
    background: #f8f9fa;
    text-align: center;
}

.btn-submit {
    background: linear-gradient(135deg, #f35b23 0%, #d44a1c 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(243, 91, 35, 0.3);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-submit i {
    font-size: 1rem;
}

/* ==============================================
   TRUST BADGES SECTION
   ============================================== */
.trust-section {
    padding: 50px 20px;
    background: #f8f9fa;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.trust-item {
    text-align: center;
    padding: 20px;
}

.trust-item i {
    font-size: 2.5rem;
    color: #f35b23;
    margin-bottom: 15px;
}

.trust-item h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: #333;
}

.trust-item p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* ==============================================
   RESPONSIVE DESIGN
   ============================================== */

/* Tablet & Medium Screens */
@media (max-width: 768px) {
    .quote-page .page-hero h1 {
        font-size: 2rem;
    }

    .quote-page .page-hero p {
        font-size: 1rem;
    }

    .how-it-works-section h2 {
        font-size: 1.7rem;
    }

    .steps-grid {
        gap: 20px;
    }

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

    .form-section {
        padding: 30px 20px;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Mobile Screens */
@media (max-width: 480px) {
    .quote-page .page-hero {
        padding: 40px 15px;
    }

    .quote-page .page-hero h1 {
        font-size: 1.7rem;
    }

    .quote-page .page-hero p {
        font-size: 0.95rem;
    }

    .how-it-works-section {
        padding: 30px 15px;
    }

    .how-it-works-section h2 {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

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

    .step {
        padding: 25px 15px;
    }

    .step-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .quote-form-section {
        padding: 30px 10px;
    }

    .form-section {
        padding: 25px 15px;
    }

    .section-header h3 {
        font-size: 1.3rem;
    }

    .btn-submit {
        width: 100%;
        padding: 14px 30px;
        font-size: 1rem;
    }

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

    .trust-item {
        padding: 15px;
    }

    .trust-item i {
        font-size: 2rem;
    }
}

/* ==============================================
   ACCESSIBILITY
   ============================================== */
input:required:invalid,
select:required:invalid,
textarea:required:invalid {
    /* Don't show red border until form is submitted */
}

input:required:valid,
select:required:valid,
textarea:required:valid {
    /* Optional: Show green border for valid fields */
}

/* Focus visible for keyboard navigation */
*:focus-visible {
    outline: 2px solid #f35b23;
    outline-offset: 2px;
}
