/* =============================================
   LYSA GIDA — Stylesheet
   Logo: Siyah zemin, parlak yeşil serif yazı
   Tema: Koyu navbar, beyaz içerik alanları
   ============================================= */

/* --- Değişkenler --- */
:root {
    --green:        #3a9a3a;   /* Logodaki yeşil */
    --green-dark:   #2b7a2b;
    --green-light:  #e8f5e8;
    --black:        #0d0d0d;   /* Logo arka planı */
    --white:        #ffffff;
    --gray-50:      #f7f8f6;
    --gray-100:     #eff0ee;
    --gray-300:     #c8cac4;
    --gray-500:     #6b7266;
    --gray-700:     #3a3d38;
    --gray-900:     #1a1c18;
    --text:         #1f2116;
    --text-muted:   #5a5e54;
    --radius:       10px;
    --radius-lg:    16px;
    --shadow-sm:    0 1px 4px rgba(0,0,0,0.08);
    --shadow:       0 4px 16px rgba(0,0,0,0.10);
    --shadow-lg:    0 12px 40px rgba(0,0,0,0.13);
    --transition:   0.25s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* --- Yardımcı Sınıflar --- */
.container   { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-white  { color: var(--white); }
.bg-white    { background: var(--white); }
.bg-gray-50  { background: var(--gray-50); }
.bg-brand    { background: var(--green); }
.section     { padding: 80px 0; }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: var(--black);
    border-bottom: 2px solid var(--green);
    transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.5); }

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

.logo { display: flex; align-items: center; }
.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: opacity var(--transition);
}
.logo:hover .logo-img { opacity: 0.85; }

.nav-links { display: flex; align-items: center; gap: 36px; }

.nav-links a {
    color: var(--white);
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 6px 0;
    position: relative;
    transition: color var(--transition);
}
.nav-links a::after {
    content: '';
    position: absolute;
    left: 0; bottom: -2px;
    width: 0; height: 2px;
    background: var(--green);
    transition: width var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--green); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.mobile-menu-btn {
    display: none;
    color: var(--white);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 4px;
    transition: color var(--transition);
}
.mobile-menu-btn:hover { color: var(--green); }

/* Mobil menü */
@media (max-width: 768px) {
    .mobile-menu-btn { display: block; }

    .nav-links {
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: var(--black);
        border-top: 1px solid rgba(255,255,255,0.08);
        flex-direction: column;
        gap: 0;
        padding: 0;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: clip-path 0.35s ease;
    }
    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
    .nav-links a {
        display: block;
        padding: 16px 24px;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        font-size: 1rem;
    }
    .nav-links a::after { display: none; }
}

/* =============================================
   HERO
   ============================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
}
.hero-img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0,0,0,0.72) 0%,
        rgba(0,0,0,0.40) 60%,
        rgba(0,0,0,0.55) 100%
    );
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    padding-top: 72px; /* navbar yüksekliği kadar boşluk */
}

.hero-text-content { max-width: 660px; }

.hero-title {
    font-size: clamp(2.6rem, 6vw, 4.5rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}
.hero-title span { color: var(--green); }

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255,255,255,0.82);
    font-weight: 400;
    line-height: 1.6;
    max-width: 520px;
}

/* =============================================
   SECTION BAŞLIKLARI
   ============================================= */
.section-header {
    text-align: center;
    margin-bottom: 56px;
}
.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    color: var(--gray-900);
    letter-spacing: -0.01em;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}
.section-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: var(--green);
    border-radius: 2px;
    margin: 10px auto 0;
}
.text-left .section-title::after { margin-left: 0; }

/* =============================================
   HAKKIMIZDA
   ============================================= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 820px;
    margin: 0 auto;
}

.about-text { }

.about-p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.certificates-section { margin-top: 2rem; }

/* =============================================
   ÜRÜNLER GRİDİ
   ============================================= */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
@media (min-width: 640px)  { .products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .products-grid { grid-template-columns: repeat(4, 1fr); } }

.product-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    height: 200px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
@media (min-width: 768px) { .product-card { height: 240px; } }

.product-img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}
.product-card:hover .product-img { transform: scale(1.07); }

.product-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, transparent 100%);
    padding: 14px 14px 16px;
    color: var(--white);
}
@media (min-width: 768px) { .product-overlay { padding: 20px; } }

.product-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.25;
    margin: 0;
}
@media (min-width: 768px) { .product-title { font-size: 1.1rem; } }

/* =============================================
   İÇERİK LİSTELERİ (VAR / YOK)
   ============================================= */
.ingredients-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}
@media (min-width: 768px) {
    .ingredients-grid { grid-template-columns: 1fr 1fr; }
}

