/* HERO TOP SECTION */
.hero-top-section {
    padding: 40px 16px;
    background: white;
}

.hero-top-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 32px;
}

.hero-top-text {
    flex: 1 1 360px;
    min-width: 300px;
}

.hero-top-title {
    font-size: 44px;
    line-height: 1.25;
    font-weight: 700;
    color: #113863;
    margin: 0 0 18px;
}

.hero-top-desc {
    font-size: 22px;
    line-height: 1.7;
    color: #3f4b5c;
    margin: 0;
    max-width: 460px;
}

.hero-top-image {
    flex: 1 1 360px;
    min-width: 300px;
    text-align: right;
}

.hero-top-image img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}

/* GALLERY APP */
.anka-hero-app {
    background: #ffffff;
    padding: 0 0 32px;
}

.anka-nav-wrapper {
    width: 80%;
    margin-left: auto;
    display: flex;
    align-items: center;
    padding-top: 10px;
    box-sizing: border-box;
    gap: 16px;
}

.anka-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.anka-logo img {
    height: 60px;
    width: auto;
    display: block;
}

.anka-tabs-band {
    flex: 1;
    background: #14385A;
    height: 32px;
    display: flex;
    align-items: center;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scrollbar-width: none;
    box-sizing: border-box;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
}

.anka-tabs-band::-webkit-scrollbar {
    display: none;
}

.anka-tab-btn {
    border: none;
    background: transparent;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 10px 18px;
    cursor: pointer;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: border-bottom .18s ease, background .18s ease;
    flex-shrink: 0;
}

.anka-tab-btn.active {
    border-bottom: 3px solid #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.anka-tab-btn:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* GALLERY WRAPPER with ARROWS */
.anka-gallery-wrapper {
    position: relative;
    width: 100%;
    margin-top: 12px;
}

.anka-gallery-scroll {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 16px 8px 16px;
    box-sizing: border-box;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    cursor: grab;
}

.anka-gallery-scroll::-webkit-scrollbar {
    display: none;
}

.anka-gallery-scroll.dragging {
    cursor: grabbing;
}

.anka-gallery-item {
    flex: 0 0 260px;
    border-radius: 6px;
    overflow: hidden;
    min-height: 160px;
    background: #f3f3f3;
}

.anka-gallery-link {
    display: block;
    width: 100%;
    height: 100%;
}

.anka-gallery-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

/* ARROW BUTTONS */
.anka-gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(20, 56, 90, 0.85);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.2s ease, transform 0.15s ease;
}

.anka-gallery-arrow:hover {
    background: rgba(20, 56, 90, 1);
}

.anka-gallery-arrow:active {
    transform: translateY(-50%) scale(0.92);
}

.anka-gallery-arrow-left {
    left: 8px;
}

.anka-gallery-arrow-right {
    right: 8px;
}

/* TABLET ve MASAÜSTÜ */
@media (min-width: 768px) {
    .anka-nav-wrapper {
        width: 85%;
    }
}

@media (min-width: 992px) {
    .anka-nav-wrapper {
        width: 80%;
    }

    .anka-logo img {
        height: 70px;
    }

    .anka-tabs-band {
        height: 36px;
    }

    .anka-tab-btn {
        font-size: 0.85rem;
        padding: 12px 20px;
    }
}

