@import url(https://fonts.googleapis.com/css?family=Montserrat:300,400,600,700);
@import url(https://fonts.googleapis.com/css?family=Arimo:300,400,400italic,700,700italic);

/* ==========================================================================
   1. SIFIRLAMA & TEMEL STİLLER
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif !important;
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

hr {
    border: none;
    border-top: 1px solid #e0e0e0;
}

/* ==========================================================================
   2. NAVBAR & ÜST BİLGİ ALANLARI
   ========================================================================== */
.navbar-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.brand-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.2;
    max-width: 450px;
}

.nav-top {
    height: auto;
    width: 100%;
    display: flex;
    padding: 12px 20px;
    background-color: #fff;
    align-items: center;
}

.nav-left, .nav-right {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mail, .tel, span {
    color: #686968;
    margin-inline: 6px;
    font-weight: 300;
}

span {
    margin-right: 15px;
}

small {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    color: #686968;
    font-size: 12.8px;
    font-weight: bold;
}

.fa-envelope, .fa-phone-volume {
    color: #bfbfbf;
}

.social small, .social i {
    margin-inline: 6px;
}

    .social i:hover {
        cursor: pointer;
    }

.nav-right-buttons {
    margin-left: 20px;
}

.bagis {
    background-color: #51be78;
    border: none;
    box-shadow: 0 3px 6px rgba(81, 190, 120, 0.3);
    border-radius: 20px;
    padding: 8px 22px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .bagis:hover {
        background-color: #43a064;
        transform: translateY(-2px);
    }

.nav-bottom {
    height: auto;
    width: 100%;
    display: flex;
    position: sticky;
    top: -1px;
    background-color: #fff;
    padding: 10px;
    z-index: 100;
}

.golge, .shadowed {
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1);
}

.nav-bottom-left, .nav-bottom-right {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .nav-bottom-right ul {
        list-style: none;
        padding: 0;
        display: flex;
    }

    .nav-bottom-right li {
        border: 1px solid #ccc;
        border-radius: 20px;
        margin-right: 15px;
    }

.nav-link {
    text-decoration: none;
    color: #686968;
    font-weight: bold;
    padding: 8px 16px;
    display: block;
    border-radius: 20px;
    transition: all 0.3s;
}

    .nav-link:hover, .active {
        background-color: #51be78;
        color: #fff !important;
    }

.fa-bars {
    display: none;
    font-size: 28px;
    color: gray;
    cursor: pointer;
}

/* ==========================================================================
   3. HABER SLIDER & MEDYA (GENİŞLİK DÜZELTİLDİ: 1200px)
   ========================================================================== */
.news-card-container {
    width: 100%;
    max-width: 1200px; /* Alttaki içerik alanları ile tam eşitlemek için 1200px yapıldı */
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    background-color: #fff;
}

.media-wrapper {
    position: relative;
    width: 100%;
    background-color: #000;
}

.news-slide-img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    display: block;
}

.news-text-box {
    background-color: #ffffff;
    padding: 1.25rem 1.5rem;
    border-top: 1px solid #e9ecef;
}

.news-text-content {
    margin: 0;
    font-size: 1.05rem;
    color: #333;
    line-height: 1.6;
    text-align: center;
}

.slider-nav-btn {
    position: absolute;
    top: 50% !important;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5) !important;
    color: #fff !important;
    border: none;
    padding: 12px 16px;
    border-radius: 50%;
    z-index: 10;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .slider-nav-btn:hover {
        background-color: rgba(0, 0, 0, 0.8) !important;
    }

/* ==========================================================================
   4. SABİT WHATSAPP BUTONU & UYARILAR
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 32px;
    box-shadow: 2px 4px 12px rgba(0,0,0,0.25);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .whatsapp-float:hover {
        background-color: #128c7e;
        color: #FFF;
        transform: scale(1.1);
    }

@keyframes blinkColor {
    0% {
        color: #dc3545;
    }

    33% {
        color: #fd7e14;
    }

    66% {
        color: #0d6efd;
    }

    100% {
        color: #dc3545;
    }
}

.animated-warning {
    animation: blinkColor 3s infinite ease-in-out;
    display: inline-block;
}

/* ==========================================================================
   5. İÇERİK SEKSİYONLARI (AMAÇ, MİSYON, VİZYON, KURUCULAR)
   ========================================================================== */
.content {
    background-color: #f8f9fa;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    padding: 30px 20px;
    border: 1px solid #e9ecef;
}

.content-left {
    width: 50%;
    padding: 20px 30px;
}

    .content-left h2 {
        color: #2c3e50;
        font-size: 26px;
        font-weight: 700;
    }

    .content-left p {
        margin-top: 15px;
        font-size: 14.5px;
        color: #555;
        line-height: 1.7;
        font-weight: 400;
        text-align: justify;
    }

.content-right {
    width: 50%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
}

.card-1 {
    text-align: center;
    width: 44%;
    padding: 25px 15px;
    border-radius: 16px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.05);
    background-color: #fff;
    margin-bottom: 15px;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

    .card-1 .fa {
        font-size: 42px;
    }

    .card-1:hover {
        transform: translateY(-5px);
        box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.1);
    }

    .card-1 p {
        color: #444;
        font-size: 16px;
        font-weight: 600;
        margin-top: 12px;
    }

.misyonvefoto, .vizyonvefoto {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.mission, .vizyon {
    width: 50%;
    padding: 20px 30px;
}

    .mission h1, .vizyon h1 {
        font-size: 2.2rem;
        color: #2c3e50;
        font-weight: 700;
    }

    .mission p, .vizyon p {
        color: #555;
        margin-top: 15px;
        line-height: 1.7;
        font-size: 15px;
    }

.mission-img, .vizyon-img {
    width: 50%;
    text-align: center;
}

    .mission-img img, .vizyon-img img {
        width: 90%;
        max-height: 280px;
        object-fit: cover;
    }

.kurucular {
    padding: 40px 20px;
    background-color: #ffffff;
    max-width: 1200px;
    margin: 0 auto;
    border: 1px solid #e9ecef;
}

    .kurucular h2 {
        text-align: center;
        color: #2c3e50;
        font-size: 28px;
        font-weight: 700;
    }

.isimler {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}

.isim {
    background-color: #34495e;
    color: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.08);
    width: 210px;
    text-align: center;
}

    .isim p {
        font-size: 12.5px;
        margin-top: 5px;
        opacity: 0.85;
    }

/* ==========================================================================
   6. MODAL (BAĞIŞ PENCERESİ)
   ========================================================================== */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    position: relative;
    background-color: #fff;
    margin: 10% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 550px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.25);
    overflow: hidden;
    animation: animatetop 0.4s;
}

