/* =============================================
   KARADENIZ GAS — COMING SOON PAGE
   Hostinger uyumlu, öz kaynaklı font ve görseller
   ============================================= */

/* -----------------------------------------------
   FONT: Aftika (tüm varyantlar, yerel hostinger için)
----------------------------------------------- */
@font-face {
    font-family: 'Aftika';
    src: url('../fonts/Aftika-ExtraLight.otf') format('opentype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Aftika';
    src: url('../fonts/Aftika-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Aftika';
    src: url('../fonts/Aftika-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Aftika';
    src: url('../fonts/Aftika-SemiBold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Aftika';
    src: url('../fonts/Aftika-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Aftika';
    src: url('../fonts/Aftika-ExtraBold.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Aftika';
    src: url('../fonts/Aftika-Black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* -----------------------------------------------
   RESET & BASE
----------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

body {
    font-family: 'Aftika', Helvetica, Arial, sans-serif;
    background-color: #0a0a0a;
    color: #ffffff;
    /* Özel cursor: SVG formatında gaz pompası ikonu */
    cursor: url('../img/gas-fuel.svg?v=6') 12 12, auto;
}

/* -----------------------------------------------
   ARKA PLAN KATMANLARI (position: fixed)
----------------------------------------------- */
.layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
}

/* Katman 1: Arka plan fotoğrafı */
.bg-photo {
    background-image: url('../img/bg-photo.png');
    background-size: cover;
    background-position: center 35%;
    background-repeat: no-repeat;
    z-index: 1;
    animation: slowZoom 30s ease-in-out infinite alternate;
}

@keyframes slowZoom {
    from { transform: scale(1.00); }
    to   { transform: scale(1.04); }
}

/* Katman 2: Üstten alta siyahlaşan degrade overlay */
.overlay-gradient {
    z-index: 2;
    background: linear-gradient(
        to bottom,
        rgba(5, 5, 5, 0.05)  0%,
        rgba(5, 5, 5, 0.10)  25%,
        rgba(5, 5, 5, 0.55)  50%,
        rgba(5, 5, 5, 0.88)  65%,
        rgba(5, 5, 5, 0.97)  78%,
        rgba(0, 0, 0, 1.00) 100%
    );
}

/* -----------------------------------------------
   ANA SAYFA KAPSAYICI
   İçerik tek kolonda, dikey olarak tam sayfada
----------------------------------------------- */
.main-content {
    position: relative;
    z-index: 10;
    width: 100%;
    /* Standart yükseklik ve iOS Safari için Dinamik Viewport Yüksekliği */
    height: 100vh;
    height: 100dvh; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 6vh;
    text-align: center;
}

/* -----------------------------------------------
   ORTA BLOK: Başlık + Headline + Email Btn
   Referansa göre: fotoğraf/siyah sınırında konumlu
----------------------------------------------- */
.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    /* Alt logodan önce boşluk */
    margin-bottom: 6vh;
}

/* -----------------------------------------------
   "Karadeniz Gas" — küçük üst etiket
   Referansta: Bold, orta büyüklük, normal casing
----------------------------------------------- */
.label-top {
    font-family: 'Aftika', sans-serif;
    font-weight: 600;
    font-size: clamp(0.7rem, 1.2vw, 0.95rem);
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 10px;

    opacity: 0;
    transform: translateY(-10px);
    animation: fadeInDown 0.9s ease forwards;
    animation-delay: 0.3s;
}

/* -----------------------------------------------
   "Çok Yakında Dijitalde." — ana başlık
   Referansta: Büyük değil, orta-büyük, tek satır, light/regular ağırlık
----------------------------------------------- */
.main-headline {
    font-family: 'Aftika', sans-serif;
    font-weight: 400;
    font-size: clamp(1.6rem, 3.5vw, 2.8rem);
    line-height: 1.2;
    letter-spacing: 0.01em;
    color: #ffffff;
    margin-bottom: 40px;

    opacity: 0;
    transform: translateY(14px);
    animation: fadeInUp 0.9s ease forwards;
    animation-delay: 0.5s;
}

/* -----------------------------------------------
   E-POSTA BUTONU
   Referansta: Küçük, sade oval çerçeve, hafif metin
----------------------------------------------- */
.email-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 50px;
    padding: 11px 28px;
    text-decoration: none;
    transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    cursor: url('../img/gas-fuel.svg?v=6') 12 12, pointer;

    opacity: 0;
    animation: fadeInUp 0.9s ease forwards;
    animation-delay: 0.75s;
}

.email-btn span {
    font-family: 'Aftika', sans-serif;
    font-weight: 300;
    font-size: clamp(0.72rem, 1.3vw, 0.88rem);
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.3s ease;
}

.email-btn:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.80);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.08);
}

.email-btn:hover span {
    color: #ffffff;
}

/* -----------------------------------------------
   ALT LOGO
   Referansta: Orta büyüklükte, sayfanın ortası-alt
----------------------------------------------- */
.footer-logo-area {
    display: flex;
    justify-content: center;
    align-items: center;

    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 1s;
}

.footer-logo {
    /* Referansta logo daha küçük — yaklaşık 16vw */
    width: clamp(140px, 16vw, 240px);
    height: auto;
    object-fit: contain;
    /* Görüntü kalitesini korumak için rendering kuralı */
    image-rendering: -webkit-optimize-contrast;
    opacity: 0.90;
    transition: opacity 0.3s ease;
}

.footer-logo:hover {
    opacity: 1;
}

/* -----------------------------------------------
   ANIMASYONLAR
----------------------------------------------- */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

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

/* -----------------------------------------------
   HOSTINGER UYUMU
   - Tüm yollar root'tan itibaren göreceli (root: coming-soon.html dizini)
   - fonts/ ve img/ klasörleri aynı dizinde
   - Herhangi bir sunucu tarafı bağımlılık yok
----------------------------------------------- */

/* -----------------------------------------------
   RESPONSIVE — Tablet
----------------------------------------------- */
@media (max-width: 768px) {
    .main-content {
        padding-bottom: 5vh;
    }

    .hero-section {
        margin-bottom: 5vh;
    }

    .main-headline {
        font-size: 1.9rem;
    }
}

/* -----------------------------------------------
   RESPONSIVE — Mobil (Tamamen Yeniden Tasarlandı)
----------------------------------------------- */
@media (max-width: 580px) {
    .bg-photo {
        /* Resmi biraz daha yakınlaştır, orman alanı ve tank/pompalar daha net görünsün. Yüksekliği 45vh yapıyoruz. */
        background-size: auto 48vh;
        background-position: center top;
        animation: none;
    }

    .overlay-gradient {
        /* Siyah geçişi vh değerleriyle foto sınırında yumuşat. Fotoğraf 48vh'de bittiği için 46vh'de tam siyaha ulaşıyoruz. */
        background: linear-gradient(
            to bottom,
            rgba(10, 10, 10, 0.00)   0vh,
            rgba(10, 10, 10, 0.20)  20vh,
            rgba(10, 10, 10, 0.80)  38vh,
            rgba(10, 10, 10, 0.98)  44vh,
            rgba(0, 0, 0, 1.00)     47vh,
            rgba(0, 0, 0, 1.00)    100vh
        );
    }

    .main-content {
        /* İçeriği siyah alanın ortasına hizala */
        justify-content: center;
        padding-top: 42vh; 
        padding-bottom: 0;
    }

    .hero-section {
        margin-bottom: 0;
    }

    .footer-logo-area {
        position: fixed;
        bottom: 8dvh; /* En alttan her halükarda %8 yukarıda kalsın */
        left: 0;
        width: 100%;
        display: flex;
        justify-content: center;
        z-index: 9999; /* Ne olursa olsun en önde görünsün */
    }

    .label-top {
        font-size: 0.85rem;
        margin-bottom: 12px;
    }

    .main-headline {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .email-btn {
        padding: 9px 24px;
    }

    .email-btn span {
        font-size: 0.75rem;
    }

    .footer-logo {
        width: 140px;
    }
}
