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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    background-color: #f8f9fa;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* HERO / MANŞET ALANI (Animasyonlu & Doğal Renkli) */
.hero-section {
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 30px 0 0 0;
    color: #ffffff;
    background-color: #0b2545;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 100%);
    z-index: 1;
}

.hero-header-nav {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    animation: fadeInDown 0.8s ease-out;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 60px;
}

.logo span {
    font-size: 18px;
    color: #ffffff;
    line-height: 1.2;
    display: flex;
    flex-direction: column;
}

.main-nav {
    display: flex;
    gap: 25px;
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    font-size: 13px;
    transition: color 0.3s;
}

.main-nav a:hover, .main-nav a.active {
    color: #8da9c4;
}

.btn-ebelediye {
    background-color: #0b2545;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: background 0.3s;
}

.btn-ebelediye:hover {
    background-color: #134074;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

/* SLİDER YAZILARI İÇİN PREMIUM ANİMASYONLAR */
.hero-text {
    max-width: 600px;
    padding-bottom: 80px;
    animation: slideInLeft 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-text h1 {
    font-size: 46px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

.hero-text p {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.95;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    animation: fadeInUp 1s ease 0.6s;
    animation-fill-mode: both;
}

.btn-primary {
    background-color: #0b2545;
    color: #fff;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s, background 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    background-color: #134074;
}

.btn-outline {
    background-color: #ffffff;
    color: #0b2545;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, background 0.3s;
}

.btn-outline:hover {
    transform: translateY(-2px);
    background-color: #f1f5f9;
}

/* BAŞKAN GÖRSELİ ANİMASYONU */
.hero-image {
    max-width: 450px;
    text-align: right;
    line-height: 0;
    animation: slideInRight 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-image img {
    max-height: 520px;
    width: auto;
    display: block;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.5));
    transition: transform 0.5s ease;
}

.hero-image img:hover {
    transform: scale(1.01);
}

/* CSS ANİMASYON TANIMLARI */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* BAŞKANDAN MESAJ */
.message-box-wrapper {
    margin-top: -60px;
    position: relative;
    z-index: 10;
    margin-bottom: 60px;
}

.mayor-message-box {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    display: flex;
    overflow: hidden;
    border: 1px solid #eaeaea;
}

.msg-content {
    padding: 40px;
    flex: 1;
}

.msg-icon-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    color: #0b2545;
}

.msg-icon-title i {
    font-size: 28px;
    background: #f0f4f8;
    padding: 15px;
    border-radius: 12px;
}

.msg-icon-title h3 {
    font-size: 20px;
    font-weight: 700;
}

.msg-content p {
    color: #555;
    font-size: 14px;
    margin-bottom: 15px;
}

.mayor-signature {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
}

.mayor-signature .name {
    font-family: 'Brush Script MT', cursive, sans-serif;
    font-size: 30px;
    color: #0b2545;
}

.mayor-signature .title {
    font-size: 13px;
    color: #777;
    font-weight: 600;
}

.msg-image {
    flex: 1;
    min-height: 300px;
}

.msg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ORTAK BAŞLIKLAR */
section h2 {
    text-align: center;
    font-size: 24px;
    color: #0b2545;
    margin-bottom: 35px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* HİZMETLER */
.services-section {
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.service-card {
    background: #ffffff;
    padding: 25px 10px;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    border: 1px solid #f0f0f0;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card i {
    font-size: 30px;
    color: #0b2545;
    margin-bottom: 12px;
}

.service-card h4 {
    font-size: 12px;
    color: #0b2545;
    margin-bottom: 8px;
    font-weight: 700;
}

.service-card p {
    font-size: 11px;
    color: #666;
}

/* PROJELER */
.projects-section {
    margin-bottom: 60px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.project-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.04);
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
}

.project-card h3 {
    font-size: 13px;
    color: #0b2545;
    padding: 15px;
    text-align: center;
    font-weight: 700;
    flex: 1;
}

.btn-detail {
    display: block;
    background: #0b2545;
    color: #fff;
    text-align: center;
    padding: 10px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 650;
    transition: background 0.3s;
}

.btn-detail:hover {
    background: #134074;
}

/* İSTATİSTİKLER / BANNER */
.stats-section {
    background-color: #0b2545;
    color: #ffffff;
    padding: 35px 0;
    margin-bottom: 60px;
}

.stats-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.stat-item {
    flex: 1;
    text-align: center;
    padding: 0 10px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-item:last-child {
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-item i {
    font-size: 26px;
    margin-bottom: 8px;
    color: #ffffff;
}

.stat-item h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 2px;
}

.stat-item p {
    font-size: 11px;
    color: #cbd5e1;
    white-space: nowrap;
}

.stat-banner-text {
    flex: 1.4;
    padding-left: 20px;
}

.stat-banner-text h3 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 3px;
    line-height: 1.2;
}

.stat-banner-text p {
    font-size: 11px;
    color: #cbd5e1;
    margin-bottom: 8px;
}

.btn-white {
    background: #ffffff;
    color: #0b2545;
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 10px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background 0.3s, transform 0.3s;
}

.btn-white:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
}

/* HABERLER */
.news-section {
    margin-bottom: 70px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.news-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-date {
    background: #f0f4f8;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #e2e8f0;
}

.news-date .day {
    font-size: 20px;
    font-weight: 800;
    color: #0b2545;
}

.news-date .month {
    font-size: 11px;
    font-weight: 700;
    color: #555;
    letter-spacing: 1px;
}

.news-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-body h4 {
    font-size: 13px;
    color: #0b2545;
    margin-bottom: 8px;
    font-weight: 700;
}

.news-body p {
    font-size: 11px;
    color: #666;
    margin-bottom: 15px;
    flex: 1;
}

.read-more {
    font-size: 11px;
    font-weight: 700;
    color: #0b2545;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* FOOTER */
.site-footer {
    background-color: #07192f;
    color: #ffffff;
    padding-top: 60px;
}

.footer-flex {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr 1.5fr;
    gap: 25px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col .logo {
    margin-bottom: 12px;
}

.footer-col .logo span {
    color: #fff;
}

.footer-col p {
    font-size: 12px;
    color: #adb5bd;
    margin-bottom: 15px;
    line-height: 1.5;
}

.social-links {
    display: flex;
    gap: 8px;
}

.social-links a {
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: background 0.3s;
}

.social-links a:hover {
    background: #134074;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: #adb5bd;
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: #fff;
}

.footer-col p i {
    margin-right: 6px;
    color: #8da9c4;
}

.footer-bottom {
    background-color: #051222;
    padding: 15px 0;
}

.copyright-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: #adb5bd;
}

.copyright-flex a {
    color: #adb5bd;
    text-decoration: none;
    margin: 0 4px;
}

.copyright-flex a:hover {
    color: #fff;
}