/* Modern Footer Styles */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 4rem;
    margin-top: 4rem;
    max-width: 100%;

}

.footer-container {
  width:100%;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4rem;
    margin:0 auto;
}

.footer-section h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.15rem;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.footer-section ul {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.7rem;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 1rem;
}

.footer-section ul li a:hover {
    color: var(--secondary-color);
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    margin-bottom: 1.1rem;
    font-size: 0.98rem;
}

.contact-info span {
    display: block;
    line-height: 1.5;
}

.social-icons {
    display: flex;
    gap: 1.1rem;
    margin-top: 1.2rem;
    font-size: 1.5rem;
}

.social-icons a {
    color: #25d366;
    transition: color 0.3s;
}
.social-icons a[title="Instagram"] {
    color: #e1306c;
}
.social-icons a[title="E-posta"] {
    color: #fff;
}
.social-icons a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1rem;
    letter-spacing: 0.5px;
}


.map-container {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    margin-right:5rem,
}
.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}





@media (max-width: 1440px) {
    .footer {
        padding: 3rem 1.5rem 1rem;
    }

    .map-container {
        grid-column: span 4;
        min-height: 380px;
        /* Add these for Flexbox centering */
        display: flex; /* Make it a flex container */
        justify-content: center; /* Center horizontally */
        align-items: center; /* Center vertically */
        margin-bottom: 1rem;
        padding-top: 0;
    }
   
    .map-container iframe {
        position: static;
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
    }

    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }

    .footer-section h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    .footer-section ul li a,
    .contact-info li {
        font-size: 0.9rem;
    }
    .social-icons {
        font-size: 1.5rem;
    }
}




@media (max-width: 1200px) {
    .footer {
        padding: 2rem 1rem; /* Padding'i daha da azalt */
    }
    .footer-grid {
        grid-template-columns: 2fr; /* Tek sütun */
        gap: 1.5rem; /* Boşluğu azalt */
    }
    .footer-section {
        text-align: center; /* Bölümleri ortaya hizala */
    }
    .footer-section h3 {
        font-size: 1.2rem; /* Başlık font boyutunu daha da küçült */
        text-align: center;
    }
    .footer-section ul {
        text-align: center; /* Listeleri ortaya hizala */
    }
    .footer-section ul li {
        margin-bottom: 0.5rem;
        font-size:1.1rem;
    }
    .contact-info li {
        justify-content: center; /* İletişim bilgisi öğelerini ortaya hizala */
        text-align: center;
        flex-direction: column; /* Küçük ekranlarda alt alta gelmeleri için */
        align-items: center;
    }
    .social-icons {
        justify-content: center; /* Sosyal ikonları ortaya hizala */
        font-size: 1.2rem;
    }
    /* Haritanın tek sütun düzeninde tam genişlikte ve ayarlanabilir yükseklikte olması */

    .map-container {
        grid-column: span 2;
        min-height: 200px;
        /* Add these for Flexbox centering */
        display: flex; /* Make it a flex container */
        justify-content: center; /* Center horizontally */
        align-items: center; /* Center vertically */
        padding-top:0;
    }
    /* Ensure the iframe scales within its container */
    .map-container iframe {
        position:static;
        width: 100%; /* Make iframe responsive within its container */
        height: 100%; /* Or set a max-height */
        max-height: 300px; /* Adjust as needed for smaller screens */
        object-fit: cover; /* Ensures the iframe content covers the area */
    }

    .footer-bottom {
        font-size: 0.85rem; /* Telif hakkı yazısını küçült */
        padding-top: 1.5rem;
    }
}




