@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f4f4f4;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
     flex-wrap: nowrap;
}



nav ul {
    list-style: none;
    display: flex;
    
}

    nav ul li a {
        text-decoration: none;
        color: white;
        font-weight: bold;
    }

/* HEADER */
.main-header {
    background: #008000;
    background: linear-gradient(90deg,rgba(0, 128, 0, 1) 12%, rgba(253, 29, 29, 1) 48%, rgba(252, 176, 69, 1) 79%);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 100px;
    transition: 0.3s;
}

    .logo img:hover {
        transform: scale(1.05);
    }

/* Navbar linkleri */
header nav a {
    color: #111827;
    text-decoration: none;
    margin-left: 20px;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 6px rgba(0,0,0,0.2); /* Hafif gölge */
    display: inline-block;
}
    header nav a.active {
        background: #ffffff;
        color: #111827;
        transform: translateY(-3px);
        box-shadow: 0 6px 12px rgba(0,0,0,0.3);
    }
    /* Hover efekti */
    header nav a:hover {
        background: #fff; /* Arka plan değişimi */
        color: #111827; /* Yazı rengi değişimi */
        transform: translateY(-5px); /* Yukarı hareket */
        box-shadow: 0 6px 12px rgba(0,0,0,0.3); /* Daha büyük gölge */
    }
    /*Dropdown link*/
.dropdown {
    position: relative;
}
    .dropdown > a::after {
        content: "▼";
        font-size: 10px;
        margin-left: 6px;
    }
.dropdown-menu {
    position: static;
    top: 100%;
    left: 0;
    background: #fff;
    list-style: none;
    padding: 0;
    margin: 0;
    min-width: 220px;
    display: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

    .dropdown-menu li a {
        display: block;
        padding: 10px 15px;
        text-decoration: none;
        color: #333;
        border-bottom: 1px solid #eee;
    }

        .dropdown-menu li a:hover {
            background: #f5f5f5;
        }
@media (min-width:992px) {
    .dropdown:hover .dropdown-menu {
        display: block;
    }
}
/*drop down mobil*/
/* MOBIL DROPDOWN */

@media (max-width:768px) {

    .mobil-dropdown .dropdown-menu {
        display: none;
        padding-left: 15px;
        background: #f9f9f9;
        border-radius: 6px;
        margin-top: 5px;
    }

    .mobil-dropdown.active .dropdown-menu {
        display: block;
    }

    .mobil-dropdown .dropdown-menu li a {
        font-size: 13px;
        padding: 10px 15px;
        color: #444;
        border-bottom: 1px solid #eee;
    }

    .mobil-ok {
        font-size: 12px;
        margin-left: 5px;
    }
}


/* HAMBURGER */
.menu-toggle {
    display: none;
  font-size: 22px;
  background: #e60000;
  color: white;
  padding: 10px 15px;
  cursor: pointer;
}
.menu-close {
    display: none;
}
/* MOBIL MENU */
@media (max-width:768px) {

    .menu-toggle {
        display: block;

        }
        /* MENU PANEL */
    #mobileMenu {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background: #ffffff;
        transition: 0.4s;
        z-index: 9999;
        padding-top: 80px;
        display: flex;
        flex-direction: column;
        border: 2px solid black;
    }
    .menu-list li a.active {
        background: none;
        color: red;
        border-bottom: 2px solid red;
    }
            #mobileMenu.active {
                right: 0;
            }
        /* MENU LIST */
    .menu-list {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin-top: 80px;
        color: #dbcab8;
        padding: 0;
        width: 95%;
    }

        .menu-list li {
            width: 100%;
            border-bottom: 5px solid rgba(255,255,255,0.1);
        }

            .menu-list li a {
                display: block;
                width: 100%;
                padding: 15px 20px;
                text-align: left;
                color: #222;
                border-bottom: 1px solid #d48b42;
            }

                .menu-list li a:hover {
                    background: #e63946;
                    transform: none;
                }
        /* CLOSE BUTTON */
        .menu-close {
            position: absolute;
            top: 20px;
            right: 20px;
            font-size: 28px;
            color: red;
            cursor: pointer;
            display: block;
        }
        /* OVERLAY */
        .menu-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.2);
            opacity: 0;
            visibility: hidden;
            transition: 0.3s;
            z-index: 9998;
        }

            .menu-overlay.active {
                opacity: 1;
                visibility: visible;
            }
        /* MOBIL NAV */
        nav.navbar ul {
            display: flex;
        }

        .menu-toggle {
            margin-left: auto;
        }
        /* LOGO KÜÇÜLT */
        .logo img {
            height: 60px !important;
        }
    }

