/* ===============================
 GENEL AYARLAR
=============================== */

body{
    font-family: "Segoe UI", Arial, sans-serif;
    background:#f5f7fb;
    color:#222;
    margin:0;
}

/* ===============================
 HERO
=============================== */

.tazminat-hero{
    background:url("../images/tazminat-hero.jpg") center/cover no-repeat;
    height:380px;
    position:relative;
}

.hero-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.6);
}

.hero-content{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    text-align:center;
    color:#fff;
    max-width:800px;
}

.hero-content h1{
    font-size:42px;
    margin-bottom:15px;
}

.hero-content p{
    font-size:20px;
    opacity:.9;
}

/* ===============================
 FORM
=============================== */

.calculator-wrapper{
    background:#fff;
    margin:40px auto 80px;
    max-width:1100px;
    padding:60px 60px 70px;
    border-radius:22px;
    box-shadow:0 20px 60px rgba(0,0,0,.12);
}

.calculator-wrapper h2{
    text-align:center;
    margin-bottom:40px;
    font-size:32px;
}

.form-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:30px;
}

.input-box{
    display:flex;
    flex-direction:column;
}

.input-box label{
    display:flex;
    align-items:center;
    gap:6px;
    font-weight:600;
    margin-bottom:8px;
}

.input-box input{
    padding:14px 16px;
    border-radius:12px;
    border:1px solid #dcdcdc;
    font-size:16px;
}

.input-box input:focus{
    outline:none;
    border-color:#003366;
    box-shadow:0 0 0 3px rgba(0,51,102,.1);
}

.btn-hesapla{
    margin-top:40px;
    width:100%;
    background:#003366;
    color:#fff;
    border:none;
    padding:18px;
    font-size:18px;
    border-radius:16px;
    cursor:pointer;
}

.btn-hesapla:hover{
    background:#002244;
}

/* ===============================
 SONUÇLAR
=============================== */

.result-wrapper{
    max-width:1100px;
    margin:0 auto 80px;
    padding:60px;
    background:#fff;
    border-radius:22px;
    box-shadow:0 18px 50px rgba(0,0,0,.1);
}

.result-wrapper h2{
    text-align:center;
    font-size:32px;
    margin-bottom:50px;
}

.result-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:40px;
}

.result-box{
    background:#f8fafc;
    padding:35px;
    border-radius:18px;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
}

.result-box h3{
    font-size:24px;
    margin-bottom:20px;
    color:#003366;
}

.result-box ul{
    list-style:none;
    padding:0;
}

.result-box li{
    display:flex;
    justify-content:space-between;
    margin-bottom:14px;
    font-size:17px;
}

.total-result{
    margin-top:50px;
    text-align:center;
    font-size:28px;
    font-weight:700;
    color:#0a7a28;
}

.btn-print{
    display:block;
    margin:40px auto 0;
    background:#ff7a00;
    color:#fff;
    border:none;
    padding:16px 40px;
    font-size:18px;
    border-radius:14px;
    cursor:pointer;
}

.btn-print:hover{
    background:#e96c00;
}

/* ===============================
 BİLGİ ALANI
=============================== */

.info-section{
    max-width:1100px;
    margin:0 auto 120px;
    padding:0 30px;
}

.info-section h2{
    font-size:34px;
    margin-bottom:20px;
}

.info-section h3{
    margin-top:35px;
    font-size:24px;
    color:#003366;
}

.info-section p{
    line-height:1.8;
    font-size:18px;
    color:#444;
}

.info-section ul{
    margin-top:15px;
    padding-left:20px;
}

.info-section li{
    font-size:18px;
    margin-bottom:8px;
}

/* ===============================
 HATA MESAJI
=============================== */

.form-error{
    background:#ffe3e3;
    color:#b10000;
    padding:14px 18px;
    border-radius:10px;
    margin-bottom:20px;
    font-weight:600;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
}

/* ===============================
 INFO GRID
=============================== */

.info-section .info-grid{
    display:grid !important;
    grid-template-columns:repeat(auto-fit,minmax(240px,1fr)) !important;
    gap:25px !important;
    margin-top:25px !important;
}

.info-section .info-box{
    background:#f8fafc !important;
    padding:22px !important;
    border-radius:16px !important;
    box-shadow:0 6px 18px rgba(0,0,0,.08) !important;
}

.info-section .info-box h4{
    color:#003366 !important;
    margin-bottom:8px !important;
}

/* HR */

.info-section hr{
    margin:45px 0 !important;
    border:none !important;
    height:1px !important;
    background:#e2e6ef !important;
}

/* ===============================
 FORM ICON (SON HAL)
=============================== */

.form-icon{
    width:22px;
    height:22px;
    object-fit:contain;
    margin-right:8px;
    vertical-align:middle;
    opacity:.85;
}

/* ===============================
 TRANSITION
=============================== */

input, button{
    transition:all .25s ease;
}

/* ===============================
 PRINT MODE
=============================== */

@media print {

    body{
        background:#fff !important;
    }

    /* Header, menü, footer gizle */
    header,
    nav,
    footer,
    .tazminat-hero,
    .info-section,
    .btn-print{
        display:none !important;
    }

    /* Ana alanı tam sayfaya yay */

    .calculator-wrapper{
        display:none !important;
    }

    .result-wrapper{
        max-width:100% !important;
        margin:0 !important;
        padding:20px !important;
        box-shadow:none !important;
        border-radius:0 !important;
    }

    .result-box{
        box-shadow:none !important;
        border:1px solid #ddd !important;
    }

    .total-result{
        margin-top:30px;
        font-size:26px;
    }

}

