@charset "utf-8";
/* CSS Document */

:root{
    --sf-bg: #f5f7fb;
    --sf-white: #ffffff;
    --sf-text: #1d2c3c;
    --sf-text-soft: #607284;
    --sf-primary: #48627a;
    --sf-primary-dark: #33475b;
    --sf-primary-soft: #70849a;
    --sf-border: #e5ebf1;
    --sf-shadow: 0 20px 50px rgba(28, 43, 58, 0.08);
    --sf-radius-xl: 28px;
    --sf-radius-lg: 20px;
    --sf-radius-md: 16px;
    --sf-transition: all .25s ease;
}

html, body{
    overflow-x: hidden !important;
}

body{
    background: var(--sf-bg);
    color: var(--sf-text);
}

img{
    max-width: 100%;
    height: auto;
    display: block;
}

.sf-section{
    position: relative;
    padding: 80px 0;
}

.sf-section-sm{
    padding: 56px 0;
}

.sf-section-white{
    background: var(--sf-white);
}

.sf-section-soft{
    background: #f7f9fc;
}

.sf-container-tight{
    max-width: 1240px;
    margin: 0 auto;
}

.sf-heading{
    text-align: center;
    margin-bottom: 34px;
}

.sf-heading h2{
    margin: 0 0 10px;
    font-size: 42px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.7px;
    color: var(--sf-text);
}

.sf-heading p{
    margin: 0 auto;
    max-width: 760px;
    font-size: 16px;
    line-height: 1.85;
    color: var(--sf-text-soft);
}

.sf-card{
    background: var(--sf-white);
    border: 1px solid var(--sf-border);
    border-radius: var(--sf-radius-lg);
    box-shadow: var(--sf-shadow);
    transition: var(--sf-transition);
}

.sf-card:hover{
    transform: translateY(-4px);
}

.sf-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 22px;
    border-radius: 16px;
    border: 0;
    text-decoration: none !important;
    transition: var(--sf-transition);
    font-weight: 700;
    cursor: pointer;
}

.sf-btn-primary{
    background: linear-gradient(135deg, var(--sf-primary-soft), var(--sf-primary));
    color: #fff !important;
    box-shadow: 0 14px 34px rgba(74, 90, 110, 0.22);
}

.sf-btn-primary:hover{
    transform: translateY(-1px);
    color: #fff !important;
}

.sf-btn-outline{
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    color: #fff !important;
}

.sf-hero{
    position: relative;
    padding: 38px 0 60px;
    background-image:'../../uploads/banners/promo-banner.jpg'
        
    overflow: visible !important;
}

.sf-hero::before{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0));
    pointer-events: none;
}

.sf-hero-inner{
    position: relative;
    z-index: 2;
}

.sf-hero-top{
    text-align: center;
    margin-bottom: 26px;
}

.sf-badge{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.12);
    color: #eef4fa;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .2px;
    margin-bottom: 16px;
}

.sf-hero-title{
    margin: 0 auto 12px;
    max-width: 860px;
    font-size: 48px;
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.9px;
    color: #fff;
}

.sf-hero-desc{
    margin: 0 auto;
    max-width: 780px;
    font-size: 17px;
    line-height: 1.9;
    color: rgba(255,255,255,0.84);
}

.sf-search-shell{
    position: relative;
    max-width: 1180px;
    margin: 28px auto 0;
    padding: 28px;
    border-radius: var(--sf-radius-xl);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 24px 60px rgba(29, 44, 60, 0.14);
    overflow: visible !important;
}

.sf-trip-switch{
    display: inline-grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 22px;
}

.sf-trip-switch input{
    display: none;
}

.sf-trip-switch label{
    min-height: 50px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.88);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--sf-transition);
}

.sf-trip-switch input:checked + label{
    background: rgba(255,255,255,0.18);
    color: #fff;
    border-color: rgba(255,255,255,0.22);
}

.sf-search-grid{
    display: grid;
    grid-template-columns: 1.15fr 1.15fr 1.15fr 0.95fr 0.95fr 1fr 1fr;
    gap: 14px;
    align-items: end;
}

.sf-field{
    position: relative;
    min-width: 0;
}

.sf-field label{
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.84);
}

