﻿/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    background-color: #fff;
    color: #444;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: #43a047;
}

a:hover {
    color: #66bb6a;
}

ul {
    list-style: none;
}

/* ===== LAYOUT ===== */
.kapsayici {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER ===== */
.ust-alan {
    background-color: #fff;
    border-bottom: 3px solid #81c784;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(129, 199, 132, 0.15);
}

.ust-alan .kapsayici {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #43a047;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-resim {
    height: 40px;
    width: auto;
    vertical-align: middle;
}

.menu-listesi {
    display: flex;
    gap: 30px;
}

.menu-listesi a {
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    color: #666;
}

.menu-listesi a:hover,
.menu-listesi a.aktif {
    background-color: #e8f5e9;
    color: #43a047;
}

/* Dropdown Menu */
.menu-listesi li.dropdown {
    position: relative;
}

.menu-listesi li.dropdown>a::after {
    content: ' ▼';
    font-size: 0.65em;
    margin-left: 4px;
}

.alt-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 180px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 10px 0;
    border: 1px solid #e8f5e9;
}

.menu-listesi li.dropdown:hover .alt-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.alt-menu li {
    display: block;
}

.alt-menu li a {
    display: block;
    padding: 10px 20px;
    color: #666;
    font-weight: 600;
    border-radius: 0;
    transition: all 0.2s ease;
}

.alt-menu li a:hover {
    background-color: #e8f5e9;
    color: #43a047;
    padding-left: 25px;
}

/* ===== HERO ===== */
.karsilama {
    background: #43a047;
    color: #fff;
    text-align: center;
    padding: 100px 20px 90px;
    position: relative;
    overflow: hidden;
}

.karsilama::before {
    display: none;
}

.karsilama .kapsayici {
    position: relative;
    z-index: 2;
}

.karsilama h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    font-weight: 800;
}

.karsilama p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== SECTIONS ===== */
.bolum-baslik {
    text-align: center;
    font-size: 1.8rem;
    color: #388e3c;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 3px solid #a5d6a7;
    display: inline-block;
    width: 100%;
}

.kategori-bolumu {
    padding: 50px 0;
    background-color: #fff;
}

/* ===== CARD GRID ===== */
.kart-grubu {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.kart-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.kart-link:hover {
    color: inherit;
}

.kart {
    background-color: #fff;
    border: 1px solid #c8e6c9;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(129, 199, 132, 0.1);
}

.kart:hover {
    box-shadow: 0 12px 35px rgba(129, 199, 132, 0.3);
    border-color: #81c784;
    transform: translateY(-8px);
}

.kart-icerik {
    padding: 25px;
}

.kart-gorsel {
    height: 280px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #f5f5f5;
}

.gorsel-resim {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    transition: transform 0.4s ease;
}

.kart:hover .gorsel-resim {
    transform: scale(1.05);
}

.gorsel-dekor {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0.3;
}

/* Card Themes */
.gunes-gorsel {
    background: #ffe082;
}

.gunes-kart:hover {
    border-color: #ffca28;
}

.gunes-kart .kart-baslik {
    color: #f57c00;
}

.ruzgar-gorsel {
    background: #90caf9;
}

.ruzgar-kart:hover {
    border-color: #64b5f6;
}

.ruzgar-kart .kart-baslik {
    color: #1976d2;
}

.hidro-gorsel {
    background: #80deea;
}

.hidro-kart:hover {
    border-color: #4dd0e1;
}

.hidro-kart .kart-baslik {
    color: #00838f;
}

.jeotermal-gorsel {
    background: #ffab91;
}

.jeotermal-kart:hover {
    border-color: #ff8a65;
}

.jeotermal-kart .kart-baslik {
    color: #e64a19;
}

.biyokutle-gorsel {
    background: #a5d6a7;
}

.biyokutle-kart:hover {
    border-color: #81c784;
}

.biyokutle-kart .kart-baslik {
    color: #388e3c;
}

.okyanus-gorsel {
    background: #9fa8da;
}

.okyanus-kart:hover {
    border-color: #7986cb;
}

.okyanus-kart .kart-baslik {
    color: #3949ab;
}

.kart-baslik {
    font-size: 1.3rem;
    color: #388e3c;
    margin-bottom: 10px;
}

.kart-aciklama {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

/* ===== INFO SECTION ===== */
.bilgi-bolumu {
    padding: 50px 0;
    background: #f1f8e9;
}

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

.bilgi-kutu-sabit {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bilgi-kutu-sabit:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(56, 142, 60, 0.15);
}

.kutu-ust-link {
    display: block;
    text-decoration: none;
    color: inherit;
    margin-bottom: 10px;
}

.kutu-ust {
    display: flex;
    align-items: center;
    width: 100%;
}

.kutu-ust h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2e7d32;
    margin-bottom: 4px;
}

.bilgi-ikon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    object-fit: contain;
    margin-right: 15px;
}

