/* css/sub/pages/kalisiniz.css */
/* =========================================
   ÖZEL ÜNYE ÇAKIRTEPE HASTANESİ
   Sayfa: Kalışınız (Hub Page)
   Versiyon: 21.0 (BREADCRUMB GAP FIXED)
   
   GÜNCELLEME:
   - Breadcrumb ile Intro Başlığı arasındaki görsel boşluk
     net 50px olarak ayarlandı.
     Mantık: Breadcrumb Padding (24px) + Intro Margin (26px) = 50px.
   - Fluid Scale (2000px+) bu orana göre güncellendi.
   ========================================= */

body, html {
    overflow: visible !important;
    overflow-x: clip !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

main {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* ==========================================================================
   1. MASAÜSTÜ (BASE) - 1201px - 1999px
   ========================================================================== */

.stay-hero {
    position: relative;
    width: 100%;
    height: 400px !important;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end !important;
    justify-content: flex-start !important;
    padding-bottom: 3rem !important;
    margin: 0;
    overflow: hidden;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.stay-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,50,91,0.3), rgba(0,50,91,0.9)) !important;
    z-index: 1;
}

.stay-hero .sub-page-container {
    width: 100% !important;
    height: auto !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    display: block !important;
}

.stay-hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    width: 100%;
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: left !important;
}

.stay-hero-content h1 {
    font-family: 'Inter', sans-serif;
    font-size: 3rem !important;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.1;
    color: #ffffff;
}

.stay-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 26px !important;
    font-weight: 600;
    line-height: 1.2;
    opacity: 0.95;
    color: #ffffff;
}

/* --- BREADCRUMB --- */
.page-breadcrumb {
    padding: 1.5rem 0; /* 1.5rem = 24px (Alt boşluk payı burada) */
    font-size: 0.9rem;
    color: #666;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding-left: 0 !important;
    margin-bottom: 0 !important;
}

.page-breadcrumb a {
    color: #00325B;
    text-decoration: none;
    font-weight: 600;
}

.page-breadcrumb span {
    margin: 0 0.5rem;
    color: #ccc;
}

.page-breadcrumb strong {
    color: #666;
    font-weight: 700;
}

/* --- INTRO --- */
.stay-intro {
    /* HESAP: 50px (Hedef) - 24px (Breadcrumb Padding) = 26px Margin */
    margin-top: 26px !important; 
    margin-bottom: 50px;
}

.stay-intro-sub {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #435F6C;
    line-height: 30px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.stay-intro-title {
    font-family: 'Inter', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: #00325B;
    line-height: 46px;
    max-width: 100%;
}

/* --- GRID SYSTEM --- */
.stay-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    row-gap: 80px;
    column-gap: 50px;
    margin-bottom: 80px;
    justify-items: start;
}

/* KART YAPISI */
.stay-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    max-width: 540px;
    min-height: 0 !important;
}

/* --------------------------------------------------------
   CERRAHİ MÜDAHALE (SURGICAL SPACINGS)
   Hedef - Bleed = CSS Value
   -------------------------------------------------------- 
*/

/* 1. FOTO -> BAŞLIK */
/* Hedef: 30px | Ölçülen: 38px | Bleed: 8px | Kod: 22px */
.stay-card .stay-card-img {
    width: 100%;
    height: 285px;
    overflow: hidden;
    margin-top: 0 !important;
    margin-bottom: 22px !important; 
    flex-shrink: 0;
}

.stay-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.stay-card:hover .stay-card-img img {
    transform: scale(1.05);
}

html body .stay-card .stay-card-content {
    display: block !important; 
    width: 100%;
    padding: 0 !important;
    margin: 0 !important;
    height: auto !important;
    flex-grow: 0 !important;
}

/* 2. BAŞLIK -> AÇIKLAMA */
/* Hedef: 30px | Ölçülen: 38px | Bleed: 8px | Kod: 22px */
html body .stay-card .stay-card-content h3 {
    display: block !important;
    font-family: 'Inter', sans-serif;
    font-size: 34px;
    font-weight: 600;
    color: #00325B;
    line-height: 1.2;
    margin-top: 0 !important; 
    padding-top: 0 !important;
    margin-bottom: 22px !important; 
}