.sf-field input,
.sf-field select{
    width: 100%;
    height: 58px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.98);
    color: #25384b;
    border-radius: 16px;
    padding: 0 16px;
    font-size: 15px;
    font-weight: 500;
    outline: none;
    box-shadow: none;
    transition: var(--sf-transition);
    -webkit-appearance: none;
    appearance: none;
}

.sf-field input:focus,
.sf-field select:focus{
    border-color: rgba(255,255,255,0.30);
    box-shadow: 0 0 0 4px rgba(255,255,255,0.08);
}

.sf-swap-wrap{
    display: flex;
    align-items: end;
    justify-content: center;
}

.sf-swap-btn{
    width: 58px;
    height: 58px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.10);
    color: #fff;
    border-radius: 16px;
    font-size: 22px;
    cursor: pointer;
}

.sf-input-note{
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.6;
    color: rgba(255,255,255,0.72);
}

.sf-autocomplete-list{
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--sf-border);
    border-radius: 16px;
    box-shadow: 0 20px 45px rgba(22,35,49,0.16);
    max-height: 320px;
    overflow-y: auto;
    display: none;
    z-index: 100;
}

.sf-autocomplete-list.active{
    display: block;
}

.sf-autocomplete-item{
    padding: 14px 16px;
    border-bottom: 1px solid #eef3f7;
    cursor: pointer;
}

.sf-autocomplete-item:last-child{
    border-bottom: 0;
}

.sf-autocomplete-item:hover,
.sf-autocomplete-item.is-active{
    background: #f5f8fb;
}

.sf-autocomplete-title{
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    color: #203447;
}

.sf-autocomplete-meta{
    margin-top: 2px;
    font-size: 12px;
    line-height: 1.6;
    color: #6f8090;
}

.sf-hero-note{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.10);
}

.sf-note-item{
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.sf-note-icon{
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 14px;
    background: rgba(255,255,255,0.10);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
}

.sf-note-item h4{
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}

.sf-note-item p{
    margin: 0;
    font-size: 13px;
    line-height: 1.75;
    color: rgba(255,255,255,0.76);
}

@media (max-width: 1199px){
    .sf-search-grid{
        grid-template-columns: 1fr 64px 1fr 1fr 1fr;
    }

    .sf-field-passengers{
        grid-column: 1 / span 2;
    }

    .sf-field-submit{
        grid-column: 3 / span 3;
    }
}

@media (min-width: 768px) and (max-width: 991px){
    .sf-search-grid{
        grid-template-columns: 1fr 64px 1fr;
    }

    .sf-field-date-return{
        grid-column: 2 / span 2;
    }

    .sf-field-submit{
        grid-column: 1 / span 3;
    }

    .sf-hero-note{
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px){
    .sf-section{
        padding: 56px 0;
    }

    .sf-heading h2{
        font-size: 30px;
    }

    .sf-hero{
        padding: 18px 0 16px;
    }

    .sf-hero-title{
        font-size: 28px;
        line-height: 1.2;
    }

    .sf-hero-desc{
        font-size: 14px;
        line-height: 1.8;
    }

    .sf-search-shell{
        padding: 18px 14px;
        border-radius: 18px;
    }

    .sf-trip-switch{
        width: 100%;
    }

    .sf-trip-switch label{
        min-height: 54px;
        border-radius: 16px;
        font-size: 15px;
    }

    .sf-search-grid{
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .sf-field input,
    .sf-field select{
        height: 56px;
        border-radius: 16px;
        font-size: 15px;
    }

    .sf-swap-wrap{
        justify-content: stretch;
    }

    .sf-swap-btn{
        width: 100%;
        height: 56px;
    }

    .sf-field-submit .sf-btn{
        width: 100%;
        min-height: 58px;
        border-radius: 16px;
    }

    .sf-hero-note{
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .sf-autocomplete-list{
        max-height: 240px;
    }
}

.sf-deals-grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.sf-deal-card{
    position: relative;
    overflow: hidden;
    min-height: 320px;
    border-radius: 22px;
    background: #dfe7ef;
    box-shadow: var(--sf-shadow);
}

.sf-deal-card img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sf-deal-overlay{
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20,31,45,0.08) 0%, rgba(20,31,45,0.58) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 16px;
}

.sf-deal-badge{
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.92);
    color: var(--sf-text);
    font-size: 12px;
    font-weight: 700;
}

.sf-deal-bottom{
    color: #fff;
}

.sf-deal-title{
    margin: 0 0 6px;
    font-size: 21px;
    line-height: 1.3;
    font-weight: 800;
    color: #fff;
}

.sf-deal-text{
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255,255,255,0.88);
}

.sf-banner-card{
    position: relative;
    overflow: hidden;
    min-height: 340px;
    border-radius: 28px;
    background: #cfd9e4;
    box-shadow: var(--sf-shadow);
}

.sf-banner-card img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sf-banner-overlay{
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(21,33,47,0.68) 0%, rgba(21,33,47,0.22) 58%, rgba(21,33,47,0.10) 100%);
    display: flex;
    align-items: center;
    padding: 34px 38px;
}

