/* ============================= */
/* GOOGLE FONT: POPPINS */
/* ============================= */
/* HTML dosyanızın <head> kısmına ekleyin:
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap" rel="stylesheet">
*/

/* ============================= */
/* RENK VE FONT DEĞİŞKENLERİ */
/* ============================= */
:root {
    --primary-color: #d01c1c;
    --secondary-color: #000000;
    --accent-color: #f1c40f;
    --text-color: #333;
    --light-color: #ffffff;
    --heading-color: #555;
}

/* ============================= */
/* GENEL AYARLAR */
/* ============================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

main {
    flex: 1;
}

body {
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    color: var(--text-color);
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* GENEL CONTAINER (ORTAK HİZALAMA) */
.container {
    width: 85%;
    max-width: 1250px;
    margin: 0 auto;
}

/* ============================= */
/* EN ÜST İNCE NAVBAR */
/* ============================= */
.top-strip {
      position: sticky;
    top: 0;
    z-index: 999;
    width: 100%;
    height: 30px; /* İncelik ayarı */
    background-color: #041f31; /* Lacivert renk */
}
/* ============================= */
/* ÜST NAVBAR (LOGO) */
/* ============================= */
/* ============================= */
/* ÜST NAVBAR (LOGO VE TELEFON) */
/* ============================= */
/* ============================= */
/* ÜST NAVBAR (LOGO VE TELEFON) */
/* ============================= */
.top-navbar {
      position: sticky;
    top: 0;
    z-index: 999;
    background-color: var(--light-color);
    border-bottom: 2px solid #e6e6e9;
    padding: 0;
}

/* Navbar hizalama */
.top-navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px; /* Navbar yüksekliği */
}

/* Logo */
.logo-container {
    display: flex;
    align-items: center;
    height: 100%;
    
}

.logo-container img {
    width: 280px;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Telefon bilgisi */
.contact-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 500;
}

.contact-info a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--secondary-color);
}

/* Telefon ikonu */
.contact-info i {
    font-size: 20px;
    color: var(--primary-color);
}
/* ============================= */
/* SLIDER */
/* ============================= */
.slider {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

/* SLIDER RESİMLER */
.slides img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

/* KARARTMA */
.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    /* Karartma seviyesi (0.5 = %50 koyuluk) */
    background: rgba(0, 0, 0, 0.1);

    z-index: 1;
}

/* ORTA YAZI */
.slider-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    text-align: center;
    color: #fff;
    z-index: 2;
}

/* Başlık */
.slider-content h1 {
    font-size: 40px;
    margin-bottom: 10px;
}

/* Açıklama */
.slider-content p {
    font-size: 18px;
    margin-bottom: 20px;
}

/* Buton */
.slider-btn {
    display: inline-block;
    padding: 12px 25px;
    background: #0a1f44;
    color: #fff;
    text-decoration: none;
    border-radius: 20px;
    transition: 0.3s;
}