/* 3. AÇIKLAMA -> AYRINTI */
/* Hedef: 45px | Ölçülen: 52px | Bleed: 7px | Kod: 38px */
html body .stay-card .stay-card-content p {
    display: block !important;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #333;
    line-height: 1.5;
    margin-top: 0 !important;
    padding-top: 0 !important;
    margin-bottom: 38px !important; 
}

/* BUTON KAPSAYICISI */
html body .stay-btn-wrapper {
    display: block !important;
    width: 100%;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* 4. AYRINTI -> ÇİZGİ */
/* Hedef: 22px | Ölçülen: 22px | Bleed: 0px | Kod: 22px */
html body .stay-link {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #00325B;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom: 22px !important; 
}

.stay-link svg {
    width: 22px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
}

.stay-link:hover {
    color: #0071CE;
    transform: translateX(5px);
}

.stay-card-separator {
    width: 100%;
    height: 2px;
    background-color: #00325B;
    display: block;
    margin-top: 0 !important;
}

/* --- PARALLAX --- */
.stay-parallax {
    position: relative;
    width: 100%;
    height: 600px !important;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 0;
}

.stay-parallax-bg {
    position: absolute;
    top: -15%;
    left: 0;
    width: 100%;
    height: 130%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    will-change: transform;
}

.stay-parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 50, 91, 0.65);
    z-index: 2;
}

.stay-parallax-content {
    position: relative;
    z-index: 3;
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
}

.stay-parallax-content h2 {
    font-family: 'Inter', sans-serif;
    font-size: 60px;
    font-weight: 700;
    line-height: 72px;
    color: #fff;
    max-width: 1200px;
    margin: 0;
}

/* --- BLOG SECTION --- */
.blog-grid-section {
    background-color: #fff;
    padding-bottom: 220px;
    padding-top: 90px;
}

.blog-section-line {
    border: none;
    border-top: 4px solid #00325B;
    width: 100%;
    margin: 0;
    margin-bottom: 25px;
}

.blog-section-title {
    font-family: 'Inter', sans-serif;
    font-size: 30px;
    font-weight: 700;
    color: #00325B;
    line-height: 39px;
    margin-top: 0;
    margin-bottom: 60px;
    text-align: left;
}

.blog-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: none;
}

.blog-image {
    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-meta-area {
    height: 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    width: 100%;
    background-color: rgba(0,50,91, 0.05);
}

.blog-category {
    background-color: #00325B;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0 15px;
    height: 100%;
    display: flex;
    align-items: center;
}

.blog-date {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
    padding-right: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding-top: 20px;
}

.blog-content h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #00325B;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.blog-content p {
    font-size: 1rem;
    color: #444;
    line-height: 1.6;
    margin: 0;
}

.blog-btn-wrapper {
    margin-top: auto;
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.blog-read-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #00325B;
    text-decoration: none;
    padding-bottom: 15px;
}

.blog-card-separator {
    width: 100%;
    height: 2px;
    background-color: #00325B;
    display: block;
}

.blog-grid-wrapper .blog-card:nth-child(4) { 
    display: none; 
}

/* ==========================================================================
   2. FLUID SCALE (2K ve 4K EKRANLAR) - 2000px+
   ========================================================================== */
