
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Source Sans Pro', sans-serif;
}

body {
    background-color: #FFFFFF;
    color: #003366; 
}

/* Header */
header {
    background-color: #003366; 
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    padding: 20px 0; 
    z-index: 1000;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 20px;
}


.header-logo {
    height: 60px; 
    margin-right: 15px;
}


.header-title {
    color: #FFFFFF; 
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5); 
}

.header-subtitle {
    font-size: 14px;
    color: #FFFFFF; /* Beyaz renk */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5); 

}

.nav-menu {
    display: flex;
    gap: 20px; 
    list-style: none;
    position: absolute;
    right: 20px; 
    top: 50%;
    transform: translateY(-50%);
}

.nav-menu li {
    display: flex;
    align-items: center;
}

.nav-menu a {
    color: white;
    font-size: 18px;
    text-decoration: none;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5); 
    display: flex;
    align-items: center;
    gap: 8px; 
    transition: color 0.3s ease-in-out;
}

.nav-menu a:hover {
    color: #40E0D0; 
}


.vision {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    color: #FFFFFF; 
}


.vision h2 {
    font-size: 34px; 
    font-weight: bold;
    text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.9); 
}

.vision p {
    font-size: 22px;
    font-weight: bold;
    text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.9); 
    max-width: 800px;
    margin: 0 auto;
}
.kvkk-btn {
    background-color: #ffffff;
    color: #003366;
    border: 1px solid #003366;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

.kvkk-btn:hover {
    background-color: #003366;
    color: white;
}

.kvkk-frame {
    width: 100%;
    height: 60vh;
    border: none;
    overflow: auto;
}


.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.popup-content {
    background: white;
    padding: 30px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    border-radius: 10px;
    position: relative;
}

.kvkk-scrollbox {
    max-height: 60vh;
    overflow-y: auto;
    text-align: left;
    margin-top: 15px;
    padding-right: 10px;
    font-size: 14px;
    line-height: 1.6;
}

.popup-close {
    margin-top: 20px;
    padding: 8px 16px;
    background-color: #003366;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}


.projects-section {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}
.projects-section h2 {
    margin-bottom: 30px;
    font-size: 36px;
}
.project-item {
    background-color: #f9f9f9;
    padding: 15px;
    margin-bottom: 15px;
    border-left: 5px solid #003366;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    font-size: 14px;
    text-align: left;
}

.project-item h3 {
    font-size: 16px;
    color: #003366;
    margin-bottom: 8px;
}

.project-item p {
    font-size: 13px;
    color: #333;
    margin: 0;
}

/* Haberler ve Projeler yan yana */
.home-sections {
    display: block;
    padding: 40px 0;
}

.news {
    padding: 40px 20px;
    text-align: center;
}

.news h2 {
    font-size: 36px;
    color: #003366;
    margin-bottom: 20px;
}


.news-items {
    display: block; 
    margin-top: 20px;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    text-align: center; 
}


.news-item {
    background-color: #f0f0f0;
    padding: 20px;
    width: 48%; 
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    margin-left: auto; 
    margin-right: auto; 
}

.news-item:hover {
    transform: translateY(-5px);
}

.news-item h3 {
    font-size: 24px;
    color: #003366;
}

.news-item p {
    font-size: 16px;
    color: #003366;
}


.banner-slider {
    position: relative;
    width: 100%;
    height: 1000px; 
    overflow: hidden;
}

.banner-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    margin-bottom: 10px; 
}

.banner-img.active {
    opacity: 1;
}


.join-button {
    position: absolute;
    top: 70%; 
    left: 50%;
    transform: translate(-50%, -50%); 
    
    background-color: #FFFFFF; 
    color: #003366; 
    font-size: 20px;
    font-weight: bold;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3); 
    transition: all 0.3s ease-in-out;
}


.join-button:hover {
    background-color: #003366; 
    color: #FFFFFF; 
    box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.5); 
}

.contact-banner {
    position: relative;
    width: 100%;
    height: 600px; 
    background-image: url('images/contact_banner.webp'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-start; 
    padding-left: 10%; 
}

.contact-banner-text {
    color: white;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.7);
}

.contact-banner h2 {
    font-size: 52px;
    font-weight: bold;
    margin-bottom: 15px;
}

.contact-banner p {
    font-size: 22px;
}


.contact-info {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: rgba(0, 51, 102, 0.8); 
    color: white;
    padding: 30px;
    border-radius: 10px;
    margin: 40px auto;
    width: 90%;
    max-width: 1000px;
    text-align: center;
}

.contact-item {
    flex: 1;
    padding: 10px;
}

.contact-item i {
    font-size: 30px;
    margin-bottom: 10px;
    display: block;
}


@media (max-width: 768px) {
    .contact-info {
        flex-direction: column;
        text-align: center;
    }
}


.map-container {
    display: flex;
    justify-content: center;
    margin: 20px auto;
}

.map-container iframe {
    width: 90%;
    max-width: 1000px;
    height: 350px;
    border-radius: 10px;
    border: 2px solid #003366; /* Lacivert Çerçeve */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}


.donate-btn {
    background-color: #4CAF50; /* Soft yeşil */
    color: white;
    padding: 10px 20px;
    margin-left: 15px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.donate-btn:hover {
    background-color: #45a049;
}


.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}


.popup-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    width: 400px;
    text-align: center;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
}

.popup-content h2 {
    color: #003366;
    font-size: 20px;
    margin-bottom: 10px;
}

.popup-content p {
    font-size: 16px;
    margin-bottom: 10px;
}

.popup-content .bank-info {
    font-weight: bold;
    font-size: 14px;
    text-align: left;
    background: #f9f9f9;
    padding: 10px;
    border-radius: 5px;
}