/* Blog Form Genel */
.blog-container {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    align-items: stretch; /* ÖNEMLİ */
}
.blog-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
/* Tek bir blog kartı */
.blog-card {
    background: #fff;
    border: 1px solid #E7EAEF;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease-out;
    max-width: 370px; /* Kartın maksimum genişliği */
    margin: 0 auto; /* Ortalamak için */
    display: flex;
    flex-direction: column;
}

/* Resim */
.blog-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: 0.4s ease-in-out;
}

.blog-card:hover img {
    transform: scale(1.1);
}

/* Başlık */
.blog-card h3 {
    font-size: 20px;
    font-weight: 500;
    margin: 15px;
    height: 48px; /* max 2 satır */
    overflow: hidden;
    line-height: 1.2;
    transition: all 0.3s ease-out;
    color: #E48216;
}

.blog-card h3:hover {
    color: #ee0505;
}

/* İçerik */
.blog-card p {
    margin: 0 15px 15px;
    line-height: 1.4;
    
    /* 3 satır sınırı */
    max-height: calc(1.4em * 2);

    overflow: hidden;
    color: #3622f1;
}
.blog-card p:hover {
    color: #E48216;
}
/* Devamını Oku Butonu */
    .blog-card a {
        margin: 15px;
        margin-top: auto;
        text-decoration: none;
        color: #E48216;
        font-weight: 600;
        text-align: center;
        display: inline-block;
        border: 1px solid #E48216;
        border-radius: 8px;
        padding: 8px 0;
        transition: all 0.3s ease-out;
    }

.blog-card a:hover {
    background: #E48216;
    color: #fff;
}

/* Responsive */
@media (max-width: 992px) {
    .blog-card {
        flex: 1 1 calc(50% - 20px);
    }
}

@media (max-width: 600px) {
    .blog-card {
        flex: 1 1 100%;
    }
}



.slider-detay {
    padding: 60px 20px;
    background: #f9fafb;
}

.detay-container {
    max-width: 900px;
    margin: 0 auto;
}

.detay-baslik {
    text-align: center;
    font-size: 34px;
    margin-bottom: 30px;
    font-weight: 700;
}

.detay-resim {
    text-align: center;
    margin-bottom: 30px;
}

    .detay-resim img {
        width: 100%;
        max-height: 450px;
        object-fit: cover;
        border-radius: 12px;
    }

.detay-alt_baslik {
    font-size: 17px;
    line-height: 1.8;
    color: #333;
}
.blog-title {
    text-align: center; /* Yazıyı ortalar */
    margin-bottom: 30px; /* Alt boşluk ekler */
    color: rgba(253, 29, 29, 1);
    font-size: 2rem; /* İstersen boyut artırabilirsin */
    font-weight: 600; /* İstersen kalın yap */
}

.logo-area .logo-text {
    color: #f4f4f4 !important; /* Siyah yap */
    text-decoration: none !important;
    font-weight: 700; /* Kalın yazı */
    font-size: 1.2rem;
}



.WA_Chat_Widget * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins",sans-serif;
}

/* Floating Button */
.WA_FloatingButton {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 65px;
    height: 65px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 999;
}

    .WA_FloatingButton svg {
        width: 38px;
        height: 38px;
        fill: #25D366;
    }

/* Chat Box */
.WA_ChatBox {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 330px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    display: none;
    overflow: hidden;
    z-index: 999;
}