@media (min-width: 2000px) {
    
    .stay-hero { 
        height: 550px !important; 
        min-height: 550px !important;
        align-items: flex-end !important; 
        justify-content: flex-start !important;
        padding-bottom: 3rem !important; 
        padding-left: 0 !important; 
    }
    
    .stay-hero-overlay {
        background: linear-gradient(to bottom, rgba(0,50,91,0.3), rgba(0,50,91,0.9)) !important;
        opacity: 1 !important;
    }
    
    .stay-hero-content h1 { 
        font-size: 3.75rem !important; 
        margin-bottom: 20px !important; 
        line-height: 1.1 !important;
    } 
    .stay-subtitle { 
        font-size: 1.5rem !important; 
        line-height: 1.2 !important;
    }

    .stay-intro { 
        /* 1.5x Scaling of 26px = 39px -> Rounded 40px */
        margin-top: 40px !important; 
        margin-bottom: 80px !important; 
    }
    
    .stay-intro-title { 
        font-size: 56px !important; 
        line-height: 1.2 !important; 
    }
    
    .stay-intro-sub { 
        font-size: 24px !important; 
        margin-bottom: 30px !important; 
    }

    .stay-grid {
        gap: 100px !important; 
        row-gap: 120px !important; 
        margin-bottom: 150px !important;
    }

    .stay-card {
        max-width: 800px !important; 
        width: 100% !important;
    }

    /* ORANTILI ARTIŞ (1.5x) */
    .stay-card-img {
        height: 420px !important; 
        margin-bottom: 33px !important; 
    }

    .stay-card-content h3 {
        font-size: 38px !important;
        font-weight: 600 !important;
        line-height: 49px !important;
        margin-top: 0 !important;
        margin-bottom: 33px !important; 
        min-height: 98px !important;
    }

    .stay-card-content p {
        font-size: 20px !important;
        line-height: 32px !important; 
        margin-top: 0 !important;
        margin-bottom: 57px !important; 
        min-height: 64px !important; 
    }

    .stay-link {
        font-size: 18px !important;
        padding-bottom: 0 !important;
        margin-bottom: 33px !important; 
        gap: 15px !important;
    }
    
    .stay-link svg { 
        width: 30px !important; 
        height: 18px !important; 
    }
    
    .stay-card-separator { 
        height: 3px !important; 
    }

    .stay-parallax { 
        height: 800px !important; 
    }
    
    .stay-parallax-content h2 {
        font-size: 80px !important;
        line-height: 90px !important;
        max-width: 1600px !important;
    }

    .blog-grid-section { 
        padding-top: 150px !important; 
        padding-bottom: 350px !important; 
    }
    
    .blog-section-line { 
        border-top-width: 6px !important; 
        margin-bottom: 40px !important; 
    }
    
    .blog-section-title { 
        font-size: 38px !important; 
        font-weight: 700 !important;
        line-height: 49px !important;
        margin-bottom: 80px !important; 
    }

    .blog-grid-wrapper { 
        gap: 60px !important; 
    }
    
    .blog-image { 
        height: 300px !important; 
    } 
    
    .blog-content { 
        padding-top: 30px !important; 
    }
    
    .blog-content h3 { 
        font-size: 32px !important; 
        line-height: 1.3 !important; 
        margin-bottom: 25px !important; 
    }
    
    .blog-content p { 
        font-size: 22px !important; 
        line-height: 1.6 !important; 
    }
    
    .blog-read-link { 
        font-size: 22px !important; 
        padding-bottom: 25px !important; 
    }
    
    .blog-read-link svg { 
        width: 30px !important; 
        height: 18px !important; 
    }
    
    .blog-card-separator { 
        height: 3px !important; 
    }
    
    .blog-grid-wrapper .blog-card:nth-child(4) { 
        display: none; 
    }
}


/* ==========================================================================
   3. TABLET (1000px - 1200px)
   ========================================================================== */
