:root {
    --primary-purple: #6a0572;
    --light-purple: #9a179e;
    --dark-purple: #230424;
    --accent-rose: #d698a9;
    --text-color: #e0e0e0;
    --white: #fff;
    --black: #000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--black);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Bar */
.top-bar {
    background-color: var(--dark-purple);
    color: var(--text-color);
    padding: 10px 0;
    font-size: 0.9em;
}

    .top-bar .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

.top-bar-left i {
    font-size: 1.2em;
}

.top-bar-right span {
    margin-left: 20px;
}

.top-bar-right i {
    margin-right: 5px;
}

/* Navbar */
.navbar {
    background-color: var(--black);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
}

    .navbar .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

.logo {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--accent-rose);
}

.logo-h {
    background-color: var(--primary-purple);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 5px;
    margin-right: 5px;
}

.nav-links {
    list-style: none;
    display: flex;
    flex-grow: 1;
    justify-content: center;
}

    .nav-links li {
        margin: 0 15px;
    }

    .nav-links a {
        text-decoration: none;
        color: var(--text-color);
        font-weight: 600;
        transition: color 0.3s ease;
    }

        .nav-links a:hover {
            color: var(--light-purple);
        }

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--black);
    min-width: 180px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.4);
    z-index: 1;
    border-radius: 5px;
    padding: 10px 0;
    top: 100%;
    left: 0;
}

    .dropdown-content a {
        color: var(--text-color);
        padding: 12px 16px;
        text-decoration: none;
        display: block;
        text-align: left;
        font-weight: 400;
    }

        .dropdown-content a:hover {
            background-color: var(--dark-purple);
            color: var(--light-purple);
        }

.dropdown:hover .dropdown-content {
    display: block;
}

.btn-primary {
    background-color: var(--primary-purple);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    margin-left: auto;
}

    .btn-primary:hover {
        background-color: var(--light-purple);
    }

    .btn-primary i {
        margin-left: 8px;
    }

/* Hero Section */
.hero-section {
    background-color: var(--dark-purple);
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    padding: 50px 0;
    color: var(--white);
    background-image: linear-gradient(to right, rgba(35, 4, 36, 0.9), rgba(35, 4, 36, 0.7)), url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
}

.hero-content {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

/* Sol Panel */
.left-panel {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    min-height: 400px;
    padding-left: 0;
}

.placeholder-image {
    width: 750px;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    left: -130px;
}

    .placeholder-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    }

.amount-box {
    background-color: var(--accent-rose);
    color: var(--dark-purple);
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    position: absolute;
    top: 50%;
    left: 45%;
    transform: translate(-50%, -50%);
    text-align: center;
    min-width: 200px;
}

    .amount-box .amount-text {
        font-size: 2.2em;
        font-weight: 700;
        margin-bottom: 5px;
    }

    .amount-box .duration-text {
        font-size: 1.1em;
        font-weight: 600;
        line-height: 1.3;
    }

/* Sağ Panel */
.right-panel {
    flex: 1;
    max-width: 50%;
    padding-right: 50px;
}

    .right-panel h1,
    .right-panel p,
    .right-panel ul {
        width: 100%;
        white-space: normal;
    }

    .right-panel h1 {
        font-size: 3.2em;
        font-weight: 700;
        margin-bottom: 20px;
        line-height: 1.2;
    }

    .right-panel p {
        font-size: 1.1em;
        margin-bottom: 30px;
        opacity: 0.8;
    }

    .right-panel ul {
        list-style: none;
        margin-bottom: 40px;
    }

        .right-panel ul li {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
            font-size: 1.1em;
            font-weight: 500;
        }

            .right-panel ul li i {
                color: var(--primary-purple);
                background-color: var(--white);
                border-radius: 50%;
                padding: 3px;
                margin-right: 15px;
                font-size: 0.8em;
            }

.btn-primary-large {
    background-color: var(--accent-rose);
    color: var(--dark-purple);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: inline-flex;
    align-items: center;
}

    .btn-primary-large:hover {
        background-color: var(--light-purple);
        color: var(--white);
    }

    .btn-primary-large i {
        margin-left: 10px;
    }

/* Hakkımızda Bölümü */
.about-section {
    background-color: #1c0e2b;
    color: var(--text-color);
    padding: 80px 20px;
}

/* Kredi Türleri Bölümü */
.kredi-turleri-section {
    background-color: #751560 !important;
    color: var(--text-color);
    padding: 80px 20px;
}

    .kredi-turleri-section h2 {
        text-align: center;
        font-size: 2.8em;
        margin-bottom: 10px;
    }

    .kredi-turleri-section h3 {
        text-align: center;
        font-size: 1.8em;
        margin-bottom: 50px;
        font-weight: 500;
    }

.kredi-kutular {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    flex-wrap: wrap;
}