/* Header */
.WA_ChatBox_Header {
    background: #128C7E;
    padding: 15px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

    .WA_ChatBox_Header img {
        width: 55px;
        height: 55px;
        border-radius: 50%;
        object-fit: cover;
    }

    .WA_ChatBox_Header .info .name {
        font-weight: 600;
    }

    .WA_ChatBox_Header .info .answer_time {
        font-size: 13px;
        opacity: 0.8;
    }

.WA_Close {
    position: absolute;
    right: 10px;
    top: 10px;
    background: none;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}

/* Body */
.WA_ChatBox_Body {
    padding: 15px;
    background: #f0f0f0;
}

    .WA_ChatBox_Body p {
        background: #fff;
        padding: 10px;
        border-radius: 8px;
        font-size: 14px;
    }

/* Footer */
.WA_ChatBox_Footer {
    padding: 15px;
}

    .WA_ChatBox_Footer a {
        display: block;
        text-align: center;
        margin-bottom: 10px;
        padding: 10px;
        border-radius: 25px;
        text-decoration: none;
        background: #25D366;
        color: #fff;
        font-size: 14px;
        transition: 0.2s;
    }

        .WA_ChatBox_Footer a:hover {
            background: #1ebe5d;
        }
@media (max-width:480px) {

    .WA_ChatBox {
        width: 90%;
        right: 5%;
        bottom: 90px;
    }
}
.hakkimizda-section {
    padding: 60px 0;
    background-color: #f8f8f8;
    font-family: 'Arial', sans-serif;
}

.hakkimizda-section h2 {
    text-align: center;   /* Başlık ortada */
    font-size: 2rem;
    color: #2563eb;
    margin-bottom: 50px;
    position: relative;
}

.hakkimizda-section h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background-color: #2563eb;
    margin: 10px auto 0;
    border-radius: 3px;
}

.hakkimizda-content {
    display: flex;
    justify-content: center; /* İçerik + görsel ortada */
    align-items: center;     /* Yatayda hizala */
    gap: 40px;
    flex-wrap: wrap;
}

.hakkimizda-text {
    flex: 1 1 400px;  /* Sol tarafta içerik */
    line-height: 1.6;
    color: #333;
    font-size: 1rem;
    text-align: left;
}

.hakkimizda-image {
    flex: 1 1 400px; /* Sağ tarafta görsel */
    text-align: center;
}

.hakkimizda-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* CTA Buton */
.hakkimizda-cta a {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background-color: #2563eb;
    color: #ffffff !important;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.3s;
}

.hakkimizda-cta a:hover {
    background-color: #1e40af;
}

/* Responsive */
@media(max-width: 768px){
    .hakkimizda-content {
        flex-direction: column;
        text-align: center;
    }
    .hakkimizda-text {
        text-align: center;
        margin-bottom: 30px;
    }
}


.galeridetay .blog-card {
    flex: 0 0 calc(25% - 20px); /* 4 resim yan yana */
    box-sizing: border-box;
}

.galeridetay .blog__thumb {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 12px;
    border: 2px solid #fff; /* turuncu çerçeve */
    box-sizing: border-box; /* border içe dahil olsun */
    
}

    .galeridetay .blog__thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.3s ease;
        cursor: pointer;
        border-radius: 2px; /* çerçevenin köşesine hafif uyum için */
    }

@media (max-width: 992px) {
    .galeridetay .blog-card {
        flex: 0 0 calc(33.333% - 20px);
    }
}

@media (max-width: 768px) {
    .galeridetay .blog-card {
        flex: 0 0 calc(50% - 20px);
    }
}

@media (max-width: 576px) {
    .galeridetay .blog-card {
        flex: 0 0 100%;
    }
}
/*blog 1 2 3 gösterme*/
.page-btn {
    display: inline-block;
    margin: 5px;
    padding: 8px 12px;
    border: 1px solid #ccc;
    text-decoration: none;
    color: #333;
    transition: 0.2s;
}

/* HOVER */
.page-btn:hover {
    background: #007bff;
    color: #fff;
}

/* AKTİF SAYFA */
.page-btn.active {
    background: #007bff !important;
    color: #fff !important;
    font-weight: bold;
    border-color: #007bff !important;
}
/*blog 1 2 3 gösterme bitti*/