/* GENEL AYARLAR */
body {
    background: #fdf6ec;
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

a[href], button, .contact-btn {
    cursor: pointer;
}

/* ================================================================
   HERO (Giriş) Bölümü — MASAÜSTÜ (değiştirilmedi)
   ================================================================ */
.hero-intro {
    position: relative;
    display: flex;
    background-color: #fdf6ec;
    justify-content: center;
    align-items: center;
    min-height: 85vh;
    padding: 100px 30px 40px;
    gap: 1.5rem;
}

.hero-bg {
    position: absolute;
    display: flex;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 2100px;
    height: 2000px;
    z-index: 1;
}

.hero-bg .frame-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-text {
    flex-basis: 32%;
    max-width: 450px;
    z-index: 10;
    position: relative;
}

.hero-text h1 {
    font-family: "Playfair Display", serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.3;
    margin-bottom: 0.8rem;
}

.hero-text p {
    font-family: "Poppins", sans-serif;
    font-size: 1rem;
    color: #34495e;
    line-height: 1.6;
}

.hero-photo {
    position: relative;
    z-index: 2;
    flex-basis: 55%;
    max-width: 850px;
    border-radius: 25px;
    border: 8px solid white;
    box-shadow: 0px 25px 50px rgba(0, 0, 0, 0.2), 0px 10px 20px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    cursor: default;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.hero-photo .portrait {
    width: 100%;
    height: auto;
    display: block;
    transform-origin: center center;
    animation: slowZoom 12s ease-in-out infinite alternate;
}

/* ================================================================
   YOL EFEKTİ — MASAÜSTÜ (değiştirilmedi)
   ================================================================ */
.road-section {
    min-height: 160vh;
    background-color: #fdf6ec;
    position: relative;
    overflow: hidden;
}

.road-container {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swirl-road-bg {
    will-change: transform, opacity;
    position: absolute;
    width: 2500px;
    height: 2500px;
    object-fit: contain;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.3);
    opacity: 0;
}

.road-step {
    position: absolute;
    z-index: 5;
    padding: 30px;
    max-width: 450px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: opacity 0.5s ease;
    text-align: center;
}

.road-step p {
    font-family: "Nunito Sans", sans-serif;
    font-size: 1.1rem;
    color: #2c3e50;
    line-height: 1.5;
    margin: 0;
}

.step-1 { top: 25%; left: 10%; }
.step-2 { top: 30%; right: 10%; }
.step-3 { bottom: 10%; left: 8%; }

/* ================================================================
   ANİMASYONLAR — MASAÜSTÜ (değiştirilmedi)
   ================================================================ */
@keyframes slowZoom {
    from { transform: scale(1); }
    to   { transform: scale(1.05); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ================================================================
   CALLOUT — MASAÜSTÜ (değiştirilmedi)
   ================================================================ */
.callout-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fdf6ec;
    margin-top: -150px;
    padding-bottom: 150px;
    margin-bottom: 50px;
    z-index: 1;
}

.parallax-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.parallax-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.7);
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(1.05);
}

.callout-content {
    position: absolute;
    top: 50%;
    left: 51%;
    transform: translate(-50%, -55%);
    z-index: 10;
    text-align: center;
    width: 45%;
    max-width: 600px;
    pointer-events: none;
}

.handwritten-text {
    font-family: 'Indie Flower', cursive;
    font-size: 1.9rem;
    line-height: 1.3;
    color: #ffffff;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.5);
}

.handwritten-cite {
    font-family: 'Indie Flower', cursive;
    display: block;
    margin-top: 10px;
    font-size: 1.5rem;
    color: #ffffff;
    opacity: 0;
}

.footer {
    position: relative;
    z-index: 100;
}


/* ================================================================
   TABLET — 769px ile 1024px arası
   ================================================================ */
@media (max-width: 1024px) and (min-width: 769px) {

    /* --- HERO: fotoğraf üstte, yazı altta --- */
    .hero-intro {
        flex-direction: column;
        padding: 110px 40px 60px;
        gap: 0;
        min-height: auto;
        align-items: center;
    }

    /* Arka plan görseli tablet'te gizlenir (yeni layout bozmasın) */
    .hero-bg {
        display: none;
    }

    .hero-photo {
        order: 1;
        flex-basis: auto;
        width: 80%;
        max-width: 560px;
        margin: 0 auto 0;
        border-radius: 20px;
        border-width: 6px;
    }

    .hero-text {
        order: 2;
        flex-basis: auto;
        width: 90%;
        max-width: 600px;
        text-align: center;
        /* Ekran görüntüsündeki gibi: metin fotoğrafın üzerine biraz biner */
        background: rgba(253, 246, 236, 0.95);
        border-radius: 16px;
        padding: 28px 32px;
        margin-top: -30px;       /* Fotoğrafın altına hafifçe biner */
        z-index: 10;
        box-shadow: 0 6px 24px rgba(0,0,0,0.08);
    }

    .hero-text h1 {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .hero-text p {
        font-size: 0.97rem;
        line-height: 1.65;
    }

    /* --- YOL BÖLÜMÜ: scroll-pin kaldırılır, kartlar dikey --- */
    .road-section {
        min-height: auto;
        padding: 60px 30px 70px;
        overflow: visible;
    }

    .road-container {
        position: static;
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        /* Counter sıfırla */
        counter-reset: road-counter;
    }

    .swirl-road-bg {
        display: none;
    }

    /* Tüm step konumlarını sıfırla */
    .road-step,
    .step-1,
    .step-2,
    .step-3 {
        position: static !important;
        opacity: 1 !important;
        transform: none !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        width: 100%;
        max-width: 580px;
        padding: 24px 28px 24px 20px;
        background: #ffffff;
        border-radius: 14px;
        box-shadow: 0 4px 18px rgba(0,0,0,0.08);
        text-align: left;
        display: flex;
        align-items: flex-start;
        gap: 16px;
        counter-increment: road-counter;
    }

    /* Numara rozeti */
    .road-step::before {
        content: counter(road-counter);
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 34px;
        height: 34px;
        background: #c8a97e;
        color: #fff;
        border-radius: 50%;
        font-family: "Cinzel", serif;
        font-size: 0.85rem;
        font-weight: 600;
        flex-shrink: 0;
        margin-top: 2px;
    }

    .road-step p {
        font-size: 0.97rem;
        line-height: 1.65;
    }

    /* --- CALLOUT: resim üstte tam genişlik, yazı altta --- */
    .callout-section {
        flex-direction: column;
        height: auto;
        margin-top: 0;
        margin-bottom: 0;
        padding-bottom: 0;
        overflow: visible;
    }

    .parallax-container {
        position: relative;
        width: 100%;
        height: 52vw;
        max-height: 440px;
    }

    .parallax-img {
        position: absolute;
        top: 0; left: 0;
        transform: none;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
    }

    .callout-content {
        position: static;
        transform: none;
        width: 100%;
        max-width: 100%;
        padding: 44px 40px 52px;
        background: #2c3e50;
        text-align: center;
        pointer-events: auto;
    }

    .handwritten-text {
        font-size: 1.55rem;
        color: #fdf6ec;
        text-shadow: none;
        line-height: 1.5;
    }

    .handwritten-cite {
        font-size: 1.2rem;
        color: #c8a97e;
        opacity: 1 !important;
        margin-top: 14px;
    }

    .image-overlay { display: none; }
}


/* ================================================================
   TABLET LANDSCAPE — 769px–1024px yatay
   ================================================================ */
@media (max-width: 1024px) and (min-width: 769px) and (orientation: landscape) {

    .hero-intro {
        flex-direction: row;
        padding: 80px 36px 40px;
        gap: 24px;
        align-items: center;
    }

    .hero-photo {
        order: 1;
        width: 46%;
        margin: 0;
    }

    .hero-text {
        order: 2;
        width: 48%;
        text-align: left;
        margin-top: 0;
        background: transparent;
        box-shadow: none;
        padding: 0;
    }

    /* Callout landscape: resim sol, yazı sağ */
    .callout-section {
        flex-direction: row;
        height: 58vw;
        max-height: 500px;
    }

    .parallax-container {
        width: 50%;
        height: 100%;
        max-height: none;
    }

    .callout-content {
        width: 50%;
        padding: 30px 40px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}


/* ================================================================
   MOBİL — max 768px (dikey)
   ================================================================ */
@media (max-width: 768px) {

    /* --- HERO --- */
    .hero-intro {
        flex-direction: column !important;
        padding: 85px 16px 30px !important;
        gap: 0 !important;
        min-height: auto;
        align-items: center;
    }

    .hero-bg {
        display: none;
    }

    .hero-photo {
        order: 1 !important;
        flex-basis: auto !important;
        width: 90% !important;
        max-width: 360px !important;
        margin: 0 auto !important;
        border-width: 5px;
        border-radius: 18px;
    }

    .hero-text {
        order: 2 !important;
        flex-basis: auto !important;
        width: 88% !important;
        max-width: 400px !important;
        text-align: center;
        background: rgba(253, 246, 236, 0.97);
        border-radius: 14px;
        padding: 22px 20px !important;
        margin-top: -24px !important; /* Fotoğrafın altına hafifçe biner */
        z-index: 10;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.09);
    }

    .hero-text h1 {
        font-size: 1.55rem !important;
        line-height: 1.25;
        margin-bottom: 10px;
    }

    .hero-text p {
        font-size: 0.88rem !important;
        line-height: 1.65;
    }

    /* --- YOL BÖLÜMÜ — SABİT KARTLAR --- */
    .road-section {
        min-height: auto !important;
        padding: 48px 14px 56px !important;
        overflow: visible !important;
    }

    .road-container {
        position: static !important;
        height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 14px !important;
        counter-reset: road-counter;
    }

    .swirl-road-bg {
        display: none !important;
    }

    .road-step,
    .step-1,
    .step-2,
    .step-3 {
        position: static !important;
        opacity: 1 !important;
        transform: none !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 18px 16px 18px 14px !important;
        background: #ffffff;
        border-radius: 12px;
        box-shadow: 0 3px 14px rgba(0, 0, 0, 0.09);
        text-align: left;
        display: flex !important;
        align-items: flex-start;
        gap: 14px;
        counter-increment: road-counter;
        transition: none !important;
    }

    .road-step::before {
        content: counter(road-counter);
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 28px;
        height: 28px;
        background: #c8a97e;
        color: #fff;
        border-radius: 50%;
        font-family: "Cinzel", serif;
        font-size: 0.72rem;
        font-weight: 600;
        flex-shrink: 0;
        margin-top: 2px;
    }

    .road-step p {
        font-size: 0.88rem !important;
        line-height: 1.65;
        color: #2c3e50;
        margin: 0;
    }

    /* --- CALLOUT --- */
    .callout-section {
        flex-direction: column !important;
        height: auto !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
        overflow: visible !important;
    }

    .parallax-container {
        position: relative !important;
        width: 100% !important;
        height: 62vw !important;
        max-height: 300px;
        top: auto !important;
        left: auto !important;
    }

    .parallax-img {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center top;
    }

    .callout-content {
        position: static !important;
        transform: none !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 30px 18px 38px !important;
        background: #2c3e50;
        text-align: center;
        pointer-events: auto;
    }

    .handwritten-text {
        font-size: 1.15rem !important;
        color: #fdf6ec !important;
        text-shadow: none !important;
        line-height: 1.55 !important;
    }

    .handwritten-cite {
        font-size: 0.95rem !important;
        color: #c8a97e !important;
        opacity: 1 !important;
        margin-top: 12px;
    }

    .image-overlay { display: none !important; }
}


/* ================================================================
   MOBİL LANDSCAPE — 768px altı yatay
   ================================================================ */
@media (max-width: 768px) and (orientation: landscape) {

    .hero-intro {
        flex-direction: row !important;
        padding: 55px 18px 24px !important;
        gap: 16px !important;
        min-height: auto;
        align-items: center;
    }

    .hero-bg { display: none; }

    .hero-photo {
        order: 1 !important;
        width: 40% !important;
        max-width: 260px !important;
        margin: 0 !important;
    }

    .hero-text {
        order: 2 !important;
        width: 54% !important;
        max-width: none !important;
        text-align: left !important;
        margin-top: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        padding: 0 8px !important;
    }

    .hero-text h1 { font-size: 1.25rem !important; }
    .hero-text p  { font-size: 0.82rem !important; }

    /* Callout landscape: resim sol, yazı sağ */
    .callout-section {
        flex-direction: row !important;
        height: 55vw !important;
        max-height: 340px;
    }

    .parallax-container {
        width: 50% !important;
        height: 100% !important;
    }

    .callout-content {
        width: 50% !important;
        padding: 18px 20px !important;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .handwritten-text { font-size: 0.95rem !important; }
    .handwritten-cite { font-size: 0.85rem !important; }
}