@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@600;700;800&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@500;600&display=swap');
:root {
    --dark-blue: #092e3d;
    /* Header metni, başlıklar */
    --brand-teal: #6bc0ae;
    /* Logo ana, aktif menü, düğme, ikonlar */
    --light-teal: #009b9f;
    /* Düğme hover */
    --text-dark: #1b3d4a;
    /* Ana metin */
    --text-gray: #4a626c;
    /* Açıklama metinleri */

    --border-color: rgba(209, 218, 221, 0.5);
    /* İkon bölmeleri */
    --header-height: 100px;
    --primary-color: #092e3d;
    /* Menü yazılarının normal rengi */
    --text-color: #6bc0ae;
    /* Mouse gelince çıkacak alt çizginin rengi (Turkuaz) */
    --accent-color: #009b9f;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Rajdhani', sans-serif;
}

body {
    background-color: #f4f6f7;
    color: var(--text-dark);
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Ana Konteyner */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* === Ana Arka Plan ve İçerik Bölümü === */

main.home-main {
        background-image: url('../assets/images/homepage/homepage-new.jpg');
    background-size: cover; 
    background-position: center 30%; 
    width: 100%;
    flex: 1; 
    position: relative;
    overflow: hidden;    
}




/* main.home-main {
        background-image: url('../assets/images/homepage/homepage-main.jpg');
    background-size: cover; 
    background-position: center 30%; 
    width: 100%;
    flex: 1; 
    position: relative;
    overflow: hidden; 
} */



main.home-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(rgba(209, 218, 221, 0.2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(209, 218, 221, 0.2) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 1;
    pointer-events: none;
}

/* === Hero Section === */

.hero {
    position: absolute; /* Arka planı aşağı itmesini engeller */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 0; /* Eski px paddingleri siliyoruz */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Yazıları dikeyde tam ortalar */
    z-index: 5;
}

/* Container'ın genişliği ekranla uyumlu olsun diye küçük bir ayar */
.hero .container {
    width: 100%;
    max-width: 1400px;
}

.hero-content {
    max-width: 55%;
    text-align: left !important;
    
    /* YAZIYI YUKARI ÇEKEN KOD BURASI */
    /* -4vw, -5vw veya -6vw yaparak yazının tam nerede durmasını istediğini ayarlayabilirsin */
    margin-top: -10vw; 
}

.hero h1 {
    font-size: 2.8vw;
    line-height: 1.1;
    font-weight: 800;
    color: var(--dark-blue);
    margin-bottom: 1vw;
    
    /* === ARKA PLANA BLUR (BUZ) EFEKTİ EKLENEN KISIM === */
    display: inline-block; /* Arka planın metin genişliği kadar kaplaması için */
    background: rgba(255, 255, 255, 0.25); /* Hafif şeffaf beyaz arka plan */
    backdrop-filter: blur(8px); /* Arkadaki görseli flulaştırır */
    -webkit-backdrop-filter: blur(8px); /* Safari / iOS desteği */
   
    border-radius: 8px; /* Köşeleri yuvarlatmak için */
    border: 1px solid rgba(255, 255, 255, 0.3); /* İsteğe bağlı şık bir kenarlık */
}

.hero h1 span {
    font-size: 2.2vw; /* 2.8vw'den küçülttük */
    color: var(--brand-teal);
    font-weight: 600;
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.4); /* Yazıyı arka plandan ayırır */
}

.hero p {
    font-size: 1vw; /* 1.2vw'den küçülttük */
    font-weight: 500;
    color: var(--text-dark);
    max-width: 50%;
    margin-bottom: 2vw;
}

.hero-buttons {
    display: flex;
    gap: 1vw;
}

.btn {
    padding: 0.8vw 1.5vw;
    font-size: 0.8vw;
    position: relative; /* EKLENDİ */
    z-index: 10;        /* EKLENDİ */
    cursor: pointer;    /* EKLENDİ */
}

.btn svg {
    width: 1vw;
    height: 1vw;
    margin-left: 0.5vw;
}
.btn-primary {
    background-color: var(--brand-teal);
    color: white;
    border: 2px solid var(--brand-teal);
}

.btn-primary:hover {
    background-color: var(--light-teal);
    border-color: var(--light-teal);
}

.btn-secondary {
    background-color: transparent;
    color: var(--brand-teal);
    border: 2px solid var(--brand-teal);
}

.btn-secondary:hover {
    background-color: rgba(0, 130, 135, 0.1);
}

.btn, .btn:hover, .btn:focus {
    text-decoration: none !important;
   
}

/* === İkonlar ve Özellikler Bölümü (Features) === */
.features-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1vw 0; /* 1.5vw'den 1vw'ye düşürdük */
    z-index: 10;
}

.features-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(2px);
    z-index: -1;
}

.features {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
}

.feature-item {
    text-align: center;
    padding: 0 10px;
    border-right: 1px solid var(--border-color);
}

.feature-item:last-child {
    border-right: none;
}