.ingredients-grid > div {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
    box-shadow: var(--shadow);
    padding: 2.5rem;
}

/* =============================================
   ISO BANDI
   ============================================= */
.iso-icon  { font-size: 4rem; margin-bottom: 1rem; opacity: 0.9; }
.iso-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
}
.iso-desc {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.88);
    max-width: 640px;
    margin: 0 auto;
}

/* =============================================
   İLETİŞİM
   ============================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
@media (min-width: 640px) {
    .contact-grid { grid-template-columns: repeat(2, 1fr); }
}

.contact-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: box-shadow var(--transition), border-color var(--transition);
}
.contact-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--green);
}
.contact-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}
.contact-card p, .contact-card a {
    font-size: 0.97rem;
    color: var(--text-muted);
}

.icon-circle {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: var(--green);
    color: var(--white);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.3rem;
}

.contact-link { color: var(--text-muted); transition: color var(--transition); }
.contact-link:hover { color: var(--green); }

/* =============================================
   İLETİŞİM
   ============================================= */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}
@media (min-width: 640px) {
    .contact-grid { grid-template-columns: 1fr 1fr; }
}

.contact-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: box-shadow var(--transition), border-color var(--transition);
}
.contact-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--green);
}

.contact-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.icon-circle {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: var(--green);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.3rem;
}

.contact-link {
    font-size: 0.97rem;
    color: var(--text-muted);
    line-height: 1.7;
    transition: color var(--transition);
}
a.contact-link:hover { color: var(--green); }

/* =============================================
   FOOTER
   ============================================= */
.footer {
    background: var(--black);
    border-top: 2px solid var(--green);
    color: rgba(255,255,255,0.75);
    padding: 40px 0 28px;
}

.footer-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}
.footer-logo .logo-img { height: 52px; }

.footer-bottom {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 0.82rem;
    color: rgba(255,255,255,0.45);
    letter-spacing: 0.02em;
}

/* =============================================
   ÜRÜN MODAL
   ============================================= */
.modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.72);
    z-index: 500;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.modal-backdrop.show { display: flex; opacity: 1; }

.modal-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    width: 90%;
    max-width: 780px;
    max-height: 88vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 24px 64px rgba(0,0,0,0.35);
}

.close-modal {
    position: absolute;
    top: 14px; right: 18px;
    font-size: 1.8rem;
    color: var(--gray-500);
    cursor: pointer;
    line-height: 1;
    z-index: 10;
    transition: color var(--transition);
}
.close-modal:hover { color: var(--gray-900); }

.modal-body {
    display: grid;
    grid-template-columns: 1fr;
}
@media (min-width: 560px) {
    .modal-body { grid-template-columns: 1fr 1fr; }
}

.modal-image-container img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
}

.modal-info { padding: 28px 24px; }
.modal-info h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 6px;
}

.modal-weight {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--green);
    background: var(--green-light);
    border-radius: 99px;
    padding: 2px 10px;
    margin-bottom: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

#modalDesc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.modal-nutrition {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.nut-item {
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius);
    padding: 10px 8px;
    text-align: center;
}
.nut-label {
    display: block;
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}
.nut-val {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gray-900);
}

/* =============================================
   BUTONLAR
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition), color var(--transition), border-color var(--transition);
    border: 2px solid transparent;
}

.btn-outline-green {
    background: transparent;
    color: var(--green);
    border-color: var(--green);
}
.btn-outline-green:hover {
    background: var(--green);
    color: var(--white);
}

/* =============================================
   FEATURES / KALİTE TAAHHÜDÜ
   ============================================= */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 1040px;
    margin: 0 auto;
}
@media (min-width: 768px) {
    .features-grid { grid-template-columns: 1fr 1fr; }
}

.features-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.features-card-header {
    padding: 20px 28px 16px;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    gap: 14px;
}

.features-card--yes .features-card-header { background: #f0faf0; border-bottom-color: #c6e8c6; }
.features-card--no  .features-card-header { background: #fff5f5; border-bottom-color: #fecaca; }

.features-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0;
}

.features-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 4px 10px;
    border-radius: 99px;
    white-space: nowrap;
    flex-shrink: 0;
}
.features-badge--yes { background: var(--green); color: var(--white); }
.features-badge--no  { background: #ef4444;      color: var(--white); }

.features-list {
    list-style: none;
    padding: 20px 28px 24px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.97rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.features-list li i {
    margin-top: 3px;
    font-size: 1rem;
    flex-shrink: 0;
}
.features-list     li i { color: var(--green); }
.features-list--no li i { color: #ef4444; }