.popup-close {
    background-color: #ff4d4d;
    color: white;
    border: none;
    padding: 8px 15px;
    margin-top: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.popup-close:hover {
    background-color: #e63939;
}

.ewb-section {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 40px 0;
}

.ewb-box {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #ddd;
    width: 45%;
    text-align: center;
}


.ewb-banner {
    width: 100%;
    height: auto;
    aspect-ratio: 1505 / 757; 
    object-fit: cover;
}


@media (max-width: 768px) {
    .ewb-section {
        flex-direction: column;
        align-items: center;
    }

    .ewb-box {
        width: 90%;
    }
}


.ewb-content h2 {
    font-size: 28px;
    color: #002147;
    font-weight: bold;
    margin-bottom: 15px;
}

.ewb-content p {
    font-size: 18px;
    color: #444;
    line-height: 1.6;
}

.ewb-links {
    display: flex;
    flex-direction: column;
    align-items: center; /* ortala */
    margin-top: 20px;
}

/* EWB Resmi Sitesi ve Üye Ülkeler linkleri için stil */
.ewb-btn {
    display: inline-block !important;
    background: none !important;
    border: none !important;
    color: #ffffff !important;
    text-decoration: underline !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    margin-bottom: 8px !important;
    padding: 10px 20px !important;
    cursor: pointer !important;
    border-radius: 5px !important;
    transition: color 0.3s ease, text-decoration 0.3s ease !important;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7) !important; /* Yazı gölgesi */
}

.ewb-btn:hover {
    color: #007BFF !important;  /* Hover durumunda renk değişimi */
    text-decoration: underline !important;
}


/* Sol panelin içine görseli sınırlamak için */
.ewb-box.ewb-highlight {
    padding: 20px;  /* Görselin etrafında boşluk bırakmak için */
    border: 1px solid #ddd;  /* Sağdaki panel ile uyumlu border */
    position: relative;
    overflow: hidden;
}

/* Görselin boyutunu küçültüp içeride tutmak için */
.ewb-image-full {
    width: 100%;
    height: auto;
    max-width: 100%;  /* Görselin biraz daha küçük olmasını sağladık */
    object-fit: cover;  /* Görselin panelde düzgün şekilde sığmasını sağlıyoruz */
    margin: 0 auto;  /* Görseli yatayda ortalıyoruz */
}




.ewb-image-overlay {
    position: relative;
    width: 100%;
    height: 100%;
}

.ewb-overlay-text {
    position: absolute;
    top: 0;
    left: 0;
    padding: 30px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 10px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7) !important; /* Yazı gölgesi */

}

.ewb-overlay-text h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #ffffff;
}

.ewb-overlay-text p {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 20px;
}

.ewb-overlay-text .ewb-btn {
    background: #ffffff;
    color: #003366;
    padding: 10px 20px;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s;
}

.ewb-overlay-text .ewb-btn:hover {
    background: #003366;
    color: #ffffff;
}


/* Ortak grid yapısı */
.team-row {
  display: grid;
  gap: 20px;
  justify-content: center;
  margin-bottom: 40px;
}

/* Satır bazlı kolon sayısı */
.team-row-5a,
.team-row-5b {
  grid-template-columns: repeat(5, 1fr);
}

.team-row-6 {
  grid-template-columns: repeat(6, 1fr);
}

/* Mobilde tek sütun */
@media (max-width: 768px) {
  .team-row {
    grid-template-columns: repeat(2, 1fr);
  }
}


.team-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 40px 0;
    background-color: #ffffff;
    max-width: 1200px;
    margin: 0 auto;
}

.team-card {
    width: 220px;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.team-photo {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}

.team-name {
    font-size: 20px;
    font-weight: bold;
    color: #002147;
}

.team-role {
    font-size: 16px;
    color: #444;
    font-style: italic;
}

.team-bio {
    font-size: 14px;
    color: #666;
    margin-top: 8px;
}

.team-linkedin {
    display: inline-block;
    margin-top: 10px;
    font-size: 14px;
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.team-linkedin:hover {
    text-decoration: underline;
}


footer {
    background-color: #003366; 
    color: #FFFFFF;
    padding: 20px;
    text-align: center;
    position: relative; 
    width: 100%;
    bottom: 0;
    margin-top: 40px; 
}


footer p {
    padding-top: 5px;
    font-size: 16px;
}


.footer-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.footer-social a {
    color: white;
    font-size: 24px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.footer-social a:hover {
    transform: scale(1.1);
    color: #40E0D0; /* Turkuaz */
}


body {
    padding-top: 80px; 
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        padding: 10px;
    }

    .header-logo {
        width: 60px;
        height: auto;
    }

    .header-title,
    .header-subtitle {
        display: none;
    }

    .nav-menu {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px 12px;
        padding: 0;
        margin: 0;
        align-items: center;
    }

    .nav-menu li {
        list-style: none;
    }

    .nav-menu a {
        font-size: 0.9rem;
        padding: 6px;
        display: flex;
        align-items: center;
        gap: 6px;
        white-space: nowrap;
    }

    .donate-btn {
        grid-column: 2; 
        justify-content: end;
        font-size: 0.65rem;
        padding: 5px 5px;
        margin-top: 0;
        height: auto;
    }
    
    .nav-menu li:has(.donate-btn) {
    grid-column: 2;
    justify-self: end;
    }

    .join-button{
        margin-top: 50px;
    }

    .ewb-overlay-text h2{
        font-size: 0.75rem;
    }

    .ewb-overlay-text p{
        font-size: 0.65rem;
    }
    
    .ewb-btn {
        font-size: 0.70rem!important;
    }

}





