﻿.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 600px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

    .close:hover {
        color: black;
    }

/* Pop-up stil ayarları */
.popup {
    display: none;
    /* Başlangıçta gizli */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border: 2px solid #000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 80%;
    /* Genişlik ayarı */
    max-height: 300px;
    /* Maksimum yükseklik */
    overflow-y: auto;
    /* Dikey kaydırma (scroll) */
}

.overlay {
    display: none;
    /* Başlangıçta gizli */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.close-btn {
    background-color: red;
    color: white;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
}

.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border: 2px solid #000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 80%;
    max-height: 400px;
    overflow-y: auto;
    /* Kaydırma */
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.close-btn {
    background-color: red;
    color: white;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    margin-top: 10px;
}

.logo-desktop {
    display: block;
}

.logo-mobile {
    display: none;
}

/* Mobil görünüm için */
@media (max-width: 768px) {
    .logo-desktop {
        display: none;
    }

    .logo-mobile {
        display: block;
    }
}

.footer-icons {
    display: none;
    /* Hide the footer by default */
}

.flag-nav {
    display: flex;
}
.flag-nav-img {
    width: 48px;
}


@media only screen and (max-width: 768px) {
    .footer-icons {
        display: flex;
        /* Show the footer on devices with a max-width of 768px or less */
        justify-content: center;
        /* Center the icons horizontally */
        align-items: center;
        /* Center the icons vertically */
        position: fixed;
        bottom: 0;
        width: 100%;
        padding: 10px;
        box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        border-radius: 10px;
        /* Add rounded corners */
        box-sizing: border-box;
        /* Ensure padding is included in width calculation */
        margin-left: -8px;
        /* Shift the entire footer 2px to the left */
    }

    .icon-box {
        display: inline-block;
        text-align: center;
        padding: 10px;
        margin: 0 2px;
        /* Add margin to separate the icons */
        font-size: 14px;
        text-decoration: none;
        color: #326b7e;
        /* Set text color to #326b7e */
        background-color: #f0f0f0;
        border-radius: 5px;
        /* Ensure individual icons also have rounded corners */
        transition: background-color 0.3s ease;
    }

        .icon-box i {
            margin-right: 5px;
            /* Space between icon and text */
        }

        .icon-box:hover {
            background-color: #007bff;
            color: #fff;
        }

    /* WhatsApp kutucuğuna özel stil */
    .footer-icons a[href="https://wa.me/1234567890"] {
        background-color: #25d366;
        /* Set background color of WhatsApp box */
        color: white;
        /* Set text color to white for contrast */
    }

        /* WhatsApp kutucuğunun hover efekti */
        .footer-icons a[href="https://wa.me/1234567890"]:hover {
            background-color: #128c7e;
            /* Darker shade for hover effect */
            color: white;
        }

    .flag-nav {
        display: block;
    }

    .flag-nav-img {
        width: 32px;
    }
}

