/*
=========================================================
 ANTALYA TURLARI — GALERI FINAL / STERIL
 Sadece .atg-page ve .atg-modal alanını etkiler.
=========================================================
*/

.atg-page .atg-content-section{
    padding:50px 0 58px;
}

.atg-page .atg-intro{
    position:static;
    z-index:auto;
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:24px;
    margin:0 0 28px;
    padding:0;
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
    backdrop-filter:none;
}

.atg-page .atg-intro > div{
    min-width:0;
}

.atg-page .atg-intro span{
    display:block;
    margin-bottom:6px;
    color:#0b8b97;
    font-size:12px;
    font-weight:900;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.atg-page .atg-intro h2{
    margin:0;
    color:#10243e;
    font-size:clamp(30px,2.3vw,40px);
    line-height:1.08;
    letter-spacing:-.035em;
}

.atg-page .atg-intro p{
    margin:0 0 4px;
    color:#64748b;
    font-size:14px;
    font-weight:800;
    white-space:nowrap;
}

.atg-page .atg-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:18px;
    align-items:stretch;
}

.atg-page .atg-card{
    min-width:0;
    overflow:hidden;
    border:1px solid #dce5ee;
    border-radius:18px;
    background:#fff;
    box-shadow:0 14px 34px rgba(15,35,58,.08);
    transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}

.atg-page .atg-card:hover{
    transform:translateY(-5px);
    border-color:rgba(8,144,165,.30);
    box-shadow:0 20px 44px rgba(15,35,58,.13);
}

.atg-page .atg-card--extra{
    display:none;
}

.atg-page .atg-card--extra.is-visible{
    display:block;
}

.atg-page .atg-image-button{
    position:relative;
    width:100%;
    aspect-ratio:4/3;
    display:block;
    overflow:hidden;
    margin:0;
    padding:0;
    border:0;
    background:#0b1f31;
    cursor:pointer;
    text-align:left;
}

.atg-page .atg-image-button img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
    object-position:center;
    transition:transform .35s ease;
}

.atg-page .atg-card:hover .atg-image-button img{
    transform:scale(1.045);
}

.atg-page .atg-card-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(to top,rgba(4,19,31,.78),rgba(4,19,31,.05) 62%);
    pointer-events:none;
}

.atg-page .atg-card-label{
    position:absolute;
    z-index:3;
    top:12px;
    left:12px;
    min-height:28px;
    padding:0 11px;
    display:inline-flex;
    align-items:center;
    border-radius:999px;
    background:rgba(255,255,255,.94);
    color:#087f72;
    font-size:10px;
    font-weight:900;
    letter-spacing:.045em;
    text-transform:uppercase;
}

.atg-page .atg-card-play{
    position:absolute;
    z-index:3;
    top:50%;
    left:50%;
    width:58px;
    height:58px;
    display:flex;
    align-items:center;
    justify-content:center;
    transform:translate(-50%,-50%);
    border:1px solid rgba(255,255,255,.78);
    border-radius:50%;
    background:rgba(3,20,32,.62);
    color:#fff;
    box-shadow:0 10px 24px rgba(0,0,0,.24);
    backdrop-filter:blur(6px);
    transition:transform .2s ease,background .2s ease;
}

.atg-page .atg-card-play svg{
    width:27px;
    height:27px;
    fill:currentColor;
    transform:translateX(2px);
}

.atg-page .atg-image-button:hover .atg-card-play,
.atg-page .atg-image-button:focus-visible .atg-card-play{
    transform:translate(-50%,-50%) scale(1.07);
    background:rgba(0,155,180,.92);
}

.atg-page .atg-image-button:focus-visible{
    outline:3px solid #17c7e8;
    outline-offset:-3px;
}

.atg-page .atg-card-bottom{
    position:absolute;
    z-index:3;
    right:14px;
    bottom:13px;
    left:14px;
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:10px;
}

.atg-page .atg-card-title{
    position:static;
    min-width:0;
    display:-webkit-box;
    overflow:hidden;
    color:#fff;
    font-size:14px;
    line-height:1.25;
    font-weight:900;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
}

.atg-page .atg-card-count{
    flex:0 0 auto;
    padding:5px 7px;
    border-radius:8px;
    background:rgba(3,20,32,.66);
    color:#fff;
    font-size:10px;
    font-weight:800;
    white-space:nowrap;
}

