/* =================================================================== */
/* GLOBAL STYLES                              */
/* =================================================================== */
:root {
    --primary-green: #045129;
    --light-green: #067833;
    --accent-green: #0a9940;
}

body {
    font-family: 'Manrope', 'Segoe UI', Arial, sans-serif;
    background-color: #f8f9fa;
    line-height: 1.6;
    padding-top: 0 !important; /* Önceki sorunları önlemek için */
}

.bg-beige {
    background-color: #f4f7f6 !important;
}

@font-face {
  font-family: 'Vagron'; /* Fontunuza bir isim verin */
  src: url('/fonts/VAGRON.TTF') format('truetype'); /* Dosyanın yolunu belirtin */
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Blippo'; /* Fontunuza bir isim verin */
  src: url('/fonts/blippo.ttf') format('truetype'); /* Dosyanın yolunu belirtin */
  font-weight: normal;
  font-style: normal;
}
/* =================================================================== */
/* FONT HİYERARŞİSİ                            */
/* =================================================================== */

/* Ana Başlıklar (Logo, Hero vb.) */
.logo-text, h1, .hero-title, .main-title, .project-title, .portfolio-title, .modal-header h3, .contact-header h2 {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    letter-spacing: 1.5px;
    line-height: 1.1;
}

/* Alt Başlıklar */
h2, h3, h4, .section-title, .feature-title {
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

/* Butonlar */
.btn, .submit-btn {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Navigasyon Menüsü */
.nav-item {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    letter-spacing: 0.5px;
}


/* =================================================================== */
/* SABİT YAN ELEMENTLER                           */
/* =================================================================== */

/* --- Soldaki Sosyal Medya Barı --- */
.fixed-social {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.social-item a {
    display: flex;
    align-items: center;
    width: 220px;
    padding: 12px 15px;
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-radius: 0 8px 8px 0;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
    transform: translateX(-175px);
    transition: transform 0.3s ease-in-out;
}

.social-item a:hover {
    transform: translateX(0);
}

.social-item p {
    margin: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-item i { font-size: 22px; }
.social-item.twitter a { background-color: #022c17; }
.social-item.instagram a { background-color: #033e22; }
.social-item.facebook a { background-color: #045129; }
.social-item.linkedin a { background-color: #067833; }
.social-item.telegram a { background-color: #0a9940; }

/* --- Sağ Alttaki WhatsApp Butonu --- */
.fixed-whatsapp-btn {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 1000;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
}

.fixed-whatsapp-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 4px 4px 20px rgba(0, 0, 0, 0.3);
}

.fixed-whatsapp-btn i {
    font-size: 28px;
}


/* =================================================================== */
/* "SİZİ ARAYALIM" BUTONU (TÜM CİHAZLAR İÇİN - BÜYÜK VERSİYON) */
/* =================================================================== */

.fixed-call-btn {
    /* Görünürlük ve Hizalama */
    display: flex !important;
    align-items: center;
    gap: 12px;

    /* Konumlandırma */
    position: fixed;
    top: 100px; /* Masaüstü navigasyon barı yüksekliği */
    right: 0;
    z-index: 999;

    /* Stil */
    background-color: var(--primary-green);
    color: white;
    padding: 18px 25px;
    border-radius: 12px 0 0 12px;
    box-shadow: -2px 4px 10px rgba(0, 0, 0, 0.2);

    /* Metin ve İkon */
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: top 0.3s ease, transform 0.2s ease; /* top değişikliği için de geçiş eklendi */
}

.fixed-call-btn:hover {
    transform: scale(1.05);
}

.fixed-call-btn i {
    font-size: 1.3rem;
}
.fixed-call-btn:hover {
   background-color: white; /* Hover arkaplan rengi */
   color: #1e7e34; /* Hover yazı rengi */
}

.fixed-call-btn:hover i {
   color: #1e7e34; /* Hover ikon rengi */
}

/* =================================================================== */
/* RESPONSIVE AYARLAR                             */
/* =================================================================== */

@media (max-width: 768px) {
    /* Yan sosyal barı mobilde gizle */

    .fixed-call-btn {
        /* Görünürlük ve Hizalama */
        display: flex;
        align-items: center;
        gap: 8px;

        /* Konumlandırma */
        position: fixed;
        top: 400px; /* Navigasyon barının bittiği yer. Gerekirse 70px olarak değiştirebilirsiniz. */
        right: 0;  /* Sağa tam yasla */
        z-index: 999;

        /* Stil */
        background-color: var(--primary-green);
        color: white;
        padding: 10px 15px;
        border-radius: 8px 0 0 8px; /* Sadece sol köşeleri yuvarlak yap */
        box-shadow: -2px 4px 10px rgba(0, 0, 0, 0.2);

        /* Metin ve İkon */
        font-size: 0.9rem;
        font-weight: 600;
        text-decoration: none;
        white-space: nowrap;
    }

    .fixed-call-btn i {
        font-size: 1rem;
    }

    .fixed-social {
        display: none;
    }
}



@media (max-width: 480px) {
    .fixed-call-btn {
        top: 95px; /* Küçük mobil navigasyon barı yüksekliği */
    }
}


/* =================================================================== */
/* SAĞ ALT KÖŞE SABİT TELEFON BUTONU             */
/* =================================================================== */

.fixed-phone-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1000;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--light-green), var(--primary-green));
    color: white;
    border-radius: 50%;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: pulse-phone 2.5s infinite;
}

.fixed-phone-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 4px 4px 20px rgba(0, 0, 0, 0.3);
    animation-play-state: paused; /* Hover'da animasyonu durdur */
}

.fixed-phone-btn i {
    font-size: 24px;
}

@keyframes pulse-phone {
    0% {
        box-shadow: 0 0 0 0 rgba(4, 81, 41, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(4, 81, 41, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(4, 81, 41, 0);
    }
}

/* Mobil cihazlarda diğer butonlarla çakışmaması için ayar */
@media (max-width: 768px) {
    .fixed-phone-btn {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
}


/* =================================================================== */
/* GÖRÜNTÜ ÇÖZÜNÜRLÜĞÜ VE NETLİK İYİLEŞTİRMELERİ        */
/* =================================================================== */

/* SVG ve resimlerin daha keskin render edilmesini sağlar */
img, svg {
    image-rendering: -webkit-optimize-contrast; /* Chrome/Safari için */
    image-rendering: crisp-edges; /* Firefox için */
    transform: translateZ(0); /* GPU hızlandırmayı tetikler */
}

/* Özellikle logo için SVG boyutlandırmasını iyileştirme */
.logo-image {
    max-width: 180px; /* Logonun maksimum genişliğini belirle */
    height: auto;     /* Yüksekliği orantılı olarak ayarla */
}

/* Diğer proje görselleri için iyileştirme */
.project-image img, .portfolio-image img {
    width: 100%;
    height: 200px; /* Yüksekliği sabit tut */
    object-fit: cover; /* Resmin oranını koruyarak alanı kaplamasını sağla */
}



