/* 1. Font Tanımlaması */
@font-face {
    font-family: "Termina";
    src: url("/assets/fonts/TerminaTest-Regular.otf") format("opentype");
}

@font-face {
    font-family: "Termina-Bold";
    src: url("/assets/fonts/PFTerminalSquare\ Bold.ttf") format("opentype");
    font-weight: bold;
}

.hero-title strong {
    font-family: "Termina-Bold", "Termina", sans-serif; /* Önce bold dosyayı dener */
    font-weight: 900; /* Font dosyası bulunamazsa tarayıcıyı zorlar */
}

.text-image {
    margin-bottom: 4.5rem;
}

.bold {
    font-weight: 900;
    font-family: "BOLD-FONT";
}

/* 2. Genel Ayarlar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Termina", sans-serif;
    color: #ffffff;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

/* 3. Arkaplan Yönetimi */
.bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: url("/assets/images/bg-desktop.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* 4. Konteynır Düzeni */
.container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 40px 60px;
}

/* 5. Header / Logo */
header {
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: fit-content;
    font-weight: bold;
    font-size: 1.5rem;
    line-height: 1;
}

.logo-text .icon {
    font-size: 2rem;
    margin-bottom: -5px;
}

/* 6. Ana İçerik (Main) */
main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: -50px;
}

.hero-title {
    font-size: 3rem;
    font-weight: normal;
    letter-spacing: 2px;
    margin-bottom: 60px;
    text-transform: uppercase;
}

.hero-title strong {
    font-weight: 900;
}

/* -----------------------------------------------------------
   7. SAYAÇ (COUNTDOWN) TASARIMI - GÜNCELLENDİ
----------------------------------------------------------- */

.countdown-wrapper {
    display: flex;
    gap: 30px; /* Kutular arası mesafe */
}

.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Rakamları tutan ana taşıyıcı */
.digit-box {
    display: flex;
    padding: 0;
    margin-bottom: 15px;
    position: relative;
    gap: 4px; /* İki rakam arasındaki dikey çizgi boşluğu */
}

.logo-image {
    width: 100%;
    margin-top: 1rem;
}

/* ÖNEMLİ DEĞİŞİKLİK BURADA:
   ::after elementini kaldırdık. 
   Çizgiyi background-image (gradient) ile yaptık.
   Böylece yazı asla çizginin altında kalmaz.
*/
.digit-box span {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 80px;
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff; /* Yazı rengi */
    line-height: 1;
    border-radius: 8px; /* Köşe yuvarlatma */

    /* Ana Turkuaz Renk */
    background-color: #00798a;

    /* SİHİRLİ DOKUNUŞ: Çizgi Efekti 
       Bu kod kutunun tam ortasına ince koyu bir çizgi çizer.
       Arkaplan olduğu için yazıyı EZMEZ.
    */
    background-image: linear-gradient(
        to bottom,
        transparent 48%,
        /* Üst kısım temiz */ #008c9b 50%,
        /* Tam ortada koyu çizgi */ #008c9b 51%,
        /* Hemen altında hafif parlaklık (3D etkisi) */ transparent 53% /* Alt kısım temiz */
    );

    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Kutucuk gölgesi */
}

/* Alt Metinler (DAYS, HOURS vb.) */
.label {
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: #a5d0d4; /* Görseldeki açık turkuaz yazı rengi */
    text-transform: uppercase;
    font-weight: 600;
}

/* 8. Footer / Slider Dots */
footer {
    display: flex;
    justify-content: center;
    padding-bottom: 20px;
}

.dots {
    display: flex;
    gap: 15px;
}

.dot {
    width: 12px;
    height: 12px;
    border: 1px solid white;
    border-radius: 50%;
    display: block;
    cursor: pointer;
}

.dot.active {
    background-color: white;
}

.mobile-image {
    display: none;
}
/* ----------------------------------------------------
   RESPONSIVE (MOBİL AYARLAR) - 768px altı
---------------------------------------------------- */
@media (max-width: 900px) {
    .bg-image {
        background-image: url("/assets/images/pay-bg-mobile.png");
    }
    .text-image {
        display: none;
    }

    .mobile-image {
        display: flex;
        margin-bottom: 2rem;
    }

    .container {
        padding: 30px 20px;
    }

    .logo-text {
        align-items: flex-start;
    }

    main {
        justify-content: center;
        margin-top: 0;
    }

    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 40px;
    }

    .hero-title span {
        display: block;
    }

    /* Mobilde sayaç ayarları */
    .countdown-wrapper {
        gap: 10px; /* Kutuları yaklaştır */
        margin-bottom: 6rem;
    }

    .digit-box {
        margin-bottom: 8px;
        gap: 2px;
    }

    .logo-image {
        width: 100%;
        margin-top: 0;
    }

    .digit-box span {
        width: 35px; /* Mobilde genişlik düşür */
        height: 50px; /* Mobilde yükseklik düşür */
        font-size: 2rem; /* Font küçült */
        border-radius: 6px;
    }

    .label {
        font-size: 0.55rem;
    }
}
