﻿/* =========================================
   HERO
========================================= */

.hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 90deg, rgba(0, 48, 35, 0.92) 0%, rgba(0, 48, 35, 0.74) 38%, rgba(0, 48, 35, 0.25) 70%, rgba(0, 48, 35, 0.05) 100% );
}
.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 70px;
    padding-bottom: 70px;
}
.hero-top-text {
    display: inline-block;
    margin-bottom: 16px;
    color: #11b968;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.hero-title {
    max-width: 590px;
    margin-bottom: 18px;
    color: #ffffff;
    font-size: clamp(42px, 5vw, 68px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -1px;
}
.hero-description {
    max-width: 560px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 17px;
    line-height: 1.75;
}
.hero-buttons {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.btn-primary {
    min-width: 165px;
    padding: 15px 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #079b52;
    border-radius: 3px;
    color: #ffffff;
    background-color: #079b52;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
    .btn-primary:hover {
        color: #ffffff;
        background-color: #007d41;
        border-color: #007d41;
        transform: translateY(-2px);
    }
.btn-secondary {
    min-width: 165px;
    padding: 15px 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 3px;
    color: #ffffff;
    background-color: transparent;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}
    .btn-secondary:hover {
        color: #073c2e;
        background-color: #ffffff;
        transform: translateY(-2px);
    }
@media (max-width: 768px) {
    .hero {
        min-height: 470px;
        background-position: 60% center;
    }

    .hero-content {
        padding-top: 55px;
        padding-bottom: 55px;
    }

    .hero-title {
        font-size: 43px;
    }

    .hero-description {
        max-width: 480px;
        font-size: 15px;
    }
}
@media (max-width: 480px) {
    .hero {
        min-height: 440px;
    }

    .hero-title {
        font-size: 35px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-buttons {
        align-items: stretch;
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
}
/* =========================================
   HIZLI BAĞLANTILAR
========================================= */

.quick-links-section {
    position: relative;
    z-index: 10;
    height: 0;
}

.quick-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background-color: #ffffff;
    border-radius: 6px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.16);
    transform: translateY(-50%);
    overflow: hidden;
}
.quick-link-card {
    min-height: 96px;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    gap: 18px;
    border-right: 1px solid #e6e6e6;
    background-color: #ffffff;
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.quick-link-card:last-child {
    border-right: none;
}
.quick-link-card:hover {
    color: inherit;
    background-color: #f4fbf7;
}
.quick-link-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.quick-link-icon svg {
    width: 29px;
    height: 29px;
    fill: #00934d;
}
.quick-link-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.quick-link-content strong {
     color: #121212;
     font-size: 14px;
     font-weight: 800;
     line-height: 1.25;
}

.quick-link-content small {
     color: #9a9a9a;
     font-size: 11px;
     line-height: 1.4;
}
.quick-links-section + section {
    padding-top: 85px;
}
@media (max-width: 900px) {
    .quick-links-section {
        height: auto;
        padding: 25px 0;
        background-color: #ffffff;
    }

    .quick-links {
        grid-template-columns: repeat(2, 1fr);
        transform: none;
    }

    .quick-link-card {
        border-bottom: 1px solid #e6e6e6;
    }

        .quick-link-card:nth-child(2) {
            border-right: none;
        }

        .quick-link-card:nth-child(3),
        .quick-link-card:nth-child(4) {
            border-bottom: none;
        }
}
@media (max-width: 560px) {
    .quick-links {
        grid-template-columns: 1fr;
    }

    .quick-link-card {
        min-height: 82px;
        border-right: none;
        border-bottom: 1px solid #e6e6e6;
    }

        .quick-link-card:nth-child(3) {
            border-bottom: 1px solid #e6e6e6;
        }

        .quick-link-card:last-child {
            border-bottom: none;
        }
}
/* =========================================
   GÜNCEL DUYURULAR
========================================= */
.announcement-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.announcement-card {
    min-height: 145px;
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background-color: #ffffff;
    border: 1px solid #e2e7e4;
    border-radius: 25px;
    box-shadow: none;
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

    .announcement-card:hover {
        border-color: #0aa158;
        box-shadow: 0 12px 30px rgba(0, 70, 42, 0.08);
        transform: translateY(-3px);
    }
.announcement-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid #19a763;
    border-radius: 50%;
    background-color: #ffffff;
    font-size: 24px;
    line-height: 1;
}
.announcement-body {
    min-width: 0;
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.announcement-category {
    display: block;
    margin-bottom: 7px;
    color: #009750;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.announcement-body h3 {
    margin: 0 0 9px;
    color: #111111;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.35;
}

.announcement-body p {
    margin-bottom: 13px;
    color: #7b7b7b;
    font-size: 12px;
    line-height: 1.65;
}

.announcement-body a {
    color: #008f49;
    font-size: 11px;
    font-weight: 800;
}

    .announcement-body a:hover {
        color: #005f31;
    }
.empty-announcements {
    padding: 35px;
    border: 1px solid #e2e7e4;
    color: #777777;
    text-align: center;
}
@media (max-width: 1000px) {
    .announcement-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 650px) {
    .announcement-grid {
        grid-template-columns: 1fr;
    }

    .announcement-card {
        padding: 20px;
    }
}

/* =========================================
   ANA SAYFA KURUMSAL TANITIM
========================================= */

.about-home-section {
    position: relative;
    overflow: hidden;
    background-color: #006b3c;
    margin-top: 40px;
}

.about-home-container {
    min-height: 500px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}
.about-home-image {
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-bottom: 40px;
}

    .about-home-image img {
        width: 95%;
        max-width: 580px;
        max-height: 555px;
        object-fit: contain;
        object-position: bottom center;
    }
.about-home-content {
    padding: 80px 0;
}

.about-home-subtitle {
    display: inline-block;
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.about-home-title {
    max-width: 560px;
    margin-bottom: 24px;
    color: #ffffff;
    font-size: 43px;
    font-weight: 800;
    line-height: 1.15;
}

.about-home-description {
    max-width: 590px;
    margin-bottom: 17px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    line-height: 1.9;
}
.about-home-button {
    margin-top: 12px;
    padding: 15px 23px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 3px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

    .about-home-button:hover {
        color: #006b3c;
        background-color: #ffffff;
        transform: translateY(-2px);
    }
@media (max-width: 900px) {
    .about-home-container {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .about-home-image {
        order: 2;
    }

    .about-home-content {
        order: 1;
        padding: 65px 0 20px;
        text-align: center;
    }

    .about-home-title,
    .about-home-description {
        margin-left: auto;
        margin-right: auto;
    }

    .about-home-image img {
        max-width: 500px;
    }
}
@media (max-width: 560px) {
    .about-home-content {
        padding-top: 50px;
    }

    .about-home-title {
        font-size: 33px;
    }

    .about-home-description {
        font-size: 14px;
    }

    .about-home-image img {
        max-width: 380px;
    }
}
.all-announcements-link-wrapper {
    margin-top: 34px;
    display: flex;
    justify-content: center;
}

.all-announcements-link {
    min-height: 46px;
    padding: 0 20px;
    border: 1px solid var(--primary-green);
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--primary-green);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

    .all-announcements-link:hover {
        background-color: var(--primary-green);
        color: #ffffff;
        transform: translateY(-2px);
    }
/* =========================================
   ALL ANNOUNCEMENTS PAGE
========================================= */

.all-announcements-page {
    padding: 75px 0 95px;
    background-color: #ffffff;
}

.all-announcements-header {
    max-width: 720px;
    margin-bottom: 42px;
}

    .all-announcements-header .section-subtitle {
        display: block;
        margin-bottom: 5px;
    }

    .all-announcements-header .section-title {
        margin-bottom: 14px;
    }

    .all-announcements-header p {
        margin: 0;
        color: #6b7280;
        font-size: 15px;
        line-height: 1.8;
    }

.all-announcements-page .announcement-grid {
    row-gap: 22px;
}

.all-announcements-page .announcement-card {
    min-height: 210px;
}

.announcement-card-footer {
    margin-top: auto;
    padding-top: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

    .announcement-card-footer time {
        color: #8a8f98;
        font-size: 12px;
        font-weight: 600;
    }

    .announcement-card-footer a {
        color: var(--primary-green);
        font-size: 12px;
        font-weight: 700;
        text-decoration: none;
        transition: color 0.25s ease, transform 0.25s ease;
    }

        .announcement-card-footer a:hover {
            color: #075d36;
            transform: translateX(3px);
        }

.all-announcements-page .empty-announcements {
    padding: 55px 25px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    color: #6b7280;
    text-align: center;
    background-color: #ffffff;
}
.announcements-section .section-header {
    transform: translateY(-14px);
}
/* =========================================
   ANNOUNCEMENT DETAILS PAGE
========================================= */

.announcement-details-page {
    padding: 70px 0 95px;
    background-color: #f7f9f8;
}

.announcement-back-link {
    margin-bottom: 25px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #167448;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.25s ease, transform 0.25s ease;
}

    .announcement-back-link:hover {
        color: #0d5534;
        transform: translateX(-3px);
    }

.announcement-details-card {
    max-width: 950px;
    margin: 0 auto;
    border: 1px solid #e2e8e5;
    border-radius: 22px;
    overflow: hidden;
    background-color: #ffffff;
    box-shadow: 0 18px 45px rgba(15, 45, 32, 0.08);
}

.announcement-details-image {
    width: 100%;
    height: 420px;
    overflow: hidden;
    background-color: #edf2ef;
}

    .announcement-details-image img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
    }

.announcement-details-content {
    padding: 45px 50px 50px;
}

.announcement-details-meta {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

    .announcement-details-meta time {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        color: #7b8480;
        font-size: 12px;
        font-weight: 600;
    }

.announcement-details-content h1 {
    max-width: 800px;
    margin: 0;
    color: #17211d;
    font-size: 36px;
    line-height: 1.25;
}

.announcement-details-summary {
    margin: 22px 0 0;
    color: #5f6964;
    font-size: 17px;
    line-height: 1.8;
}

.announcement-details-divider {
    width: 100%;
    height: 1px;
    margin: 32px 0;
    background-color: #e5e9e7;
}

.announcement-details-text {
    color: #343d39;
    font-size: 15px;
    line-height: 2;
}
@media (max-width: 600px) {
    .hero {
        width: 100%;
        min-height: 430px;
        background-position: 58% center;
    }

    .hero-content {
        width: 100%;
        padding-top: 45px;
        padding-bottom: 45px;
    }

    .hero-top-text {
        margin-bottom: 12px;
        font-size: 10px;
    }

    .hero-title {
        max-width: 310px;
        font-size: clamp(30px, 9vw, 36px);
        line-height: 1.05;
    }

    .hero-description {
        max-width: 320px;
        font-size: 13px;
        line-height: 1.6;
    }

    .hero-buttons {
        width: 100%;
        gap: 10px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        min-width: 0;
        padding: 13px 16px;
    }

    .quick-links-section {
        width: 100%;
        padding: 22px 0;
    }

    .quick-links {
        width: 100%;
    }

    .quick-link-card {
        width: 100%;
        min-width: 0;
        padding: 18px;
    }
}