.feature-item i {
    font-size: 2vw; /* 2.5vw'den düşürdük */
    margin-bottom: 0.5vw;
}

.feature-item h3 {
    font-size: 0.8vw; /* 1vw'den düşürdük */
    margin-bottom: 0.3vw;
}

.feature-item p {
    font-size: 0.7vw; /* 0.8vw'den düşürdük */
}



/* === Responsive Tasarım === */
/* === 1600px ve Üzeri Büyük Ekranlar İçin (2K / 4K Monitörler) === */
@media (min-width: 1600px) and (hover: none) and (pointer: coarse) {
    main.home-main {
        padding-bottom: 220px;
    }

    .features-wrapper {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
    }

    .hero {
        padding-top: 150px;
    }
 .feature-item {
   
    
    /* İŞTE BURASI: 10px yerine 2vw (veya gözüne az gelirse 2.5vw) vererek 
       her bir kutunun sağından ve solundan geniş boşluklar bırakıyoruz */
    padding: 0 2.5vw; 
    
  
}
   

    
}

@media (max-width: 1200px) and (hover: none) and (pointer: coarse) {
    .hero-content {
        max-width: 50%;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .feature-item i {
    font-size: 4vw; 
    /* İkon ile altındaki başlığın (h3) arasını açar */
    margin-bottom: 1.2vw; 
}

.feature-item h3 {
    font-size: 1.2vw; 
    /* Başlık ile altındaki açıklama yazısının (p) arasını açar */
    margin-bottom: 0.8vw; 
    white-space: nowrap;
}

.feature-item p {
    font-size: 1.2vw; 
    /* Metnin kendi içindeki satır aralığını açarak ferahlatır */
    line-height: 1.5; 
}
}

@media (max-width: 1024px) and (hover: none) and (pointer: coarse) {
    
    nav ul {
        gap: 20px;
    }

    /* 1. MAIN İÇİN MASAÜSTÜ YAPISINI KORUYORUZ (Flex ve Hidden kalıyor) */
    main.home-main {
        /* Yüksekliği auto yapmıyoruz, ekranı kaplamaya devam ediyor */
        flex: 1; 
        overflow: hidden; 
        position: relative;
        background-image: url('../assets/images/homepage/homepage-new.jpg');
         /* background-image: url('../assets/images/homepage/homepage-main-tablet.jpg'); */
        background-size: cover; 
        background-position: center 30%; /* Füze ayarını tablette de koruyoruz */
        background-repeat: no-repeat;
    }

    /* 2. HERO KISMINI HAVADA ASILI (Absolute) TUTMAYA DEVAM EDİYORUZ */
    .hero {
        position: absolute; 
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        padding: 0;
        display: flex; 
        flex-direction: column;
        justify-content: center;
    }
    
    .hero-content {
        margin-top: -5vw; /* Yazıyı yukarı alma ayarı tablette de geçerli */
        max-width: 65%; /* Tablette metin biraz daha geniş alan kaplayabilir */
    }

    /* Yazılar tablette çok küçülmesin diye vw değerlerini bir tık artırıyoruz (px kullanmıyoruz) */
    .hero h1 {
        font-size: 4.5vw; 
        margin-bottom: 2vw;
    }

    .hero h1 span {
        font-size: 3.5vw;
    }

    .hero p {
        font-size: 1.8vw;
        max-width: 60%;
        margin-bottom: 3.5vw;
    }

    .hero-buttons {
        gap: 2vw;
    }

    .btn {
        font-size: 1.3vw;
        padding: 1.5vw 2.5vw;
    }

    .btn svg {
        width: 1.5vw;
        height: 1.5vw;
        margin-left: 0.8vw;
    }

   .features-wrapper {
        height: auto; /* 15vh yerine auto yaparak taşmaları engelliyoruz */
        width: 100%;
        padding-left: 0 !important;  /* Sol boşluğu sıfırla */
        padding-right: 0 !important; /* Sağ boşluğu sıfırla */
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* 2. İÇERİDEKİ GRID VEYA CONTAINER KUTUSUNUN DA BOŞLUKLARINI SIFIRLIYORUZ */
    .features {
        width: 100%;
        max-width: 100% !important; /* Varsa max-width sınırını kaldırıyoruz */
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin: 0 !important;
    }

    /* 3. EN SOL VE EN SAĞDAKİ İTEM'LARIN İÇ BOŞLUĞUNU KISIYORUZ */
    .feature-item {
        padding: 0 2px !important; /* Elemanların sağ/sol boşluğunu minimuma indirdik */
    }
   .feature-item i {
        font-size: 30px; /* 5vw yerine net 36px verdik, ikonlar kocaman oldu */
       
       
    }

    .feature-item h3 {
        font-size: 15px; /* 1.2vw yerine okunaklı 13px */
        white-space: normal; /* Mobilde yazılar dar alana sığsın diye alt satıra izin verdik */
        margin-bottom: 6px;
    }

    .feature-item p {
        padding:10px;
        font-size: 15px; /* 1vw yerine okunaklı 11px */
       
    }
}



/* @media (max-width: 767px) and (hover: none) and (pointer: coarse) {
   
    main {
        height: auto; 
        overflow: visible; 
        padding-top: 30px;
        background-image:
            linear-gradient(to bottom, #e6ebf0 0%, #e6ebf0 10%, rgba(230, 235, 240, 0) 17%),
            url('../assets/images/homepage/homepage-main-mobile.jpg');
        background-size: 100% 100%, 100% auto;
        background-position: top center, center 80px;
        background-repeat: no-repeat;
        background-color: #e6ebf0;
    }

   
    .hero {
        position: relative;
        height: auto;
        padding-bottom: 50px;
        display: block; 
    }

    .hero-content {
        max-width: 100%;
        border-radius: 12px;
    }

  
    .hero h1 {
        font-size: 30px;
        margin-bottom: 5px;
    }

    .hero h1 span {
        font-size: 24px; 
    }

    .hero p {
        max-width: 90%;
        font-size: 13px;
        margin-top: 0;
        margin-bottom: 25px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 12px;
    }

    .btn svg {
        width: 16px;
        height: 16px;
    }

    .btn-secondary {
        background-color: #6bc0ae;
        color: #ffff;
    }

    
    .features-wrapper {
        position: relative;
        bottom: auto;
        padding: 30px 0;
    }

    .features-wrapper::before {
        backdrop-filter: blur(2px);
        background-color: rgba(255, 255, 255, 0.8);
    }

    .features {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 0;
    }

    .feature-item i {
        font-size: 35px; 
        margin-bottom: 15px;
    }

    .feature-item h3 {
        font-size: 15px;
    }

    .feature-item p {
        font-size: 13px;
    }

    .feature-item {
        border-right: none;
        padding: 0 15px;
        position: relative;
    }

    .feature-item:nth-child(1)::after,
    .feature-item:nth-child(3)::after {
        content: '';
        position: absolute;
        right: 0;
        top: 15%;
        height: 70%;
        width: 2px;
        background-color: var(--border-color);
    }

    .feature-item:last-child {
        grid-column: 1 / -1;
    }

    .feature-item:last-child::after {
        display: none;
    }
} */

@media (max-width: 767px) and (hover: none) and (pointer: coarse) { 
  .hero {
        position: relative;
        height: auto;
        padding: 130px 0px  0px; 
        display: block;
    }
    .hero h1 {
        font-size: 24px;   
    }

    .hero h1 span {
        font-size: 22px;
    }

    .hero p {
        font-size: 12px;
        max-width: 70%;
        
        color: var(--text-dark);
        line-height: 1.4;
margin-bottom: 35px;
       
        background: rgba(255, 255, 255, 0.10); 
        backdrop-filter: blur(5px); 
        padding: 2px 2px;
        -webkit-backdrop-filter: blur(5px);
        border-radius: 8px; 
    }
    .btn {
        width: auto; /* İstersen %100 yapıp ekranı kaplatabilirsin, bu haliyle solda şık durur */
        padding: 6px 12px; /* 14px 24px yerine daha dolgun ve dik durması için iç boşluğu artırdık */
        font-size: 10px; /* İçindeki yazıyı büyüttük */
        font-weight: 700;
        letter-spacing: 0.5px;
    }
    .btn-secondary{
        background-color: #6bc0ae;
        color:white;
    }
    .hero-buttons {
        
        /* EKSTRA AŞAĞI İTME BOŞLUĞU */
        margin-top: 20px; 
    }
   .features-wrapper {
        height: auto; /* 15vh yerine auto yaparak taşmaları engelliyoruz */
        width: 100%;
        padding-left: 0 !important;  /* Sol boşluğu sıfırla */
        padding-right: 0 !important; /* Sağ boşluğu sıfırla */
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* 2. İÇERİDEKİ GRID VEYA CONTAINER KUTUSUNUN DA BOŞLUKLARINI SIFIRLIYORUZ */
    .features {
        width: 100%;
        max-width: 100% !important; /* Varsa max-width sınırını kaldırıyoruz */
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin: 0 !important;
    }

    /* 3. EN SOL VE EN SAĞDAKİ İTEM'LARIN İÇ BOŞLUĞUNU KISIYORUZ */
    .feature-item {
        padding: 0 2px !important; /* Elemanların sağ/sol boşluğunu minimuma indirdik */
    }
   .feature-item i {
        font-size: 22px; /* 5vw yerine net 36px verdik, ikonlar kocaman oldu */
       
       
    }

    .feature-item h3 {
        font-size: 9px; /* 1.2vw yerine okunaklı 13px */
        white-space: normal; /* Mobilde yazılar dar alana sığsın diye alt satıra izin verdik */
        margin-bottom: 6px;
    }

    .feature-item p {
        font-size: 9px; /* 1vw yerine okunaklı 11px */
       
    }
}