/* MOBİL RESPONSIVE */
@media (max-width: 767px) {
    .hero-top-section {
        padding: 24px 16px;
    }

    .hero-top-container {
        gap: 20px;
    }

    .hero-top-title {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .hero-top-desc {
        font-size: 15px;
        line-height: 1.6;
    }

    .hero-top-image {
        text-align: center;
    }

    /* Nav mobilde full width */
    .anka-nav-wrapper {
        width: 100%;
        flex-direction: column;
        gap: 8px;
        padding: 12px 16px;
    }

    .anka-logo {
        width: 100%;
        justify-content: center;
    }

    .anka-logo img {
        height: 45px;
    }

    .anka-tabs-band {
        width: 100%;
        height: 44px;
        border-radius: 4px;
        padding: 0 8px;
    }

    .anka-tab-btn {
        font-size: 0.75rem;
        padding: 10px 14px;
    }

    .anka-gallery-item {
        flex: 0 0 220px;
        min-height: 140px;
    }

    /* Mobilde oklar daha küçük */
    .anka-gallery-arrow {
        width: 36px;
        height: 36px;
    }

    .anka-gallery-arrow svg {
        width: 18px;
        height: 18px;
    }

    .anka-gallery-arrow-left {
        left: 4px;
    }

    .anka-gallery-arrow-right {
        right: 4px;
    }
}

@media (max-width: 480px) {
    .hero-top-title {
        font-size: 24px;
    }

    .hero-top-desc {
        font-size: 14px;
    }

    .anka-gallery-item {
        flex: 0 0 180px;
        min-height: 120px;
    }

    .anka-tab-btn {
        font-size: 0.7rem;
        padding: 8px 12px;
    }

    /* Küçük mobilde oklar daha da küçük */
    .anka-gallery-arrow {
        width: 32px;
        height: 32px;
    }

    .anka-gallery-arrow svg {
        width: 16px;
        height: 16px;
    }
}

/* GORSELLER SECTION */
.anka-gorseller-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.anka-gorseller-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Üst görsel - Sadece gösterim */
.anka-saglam-block {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.anka-saglam-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Üst görsele ışıldama efekti */
.anka-saglam-block::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 48%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0.3) 52%, transparent 70%);
    animation: shineEffect 5s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes shineEffect {

    0%,
    100% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
        opacity: 0;
    }

    10%,
    30% {
        opacity: 1;
    }

    50% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
        opacity: 0;
    }
}

/* Alt görsel - Tıklanabilir */
.anka-planlar-block {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 4px solid #0a325b;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.anka-planlar-link {
    display: block;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.anka-planlar-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
    border-radius: 10px;
}

/* Hover efektleri - Uzaklaşma */
.anka-planlar-block:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(10, 50, 91, 0.25);
    border-color: #0a325b;
    background: #0a325b;
}

.anka-planlar-block:hover .anka-planlar-image {
    transform: scale(0.95);
    /* Uzaklaşma efekti */
}

/* Işıldama efekti - hover'da */
.anka-planlar-block::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 48%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0.3) 52%, transparent 70%);
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    transition: all 0.8s ease;
}

.anka-planlar-block:hover::before {
    opacity: 1;
    transform: translateX(100%) translateY(100%) rotate(45deg);
}

/* Click efekti */
.anka-planlar-block:active {
    transform: translateY(-4px) scale(0.98);
}

/* Mobil responsive */
@media (max-width: 768px) {
    .anka-gorseller-section {
        padding: 40px 0;
    }

    .anka-gorseller-container {
        padding: 0 16px;
        gap: 24px;
    }

    .anka-saglam-block,
    .anka-planlar-block {
        border-radius: 12px;
        border-width: 3px;
    }
}

@media (max-width: 480px) {
    .anka-gorseller-container {
        gap: 20px;
    }

    .anka-saglam-block,
    .anka-planlar-block {
        border-width: 2px;
    }
}

