/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Proxima+Nova:wght@400;600;700&display=swap');

/* Tüm site */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Proxima Nova', sans-serif;
}

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

/* BODY */
html, body {
    height: 100%;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    background: #f9fafb;
    color: #333;
    display: flex;
    flex-direction: column;
}

/* HEADER */
header {
    background: white;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo-area img {
    height: 45px;
}

header h2 {
    color: #1FA680;
    font-size: 20px;
}

nav a {
    margin-left: 20px;
    text-decoration: none;
    color: #3C4959;
    font-weight: 500;
    transition: 0.3s;
}

nav a:hover,
nav a.active {
    color: #1FA680;
}

/* HERO / BANNER */
.hero {
    width: 100%;
    min-height: calc(100vh - 75px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f9fafb;
    background-size: cover;
}

.hero img {
    width: 100%;
    height: auto;
    max-height: calc(100vh - 75px);
    object-fit: contain;
    display: block;
}

/* SUB HERO */
.sub-hero {
    background: linear-gradient(135deg, #1FA680, #159a74);
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.sub-hero h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.sub-hero p {
    opacity: 0.9;
}

/* SECTIONS */
.section {
    padding: 70px 20px;
    text-align: center;
}

/* ABOUT */
.about-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 1000px;
    margin: auto;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    min-width: 280px;
    text-align: left;
}

.about-text h2 {
    margin-bottom: 15px;
    color: #1FA680;
}

.about-text p {
    margin-bottom: 10px;
    line-height: 1.7;
}

.about-image {
    flex: 1;
    min-width: 280px;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* CARDS */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 25px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.card h3 {
    margin-bottom: 10px;
}

.card p {
    font-size: 14px;
    color: #555;
}

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

/* STATS */
.stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 60px 20px;
    background: #1FA680;
    color: white;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat h2 {
    font-size: 32px;
}

.stat p {
    opacity: 0.9;
}

/* APPROACH */
.approach-box {
    max-width: 700px;
    margin: auto;
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    line-height: 1.7;
}

/* CTA */
.cta {
    background: #020873;
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.cta h2 {
    margin-bottom: 20px;
}

.cta button {
    margin-top: 20px;
    padding: 12px 30px;
    border: none;
    border-radius: 30px;
    background: #1FA680;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.cta button:hover {
    transform: scale(1.05);
}

.apply-form button{
    margin-top: 10px;
}

/* FOOTER */
footer {
    background: #222;
    color: white;
    text-align: center;
    padding: 10px;
    font-size: 14px;
    margin-top: auto;
}

/* WHATSAPP */
.whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    transition: 0.3s;
    z-index: 1000;
}

.whatsapp img {
    width: 30px;
    height: 30px;
}

.whatsapp:hover {
    transform: scale(1.1);
}

/* ANIMATION */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* CONTACT */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 25px auto;
}

.contact-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.contact-card h3 {
    margin-bottom: 10px;
}

.contact-card a {
    text-decoration: none;
    color: #1FA680;
}

/* FORM */
.contact-form {
    max-width: 600px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 14px;
}

.contact-form button {
    padding: 12px;
    border: none;
    border-radius: 25px;
    background: #1FA680;
    color: white;
    font-size: 15px;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form button:hover {
    transform: scale(1.05);
}

/* MAP */
.map-box {
    max-width: 900px;
    margin: auto;
}

.map-box iframe {
    width: 100%;
    height: 350px;
    border: none;
    border-radius: 15px;
}

/* FORM LAYOUT */
.form-container {
    display: flex;
    gap: 40px;
    max-width: 1000px;
    margin: auto;
    flex-wrap: wrap;
}

.form-info {
    flex: 1;
    min-width: 280px;
    text-align: left;
}

.form-info h2 {
    color: #1FA680;
    margin-bottom: 15px;
}

.form-info ul {
    list-style: none;
    margin-bottom: 20px;
}

.form-info li {
    margin-bottom: 10px;
    font-size: 15px;
}

/* MINI CTA */
.mini-cta button {
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    background: #020873;
    color: white;
    cursor: pointer;
    transition: 0.3s;
}

.mini-cta button:hover {
    transform: scale(1.05);
}

/* STEPS */
.steps {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.step {
    background: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* APPLY */
.apply-container {
    display: flex;
    gap: 40px;
    max-width: 1000px;
    margin: auto;
    flex-wrap: wrap;
}

.apply-form {
    flex: 1;
    min-width: 300px;
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.apply-form h2 {
    margin-bottom: 15px;
    color: #1FA680;
}

.apply-form input,
.apply-form textarea {
    width: 100%;
    margin-bottom: 12px;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #ddd;
}

.apply-form button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 25px;
    background: #1FA680;
    color: white;
    cursor: pointer;
}

.apply-info {
    flex: 1;
    min-width: 280px;
}

.info-box p {
    background: white;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.info-highlight {
    margin-top: 20px;
    padding: 15px;
    background: #fff3cd;
    border-radius: 10px;
}

.whatsapp-btn {
    margin-top: 15px;
    padding: 12px;
    border: none;
    border-radius: 25px;
    background: #020873;
    color: white;
    cursor: pointer;
    width: 100%;
}

/* DUYURU SLIDER */
.duyuru-slider-container {
    max-width: 1100px;
    margin: 30px auto 0;
}

.duyuru-slider {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 25px;
    align-items: stretch;
}

.duyuru-image-box {
    position: relative;
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.duyuru-image-box img {
    width: 100%;
    height: 420px;
    max-height: 60vh;
    object-fit: cover;
    display: block;
    transition: 0.4s ease;
}

/* görsel alt karartma */
.duyuru-image-box::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.65), rgba(0,0,0,0.15), transparent);
    z-index: 1;
    pointer-events: none;
}

/* başlık görselin üstünde */
.duyuru-overlay {
    position: absolute;
    left: 20px;
    bottom: 75px;
    color: white;
    z-index: 2;
    text-align: left;
}

.duyuru-overlay h3 {
    font-size: 30px;
    font-weight: 700;
    text-shadow: 0 3px 10px rgba(0,0,0,0.5);
}

/* numaralar */
.slider-numbers {
    position: absolute;
    left: 20px;
    bottom: 20px;
    display: flex;
    gap: 10px;
    z-index: 2;
}

.slider-numbers button {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid white;
    background: rgba(255,255,255,0.2);
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.slider-numbers button.active,
.slider-numbers button:hover {
    background: white;
    color: #1FA680;
}

/* sağ açıklama kutusu */
.duyuru-info-box {
    background: white;
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.duyuru-info-box p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 0;
    font-size: 16px;
}

/* MOBILE */
@media (max-width: 768px) {

    /* SOSYAL İKONLARI ORTAYA AL */
    .social-fixed {
        left: 10px;
        top: 50%;
        bottom: auto;
        transform: translateY(-50%);
        gap: 9px;
    }

    .social-fixed a {
        width: 44px;
        height: 44px;
        font-size: 19px;
    }

    /* WHATSAPP */
    .whatsapp {
        width: 52px;
        height: 52px;
        right: 12px;
        bottom: 15px;
    }

    .whatsapp img {
        width: 27px;
        height: 27px;
    }
}

/* SOSYAL MEDYA SABİT İKONLARI */
.social-fixed {
    position: fixed;
    left: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;

    /* EKLEDİĞİM */
    opacity: 0.8;
    transition: 0.3s;
}

.social-fixed a:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.social-fixed a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 22px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    transition: 0.3s;
}

.social-fixed a:hover {
    transform: scale(1.1);
}

/* RENKLER */
.social-fixed .facebook {
    background: #1877f2;
}

.social-fixed .instagram {
    background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
}

.social-fixed .website {
    background: #1FA680;
}

/* ANA SAYFA DUYURULAR */
.home-duyuru-list {
    max-width: 1050px;
    margin: 25px auto 10px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.home-duyuru-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.10);
    text-align: left;
}

.home-duyuru-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.home-duyuru-card div {
    padding: 18px;
}

.home-duyuru-card h3 {
    margin-bottom: 10px;
    color: #234;
}

.home-duyuru-card p {
    line-height: 1.6;
    color: #555;
}

.duyuru-link {
    display: inline-block;
    margin-top: 15px;
    color: #2f7a5f;
    font-weight: 700;
    text-decoration: none;
}

#heroBanner {
    opacity: 0;
    transition: opacity 0.4s ease;
}

#heroBanner[src] {
    opacity: 1;
}

#duyuruImage {
    opacity: 0;
    transition: opacity 0.4s ease;
}

#duyuruImage[src] {
    opacity: 1;
}