.kredi-kutu {
    background-color: #1c0e2b;
    padding: 30px;
    border-radius: 15px;
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

    .kredi-kutu h4 {
        font-size: 1.5em;
        margin-bottom: 15px;
    }

    .kredi-kutu p {
        font-size: 1em;
        line-height: 1.6;
    }

    /* Hover efekti */
    .kredi-kutu:hover {
        transform: translateY(-10px) scale(1.05);
        box-shadow: 0 10px 20px rgba(0,0,0,0.5);
        background-color: #E80765 !important;
    }

/* Responsive */
@media screen and (max-width: 992px) {
    .kredi-kutular {
        flex-direction: column;
        align-items: center;
    }

    .kredi-kutu {
        max-width: 90%;
        margin-bottom: 20px;
    }

    .hero-content {
        flex-direction: column;
    }

    .left-panel {
        min-height: auto;
        justify-content: center;
        padding-left: 0;
        margin-bottom: 30px;
    }

    .placeholder-image {
        width: 100%;
        height: auto;
        left: 0;
    }

    .right-panel {
        max-width: 100%;
        padding-right: 0;
        text-align: center;
    }
}

/* İletişim Bölümü */
.iletisim-section {
    background-color: #62126E; /* İstediğin renk */
    color: #e0e0e0;
    padding: 80px 20px;
    border-radius: 15px;
}

.iletisim-icerik p {
    margin-bottom: 15px;
}

/* --- Mobil düzeltmeler --- */
@media screen and (max-width: 768px) {
    /* Container padding’i küçült */
    .container {
        padding: 0 10px;
    }

    /* Hero content dikey hizalama */
    .hero-content {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    /* Sol panel ve görsel */
    .left-panel {
        min-height: auto;
        justify-content: center;
        padding-left: 0;
        margin-bottom: 20px;
    }

    .placeholder-image {
        width: 100%;
        height: auto;
        left: 0;
    }

    /* Sağ panel başlık ve metin ortalanacak */
    .right-panel {
        max-width: 100%;
        padding: 0;
        text-align: center;
    }

        .right-panel h1 {
            font-size: 2em;
            line-height: 1.3;
        }

        .right-panel p {
            font-size: 1em;
        }

        .right-panel ul li {
            justify-content: center;
            text-align: center;
            font-size: 1em;
        }

            .right-panel ul li i {
                margin-right: 10px;
            }

    /* Navbar mobil uyum */
    .nav-links {
        flex-direction: column;
        gap: 15px;
        margin-top: 10px;
    }

    .btn-primary {
        margin: 15px 0 0 0;
    }
}

@media screen and (max-width: 768px) {
    /* Genel olarak tüm başlıklar için boşluk ve boyut ayarlamaları */
    h1, h2, h3, h4 {
        margin-bottom: 10px;
        line-height: 1.2;
    }

    /* "Size Özel Kredi Fırsatları" Başlığı */
    .right-panel h1 {
        font-size: 2.2em; /* Yazı boyutunu biraz küçült */
        text-align: center; /* Başlığı ortala */
    }

    /* Diğer bölüm başlıkları */
    .kredi-turleri-section h2,
    .cozumler-section h2,
    .basvuru-section h2,
    .iletisim-section h2 {
        font-size: 2em; /* Başlık boyutlarını küçült */
        margin-bottom: 20px;
    }

    .kredi-turleri-section h3 {
        font-size: 1.5em;
        margin-bottom: 30px;
    }

    /* Paragraflar için boşluk ve hizalama */
    .right-panel p,
    .about-section p,
    .kredi-kutu p {
        font-size: 1em; /* Paragraf yazı boyutunu sabitle */
        text-align: center; /* Metni ortala */
    }
}


/* site.css dosyasına ekle */
.hamburger-menu {
    display: none; /* Masaüstü görünümde gizli */
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5em;
    cursor: pointer;
    margin-left: auto; /* Logodan sonraki boşluğu doldurur, en sağa hizalar */
}

@media screen and (max-width: 992px) {
    /* Navbar Düzenlemeleri */
    .nav-links {
        display: none; /* Menü linklerini varsayılan olarak gizle */
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 70px; /* Navbar'ın altından başla */
        left: 0;
        background-color: var(--dark-purple);
        padding: 20px 0;
        text-align: center;
        box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    }

        .nav-links.active {
            display: flex; /* JavaScript ile 'active' sınıfı eklendiğinde menüyü göster */
        }

        .nav-links li {
            margin: 10px 0;
        }

    .btn-primary {
        display: none; /* Mobil ekranda ana başvuru butonunu gizle */
    }

    .hamburger-menu {
        display: block; /* Hamburger butonunu göster */
    }
}

/* ===== WhatsApp pill (floating) ===== */
.whatsapp-fancy {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    background: rgba(37,211,102,0.10); /* yarı şeffaf arka plan */
    border: 1px solid rgba(37,211,102,0.20);
    border-radius: 999px; /* kesin pill olmasını sağlar */
    color: #25D366;
    text-decoration: none;
    backdrop-filter: blur(4px);
    box-shadow: 0 10px 30px rgba(37,211,102,0.08);
    z-index: 10000;
    transition: transform .25s ease, box-shadow .25s ease;
    /* !important ile override gerekiyorsa ekle:
     border-radius: 999px !important;
  */
}

    /* ikon çevresi (yuvarlak, beyaz telefon üzerine yeşil) */
    .whatsapp-fancy .fa-whatsapp {
        width: 46px;
        height: 46px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background-color: #25D366;
        color: #fff;
        font-size: 20px;
        border-radius: 50%;
        flex: 0 0 46px;
        transition: transform .25s ease;
        box-shadow: 0 6px 18px rgba(37,211,102,0.18);
    }

    /* metin stil (isteğe bağlı) */
    .whatsapp-fancy .whatsapp-text {
        font-weight: 700;
        font-size: 15px;
        letter-spacing: .2px;
        color: #1b8a4d;
    }

    /* hover efektleri (hafif yükselme + ikon hareketi) */
    .whatsapp-fancy:hover {
        transform: translateY(-6px) scale(1.02);
        box-shadow: 0 14px 40px rgba(37,211,102,0.20);
    }

        .whatsapp-fancy:hover .fa-whatsapp {
            transform: rotate(-12deg) scale(1.06);
        }

/* küçük ekranlarda sadece ikon göster */
@media (max-width:480px) {
    .whatsapp-fancy {
        padding: 10px;
        gap: 8px;
    }

        .whatsapp-fancy .whatsapp-text {
            display: none;
        }
}

/* yavaş, hafif yüzdürme animasyonu (isteğe bağlı) */
@keyframes floaty {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }

    100% {
        transform: translateY(0);
    }
}

.whatsapp-fancy {
    animation: floaty 6s ease-in-out infinite;
    animation-delay: 1s;
}

.thank-you-banner {
    width: 90%; /* Yatay uzunluk */
    max-width: 900px;
    margin: 30px auto; /* Ortalamak için auto */
    padding: 15px 20px;
    background: rgba(37, 211, 102, 0.15); /* Hafif şeffaf yeşil */
    border: 2px solid rgba(37, 211, 102, 0.3);
    border-radius: 40px; /* Silindir görünümü */
    text-align: center;
    font-size: 1.2em;
    font-weight: bold;
    color: #25D366;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.25);
    transition: transform 0.3s ease;
}

    /* Hover efekti isteğe bağlı */
    .thank-you-banner:hover {
        transform: scale(1.02); /* Hafif büyüme */
    }

/* Mobil uyum */
@media (max-width: 480px) {
    .thank-you-banner {
        font-size: 1em;
        width: 95%;
        padding: 12px 15px;
    }
}
.basvuru-bildirimi {
    position: fixed;
    top: 0; /* animasyonu display ile kontrol edeceğiz */
    left: 50%;
    transform: translateX(-50%);
    background: #25D366;
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 1.1em;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 9999;
    text-align: center;
    word-wrap: break-word;
    /* Başlangıçta gizli */
    display: none;
}

    /* Gösterildiğinde */
    .basvuru-bildirimi.show {
        display: block;
        animation: slideDown 0.5s ease forwards;
    }

/* Animasyon */
@keyframes slideDown {
    0% {
        top: -100px;
    }

    100% {
        top: 20px;
    }
}

/* Tablet uyum */
@media screen and (max-width: 768px) {
    .basvuru-bildirimi.show {
        animation: slideDownTablet 0.5s ease forwards;
    }
}

@keyframes slideDownTablet {
    0% {
        top: -80px;
    }

    100% {
        top: 15px;
    }
}

/* Telefon uyum */
@media screen and (max-width: 480px) {
    .basvuru-bildirimi.show {
        animation: slideDownMobile 0.5s ease forwards;
    }
}

@keyframes slideDownMobile {
    0% {
        top: -70px;
    }

    100% {
        top: 10px;
    }
}


/* Telefon numarasının tıklanmasını engelle */
.top-bar-right span,
.iletisim-section span {
    pointer-events: none; /* Tıklamayı devre dışı bırakır */
    cursor: default; /* Fare imlecini değiştirme */
}

/* iOS'ta otomatik arama menüsünü devre dışı bırak */
.top-bar-right span,
.iletisim-section span {
    -webkit-touch-callout: none; /* iOS'ta arama menüsünü kapatır */
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
@media screen and (max-width: 768px) {
    .whatsapp-fancy {
        pointer-events: auto;
        cursor: pointer;
    }
}

.iletisim-section a.whatsapp-link {
    pointer-events: auto;
    cursor: pointer;
    text-decoration: none; /* Alt çizgiyi kaldırır */
    color: inherit; /* Renk miras alır */
}
