/* polen.css */

.pollutant-tabs {
   display: flex;
   justify-content: center;
   flex-wrap: wrap;
   gap: 10px;
   padding: 20px;
   background: #f8f9fa;
   border-bottom: 3px solid #00457C;
   margin-top: 20px;
}

.pollutant-tab {
   padding: 10px 20px;
   background: #fff;
   border: 2px solid #00457C;
   border-radius: 5px;
   color: #00457C;
   cursor: pointer;
   transition: all 0.3s ease;
   font-weight: bold;
}

.pollutant-tab:hover, .pollutant-tab.active {
   background: #00457C;
   color: white;
}

.tab-content {
   display: none;
   padding: 20px;
   animation: fadeIn 0.5s ease-in;
}

.tab-content.active {
   display: block;
}

.pollutant-section {
   background: white;
   padding: 30px;
   margin: 20px 0;
   border-radius: 8px;
   box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.pollutant-section h3 {
   color: #00457C;
   border-left: 4px solid #00457C;
   padding-left: 15px;
   margin-bottom: 20px;
}

.pollutant-section .description {
   font-size: 0.9em;
   color: #666;
   margin-bottom: 25px;
   line-height: 1.6;
}

.date-header {
   text-align: center;
   padding: 20px 0;
   font-size: 1.8em;
   color: #00457C;
   margin-bottom: 30px;
   border-bottom: 2px solid #eee;
}

.image-row {
   display: flex;
   justify-content: space-between;
   gap: 15px;
   flex-wrap: wrap;
   padding: 0 15px;
}

.map-box {
   flex: 1;
   display: flex;
   flex-direction: column;
   align-items: center;
   padding: 15px;
   background: #f8f9fa;
   border-radius: 8px;
   min-width: 400px;
   max-width: 600px;
   transition: transform 0.2s ease;
}

.map-box:hover {
   transform: translateY(-5px);
}

.map-box img {
   width: 100%;
   height: 450px;
   object-fit: contain;
   border: 1px solid #ccc;
   border-radius: 5px;
}

.map-box .animation {
   width: 100%;
   height: 450px;
   object-fit: contain;
}

.image-caption {
   margin-top: 10px;
   color: #666;
   font-size: 0.9em;
}

.modal {
   display: none;
   position: fixed;
   z-index: 999;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background-color: rgba(0,0,0,0.9);
}

.modal-content {
   margin: auto;
   display: block;
   max-width: 90%;
   max-height: 90%;
}

.close {
   position: absolute;
   right: 15px;
   top: 15px;
   color: #f1f1f1;
   font-size: 40px;
   font-weight: bold;
   cursor: pointer;
}

@keyframes fadeIn {
   from { opacity: 0; }
   to { opacity: 1; }
}

@media (max-width: 768px) {
   .pollutant-section {
       padding: 15px;
   }

   .image-row {
       flex-direction: column;
   }

   .map-box {
       margin: 10px 0;
       min-width: 100%;
   }

   .pollutant-tabs {
       padding: 10px;
   }

   .pollutant-tab {
       font-size: 0.9em;
       padding: 8px 12px;
   }

   .map-box img, .map-box .animation {
       height: auto;
   }
}



.data-source-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.data-source-item {
    flex: 1 1 calc(50% - 40px);
    max-width: 400px;
    text-align: center;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}



/* Hamburger menü stili */
.hamburger-icon {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    margin: 0 auto 10px;
    position: relative;
    z-index: 100;
}

.hamburger-icon span {
    display: block;
    height: 3px;
    width: 100%;
    border-radius: 3px;
    background: white;
    transition: all 0.3s ease;
}

/* Mobil responsive düzenlemeler */
@media (max-width: 768px) {
    .hamburger-icon {
        display: block;
    }

    .hamburger-icon {
        display: flex;
        margin: 0 auto 10px;
    }
    
    .menu-items {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        flex-direction: column;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease;
        z-index: 99;
        padding: 0;
    }
    
    .menu-items.active {
        max-height: 500px;
        padding: 10px 0;
    }
    
    .menu-items li {
        width: 100%;
        text-align: center;
    }
    
    .menu-items li a {
        padding: 15px;
        width: 100%;
        display: block;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    /* Animasyon için hamburger simgesini çarpıya dönüştürme */
    .hamburger-icon.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger-icon.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger-icon.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .main-menu {
        position: relative;
        padding: 15px 20px;
    }
}




                                       /* Logo bölümü için stiller */
.logos-section {
    background-color: #fff;
    padding: 20px 0;
    margin-top: 20px;
    border-top: 1px solid #eee;
}

.logos-container {
    width: 80%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
<!--    align-items: center;-->
}

.logos-title {
    color: #00457C;
    font-size: 1.2em;
    margin-bottom: 20px;
    font-weight: bold;
<!--    text-align: center;-->
}

.logos-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.logo-item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.partner-logo {
    height: 60px;
    max-width: 100%;
    object-fit: contain;
}

/* Mobil için responsive ayarlar */
@media (max-width: 768px) {
    .logos-grid {
        gap: 15px;
    }

    .partner-logo {
        height: 40px;
    }
}







/* Video Bölümü Stilleri */
.video-section {
    background-color: #f8f9fa;
    padding: 50px 0;
    margin: 30px 0;
}

.video-section .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.video-section-title {
    color: #00457C;
    text-align: center;
    margin-bottom: 15px;
    font-size: 28px;
}

.video-description {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
    gap: 30px;
}

.video-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 oranı */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-info {
    padding: 20px;
}

.video-info h3 {
    color: #00457C;
    margin-bottom: 10px;
    font-size: 20px;
}

.video-info p {
    color: #666;
    font-size: 15px;
    line-height: 1.5;
}

/* Responsive ayarlar */
@media (max-width: 1100px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .video-section {
        padding: 30px 0;
    }

    .video-section-title {
        font-size: 24px;
    }

    .video-info h3 {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .video-info {
        padding: 15px;
    }

    .video-section .container {
        width: 95%;
    }
}













/* Yeni kodlar hknskn */



/* Dropdown menü stilleri */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-toggle i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.dropdown.active .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    min-width: 220px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    padding: 10px 0;
    margin: 5px 0 0 0;
}

.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: white;
    text-decoration: none;
    border-radius: 0;
    transition: background-color 0.3s;
    font-size: 14px;
}

.dropdown-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}


/* Mobil görünüm için dropdown ayarları - güncellendi */
@media screen and (max-width: 768px) {
    .menu-items.active {
        max-height: 800px; /* Dropdown için daha büyük değer */
        padding: 10px 0;
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.1);
        margin: 5px 0;
        border-radius: 5px;
        min-width: auto;
        max-height: 0;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: max-height 0.3s ease;
        padding: 0;
    }
    
    .dropdown.active .dropdown-menu {
        max-height: 200px;
        padding: 10px 0;
    }
    
    .dropdown-menu li a {
        padding: 12px 20px;
        font-size: 14px;
        text-align: center; /* Ortalamak için */
        margin: 0;
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
    
    .dropdown-toggle i {
        margin-left: auto;
    }
}