@media (max-width: 1024px) {
    .footer {
        padding: 2rem 1rem; /* Padding'i daha da azalt */
    }
    .footer-grid {
        grid-template-columns: 2fr; /* Tek sütun */
        gap: 1.5rem; /* Boşluğu azalt */
    }
    .footer-section {
        text-align: center; /* Bölümleri ortaya hizala */
    }
    .footer-section h3 {
        font-size: 1.2rem; /* Başlık font boyutunu daha da küçült */
        text-align: center;
    }
    .footer-section ul {
        text-align: center; /* Listeleri ortaya hizala */
    }
    .footer-section ul li {
        margin-bottom: 0.5rem;
        font-size:1.1rem;
    }
    .contact-info li {
        justify-content: center; /* İletişim bilgisi öğelerini ortaya hizala */
        text-align: center;
        flex-direction: column; /* Küçük ekranlarda alt alta gelmeleri için */
        align-items: center;
    }
    .social-icons {
        justify-content: center; /* Sosyal ikonları ortaya hizala */
        font-size: 1.2rem;
    }
    /* Haritanın tek sütun düzeninde tam genişlikte ve ayarlanabilir yükseklikte olması */

    .map-container {
        grid-column: span 2;
        min-height: 200px;
        /* Add these for Flexbox centering */
        display: flex; /* Make it a flex container */
        justify-content: center; /* Center horizontally */
        align-items: center; /* Center vertically */
        padding-top:0;
    }
    /* Ensure the iframe scales within its container */
    .map-container iframe {
        position:static;
        width: 100%; /* Make iframe responsive within its container */
        height: 100%; /* Or set a max-height */
        max-height: 300px; /* Adjust as needed for smaller screens */
        object-fit: cover; /* Ensures the iframe content covers the area */
    }

    .footer-bottom {
        font-size: 0.85rem; /* Telif hakkı yazısını küçült */
        padding-top: 1.5rem;
    }
}



@media (max-width: 768px) {
    .footer {
        padding: 2rem 1rem; /* Padding'i daha da azalt */
    }
    .footer-grid {
        grid-template-columns: 1fr; /* Tek sütun */
        gap: 1.5rem; /* Boşluğu azalt */
    }
    .footer-section {
        text-align: center; /* Bölümleri ortaya hizala */
    }
    .footer-section h3 {
        font-size: 1.2rem; /* Başlık font boyutunu daha da küçült */
        text-align: center;
    }
    .footer-section ul {
        text-align: center; /* Listeleri ortaya hizala */
    }
    .footer-section ul li {
        margin-bottom: 0.5rem;
        font-size:1.1rem;
    }
    .contact-info li {
        justify-content: center; /* İletişim bilgisi öğelerini ortaya hizala */
        text-align: center;
        flex-direction: column; /* Küçük ekranlarda alt alta gelmeleri için */
        align-items: center;
    }
    .social-icons {
        justify-content: center; /* Sosyal ikonları ortaya hizala */
        font-size: 1.2rem;
    }
    /* Haritanın tek sütun düzeninde tam genişlikte ve ayarlanabilir yükseklikte olması */

    .map-container {
        grid-column: span 1;
        min-height: 200px;
        /* Add these for Flexbox centering */
        display: flex; /* Make it a flex container */
        justify-content: center; /* Center horizontally */
        align-items: center; /* Center vertically */
        padding-top:0;
    }
    /* Ensure the iframe scales within its container */
    .map-container iframe {
        position:static;
        width: 100%; /* Make iframe responsive within its container */
        height: 100%; /* Or set a max-height */
        max-height: 300px; /* Adjust as needed for smaller screens */
        object-fit: cover; /* Ensures the iframe content covers the area */
    }

    .footer-bottom {
        font-size: 0.85rem; /* Telif hakkı yazısını küçült */
        padding-top: 1.5rem;
    }
}






@media (max-width: 600px) {
    .footer {
        padding: 2rem 1rem; /* Padding'i daha da azalt */
    }
    .footer-grid {
        grid-template-columns: 1fr; /* Tek sütun */
        gap: 1.5rem; /* Boşluğu azalt */
    }
    .footer-section {
        text-align: center; /* Bölümleri ortaya hizala */
    }
    .footer-section h3 {
        font-size: 1.15rem; /* Başlık font boyutunu daha da küçült */
        text-align: center;
    }
    .footer-section ul {
        text-align: center; /* Listeleri ortaya hizala */
    }
    .footer-section ul li {
        margin-bottom: 0.5rem;
        font-size:1.1rem;
    }
    .contact-info li {
        justify-content: center; /* İletişim bilgisi öğelerini ortaya hizala */
        text-align: center;
        flex-direction: column; /* Küçük ekranlarda alt alta gelmeleri için */
        align-items: center;
    }
    .social-icons {
        justify-content: center; /* Sosyal ikonları ortaya hizala */
        font-size: 1.2rem;
    }
    /* Haritanın tek sütun düzeninde tam genişlikte ve ayarlanabilir yükseklikte olması */

    .map-container {
        grid-column: span 1;
        min-height: 200px;
        /* Add these for Flexbox centering */
        display: flex; /* Make it a flex container */
        justify-content: center; /* Center horizontally */
        align-items: center; /* Center vertically */
        padding-top:0;
    }
    /* Ensure the iframe scales within its container */
    .map-container iframe {
        position:static;
        width: 100%; /* Make iframe responsive within its container */
        height: 100%; /* Or set a max-height */
        max-height: 300px; /* Adjust as needed for smaller screens */
        object-fit: cover; /* Ensures the iframe content covers the area */
    }

    .footer-bottom {
        font-size: 0.85rem; /* Telif hakkı yazısını küçült */
        padding-top: 1.5rem;
    }
}


