﻿/* Basic reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

.navbar {
    background-color: #f8f9fa; /* Light gray background */
    color: #343a40; /* Dark gray text */
    padding: 10px 0px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
}

header {
    background: #333;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1000;
    display: flex !important;
}

    header.fixed {
        position: fixed;
        top: 0;
        width: 100%;
    }

.logo img {
    height: 100px;
}

.main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

    .main-nav ul li {
        margin: 10px 0;
    }

.menu-toggle {
    background: none;
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
}

.main-nav {
    display: none; /* Initially hide the navigation */
}

main {
    padding: 20px;
    text-align: center;
}

footer {
    background-image: url('../resim/slayt/foot_bg.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    width: 100%;
}

.hamburger-menu {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-right: 20px;
}

    .hamburger-menu.active .line-1 {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger-menu.active .line-2 {
        opacity: 0;
    }

    .hamburger-menu.active .line-3 {
        transform: rotate(-45deg) translate(6px, -6px);
    }

.line {
    width: 40px;
    height: 5px;
    background-color: #343a40; /* Dark gray lines */
    transition: transform 0.3s, opacity 0.3s;
}

.nav-list {
    list-style: none;
    position: fixed;
    background-color: #f8f9fa; /* Light gray background */
    right: 0px;
    top: 110px;
    width: 250px; /* Define a fixed width */
    flex-direction: column;
    align-items: flex-start; /* Align items to the left */
    transform: translateX(100%);
    transition: transform 0.5s ease-in-out;
}

    .nav-list li {
        width: 100%;
        text-align: left; /* Text aligned to the left */
        padding: 10px;
        border-bottom: 1px solid #ccc; /* Separator line between items */
    }

        .nav-list li:last-child {
            border-bottom: none; /* No border for the last item */
        }

        .nav-list li a {
            color: #343a40; /* Dark gray text */
            text-decoration: none;
            display: block; /* Makes the link fill the entire list item */
            transition: background-color 0.3s, color 0.3s; /* Smooth transition for hover */
        }

            .nav-list li a:hover {
                background-color: #dae0e5; /* Soft blue background on hover */
                color: #1a202c; /* Slightly darker text on hover */
            }

    .nav-list.active {
        transform: translateX(0); /* Slide in to full view */
    }

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: #f8f9fa; /* Light gray background */
    padding: 0;
    margin-top: 10px;
    list-style: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    animation: fadeIn 0.5s;
}

    .dropdown-menu li {
        padding: 10px;
    }

        .dropdown-menu li a {
            color: #343a40;
        }

.dropdown:hover .dropdown-menu {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.high-contrast {
    background-color: #000;
    color: #fff;
}

    .high-contrast a {
        color: #9ff;
    }

    .high-contrast .navbar {
        background-color: #000;
        color: #fff;
    }

    .high-contrast .nav-list li a {
        color: #9ff;
    }

#scrollTopBtn {
    display: none; /* Başlangıçta gizli */
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99; /* Butonun en üstte olmasını sağlar */
    font-size: 18px;
    background-color: #555; /* Buton rengi */
    color: white;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 15px;
    border-radius: 4px;
}

    #scrollTopBtn:hover {
        background-color: #333; /* Buton hover rengi */
    }

.u-text-6xl {
    font-size: 4.375rem !important;
    letter-spacing: .01563rem !important;
    line-height: 4.375rem !important;
}

@media (min-width: 62em) {
    .lg\:u-text-8xl {
        font-size: 5.5rem !important;
        letter-spacing: .01563rem !important;
        line-height: 7.5rem !important;
    }
}

.u-text-primary {
    color: #f20b60 !important;
}
