/*
|--------------------------------------------------------------------------
| SEAACADEMYIK YEMEK + YOL HESAPLAMA
|--------------------------------------------------------------------------
| Dosya:
| /bordrolama/yemek-yol-hesabi/yemek-yol.css
|--------------------------------------------------------------------------
*/

:root{
    --yy-primary:#0b1f3a;
    --yy-secondary:#ff7a00;
    --yy-dark:#071120;
    --yy-text:#1e293b;
    --yy-gray:#64748b;
    --yy-bg:#f4f7fb;
    --yy-white:#ffffff;
    --yy-border:#dbe4ee;
    --yy-shadow:0 20px 60px rgba(15,23,42,.08);
    --yy-radius:24px;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:Inter,sans-serif;
    background:var(--yy-bg);
    color:var(--yy-text);
    overflow-x:hidden;
}

img{
    max-width:100%;
    display:block;
}

.yy-container{
    width:min(1280px, calc(100% - 40px));
    margin:auto;
}

/* HERO */

.yy-hero{
    position:relative;
    padding:110px 0 90px;
    background:
    linear-gradient(135deg, rgba(11,31,58,.97), rgba(6,17,34,.96)),
    url('images/seaacademyik-yemek-yol-hesaplama.webp') center/cover;
    overflow:hidden;
}

.yy-hero::before{
    content:'';
    position:absolute;
    inset:0;
    background:
    radial-gradient(circle at top right,
    rgba(255,122,0,.20),
    transparent 35%);
}

.yy-hero-grid{
    position:relative;
    z-index:2;
    display:grid;
    grid-template-columns:1.1fr .9fr;
    gap:70px;
    align-items:center;
}

.yy-badge{
    display:inline-flex;
    align-items:center;
    padding:10px 18px;
    border-radius:100px;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.12);
    color:#fff;
    font-size:.9rem;
    margin-bottom:24px;
    backdrop-filter:blur(10px);
}

.yy-hero-content h1{
    font-size:4rem;
    line-height:1.08;
    font-weight:800;
    color:#fff;
    margin-bottom:24px;
}

.yy-hero-content p{
    font-size:1.12rem;
    line-height:1.9;
    color:rgba(255,255,255,.78);
    margin-bottom:36px;
}

.yy-hero-buttons{
    display:flex;
    flex-wrap:wrap;
    gap:16px;
    margin-bottom:40px;
}

.yy-btn{
    min-height:58px;
    padding:0 28px;
    border-radius:16px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    font-weight:700;
    transition:.30s ease;
}

.yy-btn-primary{
    background:var(--yy-secondary);
    color:#fff;
    box-shadow:0 15px 35px rgba(255,122,0,.30);
}

.yy-btn-primary:hover{
    transform:translateY(-4px);
}

.yy-btn-whatsapp{
    background:#25d366;
    color:#fff;
}

.yy-btn-whatsapp:hover{
    transform:translateY(-4px);
}

.yy-mini-boxes{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
}

.yy-mini-box{
    background:rgba(255,255,255,.07);
    border:1px solid rgba(255,255,255,.10);
    backdrop-filter:blur(12px);
    border-radius:20px;
    padding:22px;
}

.yy-mini-box strong{
    display:block;
    color:#fff;
    margin-bottom:8px;
    font-size:1rem;
}

.yy-mini-box span{
    color:rgba(255,255,255,.70);
    font-size:.92rem;
}

.yy-hero-image img{
    border-radius:32px;
    box-shadow:0 30px 70px rgba(0,0,0,.25);
}

/* SECTION */

.yy-calc-section,
.yy-info-section,
.yy-seo-section,
.yy-faq-section,
.yy-contact-section{
    padding:90px 0;
}

.yy-section-title{
    text-align:center;
    margin-bottom:50px;
}

.yy-section-title span{
    display:inline-block;
    color:var(--yy-secondary);
    font-weight:700;
    margin-bottom:14px;
}

.yy-section-title h2{
    font-size:2.7rem;
    color:var(--yy-primary);
    line-height:1.2;
}

/* CALCULATOR */

.yy-calc-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:30px;
}

.yy-form-card,
.yy-result-card{
    background:var(--yy-white);
    border-radius:var(--yy-radius);
    padding:40px;
    box-shadow:var(--yy-shadow);
}

.yy-form-group{
    margin-bottom:24px;
}

.yy-form-group label{
    display:block;
    margin-bottom:12px;
    font-weight:700;
    color:var(--yy-primary);
}

.yy-form-group input{
    width:100%;
    height:64px;
    border-radius:16px;
    border:1px solid var(--yy-border);
    background:#fff;
    padding:0 20px;
    font-size:1rem;
    transition:.25s ease;
}