@media (min-width: 1000px) and (max-width: 1200px) {
    
    .sub-page-container {
        padding-left: 40px !important;
        padding-right: 40px !important;
    }

    .stay-hero { 
        height: 400px !important; 
        align-items: flex-end !important;
        justify-content: flex-start !important;
        padding-bottom: 3rem !important;
    }

    .stay-hero-content h1 { 
        font-size: 2.5rem !important; 
        margin-bottom: 0.5rem !important; 
        line-height: 1.1 !important;
    }
    
    .stay-subtitle { 
        font-size: 26px !important; 
        line-height: 1.2 !important;
    }

    .stay-intro { 
        margin-top: 40px !important; 
        margin-bottom: 40px !important; 
    }
    
    .stay-intro-title { 
        font-size: 27px !important; 
        font-weight: 700 !important;
        line-height: normal !important;
        max-width: 630px !important;
    }
    
    .stay-intro-sub { 
        font-size: 18px !important; 
    }

    .stay-grid {
        gap: 40px !important; 
        row-gap: 60px !important; 
        margin-bottom: 80px !important;
    }

    /* TABLET İÇİN DAHA KOMPAKT BOŞLUKLAR */
    .stay-card-img {
        height: 240px !important; 
        margin-bottom: 25px !important;
    }

    .stay-card-content h3 {
        font-size: 28px !important;
        line-height: 36px !important;
        margin-bottom: 20px !important;
    }

    .stay-card-content p {
        font-size: 15px !important;
        line-height: 22px !important;
        margin-bottom: 30px !important;
    }
    
    .stay-link {
        font-size: 14px !important;
        padding-bottom: 0 !important;
        margin-bottom: 18px !important;
    }

    .stay-parallax { 
        height: 450px !important; 
    }
    
    .stay-parallax-content h2 {
        font-size: 40px !important;
        font-weight: 700 !important;
        line-height: 48px !important;
    }

    .blog-grid-section { 
        padding-top: 80px !important;
        padding-bottom: 150px !important; 
    }
    
    .blog-section-title { 
        font-size: 34px !important; 
        margin-bottom: 50px !important; 
    }

    .blog-grid-wrapper { 
        gap: 20px !important; 
    }
    
    .blog-image { 
        height: 180px !important; 
    }
    
    .blog-content { 
        padding-top: 15px !important; 
    }
    
    .blog-content h3 { 
        font-size: 20px !important; 
        line-height: 1.3 !important; 
    }
    
    .blog-content p { 
        font-size: 15px !important; 
        line-height: 1.5 !important; 
    }
    
    .blog-grid-wrapper .blog-card:nth-child(4) { 
        display: none; 
    }
}


/* ==========================================================================
   4. RESPONSIVE: SMALL TABLET (700px - 999px)
   ========================================================================== */
@media (min-width: 700px) and (max-width: 999px) {

    .sub-page-container {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }

    .stay-hero { 
        height: 400px !important; 
        align-items: flex-end !important;
        justify-content: flex-start !important;
        padding-bottom: 3rem !important;
    }

    .stay-hero-content h1 { 
        font-size: 2.2rem !important; 
        margin-bottom: 0.5rem !important; 
        line-height: 1.2 !important;
    }
    
    .stay-subtitle { 
        font-size: 26px !important; 
        line-height: 1.2 !important;
    }

    .stay-intro { 
        margin-top: 40px !important; 
        margin-bottom: 40px !important; 
    }
    
    .stay-intro-title { 
        font-size: 24px !important; 
        font-weight: 700 !important;
        line-height: 1.4 !important;
        max-width: 600px !important; 
    }
    
    .stay-intro-sub { 
        font-size: 18px !important; 
    }

    .stay-grid {
        grid-template-columns: 1fr !important; 
        row-gap: 60px !important; 
        margin-bottom: 80px !important;
    }

    .stay-card {
        width: 100% !important;
        max-width: 100% !important; 
    }

    .stay-card-img {
        height: 410px !important; 
        margin-bottom: 25px !important;
    }

    .stay-card-content h3 {
        font-size: 28px !important;
        line-height: 36px !important;
        margin-bottom: 20px !important;
    }

    .stay-card-content p {
        font-size: 16px !important;
        line-height: 24px !important;
        margin-bottom: 30px !important;
    }
    
    .stay-link {
        font-size: 15px !important;
        padding-bottom: 0 !important;
        margin-bottom: 18px !important;
    }

    .stay-parallax { 
        height: 400px !important; 
    }
    
    .stay-parallax-content h2 {
        font-size: 36px !important; 
        line-height: 46px !important;
    }

    .blog-grid-section { 
        padding-top: 60px !important;
        padding-bottom: 120px !important; 
    }
    
    .blog-section-title { 
        font-size: 30px !important; 
        margin-bottom: 40px !important; 
    }

    .blog-grid-wrapper { 
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 30px !important; 
    }
    
    .blog-image { 
        height: 180px !important; 
    }
    
    .blog-content { 
        padding-top: 15px !important; 
    }
    
    .blog-content h3 { 
        font-size: 20px !important; 
        line-height: 1.3 !important; 
    }
    
    .blog-content p { 
        font-size: 15px !important; 
        line-height: 1.5 !important; 
    }

    .blog-grid-wrapper .blog-card:nth-child(4) {
        display: flex !important;
    }
}


