/* style.css */

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

/* HERO (Tam Ekran Video) */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-logo {
    width: 150px;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.6));
}
.hero-logo {
    width: 150px;
    height: 150px;
    /* Logonun çember içinde sabit boyutta görünmesi için */
    object-fit: cover;
    /* Resmi keserek dairenin içine doldurur */
    border-radius: 50%;
    /* Yuvarlak yapar */
    border: 1px solid #000;
    /* Siyah çizgi */
    margin-bottom: 1rem;
    /* İstersen gölge vs. de ekleyebilirsin, ör: box-shadow */
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.6));
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    /* Eski değer: filter: brightness(0.6); */
    /* Yeni değerle biraz daha parlak yapıyoruz */
    filter: brightness(1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Eski değer: radial-gradient(circle, rgba(0,0,0,0.3), rgba(0,0,0,0.8)) */
    /* Daha açık görünüm için alpha değerlerini düşürüyoruz */
    background: radial-gradient(circle, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.5));
    z-index: -1;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.hero-content h2 {
    font-size: 1.5rem;
    color: #ccc;
    margin-bottom: 2rem;
}

.hero-content .btn {
    border-radius: 30px;
    margin: 0.5rem;
    font-size: 1.1rem;
    padding: 0.75rem 1.5rem;
    transition: 0.3s;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.15);
}

.hero-content .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.25);
}
/* WAVE */
.wave svg {
    display: block;
    width: 100%;
}

/* PROFILE SECTION */
.profile-section {
    padding: 60px 20px;
    background-color: #121212;
}

.profile-glass {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    text-align: center;
    padding: 60px 30px;
    position: relative;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.profile-avatar {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    margin-top: -120px;
    margin-bottom: 15px;
    border: 3px solid rgba(255, 255, 255, 0.4);
}

.profile-name {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.social-link {
    color: #fff;
    margin-right: 10px;
    font-size: 1.5rem;
    transition: 0.3s;
}

.social-link:hover {
    color: #ffa726;
}

/* APPS SECTION (iPhone Style) */
.apps-section {
    background: #141414;
    padding: 60px 20px;
}

.apps-section .section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 40px;
}

.apps-grid .col {
    text-align: center;
}

.app-item {
    text-decoration: none;
    color: inherit;
}

.ios-icon {
    width: 55px;
    height: 55px;
    /* Arka plan ve gölge kalkıyor: */
    background: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;

    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    overflow: hidden;
    /* ikon taşmasın */
}

.ios-icon:hover {
    /* Hover efekti de kapatabilir veya azaltabilirsin */
    transform: scale(1.0) !important;
    /* ya da 1.05 */
    box-shadow: none !important;
}

.app-label {
    margin-top: 8px;
    font-size: 0.85rem;
    color: #ccc;
    line-height: 1.2;
    min-height: 2em;
}

/* Özel renkli arkaplanlar (iconlar) */
.whatsapp-icon {
    background-color: #25D366;
    color: #fff;
}

.safari-icon {
    background-color: #0f9d58;
    color: #fff;
}

.instagram-icon {
    background-color: #C13584;
    color: #fff;
}

.facebook-icon {
    background-color: #4267B2;
    color: #fff;
}

.tiktok-icon {
    background-color: #000;
    color: #fff;
}

.youtube-icon {
    background-color: #FF0000;
    color: #fff;
}

.mail-icon {
    background-color: #448aff;
    color: #fff;
}

/* PRODUCTS SECTION */
.products-section {
    background: #1c1c1c;
    padding: 60px 20px;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 40px;
}

.product-card {
    background: #2a2a2a;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    border: none;

    /* Kart genişliği => 2 kat için 540px */
    width: 450px;
    /* +++ Bunu ekleyelim */
    flex-shrink: 0;
    /* Yatay sliderda sıkışmasın */
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.product-img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
    object-fit: cover;
    height: auto;
}

/* CAMPAIGNS (Kampanyalar) */
.campaigns {
    background: linear-gradient(135deg, #202020, #2d2d2d);
    padding: 60px 20px;
}

.campaign-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border-radius: 15px;
    overflow: hidden;
    transition: 0.3s;
}

.campaign-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.campaign-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* BANK & SHARE */
.bank-share {
    background: #1b1b1b;
    padding: 60px 20px;
}

.bank-item {
    background: #2b2b2b;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    transition: 0.3s;
}

.bank-item:hover {
    transform: scale(1.02);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.15);
}

.share-btns .btn {
    margin: 5px;
    border-radius: 25px;
}

/* FOOTER */
footer {
    background: #000;
    color: #888;
    text-align: center;
    padding: 30px 15px;
}
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    filter: brightness(1);
    transform: scale(1.05);
    /* Video bir tık büyütüldü, kanka */
}


/* --- Uygulama kutusu (.ios-icon) boyutu ayarla --- */
.ios-icon {
    width: 55px;
    /* Buton genişliği */
    height: 55px;
    /* Buton yüksekliği */
    border-radius: 14px;
    background-color: rgba(255, 255, 255, 0.07);
    margin: 0 auto;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    transition: 0.3s;
    display: flex;
    /* Ikonun tamamını doldurabilmesi için: */
    overflow: hidden;
}

