/* Global Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background: linear-gradient(135deg, #00c853, #004d40);
    background-size: 400% 400%;
    animation: backgroundAnimation 15s ease infinite;
    color: #333;
}

@keyframes backgroundAnimation {
    0% {background-position: 0% 50%;}
    50% {background-position: 100% 50%;}
    100% {background-position: 0% 50%;}
}

header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 15px 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.logo {
    order: -1;
}

.logo-img {
    height: 50px;
    width: auto;
}

.menu-list {
    list-style-type: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.menu-item {
    text-decoration: none;
    color: #2E7D32;
    font-weight: bold;
    transition: color 0.3s, transform 0.3s;
    position: relative;
}

.menu-item:hover {
    color: #1B5E20;
    transform: scale(1.15);
}

.menu-item::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #2E7D32;
    transition: width 0.3s;
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
}

.menu-item:hover::after {
    width: 100%;
}

.slider {
    margin-top: 0;
    text-align: center;
    padding: 30px 0;
    color: white;
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
}

.slider-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.urun-kategorileri {
    padding: 50px 20px;
}

.kategori-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.kategori {
    background: white;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.kategori:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

.kategori-icon {
    width: 80px;
    height: auto;
    margin-bottom: 10px;
    transition: transform 0.3s;
}

.kategori:hover .kategori-icon {
    transform: scale(1.1);
}

.animasyonlu-box {
    animation: kategoriFadeIn 1s ease;
}

@keyframes kategoriFadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.kesfet-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background: #00c853;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s, transform 0.3s;
}

.kesfet-btn:hover {
    background: #009624;
    transform: scale(1.1);
}

.referanslar {
    text-align: center;
    padding: 50px 20px;
    background: #f0f0f0;
}

.referanslar-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.referans-logo {
    width: 150px;
    height: auto;
    transition: transform 0.3s;
}

.referans-logo:hover {
    transform: scale(1.1);
}

.footer-content {
    text-align: center;
    padding: 20px;
    background: #2E7D32;
    color: white;
    font-size: 14px;
}

/* Media Queries for Mobile */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 10px;
    }

    .menu-list {
        flex-direction: column;
        gap: 10px;
    }

    .kategori-wrapper {
        grid-template-columns: 1fr;
    }

    .slider {
        height: 50vh;
    }

    .kategori {
        padding: 15px;
    }

    .kesfet-btn {
        padding: 8px 16px;
        font-size: 14px;
    }

    .referans-logo {
        max-width: 100px;
    }
}

@media (max-width: 480px) {
    .header-content {
        padding: 10px;
    }

    .menu-item {
        font-size: 16px;
    }

    .slider h2 {
        font-size: 1.5em;
    }

    .kesfet-btn {
        font-size: 12px;
        padding: 6px 12px;
    }

    .kategori {
        padding: 10px;
    }

    .footer-content {
        font-size: 12px;
    }
}

/* Menu Toggle Button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #2E7D32;
    cursor: pointer;
}

/* Side Menu */
.menu-list {
    list-style-type: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

/* Side Menu for Mobile */
#side-menu {
    position: fixed;
    top: 0;
    left: -250px; /* Hidden initially */
    height: 100%;
    width: 250px;
    background-color: #fff;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.3);
    padding-top: 60px;
    transition: left 0.3s;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

#side-menu.open {
    left: 0; /* Slide in from the left */
}

.close-menu {
    background: none;
    border: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    margin-left: auto;
    margin-right: 15px;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .menu-list {
        display: none;
    }

    .menu-toggle {
        display: inline-block;
    }

    #side-menu {
        display: flex;
    }
}

.referanslar {
    text-align: center;
    padding: 50px 20px;
    background: #f0f0f0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.referanslar-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 20px 0;
    scrollbar-width: none; /* Hide scrollbar in Firefox */
    justify-content: center; /* Center-align the logos within the slider */
    width: 100%;
    max-width: 600px; /* Optional: Set max width for the slider on large screens */
}

.referanslar-slider::-webkit-scrollbar {
    display: none; /* Hide scrollbar in WebKit browsers */
}

.referans-logo {
    min-width: 150px;
    max-width: 150px;
    height: auto;
    scroll-snap-align: center;
    flex-shrink: 0;
    transition: transform 0.3s;
    display: flex;
    justify-content: center;
}

.referans-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.referans-logo:hover {
    transform: scale(1.1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .referanslar-slider {
        padding: 20px;
        gap: 10px;
        max-width: 100%; /* Allow the slider to expand fully on mobile */
    }

    .referans-logo {
        min-width: 120px;
        max-width: 120px;
    }
}