/* ==========================================================================
   5. RESPONSIVE: MOBILE (699px ve Altı)
   ========================================================================== */
@media (max-width: 699px) {
    
    .sub-page-container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .stay-hero {
        margin-top: 0 !important;
        padding-top: 0 !important;
        height: calc(100svh - 54px) !important;
        min-height: calc(100svh - 54px) !important;
        background-position: center top !important;
        align-items: center !important; 
        justify-content: flex-start !important;
        padding-bottom: 0 !important; 
    }

    .stay-hero-content {
        padding: 0 !important;
        text-align: left !important;
        width: 100% !important;
    }

    .stay-hero-content h1 { 
        font-size: 40px !important; 
        line-height: 44px !important;
        margin-bottom: 5px !important;
        font-weight: 700 !important;
        letter-spacing: -0.5px !important;
    }
    
    .stay-subtitle { 
        font-size: 26px !important; 
        line-height: 31px !important;
        font-weight: 500 !important;
        margin-top: 0 !important;
        opacity: 0.95 !important;
    }

    .stay-intro { 
        margin-top: 40px !important; 
        margin-bottom: 40px !important; 
    }
    
    .stay-intro-title { 
        font-size: 26px !important; 
        line-height: 34px !important;
        font-weight: 700 !important;
        max-width: 100% !important;
    }
    
    .stay-intro-sub { 
        font-size: 18px !important; 
    }

    .stay-grid { 
        grid-template-columns: 1fr !important; 
        row-gap: 60px !important; 
        margin-bottom: 60px !important; 
    }
    
    .stay-card { 
        max-width: 100% !important; 
        margin: 0 !important; 
    } 
    
    .stay-card-img { 
        height: 215px !important; 
        margin-bottom: 20px !important;
    }
    
    /* MOBİL İÇİN DAHA SIKI BOŞLUKLAR */
    .stay-card-content h3 { 
        font-size: 26px !important; 
        line-height: 32px !important; 
        margin-bottom: 15px !important; 
    }
    
    .stay-card-content p { 
        font-size: 16px !important;
        line-height: 24px !important;
        margin-bottom: 30px !important;
        min-height: auto !important; /* Mobilde serbest bırak */
    }
    
    .stay-link {
        padding-bottom: 0 !important;
        margin-bottom: 18px !important;
    }

    .stay-parallax { 
        height: 400px !important; 
        display: flex; 
        align-items: center; 
        padding-left: 0 !important; 
        padding-right: 0 !important;
    }
    
    .stay-parallax-content { 
        padding-left: 10px !important;
        padding-right: 10px !important;
        width: 100% !important;
    }
    
    .stay-parallax-content h2 { 
        font-size: 30px !important; 
        font-weight: 700 !important;
        line-height: 36px !important; 
        text-align: left !important; 
    }

    .blog-grid-section { 
        padding-top: 50px !important; 
        padding-bottom: 140px !important; 
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    .blog-section-title { 
        font-size: 26px !important; 
        margin-bottom: 40px !important; 
        margin-left: 0 !important;
    }
    
    .blog-grid-wrapper { 
        grid-template-columns: 1fr !important; 
        gap: 70px !important; 
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .blog-card {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
    }

    .blog-image { 
        height: 200px !important; 
    }

    .blog-content {
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-top: 20px !important;
    }

    .blog-grid-wrapper .blog-card:nth-child(4) {
        display: none !important;
    }
}