/* Hover efekti istersen koru: */
.ios-icon:hover {
    transform: scale(1.06);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

/* --- Asıl ikon resmi (.icon-img) kutuyu tam doldursun --- */
.ios-icon img.icon-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Kutuya sığdır, gerekirse kenarlardan kırp */
    /* object-fit: contain; => Beyaz boşluk kalabilir, istersen cover yerine contain */
    border-radius: 14px;
    /* Köşeleri de yuvarla; .ios-icon'la aynı yarıçap */
}

/* App etiket yazısı */
.app-label {
    margin-top: 8px;
    font-size: 0.85rem;
    color: #ccc;
    line-height: 1.2;
    min-height: 2em;
    /* Center text, eğer .col {text-align:center} yoksa: */
    text-align: center;
}
/* Rehber Modal Şık Tasarım */
.rehber-modal .modal-content {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    text-align: center;
    color: #fff;
}

.rehber-modal .modal-header {
    border-bottom: none;
}

.rehber-modal .modal-body {
    padding: 10px;
}

/* Modal'ı biraz yukarı almak */
.rehber-modal .modal-dialog.modal-dialog-centered {
    align-items: flex-start !important;
    /* Ortalamayı kapat */
    margin-top: 60px !important;
    /* Üstten boşluk */
}
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;

    /* Video parlaklığını koru istersen */
    filter: brightness(1);

    /* Burada video biraz daha büyüyor, 
       istersen 1.1, 1.2 gibi değerlerle oyna */
    transform: scale(1.1);

    /* Varsa önceki scale(1.05) satırını kaldır/yenisiyle değiştir */

    /* object-position ile yukarı/aşağı kaydırmayı ayarlayabilirsin 
       Örn:  object-position: center top;  */
    object-position: center;
}
/* Ürün görselini 16:9 oranda göstermek için override */
.product-img {
    width: 100% !important;
    /* Genişlik tam olsun */

    height: auto !important;
    /* Yükseklik otomatik */

    max-height: none !important;
    /* 200px kısıtlamasını iptal ediyoruz */

    aspect-ratio: 9/16 !important;
    /* 16:9 oranı korunsun */

    object-fit: cover !important;
    /* Taşma varsa kırpılsın, en-boy oranı korunsun */

    object-position: center !important;
    /* Görseli ortala (üstten/yanlardan eşit kırpma) */
}

/* Digitalcard - Web sitesine dön (premium glass buton) */
.dcBack {
    position: fixed;
    top: calc(10px + env(safe-area-inset-top));
    left: 12px;
    right: 12px;
    z-index: 5000;
    display: flex;
    justify-content: center;
    pointer-events: none;
    /* sadece buton tıklansın */
}

.dcBack__btn {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    width: 100%;
    max-width: 520px;
    padding: 12px 16px;

    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(0, 0, 0, .35);
    backdrop-filter: blur(14px);

    color: #fff;
    text-decoration: none !important;
    /* underline kesin biter */
    font-weight: 700;
    letter-spacing: .2px;

    box-shadow: 0 14px 45px rgba(0, 0, 0, .45);
    transition: transform .14s ease, background .14s ease, filter .14s ease;
}

.dcBack__btn:hover {
    transform: translateY(-1px);
    background: rgba(0, 0, 0, .45);
    filter: drop-shadow(0 0 18px rgba(255, 255, 255, .16));
}

.dcBack__ico {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .06);
    font-weight: 800;
    line-height: 1;
}

/* Bootstrap modal açılınca üst buton kaybolsun (rehber modal ile çakışma biter) */
body.modal-open .dcBack {
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
}

/* Aşağı kaydırma okları (şeffaf animasyon) */
.scrollHint {
    position: absolute;
    left: 50%;
    bottom: 18px;
    /* safe-area istemiyorsan bu şekilde bırak */
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    opacity: .65;
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
}

.scrollHint__chev {
    display: block;
    width: 36px;
    /* büyüdü */
    height: 36px;
    /* büyüdü */
    border-right: 6px solid rgba(255, 255, 255, .55);
    /* kalınlaştı */
    border-bottom: 6px solid rgba(255, 255, 255, .55);
    /* kalınlaştı */
    transform: rotate(45deg);
    animation: scrollDown 1.35s infinite ease-in-out;
    filter: drop-shadow(0 0 12px rgba(0, 0, 0, .40));
    will-change: transform, opacity;
}

.scrollHint__chev:nth-child(2) {
    animation-delay: .18s;
    opacity: .55;
}

@keyframes scrollDown {
    0% {
        transform: translateY(0) rotate(45deg);
        opacity: .15;
    }

    55% {
        opacity: .75;
    }

    100% {
        transform: translateY(14px) rotate(45deg);
        opacity: 0;
    }
}
/* Mobilde Web sitesine dön: üstte kapatmasın, alta alın */
@media (max-width: 820px) {
    .dcBack {
        top: auto !important;
        bottom: calc(14px + env(safe-area-inset-bottom)) !important;
        left: 12px !important;
        right: 12px !important;
        justify-content: flex-start !important;
    }

    /* Mobilde buton kısa/pill olsun */
    .dcBack__btn {
        width: auto !important;
        max-width: none !important;
        padding: 10px 12px !important;
        font-size: 14px;
        gap: 8px;
    }

    .dcBack__ico {
        width: 30px;
        height: 30px;
    }
}