.mini-linkler {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px dashed #e0e0e0;
    padding-top: 12px;
    margin-top: auto;
}

.mini-linkler li {
    margin-bottom: 8px;
}

.mini-linkler li:last-child {
    margin-bottom: 0;
}

.mini-linkler a {
    color: #616161;
    font-size: 0.85rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
}

.mini-linkler a:hover {
    color: #2e7d32;
    transform: translateX(3px);
}

.mini-devami-btn {
    display: inline-block;
    margin-top: 15px;
    font-size: 0.8rem;
    color: #fff;
    background-color: #388e3c;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    text-decoration: none;
    align-self: flex-end;
    transition: all 0.2s ease;
}

.mini-devami-btn:hover {
    background-color: #2e7d32;
    transform: translateY(-2px);
}

/* ===== FOOTER ===== */
.alt-alan {
    background: #f5f5f5;
    color: #444;
    padding: 40px 0 20px;
    margin-top: 30px;
    border-top: 3px solid #a5d6a7;
}

.alt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.alt-bolum h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #388e3c;
}

.alt-bolum p {
    font-size: 0.9rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
}

.alt-bolum ul li {
    padding: 5px 0;
}

.alt-bolum a {
    color: #5c6bc0;
    font-size: 0.9rem;
}

.alt-bolum a:hover {
    color: #43a047;
}

.iletisim-ikon {
    height: 18px;
    width: auto;
    mix-blend-mode: multiply;
}

.alt-copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #c8e6c9;
    font-size: 0.85rem;
    color: #777;
}

/* ===== PAGE HEADER ===== */
.sayfa-basligi {
    text-align: center;
    padding: 60px 20px;
    background: #e8f5e9;
    border-bottom: 1px solid #c8e6c9;
}

.sayfa-basligi.gunes-tema {
    background: #fff8e1;
}

.ust-baslik {
    display: inline-block;
    font-size: 0.85rem;
    color: #fff;
    background: #43a047;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 15px;
    font-weight: 600;
}

.sayfa-basligi h1 {
    font-size: 2.2rem;
    color: #2e7d32;
    margin-bottom: 10px;
    font-weight: 700;
}

.sayfa-basligi p {
    color: #666;
    font-size: 1.1rem;
}

/* ===== BREADCRUMB ===== */
.sayfa-yolu {
    background-color: #f5f5f5;
    padding: 12px 0;
    font-size: 0.9rem;
}

.sayfa-yolu a {
    color: #5c6bc0;
}

.sayfa-yolu span {
    color: #888;
}

/* ===== MAIN CONTENT ===== */
.ana-icerik {
    padding: 40px 0;
    background: #fafafa;
    min-height: 400px;
}

.icerik-bolumu {
    margin-bottom: 40px;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e8f5e9;
}

.icerik-bolumu h2 {
    font-size: 1.5rem;
    color: #388e3c;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid #81c784;
    display: inline-block;
}

.icerik-bolumu p {
    color: #555;
    margin-bottom: 15px;
    line-height: 1.8;
    font-size: 1rem;
}