@media (max-width: 480px) {
    .footer {
        padding: 2rem 1rem; /* Padding'i daha da azalt */
    }
    .footer-grid {
        grid-template-columns: 1fr; /* Tek sütun */
        gap: 1.5rem; /* Boşluğu azalt */
    }
    .footer-section {
        text-align: center; /* Bölümleri ortaya hizala */
    }
    .footer-section h3 {
        font-size: 1.05rem; /* Başlık font boyutunu daha da küçült */
        text-align: center;
    }
    .footer-section ul {
        text-align: center; /* Listeleri ortaya hizala */
    }
    .footer-section ul li {
        margin-bottom: 0.5rem;
        font-size:1rem;
    }
    .contact-info li {
        justify-content: center; /* İletişim bilgisi öğelerini ortaya hizala */
        text-align: center;
        flex-direction: column; /* Küçük ekranlarda alt alta gelmeleri için */
        align-items: center;
    }
    .social-icons {
        justify-content: center; /* Sosyal ikonları ortaya hizala */
        font-size: 1.2rem;
    }
    /* Haritanın tek sütun düzeninde tam genişlikte ve ayarlanabilir yükseklikte olması */

    .map-container {
        grid-column: span 1;
        min-height: 200px;
        /* Add these for Flexbox centering */
        display: flex; /* Make it a flex container */
        justify-content: center; /* Center horizontally */
        align-items: center; /* Center vertically */
        padding-top:0;
    }
    /* Ensure the iframe scales within its container */
    .map-container iframe {
        position:static;
        width: 100%; /* Make iframe responsive within its container */
        height: 100%; /* Or set a max-height */
        max-height: 300px; /* Adjust as needed for smaller screens */
        object-fit: cover; /* Ensures the iframe content covers the area */
    }

    .footer-bottom {
        font-size: 0.85rem; /* Telif hakkı yazısını küçült */
        padding-top: 1.5rem;
    }
}




@media (max-width: 375px) {
    .footer {
        padding: 2rem 1rem; /* Padding'i daha da azalt */
    }
    .footer-grid {
        grid-template-columns: 1fr; /* Tek sütun */
        gap: 1.5rem; /* Boşluğu azalt */
    }
    .footer-section {
        text-align: center; /* Bölümleri ortaya hizala */
    }
    .footer-section h3 {
        font-size: 1rem; /* Başlık font boyutunu daha da küçült */
        text-align: center;
    }
    .footer-section ul {
        text-align: center; /* Listeleri ortaya hizala */
    }
    .footer-section ul li {
        margin-bottom: 0.5rem;
        font-size:0.98rem;
    }
    .contact-info li {
        justify-content: center; /* İletişim bilgisi öğelerini ortaya hizala */
        text-align: center;
        flex-direction: column; /* Küçük ekranlarda alt alta gelmeleri için */
        align-items: center;
    }
    .social-icons {
        justify-content: center; /* Sosyal ikonları ortaya hizala */
        font-size: 1.1rem;
    }
    /* Haritanın tek sütun düzeninde tam genişlikte ve ayarlanabilir yükseklikte olması */

    .map-container {
        grid-column: span 1;
        min-height: 200px;
        /* Add these for Flexbox centering */
        display: flex; /* Make it a flex container */
        justify-content: center; /* Center horizontally */
        align-items: center; /* Center vertically */
        padding-top:0;
    }
    /* Ensure the iframe scales within its container */
    .map-container iframe {
        position:static;
        width: 100%; /* Make iframe responsive within its container */
        height: 100%; /* Or set a max-height */
        max-height: 300px; /* Adjust as needed for smaller screens */
        object-fit: cover; /* Ensures the iframe content covers the area */
    }

    .footer-bottom {
        font-size: 0.85rem; /* Telif hakkı yazısını küçült */
        padding-top: 1.5rem;
    }

}