#formMessage{
    margin-top: 70px;
    margin-bottom: 10px;
    color: green;
    font-weight: 600;
    text-align: center;
}

@media (max-width: 768px){

    header{
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
    }

    nav{
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    nav a{
        margin: 0;
        padding: 8px 12px;
        font-size: 14px;
    }

    .hero{
        min-height: 100vh;
        width: 100%;
        background-size: cover;
        background-position: center;
    }

    .social-icons{
        position: fixed;
        left: 15px;
        bottom: 20px;
        top: auto;
        transform: none;
        display: flex;
        flex-direction: column;
        gap: 10px;
        z-index: 999;
    }

    .whatsapp-float{
        right: 15px;
        bottom: 20px;
    }
}

/* MOBİL DÜZELTME - EN ALTA EKLE */
@media (max-width: 768px){

    header{
        flex-direction: column;
        padding: 12px 15px;
        gap: 12px;
    }

    nav{
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    nav a{
        margin-left: 0;
        padding: 8px 10px;
        font-size: 14px;
        background: #f4f7f6;
        border-radius: 20px;
    }

    .hero{
        width: 100%;
        height: calc(100vh - 110px);
        min-height: calc(100vh - 110px);
    }

    .hero img,
    #heroBanner{
        width: 100%;
        height: 100%;
        max-height: none;
        object-fit: cover;
        object-position: center;
    }

    .social-fixed{
        position: fixed;
        left: 12px;
        bottom: 15px;
        top: auto;
        transform: none;
        display: flex;
        flex-direction: column;
        gap: 8px;
        z-index: 1001;
    }

    .social-fixed a{
        width: 42px;
        height: 42px;
        font-size: 18px;
    }

    .whatsapp{
        right: 12px;
        bottom: 15px;
    }
}