/* ===== MINI CARDS ===== */
.bilgi-kartlari {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.mini-kart {
    background: #f9fbe7;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #dcedc8;
}

.mini-kart h4 {
    color: #388e3c;
    margin-bottom: 8px;
}

.mini-kart p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* ===== SUB PAGES ===== */
.alt-sayfalar {
    margin-bottom: 40px;
}

.alt-sayfalar h2 {
    font-size: 1.5rem;
    color: #388e3c;
    margin-bottom: 20px;
}

.sayfa-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.sayfa-kart {
    display: block;
    background: #f9fbe7;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #c8e6c9;
    transition: all 0.3s ease;
}



.sayfa-kart:hover {
    transform: translateY(-5px);
    border-color: #81c784;
}

.sayfa-kart h3 {
    color: #388e3c;
    margin-bottom: 10px;
    font-size: 1.15rem;
    font-weight: 600;
}

.sayfa-kart p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

/* ===== DETAIL CARDS ===== */
.detay-kartlari {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.detay-kart {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
}

.detay-kart h3 {
    color: #388e3c;
    margin-bottom: 12px;
}

.detay-kart p {
    color: #666;
    font-size: 0.95rem;
}

.detay-kart .kart-resim {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.detay-kart:hover .kart-resim {
    transform: scale(1.02);
}

/* ===== IMAGE CARDS ===== */
.resimli-kart {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #f9fbe7;
    border: 1px solid #c8e6c9;
}

.resimli-kart .kart-resim {
    flex: 0 0 180px;
}

.resimli-kart .kart-resim img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.resimli-kart .kart-icerik {
    flex: 1;
}

/* ===== STATS ===== */
.istatistik-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.istatistik-kutu {
    text-align: center;
    padding: 25px 15px;
    background: #e8f5e9;
    border-radius: 10px;
}

.istatistik-sayi {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #388e3c;
    margin-bottom: 5px;
}

.istatistik-aciklama {
    font-size: 0.85rem;
    color: #666;
}

/* ===== STEPS ===== */
.liste-bolumu {
    margin-top: 20px;
}

.liste-madde {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #e8f5e9;
}

.madde-numara {
    width: 35px;
    height: 35px;
    background: #66bb6a;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.madde-icerik h4 {
    color: #388e3c;
    margin-bottom: 5px;
}

.madde-icerik p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* ===== NAVIGATION ===== */
.sayfa-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 2px solid #e8f5e9;
}

.nav-btn {
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s;
}

.nav-btn.onceki {
    background: #f5f5f5;
    color: #666;
}

.nav-btn.sonraki {
    background: #66bb6a;
    color: #fff;
}

.nav-btn:hover {
    transform: translateY(-2px);
}

/* ===== CONTACT PAGE ===== */
.iletisim-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.iletisim-bilgi {
    background: #f1f8e9;
}

.iletisim-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #c8e6c9;
}

.iletisim-item:last-child {
    border-bottom: none;
}

.iletisim-buyuk-ikon {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.iletisim-item h4 {
    color: #388e3c;
    margin-bottom: 5px;
}

.iletisim-item p {
    margin: 0;
    color: #555;
}

.calisma-saatleri h3 {
    color: #388e3c;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.calisma-saatleri li {
    padding: 8px 0;
    color: #555;
    border-bottom: 1px dashed #c8e6c9;
}

/* ===== FORM ===== */
.iletisim-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-grup {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-grup label {
    font-weight: 600;
    color: #388e3c;
}

.form-grup input,
.form-grup select,
.form-grup textarea {
    padding: 12px 15px;
    border: 2px solid #c8e6c9;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-grup input:focus,
.form-grup select:focus,
.form-grup textarea:focus {
    outline: none;
    border-color: #66bb6a;
}

.gonder-btn {
    background: #43a047;
    color: #fff;
    padding: 14px 30px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gonder-btn:hover {
    background: #2e7d32;
}

/* ===== BUTTONS ===== */
.devami-btn {
    display: inline-block;
    background: #66bb6a;
    color: #fff;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.devami-btn:hover {
    background: #43a047;
    color: #fff;
}

.incele-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
}

.incele-btn:hover {
    background-color: #2e7d32;
    color: #fff;
}

/* ===== MEDIA QUERIES ===== */
@media (max-width: 1100px) {
    .kart-grubu {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .bilgi-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .ust-alan .kapsayici {
        flex-direction: column;
        gap: 15px;
    }

    .menu-listesi {
        gap: 15px;
    }

    .karsilama h1 {
        font-size: 1.8rem;
    }

    .karsilama p {
        font-size: 1rem;
    }

    .kart-grubu {
        grid-template-columns: 1fr;
    }

    .sayfa-basligi h1 {
        font-size: 1.6rem;
    }

    .sayfa-nav {
        flex-direction: column;
        gap: 10px;
    }

    .nav-btn {
        text-align: center;
    }

    .iletisim-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .kart-grubu {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .bilgi-grid {
        grid-template-columns: 1fr;
    }

    .resimli-kart {
        flex-direction: column;
    }

    .resimli-kart .kart-resim {
        flex: none;
        text-align: center;
    }

    .resimli-kart .kart-resim img {
        max-width: 200px;
    }
}