/* Slender Bar Stili */
.slender-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #004080; /* Koyu mavi arka plan */
    padding: 10px 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

.slender-logo img {
    height: 40px; /* Logo boyutu */
    border-radius: 50%; /* Yuvarlak logo */
}

.slender-menu-icon {
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    display: none; /* Mobilde göster */
}

.slender-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.slender-nav ul li {
    margin-left: 20px;
}

.slender-nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: color 0.3s ease;
}

.slender-nav ul li a:hover {
    color: #cce6ff; /* Fare üzerine gelince açık mavi */
}

/* Mobil Menü Stili */
@media (max-width: 768px) {
    .slender-menu-icon {
        display: block; /* Mobilde menü ikonunu göster */
    }

    .slender-nav {
        position: absolute;
        top: 60px;
        right: 0;
        background-color: #004080;
        width: 100%;
        display: none;
        flex-direction: column;
        align-items: center;
        transition: opacity 0.3s ease, transform 0.3s ease;
        opacity: 0;
        transform: translateY(-20px);
    }

    .slender-nav.active {
        display: flex; /* Menü aktif olduğunda göster */
        opacity: 1;
        transform: translateY(0);
    }

    .slender-nav ul li {
        margin: 10px 0;
    }
}

/* Dark Mode Stili */
body.dark-mode {
    background-color: #121212;
    color: #ffffff;
}

body.dark-mode header,
body.dark-mode .slender-bar,
body.dark-mode footer {
    background-color: #1a1a1a;
}

body.dark-mode .product {
    background-color: #2d2d2d;
    color: #ffffff;
    border-color: #444;
}

body.dark-mode .product h3,
body.dark-mode .product .price {
    color: #ffffff;
}

body.dark-mode .product button {
    background-color: #004080;
    color: #ffffff;
}

body.dark-mode .product button:hover {
    background-color: #00264d;
}

/* Animasyonlar */
.product {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Diğer stiller (önceki CSS kodu) */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: #f0f4f8;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
}

header {
    background: #004080;
    color: #fff;
    padding-top: 20px;
    min-height: 70px;
    border-bottom: #00264d 3px solid;
}

header h1 {
    float: left;
    margin: 0;
    padding: 0;
    font-size: 24px;
}

header nav {
    float: right;
    margin-top: 10px;
}

header nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

header nav ul li {
    display: inline;
    margin-left: 20px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
}

header nav ul li a:hover {
    color: #cce6ff;
}

.products {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 20px;
}

.product {
    background: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

@media (min-width: 600px) {
    .product {
        width: 48%;
    }
}

@media (min-width: 900px) {
    .product {
        width: 30%;
    }
}

.product img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.product h3 {
    margin: 15px 0 10px;
    font-size: 1.5em;
    color: #004080;
}

.product p {
    color: #555;
    font-size: 1em;
}

.product .price {
    font-size: 1.2em;
    color: #004080;
    font-weight: bold;
}

.product button {
    background: #004080;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    margin-top: 10px;
    border-radius: 5px;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

.product button:hover {
    background: #00264d;
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    text-align: center;
    font-size: 30px;
    line-height: 60px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128c7e;
}

footer {
    background: #004080;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 20px;
    border-top: #00264d 3px solid;
}