@keyframes animatetop {
    from {
        top: -100px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}

.modal-header, .modal-footer {
    padding: 12px 20px;
    background-color: #51be78;
    color: white;
    border: none;
}

.close {
    color: #fff;
    float: right;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

/* ==========================================================================
   7. İLETIŞİM FORMU, GALERİ & FOOTER
   ========================================================================== */
.form-adres {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.form, .adres {
    width: 50%;
}

.iletisimformu input, .iletisimformu textarea {
    width: 100%;
    max-width: 400px;
    padding: 10px;
    margin-top: 8px;
    border: 1px solid #ccc;
    border-radius: 6px;
    display: block;
}

.iletisimformu button {
    background-color: #3CC88F;
    color: white;
    padding: 10px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 20px;
}

.galeri-foto {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

    .galeri-foto img {
        width: 270px;
        height: 180px;
        object-fit: cover;
        border-radius: 8px;
    }

footer {
    background-color: #1e2436;
    padding: 40px 20px;
    color: #fff;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
}

.hakkimizda, .kullanisli, .iletisim {
    width: 33%;
}

    .kullanisli ul {
        list-style: none;
    }

        .kullanisli ul li {
            border-bottom: 1px solid rgba(255,255,255,0.1);
            padding: 8px 0;
        }

            .kullanisli ul li a, .iletisim a {
                color: #ddd;
            }

.footer-bottom {
    background-color: #1a202f;
    padding: 15px;
    text-align: center;
}

    .footer-bottom a {
        color: #bbb;
        font-size: 14px;
    }

/* ==========================================================================
   8. MOBİL KIRILMALAR (MEDIA QUERIES)
   ========================================================================== */
@media screen and (max-width: 992px) {
    .nav-left {
        display: none;
    }

    .nav-right {
        width: 100%;
        justify-content: space-between;
    }

    .nav-bottom-right ul {
        display: none;
    }

    .fa-bars {
        display: block;
    }

    .content, .misyonvefoto, .vizyonvefoto, .hakkimizda-content, .form-adres, .footer-content {
        flex-direction: column !important;
        align-items: center;
    }

    .content-left, .content-right, .mission, .vizyon, .mission-img, .vizyon-img, .hakkimizda-left, .hakkimizda-right, .form, .adres, .hakkimizda, .kullanisli, .iletisim {
        width: 100% !important;
        padding: 15px !important;
        text-align: center;
    }

    .card-1 {
        width: 80% !important;
    }

    .isim {
        width: 45%;
    }
}

@media screen and (max-width: 768px) {
    .brand-text {
        font-size: 0.8rem;
        max-width: 200px;
    }

    .navbar-logo {
        height: 38px;
    }

    .news-slide-img {
        height: 260px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 26px;
        bottom: 15px;
        right: 15px;
    }

    .iletisimformu input, .iletisimformu textarea {
        max-width: 100%;
    }
}

@media screen and (max-width: 576px) {
    .isim {
        width: 100%;
    }

    .card-1 {
        width: 100% !important;
    }

    .nav-top {
        padding: 10px;
    }

    .nav-right-buttons {
        margin-left: 10px;
    }
}
