@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    font-family: "Oswald";
}

.menu-toggle {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    padding: 10px;
    background: #000;
    color: #fff;
    text-align: center;
}

#navbar {
    background-color: #000;
    color: #fff;
    list-style: none;
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-size: 25px;
    position: relative;
    height: 150px;
}

#navbar li {
    padding: 10px;
}

.logo  img{
    width: 10px;
    height: 10px;
    border-radius: 10px;
}


a {
    text-decoration: none;
    font-family: 'Times New Roman', Times, serif;
    color: #fff;
}

#menuLi:hover {
    transform: scale(1.05);
    text-decoration: underline;
    transition: 1s;
}

#pBaslik {
    padding-left: 10px;
    padding-right: 10px;
    text-align: center;
    font-weight: 900;
    font-size: xx-large;
    font-family: "Oswald";
}

#instagram {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 40px;
}

.footer-bottom {
    text-align: center;
    padding-top: 10px;
    margin-top: 20px;
}

ul#navbar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    list-style: none;
    background-color: #000;
    padding: 10px;
}

ul#navbar li {
    font-size: 18px;
    color: #fff;
    padding: 10px;
    cursor: pointer;
}

ul#navbar a {
    color: #fff;
    text-decoration: none;
}

ul#navbar .logo img {
    width: 150px;
    height: auto;
}

#pProje {
    text-align: center;
    margin: 10px;
    font-size: 1.2rem;
    padding: 0 15px;
}

#logoProje {
    display: block;
    margin: 0 auto;
    width: 250px;
    border-radius: 10px;
    margin-top: 20px;
}

footer {
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    width: 100%;
    position: relative;
    bottom: 0;
    margin-top: auto;
}

footer img {
    width: 100px;
    height: auto;
    border-radius: 10px;
}

footer p {
    margin: 5px 0;
}

.form-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 500px;
    padding: 50px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

#contactForm {
    width: 100%;
}

h1 {
    color: #333;
}

label {
    display: block;
    margin: 10px 0 5px;
    color: #555;
}

input,
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 15px;
}

button {
    background-color: #000;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    background-color: #333;
}

.hidden {
    display: none;
    color: #28a745;
    font-weight: bold;
    margin-top: 10px;
}

.imgAnasayfa {
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    width: 300px;
}

.butonContainer {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-left: 20px;
    margin-right: 20px;
}

.butonContainer img {
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    width: 250px;
}

.butonContainer img:hover {
    transition: 1s;
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 1);
}

.sorgu-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
}

#trackingNumber {
    width: calc(100% - 22px);
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 15px;
}

#searchButton {
    display: block;
    width: fit-content;
    margin: 1.5em auto 0;
    padding: 0.8em 1.5em;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    background-color: #171717;
    transition: background-color 0.3s ease, box-shadow 1.5s ease-in-out;
    animation: renkliGolge 3s infinite alternate;
}

#searchButton:hover {
    background-color: #000000;
}

#result {
    margin-top: 20px;
    color: #333;
}

.hizmetler ul {
    list-style-type: disc;
    padding-left: 1.5em;
    margin-top: 1em;
}

.hizmetler li {
    margin-bottom: 0.7em;
}

.iletisim p {
    margin-bottom: 0.5em;
}

.kapsayici {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.baslik {
    background-color: #171717;
    color: #fff;
    padding: 2em 1em;
    text-align: center;
    position: relative;
}

.hakkimizda,
.hizmetler,
.iletisim {
    margin: 2em 0;
    padding: 2em;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.6);
    transition: box-shadow 0.3s ease;
    width: 100%;
    max-width: 800px;
    text-align: center;
}

.hakkimizda:hover,
.hizmetler:hover,
.iletisim:hover {
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.hakkimizda h2,
.hizmetler h2,
.iletisim h2 {
    font-size: 2em;
    margin-bottom: 0.5em;
    color: #171717;
}

.buton {
    display: block;
    width: fit-content;
    margin: 1.5em auto 0;
    padding: 0.8em 1.5em;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    background-color: #171717;
    transition: background-color 0.3s ease, box-shadow 1.5s ease-in-out;
    animation: renkliGolge 3s infinite alternate;
}

.buton:hover {
    background-color: #171717;
}

@keyframes renkliGolge {
    0% {
        box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.5);
    }
    50% {
        box-shadow: 0 0 15px 8px rgba(0, 0, 0, 0.7);
    }
    100% {
        box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.5);
    }
}

#loader {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 9999;
}

#loader b {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-top: 20px;
}

.slider-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 300px;
    margin: 50px auto;
}

.image-wrapper {
    position: relative;
}

#slider-image {
    width: 100%;
    max-width: 300px;
    border-radius: 10px;
    transition: opacity 0.3s ease;
}

.image-caption {
    position: absolute;
    bottom: -30px;
    left: auto;
    right: auto;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 5px;
    border-radius: 5px;
    font-size: 1rem;
}

button.prev,
button.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 10;
    margin: -10px;
    font-size: 1.5rem;
    border-radius: 10%;
}

button.prev {
    left: -40px;
}

button.next {
    right: -40px;
}

button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Responsive Styles */
@media (max-width: 768px) {
    #navbar {
        flex-direction: column;
        height: auto;
        padding: 10px 0;
    }
    
    #navbar li {
        padding: 8px 0;
    }
    
    .logo img {
        width: 100px;
    }
    
    .form-container {
        width: 95%;
        padding: 20px;
    }
    
    .imgAnasayfa {
        width: 90%;
    }
    
    .butonContainer {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin: 20px 0;
    }
    
    .butonContainer img {
        width: 90%;
    }
    
    footer img {
        width: 80px;
    }
    
    button.prev,
    button.next {
        position: relative;
        top: auto;
        transform: none;
        margin: 10px;
        display: inline-block;
    }
}

@media (max-width: 480px) {
    #pBaslik {
        font-size: 1.5rem;
    }
    
    h1, h2 {
        font-size: 1.5rem;
    }
    
    .menu-toggle {
        display: block;
    }
    
    #navbar {
        display: none;
    }
    
    #navbar.active {
        display: flex;
    }
}