body {
    font-family:'Roboto', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    color: #000;
    background-color: #eee;
    /* padding-top: 4.5rem; Adjust based on header height */
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    padding: 1rem 2rem;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-sizing: border-box;
}

.nav-links-mobile {
    display: none; /* Hidden by default */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 700;
}


.logo img {
    height: 30px; /* Adjust as needed */
    width: auto;
    vertical-align: middle;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.5rem;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px; /* Increase clickable area */
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    position: relative;
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #333;
    transition: all 0.3s ease;
    left: 0;
}

.hamburger::before {
    transform: translate(50%, -8px);
}

.hamburger::after {
    transform: translate(50%, 8px);
}

/* Hamburger menü aktif olduğunda X şekline dönüşüm */
.menu-toggle.active .hamburger {
    background-color: transparent;
}

.menu-toggle.active .hamburger::before {
    transform: rotate(45deg);
}

.menu-toggle.active .hamburger::after {
    transform: rotate(-45deg);
}



@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        z-index: 1001; /* Ensure it's above the nav */
    }

    .nav-container {
        transition: border-radius 0.3s ease;
    }

    .nav-container.active {
        border-bottom-left-radius: 50px;
        border-bottom-right-radius: 50px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    /* Desktop nav links gizle */
    nav .nav-links {
        display: none;
    }

    /* Mobile nav links */
    .nav-links-mobile {
        display: flex;
        list-style: none;
        margin: 0;
        padding: 0;
        flex-direction: column;
        align-items: center;
        gap: 0;
        width: 100%;
        
        /* Başlangıçta gizli */
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
    }

    .nav-container.active .nav-links-mobile {
        max-height: 400px;
        opacity: 1;
        padding: 2rem 0;
    }

    .nav-links-mobile li {
        margin: 0.8rem 0;
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.4s ease, transform 0.4s ease;
        transition-delay: 0.1s;
    }

    .nav-container.active .nav-links-mobile li {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links-mobile li a {
        display: block;
        padding: 0.8rem 2rem;
        border-radius: 25px;
        transition: all 0.3s ease;
        font-weight: 600;
        text-align: center;
        min-width: 200px;
        text-decoration: none;
        color: #333;
    }

    .nav-links-mobile li a:hover {
        background-color: rgba(0, 0, 0, 0.05);
        transform: scale(1.05);
        color: #000;
    }
}

/* Preloader Stilleri */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.75s ease, visibility 0.75s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-logo {
    position: relative;
    width: 250px;
}

.preloader-logo img {
    width: 100%;
    height: auto;
}

.preloader-logo .logo-animated {
    position: absolute;
    top: 0;
    left: 0;
    animation: fade-logo 2s infinite ease-in-out;
}

@keyframes fade-logo {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

/* Sayfa Geçiş Stilleri */
.page-wrapper {
    transition: opacity 0.4s ease-in-out;
}

body.page-is-exiting .page-wrapper {
    opacity: 0;
}

/* Footer Stilleri */
footer {
    background-color: #1c1c1c;
    color: #f5f5f5;
    padding: 4rem 6rem 2rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
    padding-bottom: 3rem;
    border-bottom: 1px solid #444;
}

.footer-about, .footer-links, .footer-social {
    flex: 1;
    min-width: 250px;
}

.footer-about h4, .footer-links h4, .footer-social h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #fff;
    font-weight: 600;
}

.footer-about p {
    color: #aaa;
    line-height: 1.6;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #fff;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    color: #aaa;
    font-size: 1.5rem; /* İkonlar için boyut */
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    color: #888;
}
