﻿:root {
    --primary: #0c6aa6;
    --accent: #0f86ce;
    --text: #0f172a;
    --muted: #516079;
    --shadow: 0 10px 25px rgba(0,0,0,.08);
    --phonecolor: #0093C9;
    --header-h: 7vh;
    --pad-x: clamp(16px, 4vw, 40px);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html, body {
    height: 100%
}

@font-face {
    font-family: 'League Spartan';
    src: url('../fonts/LeagueSpartan/LeagueSpartan-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'League Spartan', sans-serif;
    color: var(--text);
    padding-top: var(--header-h);
}

header {
    position: fixed;
    inset: 0 0 auto 0;
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--pad-x);
    background: #fff;
    box-shadow: 0 0 12px rgba(0,0,0,.20);
    z-index: 999;
}

.logo img {
    height: 30px;
    width: auto;
    display: block
}
.highlight {
    color: rgba(9, 66, 109, 1);
    font-weight: 700;
}

.phone a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 999px;
    box-shadow: var(--shadow);
    background: var(--phonecolor);
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: filter .2s;
}

    .phone a:hover {
        filter: brightness(.95)
    }

.welcome {
    position: relative;
    display: grid;
    grid-template-columns: 0.45fr 0.55fr; 
    grid-template-areas: "text image";
    align-items: center;
    min-height: calc(65dvh - var(--header-h));
    background: #fff;
    overflow: hidden;
    padding: 0 0 0 var(--pad-x);
}

.welcome-text {
    grid-area: text;
    max-width: min(520px, 90%);
    z-index: 2
}

    .welcome-text h1 {
        font-size: clamp(26px, 4.2vw, 44px);
        font-weight: 800;
        color: rgba(0, 147, 201, 1);
        margin-bottom: 12px
    }

    .welcome-text p {
        font-size: clamp(14px, 1.6vw, 16px);
        color: rgba(9, 66, 109, 1);
        margin-bottom: 18px
    }

    .welcome-text .btn {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        background: var(--accent);
        color: #fff;
        padding: 12px 20px;
        border-radius: 999px;
        text-decoration: none;
        font-weight: 600;
        box-shadow: none;
        cursor: pointer;
        border: none;
    }

    .welcome-text .icn {
        font-size:24px;
    }

.welcome-image {
    grid-area: image;
    position: relative;
    height: 100%;
    overflow: hidden;
}

    .welcome-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: 60% center; 
        display: block;
    }

/* Alt bar */
.stats {
    position: absolute;
    left: 50%;
    bottom: 32px;
    transform: translateX(-50%);
    display: flex;
    gap: 32px;
    background: #fff;
    border-radius: 20px;
    padding: 16px 28px;
    box-shadow: 0 0 12px rgba(0,0,0,.20);
    z-index: 15; 
}

.stat {
    text-align: center
}

    .stat strong {
        font-size: clamp(18px, 2.2vw, 28px);
        color: rgb(9,66,109);
        font-weight: 700;
        display: block
    }

    .stat span {
        font-size: clamp(10px, 1.6vw, 16px);
        color: var(--muted)
    }

.divider {
    width: 1px;
    background: rgba(0,147,201,1)
}

/* ====== TABLET (≤ 1024px) ====== */
@media (max-width:1024px) {
    .welcome {
        grid-template-columns: 1.05fr 0.95fr;
        min-height: calc(65dvh - var(--header-h));
    }

    .stats {
        gap: 16px;
        padding: 14px 20px
    }

    .welcome-text .icn {
        font-size: 20px;
    }
}

/* ====== MOBİL (≤ 640px) ====== */
@media (max-width:640px) {
    .phone {
        display: none;
    }

    header {
        justify-content: center;
    }

    .logo {
        margin: 0 auto;
    }

    .welcome {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 0;
        margin: 0;
        position: relative;
        overflow: hidden;
    }

    .welcome-text {
        padding: 20px var(--pad-x);
        text-align: center;
        z-index: 3;
    }

    .welcome-image {
        width: 100vw; 
        position: relative;
        z-index: 1;
    }

        .welcome-image img {
            width: 100%;
            height: auto;
            object-fit: cover; 
            object-position: center bottom;
            display: block;
        }

    .stats {
        position: absolute;
        left: 0;
        transform: none;
        bottom: 0; 
        width: 100vw; 
        border-radius: 0;
        background: #fff;
        box-shadow: none; 
        display: flex;
        justify-content: space-around;
        align-items: center;
        padding: 14px 0;
        gap: 0;
        z-index: 5;
    }

    .stat {
        flex: 1;
        text-align: center;
    }

        .stat strong {
            font-size: 18px;
            color: rgb(9,66,109);
        }

        .stat span {
            font-size: 10px;
            color: var(--muted);
        }

    .divider {
        width: 1px;
        height: 24px;
        background: rgba(0,147,201,1);
        opacity: .5;
    }
}
.g-recaptcha {
    transform: scale(1.05);
    transform-origin: 0 0;
    margin-top: 8px;
}