/* ORTAK INFO SECTION */
.info-section {
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.info-wrap {
    width: 100%;
    margin: 0;
    display: flex;
    position: relative;
    min-height: 500px;
}

.info-left {
    flex: 0 0 50%;
    color: #ffffff;
    box-sizing: border-box;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-title {
    font-size: 32px;
    line-height: 1.3;
    font-weight: 700;
    margin: 0 0 20px;
}

.info-text {
    display: block;
    object-fit: cover;
    object-position: bottom right;
    transition: transform 0.6s ease;
}

/* Hover efektleri */
.info-section:hover .info-right img {
    transform: scale(1.08);
}

/* Yıldız/Parıltı efekti */
.info-right::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    transition: left 0.8s ease;
    pointer-events: none;
    z-index: 1;
}

.info-section:hover .info-right::before {
    left: 150%;
}

/* Her section için sadece background renkleri */
.info-section.lokasyon {
    background: #2E7C78;
}

.info-section.guvenli {
    background: #41a1bd;
}

.info-section.yatirim {
    background: #c17d7a;
}

.info-section.tasarim {
    background: #ddb584;
}

/* Tablet / küçük desktop */
@media (min-width: 992px) {
    .info-wrap {
        min-height: 550px;
    }

    .info-left {
        flex: 0 0 45%;
        padding: 60px 50px 60px 80px;
    }

    .info-title {
        font-size: 38px;
    }

    .info-text {
        font-size: 16px;
    }

    .info-right {
        max-width: 60%;
        overflow: hidden;
    }
}

/* Büyük ekranlar */
@media (min-width: 1400px) {
    .info-wrap {
        min-height: 600px;
    }

    .info-left {
        flex: 0 0 40%;
        padding: 70px 60px 70px 120px;
    }

    .info-title {
        font-size: 42px;
    }

    .info-text {
        font-size: 17px;
    }

    .info-right {
        max-width: 65%;
        overflow: hidden;
    }
}

/* Mobil - Görseller Alta Gelir */
@media (max-width: 768px) {
    .info-wrap {
        min-height: auto;
        flex-direction: column;
    }

    .info-left {
        flex: 0 0 100%;
        padding: 40px 32px;
    }

    .info-title {
        font-size: 26px;
    }

    .info-text {
        font-size: 14px;
    }

    .info-right {
        position: static;
        max-width: 100%;
        width: 100%;
        height: auto;
        overflow: hidden;
    }

    .info-right img {
        width: 100%;
        height: auto;
        object-fit: cover;
        object-position: center;
    }

    /* Mobilde hover efektlerini devre dışı bırak */
    .info-section:hover .info-right img {
        transform: none;
    }

    .info-section:hover .info-right::before {
        left: -100%;
    }
}

/* KONUM SECTION */
.konum-section {
    margin: 0;
    padding: 20px 20px;
    background: #ffffff;
    text-align: center;
}

.konum-image-wrap {
    max-width: 900px;
    margin: 0 auto 30px;
    overflow: hidden;
    position: relative;
}

.konum-image-wrap img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

/* Kalp atışı efekti - çok yavaş */
@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }
}

.konum-image-wrap img {
    animation: heartbeat 3s ease-in-out infinite;
}

/* Hover efekti */
.konum-image-wrap:hover img {
    animation-play-state: paused;
    transform: scale(1.05);
}

@media (min-width: 768px) {
    .konum-section {
        padding: 80px 40px;
    }

    .konum-image-wrap {
        max-width: 1100px;
    }
}

/* HARITA SECTION */
.harita-section {
    margin: 0;
    padding: 0;
    background: #ffffff;
    position: relative;
}

.harita-wrap {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    text-align: center;
}

.harita-image-wrap {
    margin: 0 auto 30px;
    overflow: hidden;
    position: relative;
}

.harita-image-wrap img {
    width: 100%;
    height: auto;
    display: block;
}

/* Yol Tarifi Butonu - REPLACED WITH CONTACT STYLE */
.map-directions-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 20px auto;
    background: #143450;
    color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.map-directions-btn:hover {
    background: #00a8cc;
    transform: translateY(-2px);
    color: #fff;
}

.map-directions-btn i {
    font-size: 1.2rem;
}

@media (min-width: 768px) {
    .harita-wrap {
        padding: 0 40px 80px;
    }
}

@media (max-width: 767px) {
    .harita-wrap {
        padding: 0 20px 40px;
    }
}