.yy-form-group input:focus{
    outline:none;
    border-color:var(--yy-secondary);
    box-shadow:0 0 0 4px rgba(255,122,0,.12);
}

.yy-calc-btn{
    width:100%;
    height:64px;
    border:none;
    border-radius:18px;
    background:linear-gradient(135deg,var(--yy-secondary),#ff933d);
    color:#fff;
    font-size:1rem;
    font-weight:800;
    cursor:pointer;
    transition:.30s ease;
}

.yy-calc-btn:hover{
    transform:translateY(-4px);
}

.yy-result-card{
    display:flex;
    flex-direction:column;
    justify-content:center;
    gap:20px;
}

.yy-result-item{
    padding:24px;
    border-radius:20px;
    background:#f8fafc;
    border:1px solid #eef2f7;
}

.yy-result-item span{
    display:block;
    margin-bottom:10px;
    color:var(--yy-gray);
    font-size:.96rem;
}

.yy-result-item strong{
    font-size:2rem;
    color:var(--yy-primary);
}

.yy-highlight{
    background:linear-gradient(135deg,var(--yy-primary),#153968);
}

.yy-highlight span,
.yy-highlight strong{
    color:#fff;
}

/* INFO */

.yy-info-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:28px;
}

.yy-info-card{
    background:#fff;
    border-radius:28px;
    overflow:hidden;
    box-shadow:var(--yy-shadow);
    transition:.30s ease;
}

.yy-info-card:hover{
    transform:translateY(-8px);
}

.yy-info-card img{
    width:100%;
    height:240px;
    object-fit:cover;
}

.yy-info-card h3{
    font-size:1.4rem;
    padding:26px 26px 14px;
    color:var(--yy-primary);
}

.yy-info-card p{
    padding:0 26px 30px;
    color:var(--yy-gray);
    line-height:1.8;
}

/* SEO */

.yy-seo-content{
    background:#fff;
    border-radius:36px;
    padding:70px;
    box-shadow:var(--yy-shadow);
}

.yy-section-tag{
    display:inline-block;
    color:var(--yy-secondary);
    font-weight:800;
    margin-bottom:18px;
}

.yy-seo-content h2{
    font-size:2.8rem;
    color:var(--yy-primary);
    margin-bottom:24px;
    line-height:1.2;
}

.yy-seo-content p{
    color:var(--yy-gray);
    line-height:2;
    margin-bottom:22px;
    font-size:1.05rem;
}

/* FAQ */

.yy-faq-list{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.yy-faq-item{
    background:#fff;
    padding:32px;
    border-radius:24px;
    box-shadow:var(--yy-shadow);
}

.yy-faq-item h3{
    color:var(--yy-primary);
    margin-bottom:14px;
    font-size:1.2rem;
}

.yy-faq-item p{
    color:var(--yy-gray);
    line-height:1.8;
}

/* CONTACT */

.yy-contact-box{
    background:
    linear-gradient(135deg, rgba(11,31,58,.98), rgba(5,17,34,.96)),
    url('images/bordro-yemek-yol-raporu.webp') center/cover;
    border-radius:36px;
    padding:70px;
    display:flex;
    justify-content:space-between;
    gap:30px;
    align-items:center;
}

.yy-contact-box h2{
    color:#fff;
    font-size:2.5rem;
    margin-bottom:18px;
}

.yy-contact-box p{
    color:rgba(255,255,255,.75);
    line-height:1.9;
    max-width:700px;
}

.yy-contact-btn{
    min-width:240px;
    min-height:64px;
    border-radius:18px;
    background:#25d366;
    color:#fff;
    text-decoration:none;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:800;
    padding:0 30px;
    transition:.30s ease;
}

.yy-contact-btn:hover{
    transform:translateY(-5px);
}

/* MOBILE */

@media(max-width:1100px){

    .yy-hero-grid,
    .yy-calc-grid,
    .yy-info-grid{
        grid-template-columns:1fr;
    }

    .yy-hero-content h1{
        font-size:3rem;
    }

    .yy-contact-box{
        flex-direction:column;
        align-items:flex-start;
    }

}

@media(max-width:768px){

    .yy-hero{
        padding:80px 0 60px;
    }

    .yy-container{
        width:min(100% - 24px, 1280px);
    }

    .yy-hero-content h1{
        font-size:2.3rem;
    }

    .yy-section-title h2,
    .yy-seo-content h2,
    .yy-contact-box h2{
        font-size:2rem;
    }

    .yy-mini-boxes{
        grid-template-columns:1fr;
    }

    .yy-form-card,
    .yy-result-card,
    .yy-seo-content,
    .yy-contact-box{
        padding:28px;
    }

    .yy-result-item strong{
        font-size:1.6rem;
    }

    .yy-btn,
    .yy-contact-btn{
        width:100%;
    }

}