* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    min-width: 0;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
    min-width: 0;
}

    .logo a {
        display: flex;
        align-items: center;
        max-width: 100%;
    }

    .logo img {
        height: 70px;
        width: auto;
        max-width: 230px;
        object-fit: contain;
        display: block;
        transform: none;
    }

.search-box {
    display: flex;
    align-items: center;
    background-color: #f1f3f5;
    border-radius: 25px;
    padding: 5px 15px;
    flex: 1;
    width: 100%;
    max-width: 400px;
    min-width: 0;
    border: 1px solid #e9ecef;
}

    .search-box input {
        border: none;
        background: transparent;
        outline: none;
        padding: 8px;
        width: 100%;
        min-width: 0;
        font-size: 15px;
    }

    .search-box button {
        border: none;
        background: transparent;
        cursor: pointer;
        color: #0056b3;
        font-size: 16px;
        padding: 5px;
        flex-shrink: 0;
    }

.contact-link {
    flex-shrink: 0;
}

.btn {
    display: inline-block;
    background-color: #d32f2f;
    color: #ffffff;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

    .btn:hover {
        background-color: #b71c1c;
    }

.main-content {
    padding: 40px 0;
    min-height: 55vh;
    min-width: 0;
}

section {
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
    max-width: 100%;
    min-width: 0;
}

    section h2 {
        color: #d32f2f;
        border-bottom: 2px solid #f1f3f5;
        padding-bottom: 10px;
        margin-bottom: 20px;
    }

.grid-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    min-width: 0;
}

.card {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    min-width: 0;
}

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .card h3 {
        color: #333;
        margin-bottom: 10px;
        font-size: 1.2rem;
    }

    .card p {
        overflow-wrap: break-word;
    }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

    .gallery-item:hover {
        transform: scale(1.03);
    }

    .gallery-item img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        display: block;
    }

.duyuru-listesi {
    list-style: none;
    min-width: 0;
}

    .duyuru-listesi li {
        padding: 12px 0;
        border-bottom: 1px solid #f1f3f5;
        min-width: 0;
    }

        .duyuru-listesi li:last-child {
            border-bottom: none;
        }

        .duyuru-listesi li a {
            color: #495057;
            transition: color 0.2s;
            display: flex;
            align-items: center;
            gap: 10px;
            overflow-wrap: anywhere;
        }

            .duyuru-listesi li a i {
                color: #d32f2f;
                flex-shrink: 0;
            }

            .duyuru-listesi li a:hover {
                color: #d32f2f;
            }

.footer {
    background-color: #2b3035;
    color: #f8f9fa;
    padding-top: 40px;
    width: 100%;
    overflow: hidden;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
    padding-bottom: 30px;
    min-width: 0;
}

.footer-iletisim {
    flex: 1;
    min-width: 0;
}

    .footer-iletisim h3 {
        color: #ffcccc;
        margin-bottom: 15px;
        border-bottom: 1px solid #495057;
        padding-bottom: 5px;
        display: inline-block;
    }

    .footer-iletisim p {
        margin-bottom: 10px;
        display: flex;
        align-items: center;
        gap: 10px;
        overflow-wrap: anywhere;
    }

        .footer-iletisim p i {
            flex-shrink: 0;
        }

    .footer-iletisim a {
        color: #ced4da;
        transition: color 0.3s;
    }

        .footer-iletisim a:hover {
            color: #ffffff;
            text-decoration: underline;
        }

.social-media {
    margin-top: 20px;
}

.facebook-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #1877f2;
    color: #ffffff !important;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    max-width: 100%;
}

    .facebook-btn:hover {
        background-color: #145dbf;
        text-decoration: none !important;
    }

.footer-logo {
    flex: 0 1 500px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 25px;
    min-width: 0;
}

    .footer-logo img {
        height: 90px;
        width: auto;
        max-width: 300px;
        object-fit: contain;
        display: block;
        flex-shrink: 1;
    }

    .footer-logo h2 {
        font-size: 1.5rem;
        color: #ffffff;
        text-align: right;
        line-height: 1.3;
        overflow-wrap: break-word;
    }

.footer-bottom {
    background-color: #212529;
    text-align: center;
    padding: 15px 20px;
    font-size: 0.9rem;
    color: #adb5bd;
    width: 100%;
}

    .footer-bottom p {
        max-width: 1200px;
        margin: 0 auto;
        overflow-wrap: break-word;
    }

.contact-bar {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.bize-ulasin, .adres {
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    flex: 1 1 400px;
    min-width: 0;
}

    .bize-ulasin h1, .adres h1 {
        color: #d32f2f;
        border-bottom: 2px solid #f1f3f5;
        padding-bottom: 10px;
        margin-bottom: 20px;
        font-size: 1.6rem;
    }

    .bize-ulasin p, .adres p {
        margin-bottom: 15px;
        font-size: 1.1rem;
        color: #495057;
    }

        .bize-ulasin p span {
            display: block;
            font-size: 0.9rem;
            color: #6c757d;
            margin-top: 2px;
        }

    .bize-ulasin a:not(.facebook-btn) {
        color: #0056b3;
        transition: color 0.3s;
    }

        .bize-ulasin a:not(.facebook-btn):hover {
            color: #003d82;
            text-decoration: underline;
        }

    .bize-ulasin .facebook-btn {
        margin-top: 10px;
    }

    .adres iframe {
        width: 100%;
        max-width: 100%;
        height: 300px;
        border-radius: 8px;
        margin-bottom: 20px;
    }

@media (max-width: 1000px) {
    .header-container {
        gap: 20px;
    }

    .logo img {
        height: 60px;
        max-width: 200px;
    }

    .search-box {
        max-width: 330px;
    }

    .footer-container {
        gap: 30px;
    }

    .footer-logo {
        flex: 0 1 400px;
    }

        .footer-logo img {
            height: 75px;
            max-width: 250px;
        }

        .footer-logo h2 {
            font-size: 1.25rem;
        }
}

@media (max-width: 768px) {
    .container {
        width: 92%;
    }

    .header {
        padding: 10px 0 15px;
    }

    .header-container {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .logo {
        width: 100%;
        justify-content: center;
    }

        .logo img {
            height: 65px;
            width: auto;
            max-width: 260px;
        }

    .contact-link {
        order: 2;
    }

    .search-box {
        order: 3;
        width: 100%;
        max-width: 100%;
        margin-top: 5px;
    }

    .main-content {
        padding: 25px 0;
    }

    section {
        padding: 20px;
        margin-bottom: 25px;
    }

    .grid-cards {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer {
        padding-top: 30px;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 35px;
    }

    .footer-iletisim {
        width: 100%;
    }

        .footer-iletisim p {
            justify-content: center;
            flex-wrap: wrap;
        }

    .social-media {
        display: flex;
        justify-content: center;
    }

    .footer-logo {
        width: 100%;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 15px;
    }

        .footer-logo img {
            height: auto;
            width: min(100%, 280px);
            max-width: 280px;
        }

        .footer-logo h2 {
            text-align: center;
            font-size: 1.2rem;
            max-width: 100%;
        }
}

@media (max-width: 400px) {
    .container {
        width: 94%;
    }

    section {
        padding: 15px;
    }

    .logo img {
        height: 55px;
        max-width: 230px;
    }

    .btn {
        padding: 9px 18px;
    }

    .footer-logo img {
        width: min(100%, 240px);
        max-width: 240px;
    }

    .footer-logo h2 {
        font-size: 1.05rem;
    }

    .facebook-btn {
        padding: 9px 15px;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
