/* İletişim Sayfası */
.contact {
    margin: 60px auto;
    padding: 60px;
    background-color: #f9f9f9;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    border-radius: 8px;
}

.logo{
    text-decoration: none;
    color: inherit;
}

.contact h2 {
    font-size: 3.2em;
    color: #0066cc; /* Tutarlılık için renk düzenlendi */
    text-align: center;
    margin-bottom: 30px;
}

.contact-info {
    margin-bottom: 50px;
}

.contact-info h3 {
    font-size: 2.5em;
    color: #00cc88; /* Tutarlılık için renk düzenlendi */
    text-align: center;
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 1.2em;
    color: #555;
    text-align: center;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-item {
    width: 30%;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center; /* Görünüm tutarlılığı için eklendi */
}

.contact-item img{
    width: 70px;
    margin: auto;
}

.contact-item h4 {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 10px;
}

.contact-item p {
    font-size: 1.1em;
    color: #777;
}

.contact-form {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    font-size: 2.5em;
    color: #3498db;
    margin-bottom: 30px;
    text-align: center;
}

.contact-form label {
    font-size: 1.2em;
    color: #333;
    margin-bottom: 8px;
    display: block;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 15px;
    font-size: 1.1em;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form .submit-btn {
    background-color: #2ecc71;
    color: #fff;
    padding: 15px 30px;
    font-size: 1.2em;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form .submit-btn:hover {
    background-color: #27ae60;
}

.site-header {
    background: linear-gradient(90deg, #003366 0%, #6699cc 100%);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}


.site-header .logo img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
}

.site-header .nav-link {
    color: #fff !important;
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.site-header .nav-link:hover {
    color: #002244 !important;
    background-color: rgba(255,255,255,0.2);
}

/* Footer */
footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 15px 0;
    font-size: 1em;
    margin-top: 40px;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
}

footer p {
    margin: 0;
}

footer a {
    color: #3498db;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}


/* Tema Butonu (Gündüz Modu) */
#theme-toggle {
    padding: 10px 15px;
    font-size: 1em;
    font-weight: bold;
    background: linear-gradient(135deg, #000000, #000000); /* Yeşil (gündüz modu) */
    color: #ffffff;
    border: none;
    border-radius: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

#theme-toggle:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, #260000, #260000); /* Daha koyu yeşil */
}

.social-icon {
    display: inline-block;
    margin-top: 10px; /* Yazı ile logo arasında boşluk bırakır */
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-icon img.instagram-logo {
    width: 30px; /* Logo boyutu */
    height: auto;
    filter: grayscale(100%); /* Gri tonlama efekti */
    transition: filter 0.3s ease, transform 0.3s ease;
}

.social-icon:hover img.instagram-logo {
    filter: none; /* Gri tonlama kaldırılır */
    transform: scale(1.1); /* Hafif büyütme efekti */
}

/* 📌 Hamburger Menü Butonu - Sadece mobilde görünür */
.hamburger-menu {
    display: none;
    font-size: 28px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 1001;
}

@media (max-width: 768px) {
    .hamburger-menu {
        display: block; /* Mobilde hamburger butonunu göster */
    }
}

/* 📌 Mobil Menü - Varsayılan olarak gizli */
.mobile-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 0;
    width: 100%;
    background: rgba(0, 51, 102, 0.95);
    text-align: center;
    padding: 20px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

/* 📌 Mobil menü içindeki linkler */
.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav ul li {
    padding: 15px 0;
}

.mobile-nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    display: block;
    transition: background 0.3s;
}

.mobile-nav ul li a:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* 📌 Açıldığında mobil menüyü göster */
.mobile-nav.show {
    display: flex;
}


/* 📌 Mobil menüde tema butonunu stilize et */
.theme-toggle-mobile {
    display: block;
    margin: 20px auto; /* Ortala */
    padding: 10px 15px;
    font-size: 1em;
    font-weight: bold;
    background: linear-gradient(135deg, #000000, #333333);
    color: #ffffff;
    border: none;
    border-radius: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

/* 📌 Tema butonuna hover efekti */
.theme-toggle-mobile:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, #444444, #666666);
}

/* 📌 Mobilde masaüstü tema butonunu gizle */
@media (max-width: 768px) {
    #theme-toggle {
        display: none;
    }
}

/* 📌 Mobil menü açıldığında tema butonunu göster */
.mobile-nav.show .theme-toggle-mobile {
    display: block !important; /* Tema butonunu göster */
}
@media (max-width: 768px) {
    .desktop-nav {
        display: none; /* Mobilde masaüstü menüyü gizle */
    }
}

@media (max-width: 768px) {
    .contact-details {
        flex-direction: column; /* Öğeleri dikey hizala */
        align-items: center; /* Ortala */
        gap: 20px; /* Kutular arasına boşluk ekle */
    }

    .contact-item {
        width: 90%; /* Mobilde genişliği artır */
        max-width: 400px; /* Çok büyük olmaması için sınır koy */
        padding: 15px; /* İç dolguyu azalt */
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Hafif gölge */
    }

    .contact-item img {
        width: 50px; /* Instagram ikonunu küçült */
    }

    .contact-item h4 {
        font-size: 1.3em; /* Başlığı biraz küçült */
    }

    .contact-item p {
        font-size: 1em; /* Yazıyı küçült */
    }
}

@media (max-width: 768px) {
    .site-header {
        min-height: 80px; /* Header yüksekliğini artır */
        display: flex;
        align-items: center;
        padding: 10px 15px;
    }

    /* 📌 LOGO ve BAŞLIK ORTALANSIN */
    .site-header .logo {
        display: flex;
        align-items: center;
    }

    /* 📌 MOBİL NAV MENÜ YÜKSEKLİĞİ ARTIR */
    .mobile-nav {
        padding-top: 20px;
    }

    /* 📌 MOBİL TEMA BUTONUNUN ALANI ARTIR */
    .mobile-nav .theme-toggle-mobile {
        padding: 12px 18px;
        font-size: 1.1em;
    }
}
