/* style.css - Anka İşletmeler Portal */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
.main-header {
    background-color: #cb9b42; /* Altın rengi arka plan */
    width: 100%;
    height: 50px;
    position: relative;
    display: flex;
    justify-content: center;
    border-bottom: 3px solid #fff;
}

.logo-container {
    background-color: #cb9b42;
    padding: 10px 20px;
    border-radius: 0 0 20px 20px;
    position: absolute;
    top: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.main-logo {
    max-width: 130px;
    height: auto;
}

/* Main Grid Section */
.grid-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px 20px 20px; /* Üstten header'ın taşan logosu için boşluk azaltıldı */
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    max-width: 900px;
    width: 100%;
}

.logo-item {
    background-color: #eaeaea; /* Açık gri arkaplan */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #ddd;
    height: 200px;
    border-radius: 8px;
}

.logo-item img {
    max-width: 100%;
    max-height: 120px;
    object-fit: contain;
    /* BAŞLANGIÇTA SİYAH BEYAZ */
    filter: grayscale(100%);
    transition: filter 0.4s ease-in-out, transform 0.4s ease;
    opacity: 0.8;
}

/* ÜZERİNE GELİNCE RENKLİ */
.logo-item:hover {
    background-color: #f5f5f5;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.logo-item:hover img {
    filter: grayscale(0%);
    transform: scale(1.05); /* Hafif büyüme efekti */
    opacity: 1;
}

/* Footer Section */
.main-footer {
    width: 100%;
    text-align: center;
    margin-top: auto;
}

.footer-content {
    background-color: #f1f1f1;
    padding: 25px 20px 40px 20px;
}

.footer-content p {
    color: #555;
    font-size: 13px;
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto;
    font-style: italic;
}

.footer-bottom {
    background: linear-gradient(135deg, #cb9b42 0%, #a87b2b 50%, #e5b95f 100%);
    padding: 25px 20px 15px 20px;
    clip-path: polygon(0 15%, 100% 0, 100% 100%, 0 100%);
    margin-top: -20px;
    position: relative;
    box-shadow: inset 0 5px 15px rgba(0,0,0,0.2);
}

.footer-bottom p {
    color: #fff;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Responsive Design */
@media (max-width: 992px) {
    .logos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .logos-grid {
        grid-template-columns: 1fr;
    }
    .logo-container {
        padding: 15px 20px;
    }
    .main-logo {
        max-width: 180px;
    }
    .grid-section {
        padding-top: 80px;
    }
}
