﻿* {
    box-sizing: border-box;
}

/* === NAVBAR === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 75px;
    background: rgba(241, 243, 228, 0.95);
    z-index: 1000;
    font-family: 'Poppins', sans-serif;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

    .navbar.scrolled {
        box-shadow: 0 2px 10px rgba(0,0,0,0.12);
    }

/* Container */
.navbar-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between; 
    padding: 0 32px;
    position: relative;
    width: 100%;
}

/* Logo */
.brand img {
    height: 55px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    margin: 0;
    margin-left: auto; 
    padding: 0;
}

    .nav-links a {
        text-decoration: none;
        color: #2F4730;
        font-weight: 500;
        padding: 8px 0;
        transition: color .25s ease;
    }

        .nav-links a:hover {
            color: #5E7E5A;
        }

/* Randevu */
.btn-randevu {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 26px;
    background-color: #CFD2A5;
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

    .btn-randevu:hover {
        background-color: #2f4730; /* Hoverda biraz daha koyu */
        transform: translateY(-2px); /* Hafif yukarı zıplama efekti */
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        color: #ffffff !important;
    }
.randevu-item {
    margin-left: 10px;
}


/* === MENU TOGGLE === */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #2F4730;
}

/* === MOBILE MENU === */
.mobile-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 75px;
    right: 16px;
    background: #fff;
    padding: 14px 18px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    min-width: 180px;
    z-index: 1001;
}

    .mobile-menu a {
        text-decoration: none;
        color: #2F4730;
        padding: 10px 0;
        font-weight: 500;
    }

        .mobile-menu a:hover {
            color: #5E7E5A;
        }

.btn-mobile {
    background: #6C8C68;
    color: #fff;
    text-align: center;
    padding: 10px;
    border-radius: 20px;
    margin-top: 8px;
}
/* === RESPONSIVE === */
@media (max-width: 992px) {
    .menu-toggle {
        display: block;
        margin-left: auto;
        z-index: 1002; /* Butonun üstte kalmasını sağlar */
    }

    .nav-links {
        display: none !important;
    }


    .mobile-menu.active {
        display: flex !important; /* JS tıklandığında menüyü görünür yapar */
    }
}