﻿/* Genel Ayarlar ve Değişkenler (Varsayımsal) */
:root {
    --primary-color: #388E3C;
    --primary-color-light: #66BB6A;
    --gray-dark: #333;
    --white: #ffffff;
    --body-bg: #f7f9fb;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--gray-dark);
    background-color: var(--body-bg);
    overflow-x: hidden;
}

.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ★★★ ANA ÇÖZÜM: TÜM BÖLÜMLERİ TAM GENİŞLİK YAPMA ★★★ */
.hero-slider-container,
.quality-section,
.featured-products-section,
.story-section,
.testimonials-section,
.final-touch-section {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    box-sizing: border-box;
}

/* === BÖLÜM 1: HERO SLIDER === */
.hero-slider-container {
    height: 450px;
    background-color: #e0e0e0;
}

    .hero-slider-container .swiper,
    .hero-slider-container .swiper-slide {
        height: 100%;
    }

    .hero-slider-container .swiper-slide {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        background-size: cover;
        background-position: center;
        color: var(--white);
    }

        .hero-slider-container .swiper-slide::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(0deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0.0) 100%);
        }

.slide-content {
    z-index: 10;
    max-width: 800px;
    padding: 2rem;
}

    .slide-content h1 {
        font-size: 3.8rem;
        font-weight: 800;
        text-shadow: 0 3px 12px rgba(0,0,0,0.6);
        margin: 0 0 0.75rem 0;
    }

    .slide-content p {
        font-size: 1.4rem;
        text-shadow: 0 2px 8px rgba(0,0,0,0.6);
        margin-bottom: 2rem;
    }

.slide-cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: 2px solid var(--primary-color);
}

    .slide-cta-button:hover {
        background-color: var(--primary-color-light);
        border-color: var(--primary-color-light);
        transform: translateY(-3px);
    }

.swiper-button-next, .swiper-button-prev {
    --swiper-navigation-size: 38px;
    color: var(--white);
}

/* === SLAYT İÇİ ANİMASYONLAR === */
.slide-content .animated {
    opacity: 0;
}

.swiper-slide-active .slide-content .animated {
    opacity: 1;
    animation-duration: 0.9s;
    animation-fill-mode: both;
    animation-timing-function: ease-out;
}

.swiper-slide-active .delay-1 {
    animation-delay: 0.3s;
}

.swiper-slide-active .delay-2 {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    from {
        transform: translate3d(0, 50px, 0);
        opacity: 0;
    }

    to {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
}

.swiper-slide-active .fadeInUp {
    animation-name: fadeInUp;
}

@keyframes fadeInLeft {
    from {
        transform: translate3d(-50px, 0, 0);
        opacity: 0;
    }

    to {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
}

.swiper-slide-active .fadeInLeft {
    animation-name: fadeInLeft;
}

@keyframes fadeInRight {
    from {
        transform: translate3d(50px, 0, 0);
        opacity: 0;
    }

    to {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
}

.swiper-slide-active .fadeInRight {
    animation-name: fadeInRight;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.swiper-slide-active .zoomIn {
    animation-name: zoomIn;
}

/* === GENEL BÖLÜM STİLLERİ === */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-dark);
}

.section-subtitle {
    font-size: 1.15rem;
    color: #666;
    max-width: 600px;
    margin: 1rem auto 0 auto;
}

.section-footer-link {
    text-align: center;
    margin-top: 3.5rem;
}

/* === BÖLÜM 2: KALİTE ANLAYIŞIMIZ === */
.quality-section {
    background: var(--body-bg);
    padding: 5rem 0;
}

.quality-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.quality-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid #eef0f2;
    box-shadow: 0 5px 15px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .quality-card:hover {
        transform: translateY(-12px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    }

.quality-icon {
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .quality-icon img {
        width: 40px;
        height: 40px;
    }

.quality-card h3 {
    font-size: 1.5rem;
    margin: 0 0 0.75rem 0;
}

.quality-card p {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
}

/* === BÖLÜM 3: ÖNE ÇIKAN ÜRÜNLER (SON DÜZELTME) === */
.featured-products-section {
    background: #fff;
    padding: 5rem 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.product-card {
    border: 1px solid #eef0f2;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

    .product-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.07);
    }

    .product-card img {
        width: 100%;
        height: 220px;
        /* ★★★ GÖRSELİN KIRPILMASINI ENGELLEYEN DEĞİŞİKLİK ★★★ */
        object-fit: contain; /* cover'dan contain'e değiştirildi */
    }

    .product-card h4 {
        font-size: 1.3rem;
        margin: 1.5rem 1.5rem 0.5rem 1.5rem;
        color: var(--gray-dark);
    }

    .product-card p {
        font-size: 0.95rem;
        color: #666;
        line-height: 1.6;
        padding: 0 1.5rem;
        margin-bottom: 1.5rem;
        flex-grow: 1;
    }

.product-link {
    display: inline-block;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    padding: 0 1.5rem 1.5rem 1.5rem;
    margin-top: auto;
}

    .product-link:hover {
        text-decoration: underline;
    }

/* === BÖLÜM 4: HİKAYE ANLATIMI === */
.story-section {
    padding: 6rem 0;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    color: white;
    text-align: center;
}

    .story-section::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(26, 26, 26, 0.75);
    }

.story-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
    margin: 0 auto;
}

    .story-content h2 {
        font-size: 2.8rem;
        margin: 0 0 1rem 0;
    }

    .story-content p {
        font-size: 1.2rem;
        line-height: 1.8;
        opacity: 0.9;
        margin-bottom: 2.5rem;
    }

.slide-cta-button.inverted {
    background: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

    .slide-cta-button.inverted:hover {
        background: var(--primary-color);
        color: white;
    }

/* === BÖLÜM 5: MÜŞTERİ YORUMLARI === */
.testimonials-section {
    background: var(--body-bg);
    padding: 5rem 0;
}

.testimonial-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 12px;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: #444;
    line-height: 1.8;
    margin: 0 0 1.5rem 0;
}

.testimonial-author {
    font-weight: 700;
    color: var(--gray-dark);
}

.testimonials-pagination {
    position: static;
    margin-top: 2rem;
}

    .testimonials-pagination .swiper-pagination-bullet {
        background-color: var(--primary-color);
        width: 10px;
        height: 10px;
    }

/* === BÖLÜM 6: LEZZETİN SON DOKUNUŞU === */
.final-touch-section {
    background: linear-gradient(45deg, #2c5b31, #388E3C);
    color: white;
    text-align: center;
    padding: 6rem 0;
    overflow: hidden;
}

.final-touch-icon {
    margin-bottom: 2rem;
}

    .final-touch-icon img {
        width: 90px;
        height: 90px;
        opacity: 0.8;
        filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(93deg) brightness(103%) contrast(103%);
    }

.final-touch-section h2 {
    font-size: 2.8rem;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
    margin: 0 0 1rem 0;
}

.final-touch-section p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin: 0 auto 2.5rem auto;
    max-width: 650px;
    line-height: 1.7;
}

/* === RESPONSIVE AYARLAR === */
@media (max-width: 992px) {
    .hero-slider-container {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .hero-slider-container {
        height: 380px;
    }

    .slide-content h1 {
        font-size: 2.8rem;
    }

    .story-content h2, .final-touch-section h2, .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .page-container {
        padding: 0 1rem;
    }

    .slide-content h1 {
        font-size: 2.2rem;
    }

    .slide-content p {
        font-size: 1.1rem;
    }
}