.slider-btn:hover {
    background: #1c3b80;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* ============================= */
/* ALT NAVBAR (MENÜ) */
/* ============================= */
.bottom-navbar {
  background: linear-gradient(
        90deg,
        #041f31 0%,
        #170a42 50%,
        #570707 100%
    );
    
    padding: 35px 0;
}

/* Menü container ile hizalandı */
.menu {
    list-style: none;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 60px;
}

.menu li a {
    color: var(--light-color);
    text-decoration: none;
    font-size: 22px;
    font-weight: 300;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.menu li a:hover {
    color: #6e6f6a;
}

/* Aktif Menü */
.menu li a.active {
    border-bottom: 2px solid var(--light-color);
    padding-bottom: 5px;
}

/* ============================= */
/* HAKKIMIZDA BÖLÜMÜ */
/* ============================= */
.about {
    padding: 80px 0;
    background-color: var(--light-color);
}

.about-container {
    display: flex;
    align-items: flex-start;
    gap: 50px;
}

.about-text {
    flex: 0 0 60%;
}

/* Bold olmayan H2 */
.about-text h2 {
    font-size: 32px;
    color: var(--heading-color);
    margin-bottom: 20px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.about-text p {
    font-size: 18px;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 15px;
}

.about-image {
    flex: 0 0 40%;
}

.about-image img {
    width: 100%;
    max-width: 450px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}





/* ============================= */
/* CTA ALANI */
/* ============================= */
.cta {
    background:white ;
    color: rgb(10, 3, 3);
    text-align: center;
    padding: 30px 20px;
}

.cta-btn {
    display: inline-block;
    margin-top: 20px;
    background: var(--primary-color);
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.cta-btn:hover {
    background: #731010;
}






/* RESPONSIVE TASARIM */
/* ============================= */
@media (max-width: 992px) {
    .about-container {
        flex-direction: column;
    }

    .menu {
        justify-content: center;
        flex-wrap: wrap;
    }

    .about-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .slider {
        height: 250px;
    }

    .logo-container img {
        height: 55px;
    }

    .menu {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .container {
        width: 90%;
    }

    .about-text h2 {
        font-size: 26px;
    }

    .about-text p {
        font-size: 16px;
    }

    .about-cards {
        grid-template-columns: 1fr;
    }
}

.footer {
    background-color:#041f31;
    color: #ffffff;
    padding: 50px 0 20px;
    margin-top: auto;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.footer-box h3 {
    margin-bottom: 15px;
    font-size: 18px;
    color: #dcdcdc;
}

.footer-box p {
    font-size: 14px;
    line-height: 1.6;
    color: #dcdcdc;
}

.footer-logo {
    width: 280px;
    height: 120px;
    margin-bottom: 15px;
    background-color: #ffffff;
    padding:0%;
    border-radius: 15px;
}

.footer-box ul {
    list-style: none;
}

.footer-box ul li {
    margin-bottom: 10px;
}

.footer-box ul li a {
    text-decoration: none;
    color: #dcdcdc;
    transition: 0.3s;
}

.footer-box ul li a:hover {
    color: #7f7ca3;
}

/* İkonlar */
.footer-box i {
    margin-right: 8px;
    color: #dcdcdc;
}

/* Sosyal Medya */
.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.social-icons a {
    width: 38px;
    height: 38px;
    background: #962615;
    color: #0b1d3a;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: 0.3s;
    text-decoration: none;
}

.social-icons a:hover {
    background: #ffffff;
}

/* Alt Footer */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 30px;
    padding-top: 15px;
    text-align: center;
    font-size: 14px;
    color: #ccc;
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .footer {
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-logo {
        margin: 0 auto 15px;
    }
}


.whatsapp-nav {
    margin-left: 35px;
}


/*  hover alanıı*/








        /* BAŞLIK ALANI */
        .services {
            padding: 70px 0;
            text-align: center;
        }

        .services h1 {
            font-size: 36px;
            color: #0b2c5f;
            margin-bottom: 10px;
        }

        .services p {
            color: #555;
            margin-bottom: 40px;
        }

        /* KART ALANI */
        .cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 25px;
        }

        /* KART TASARIMI */
        .card {
            background: #ffffff;
            padding: 25px;
            border-radius: 12px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
            text-align: left;
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;
            cursor: pointer;
        }

        .card i {
            font-size: 40px;
            color: #0b2c5f;
            margin-bottom: 15px;
        }

        .card h3 {
            font-size: 20px;
            margin-bottom: 10px;
            color: #0b2c5f;
        }

        .card p {
            font-size: 14px;
            color: #666;
        }

        /* LİSTE */
        .card ul {
            margin-top: 15px;
            padding-left: 18px;
            color: #ffffff;
            font-size: 14px;
            line-height: 1.7;
            opacity: 0;
            max-height: 0;
            transition: all 0.4s ease;
        }

        /* HOVER EFEKTİ */
        .card:hover {
            transform: translateY(-10px);
            background: #0b2c5f;
            color: #fff;
        }

        .card:hover h3,
        .card:hover p,
        .card:hover i {
            color: #fff;
        }

        .card:hover ul {
            opacity: 1;
            max-height: 500px;
        }

        .card ul li::marker {
            color: #ffffff;
        }

        /* RESPONSIVE */
        @media (max-width: 768px) {
            .services h1 {
                font-size: 28px;
            }
        }
   


        #topBtn {
  position: fixed;
  bottom: 60px;   /* biraz yukarı */
  right: 60px;    /* kenardan uzak */
  display: none;

  background-color: #353333a2;
  color: white;
  border: none;

  padding: 25px 32px; /* büyüdü */
  border-radius: 48%;
  font-size: 30px;    /* ok büyüdü */

  cursor: pointer;
  z-index: 1000;
}

#topBtn:hover {
  background-color: #353333c6;
}