.sf-banner-content{
    max-width: 520px;
}

.sf-banner-kicker{
    display: inline-block;
    margin-bottom: 14px;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.92);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .2px;
}

.sf-banner-title{
    margin: 0 0 12px;
    font-size: 42px;
    line-height: 1.12;
    letter-spacing: -0.8px;
    font-weight: 800;
    color: #fff;
}

.sf-banner-text{
    margin: 0 0 22px;
    font-size: 16px;
    line-height: 1.85;
    color: rgba(255,255,255,0.88);
}

.sf-banner-actions{
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.sf-btn-light{
    background: #fff;
    color: var(--sf-text) !important;
}

.sf-btn-light:hover{
    color: var(--sf-text) !important;
    transform: translateY(-1px);
}

@media (max-width: 1199px){
    .sf-deals-grid{
        grid-template-columns: repeat(2, 1fr);
    }

    .sf-banner-title{
        font-size: 34px;
    }
}

@media (max-width: 767px){
    .sf-deals-grid{
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .sf-deal-card{
        min-height: 260px;
        border-radius: 18px;
    }

    .sf-banner-card{
        min-height: 300px;
        border-radius: 20px;
    }

    .sf-banner-overlay{
        padding: 22px 20px;
        align-items: flex-end;
        background: linear-gradient(180deg, rgba(21,33,47,0.18) 0%, rgba(21,33,47,0.72) 100%);
    }

    .sf-banner-title{
        font-size: 28px;
        line-height: 1.18;
    }

    .sf-banner-text{
        font-size: 14px;
        line-height: 1.75;
    }

    .sf-banner-actions{
        flex-direction: column;
        align-items: stretch;
    }

    .sf-banner-actions .sf-btn{
        width: 100%;
    }
}

/* =========================================================
   STARSLY V2 - HERO BACKGROUND + MOBILE SEARCH FINAL FIX
   ========================================================= */

/* Masaüstü hero arka plan görseli */
.sf-hero{
    background:
        linear-gradient(135deg, rgba(31,49,67,0.82) 0%, rgba(54,78,101,0.74) 48%, rgba(82,111,137,0.66) 100%),
        url("../uploads/hero/hero-flight-bg.jpg") center center / cover no-repeat !important;
}

/* Hero içeriği daha okunur olsun */
.sf-hero::before{
    background: linear-gradient(180deg, rgba(0,0,0,0.06), rgba(0,0,0,0.12)) !important;
}

/* Mobilde sağ-sol taşmayı kesin kes */
html,
body{
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
}

.page-content,
.sf-hero,
.sf-hero-inner,
.sf-search-shell,
.sf-search-grid,
.sf-field,
.sf-field input,
.sf-field select{
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Mobil final düzeltme */
@media (max-width: 767px){

    .sf-hero{
        padding: 18px 0 18px !important;
        background:
            linear-gradient(135deg, rgba(54,75,97,0.95), rgba(70,96,121,0.95)) !important;
        overflow: visible !important;
    }

    .sf-hero .container{
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .sf-hero-top{
        text-align: center !important;
        margin-bottom: 18px !important;
    }

    .sf-badge{
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .sf-hero-title{
        font-size: 26px !important;
        line-height: 1.22 !important;
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .sf-hero-desc{
        font-size: 14px !important;
        line-height: 1.75 !important;
        text-align: center !important;
    }

    .sf-search-shell{
        width: 100% !important;
        margin: 20px auto 0 !important;
        padding: 18px 14px !important;
        border-radius: 20px !important;
        overflow: visible !important;
        transform: none !important;
    }

    /* Gidiş-dönüş / tek yön eşit */
    .sf-trip-switch{
        width: 100% !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
        margin-bottom: 18px !important;
    }

    .sf-trip-switch > div{
        width: 100% !important;
        min-width: 0 !important;
    }

    .sf-trip-switch label{
        width: 100% !important;
        min-height: 54px !important;
        border-radius: 16px !important;
        padding: 0 10px !important;
        font-size: 15px !important;
        text-align: center !important;
        white-space: nowrap !important;
    }

    /* Mobilde form tamamen tek sütun */
    .sf-search-grid{
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 13px !important;
        width: 100% !important;
    }

    .sf-field,
    .sf-swap-wrap,
    .sf-field-date-depart,
    .sf-field-date-return,
    .sf-field-passengers,
    .sf-field-submit{
        width: 100% !important;
        grid-column: 1 / -1 !important;
        min-width: 0 !important;
    }

    .sf-field label{
        display: block !important;
        font-size: 13px !important;
        line-height: 1.4 !important;
        margin-bottom: 7px !important;
        color: rgba(255,255,255,0.88) !important;
    }

    .sf-field input,
    .sf-field select{
        width: 100% !important;
        min-width: 0 !important;
        height: 56px !important;
        border-radius: 16px !important;
        padding: 0 15px !important;
        font-size: 15px !important;
    }

    .sf-swap-wrap{
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .sf-swap-btn{
        width: 100% !important;
        height: 50px !important;
        border-radius: 16px !important;
        font-size: 20px !important;
    }

    .sf-field-submit label{
        display: none !important;
    }

    .sf-field-submit{
        margin-top: 8px !important;
    }

    .sf-field-submit .sf-btn,
    .sf-field-submit button{
        width: 100% !important;
        min-height: 58px !important;
        border-radius: 18px !important;
        font-size: 16px !important;
    }

    .sf-input-note{
        font-size: 12px !important;
        line-height: 1.5 !important;
        margin-top: 5px !important;
    }

    .sf-autocomplete-list{
        max-height: 260px !important;
        border-radius: 16px !important;
        z-index: 9999 !important;
    }

    .sf-hero-note{
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        margin-top: 18px !important;
        padding-top: 16px !important;
    }

    .sf-note-item{
        width: 100% !important;
    }
}
/* =========================================================
   PROMO BANNER MOBILE FINAL FIX
   ========================================================= */

.sf-banner-card{
    height: auto !important;
    min-height: 340px !important;
    overflow: hidden !important;
}

.sf-banner-card img{
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.sf-banner-overlay{
    box-sizing: border-box !important;
}

@media (max-width: 767px){

    .sf-section-soft{
        padding: 36px 0 !important;
    }

    .sf-banner-card{
        min-height: auto !important;
        height: auto !important;
        border-radius: 20px !important;
        background: #34495e !important;
        overflow: hidden !important;
    }

    .sf-banner-card img{
        position: relative !important;
        width: 100% !important;
        height: 220px !important;
        object-fit: cover !important;
        display: block !important;
    }

    .sf-banner-overlay{
        position: relative !important;
        inset: auto !important;
        display: block !important;
        padding: 22px 18px !important;
        background: linear-gradient(135deg, #34495e 0%, #526d86 100%) !important;
    }

    .sf-banner-content{
        max-width: 100% !important;
        width: 100% !important;
    }

    .sf-banner-kicker{
        margin-bottom: 12px !important;
        font-size: 12px !important;
        padding: 8px 12px !important;
    }

    .sf-banner-title{
        font-size: 25px !important;
        line-height: 1.22 !important;
        letter-spacing: -0.3px !important;
        margin-bottom: 10px !important;
    }

    .sf-banner-text{
        font-size: 14px !important;
        line-height: 1.7 !important;
        margin-bottom: 18px !important;
    }

    .sf-banner-actions{
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .sf-banner-actions .sf-btn{
        width: 100% !important;
        min-height: 52px !important;
        border-radius: 15px !important;
        font-size: 15px !important;
    }
}