.atg-page .atg-detail-link{
    min-height:46px;
    padding:0 14px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    color:#0b8b97;
    font-size:12px;
    font-weight:900;
    text-decoration:none;
}

.atg-page .atg-detail-link:hover{
    background:#f4f9fb;
}

.atg-page .atg-load-more-wrap{
    display:flex;
    justify-content:center;
    margin-top:30px;
}

.atg-page .atg-load-more{
    min-width:190px;
    min-height:44px;
    padding:0 20px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    border:1px solid #9fd9e3;
    border-radius:999px;
    background:#fff;
    color:#0b3852;
    font-size:13px;
    font-weight:900;
    cursor:pointer;
    transition:transform .2s ease,box-shadow .2s ease,background .2s ease;
}

.atg-page .atg-load-more:hover{
    transform:translateY(-2px);
    background:#f7fcfd;
    box-shadow:0 10px 26px rgba(15,35,58,.09);
}

/* Lightbox + slideshow */
.atg-modal{
    position:fixed;
    inset:0;
    z-index:99999;
    display:none;
    align-items:center;
    justify-content:center;
    padding:22px;
    background:rgba(2,9,18,.90);
    backdrop-filter:blur(8px);
}

.atg-modal.is-open{
    display:flex;
}

.atg-modal-dialog{
    position:relative;
    width:min(1120px,100%);
    max-height:calc(100vh - 44px);
    overflow:hidden;
    border:1px solid rgba(255,255,255,.12);
    border-radius:22px;
    background:#061321;
    box-shadow:0 30px 100px rgba(0,0,0,.48);
}

.atg-modal-dialog > img{
    width:100%;
    height:min(72vh,760px);
    display:block;
    object-fit:contain;
    background:#020a12;
}

.atg-modal-close,
.atg-modal-nav{
    position:absolute;
    z-index:5;
    width:44px;
    height:44px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:1px solid rgba(255,255,255,.24);
    border-radius:50%;
    background:rgba(5,23,38,.78);
    color:#fff;
    cursor:pointer;
    backdrop-filter:blur(6px);
}

.atg-modal-close{
    top:14px;
    right:14px;
    font-size:27px;
}

.atg-modal-nav{
    top:50%;
    transform:translateY(-50%);
    font-size:34px;
    line-height:1;
}

.atg-modal-nav--prev{ left:16px; }
.atg-modal-nav--next{ right:16px; }

.atg-modal-footer{
    min-height:68px;
    padding:12px 16px 12px 20px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    border-top:1px solid rgba(255,255,255,.10);
    background:#071829;
}

.atg-modal-caption{
    min-width:0;
    padding:0;
    color:#fff;
    font-size:15px;
    font-weight:850;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.atg-modal-play{
    min-height:40px;
    padding:0 14px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    border:1px solid rgba(23,199,232,.45);
    border-radius:12px;
    background:rgba(7,66,82,.58);
    color:#e8fbff;
    font-size:12px;
    font-weight:900;
    cursor:pointer;
}

.atg-modal-play:hover{
    background:rgba(0,143,169,.74);
}

@media (max-width:1180px){
    .atg-page .atg-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media (max-width:680px){
    .atg-page .atg-content-section{
        padding:34px 0 44px;
    }

    .atg-page .atg-intro{
        align-items:flex-start;
        flex-direction:column;
        gap:8px;
        margin-bottom:20px;
    }

    .atg-page .atg-intro p{
        white-space:normal;
    }

    .atg-page .atg-grid{
        grid-template-columns:1fr;
        gap:16px;
    }

    .atg-page .atg-image-button{
        aspect-ratio:16/11;
    }

    .atg-modal{
        padding:10px;
    }

    .atg-modal-dialog{
        border-radius:16px;
    }

    .atg-modal-dialog > img{
        height:68vh;
    }

    .atg-modal-nav{
        width:40px;
        height:40px;
    }

    .atg-modal-nav--prev{ left:8px; }
    .atg-modal-nav--next{ right:8px; }

    .atg-modal-footer{
        align-items:flex-start;
        flex-direction:column;
        gap:10px;
    }

    .atg-modal-caption{
        width:100%;
        white-space:normal;
    }

    .atg-modal-play{
        width:100%;
    }
}

@media (prefers-reduced-motion:reduce){
    .atg-page .atg-card,
    .atg-page .atg-image-button img,
    .atg-page .atg-card-play,
    .atg-page .atg-load-more{
        transition:none!important;
    }
}
