/* ====== Genel Reset ====== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ====== Navbar ====== */
.navbar {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #007bff;
    text-decoration: none;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

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

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ====== Hero Slider ====== */
.hero-slider {
    position: relative;
    overflow: hidden;
    height: 600px;
}

.slide {
    position: absolute;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: all .6s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    left: 0;
}

.slide.prev {
    left: -100%;
}

.slide-content {
    text-align: center;
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.slide-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.btn {
    background: #007bff;
    color: #fff;
    padding: .75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
}

.slider-nav .prev,
.slider-nav .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    padding: .5rem;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
}

.slider-nav .prev {
    left: 20px;
}

.slider-nav .next {
    right: 20px;
}

/* ====== Ürünler Grid ====== */
.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

.section-title::after {
    content: '';
    width: 60px;
    height: 4px;
    background: #007bff;
    display: block;
    margin: .5rem auto 0;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.card img {
    width: 100%;
    display: block;
}

.card h3 {
    margin: .75rem 0 .5rem;
}

.card p {
    margin-bottom: .75rem;
    font-weight: 500;
}

/* ====== Hakkımızda ====== */
.gray-bg {
    background: #f9f9f9;
}

.about-flex {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
}

.about-text ul {
    list-style: disc inside;
    margin-top: .5rem;
}

/* ====== Footer ====== */
.footer {
    background: #222;
    color: #ccc;
    padding: 40px 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

/* ====== Footer ====== */
.footer {
    background: #222;
    color: #ccc;
    padding: 40px 0;
}

/* Başlıklar yan yana, her sütunun kendi içeriği dikey olsun */
.footer-links {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    /* Dar ekranlarda satır kaydırmak için */
    border-top: 1px solid #444;
    padding-top: 20px;
    gap: 2rem;
}

.footer-links>div {
    flex: 1 1 0;
    min-width: 150px;
    display: flex;
    flex-direction: column;
    /* İçerik dikey sıralansın */
}

.footer-links h4 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    letter-spacing: .5px;
}

/* Linkleri alt alta sıralı ve biraz boşluklu yap */
.footer-links a {
    display: block;
    text-decoration: none;
    color: #ccc;
    margin-bottom: .6rem;
    font-size: .95rem;
    transition: color .2s;
}

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

/* Footer altındaki telif hakkı metni */
.footer-copy {
    text-align: center;
    margin-top: 30px;
    font-size: .9rem;
    color: #777;
}

/* Responsive: çok dar ekranda yine dikey */
@media (max-width: 600px) {
    .footer-links {
        flex-direction: column;
        gap: 1.5rem;
    }
}


.footer-copy {
    flex: 1 1 100%;
    text-align: center;
    margin-top: 1rem;
}

/* ====== WhatsApp Sabit İkonu ====== */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.8rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform .3s, box-shadow .3s;
    z-index: 1000;
}

.whatsapp-float:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* ====== Responsive ====== */
@media (max-width: 992px) {
    .main-nav {
        display: none;
    }

    .main-nav.active {
        display: block;
    }

    .mobile-toggle {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: 400px;
    }

    .slide-content h1 {
        font-size: 2rem;
    }
}