﻿/* =====================================================
   OFFER PAGE
===================================================== */


.offer-page {
    width: 100%;
    padding: 170px 0 50px;
    background: radial-gradient( circle at top right, rgba(0,220,255,.12), transparent 35% ), #050b18;
}



.offer-container {
    max-width: 1100px;
    margin: auto;
}



/* =====================================================
   HEADER
===================================================== */


.offer-header {
    text-align: center;
    margin-bottom: 25px;
}



.offer-badge {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 20px;
    background: #00d9ff;
    color: #001018;
    font-size: 12px;
    font-weight: 700;
}



.offer-header h1 {
    margin: 12px 0 6px;
    font-size: 34px;
    color: white;
}



.offer-header p {
    color: #9fb0ca;
    font-size: 15px;
}






/* =====================================================
   MAIN GRID
===================================================== */


.offer-wrapper {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 14px;
    align-items: start;
}




/* =====================================================
   CARDS
===================================================== */


.offer-card {
    background: linear-gradient( 145deg, #111a2b, #09111f );
    border: 1px solid rgba(255,255,255,.08);
    border-top: 2px solid #00d9ff;
    border-radius: 14px;
    padding: 14px;
}





.offer-card-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 12px;
}



    .offer-card-title i {
        color: #00ddff;
        font-size: 18px;
    }




/* =====================================================
   INPUTS
===================================================== */


.offer-input {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 8px;
}



    .offer-input label {
        color: #9fb7d8;
        font-size: 12px;
    }



    .offer-input input,
    .offer-input select,
    .offer-card textarea {
        width: 100%;
        height: 36px;
        padding: 0 10px;
        border-radius: 8px;
        border: 1px solid rgba(255,255,255,.12);
        background: #0b1425;
        color: white;
        font-size: 13px;
    }





.offer-card textarea {
    height: 70px;
    padding: 10px;
    resize: none;
}



    .offer-input input:focus,
    .offer-input select:focus,
    .offer-card textarea:focus {
        outline: none;
        border-color: #00d9ff;
    }






/* =====================================================
   INNER GRIDS
===================================================== */


.offer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}



.vehicle-info-grid {
    grid-template-columns: 1fr 1fr;
}



.detail-grid {
    grid-template-columns: 1fr 1fr;
}






/* =====================================================
   CARD LOCATIONS
===================================================== */


/*
1 SATIR

Araç
İşlem
Detay

*/


.offer-card:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
}



.offer-card:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
}



.offer-card:nth-child(3) {
    grid-column: 3;
    grid-row: 1;
}





/*
2 SATIR

İletişim
Açıklama
Fotoğraf

*/


.offer-card:nth-child(6) {
    grid-column: 1;
    grid-row: 2;
}



.offer-card:nth-child(4) {
    grid-column: 2;
    grid-row: 2;
}



.offer-card:nth-child(5) {
    grid-column: 3;
    grid-row: 2;
}






/* =====================================================
   FILE INPUT
===================================================== */


.file-input {
    width: 100%;
    height: 38px;
    color: white;
    border: 1px dashed #00d9ff;
    border-radius: 8px;
    padding: 5px;
}



.offer-card small {
    display: block;
    margin-top: 8px;
    color: #8da4c5;
    font-size: 12px;
}






/* =====================================================
   SUBMIT BUTTON
===================================================== */


.offer-submit {
    grid-column: 1 / -1;
    width: 100%;
    height: 42px;
    margin-top: 5px;
    border: none;
    border-radius: 25px;
    background: #00d9ff;
    color: #001018;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}



    .offer-submit:hover {
        background: white;
    }






/* =====================================================
   RESPONSIVE
===================================================== */


@media(max-width:900px) {


    .offer-wrapper {
        grid-template-columns: 1fr;
    }



    .offer-card:nth-child(n) {
        grid-column: auto;
        grid-row: auto;
    }



    .offer-grid {
        grid-template-columns: 1fr;
    }



    .offer-header h1 {
        font-size: 26px;
    }
}
