:root {
    --primary: #2E5A44;
    --primary-dark: #1e3d2e;
    --secondary: #6BBF59;
    --surface: #F8FAF7;
    --white: #FFFFFF;
    --text: #333333;
    --text-light: #666666;
    --border: #e0e8e0;
    --danger: #dc3545;
    --warning: #ffc107;
    --shadow: 0 2px 12px rgba(46, 90, 68, 0.1);
    --radius: 8px;
    --font: 'Poppins', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: var(--font);
    color: var(--text);
    line-height: 1.6;
    background: var(--white);
}

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--secondary); }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

.logo img { height: 90px; width: auto; }

.main-nav { display: flex; gap: 28px; }
.main-nav a {
    color: var(--primary);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 4px 0;
}
.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--secondary);
    transition: width 0.3s;
}
.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }
.main-nav a.active { color: var(--secondary); }

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1100;
}
.hamburger span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--primary);
    margin: 5px 0;
    border-radius: 2px;
    transition: 0.3s;
}

/* Mobile Nav - sağdan açılır */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s;
}
.mobile-overlay.open { display: block; opacity: 1; }

.mobile-nav {
    position: fixed;
    top: 0; right: 0;
    width: 280px;
    height: 100vh;
    background: var(--primary);
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    padding: 80px 30px 30px;
    overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }

.mobile-nav a {
    display: block;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 500;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}
.mobile-nav a:hover { color: var(--secondary); }

/* Hero Slider */
.hero-slider {
    position: relative;
    overflow: hidden;
    background: var(--primary);
    min-height: 660px;
}
.hero-slide {
    display: none;
    min-height: 660px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.hero-slide.active { display: flex; align-items: center; }
.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(46,90,68,0.45), rgba(46,90,68,0.25));
}
.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 600px;
    padding: 60px 0;
}
.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}
.hero-content p {
    font-size: 1.15rem;
    margin-bottom: 28px;
    opacity: 0.9;
}
.hero-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}
.hero-dot {
    width: 12px; height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none;
    cursor: pointer;
    transition: 0.3s;
}
.hero-dot.active { background: var(--secondary); }

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}
.btn-primary {
    background: var(--secondary);
    color: var(--white);
    border-color: var(--secondary);
}
.btn-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}
.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}
.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}
.btn-whatsapp {
    background: #25D366;
    color: var(--white);
    border-color: #25D366;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-whatsapp:hover {
    background: #1da851;
    border-color: #1da851;
    color: var(--white);
}
.btn-whatsapp svg { width: 20px; height: 20px; fill: currentColor; }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }

/* Sections */
.section { padding: 70px 0; }
.section-alt { background: var(--surface); }
.section-title {
    text-align: center;
    margin-bottom: 48px;
}
.section-title h2 {
    font-size: 2rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 12px;
}
.section-title .divider {
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin: 0 auto 16px;
}
.section-title p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Cards Grid */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(46,90,68,0.15);
}
.card-img {
    height: 200px;
    overflow: hidden;
    background: var(--surface);
}
.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 20px; }
.card-body h3 {
    font-size: 1.15rem;
    color: var(--primary);
    margin-bottom: 8px;
}
.card-body p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 16px;
}
.card-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 12px;
}

/* Category Card */
.category-card {
    text-align: center;
    padding: 32px 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: 0.3s;
}
.category-card:hover {
    transform: translateY(-4px);
    background: var(--primary);
}
.category-card:hover h3,
.category-card:hover p { color: var(--white); }
.category-card .cat-icon {
    width: 64px; height: 64px;
    margin: 0 auto 16px;
    background: var(--surface);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}
.category-card h3 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

/* About Block */
.about-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.about-block img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.about-block h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
}
.about-block p {
    color: var(--text-light);
    margin-bottom: 16px;
}

/* Page Header */
.page-header {
    background: var(--primary);
    color: var(--white);
    padding: 48px 0;
    text-align: center;
}
.page-header h1 { font-size: 2.2rem; font-weight: 700; }
.breadcrumb {
    margin-top: 8px;
    font-size: 0.9rem;
    opacity: 0.8;
}
.breadcrumb a { color: var(--secondary); }

/* Products Layout */
.products-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 32px;
}
.sidebar-filter {
    background: var(--surface);
    padding: 24px;
    border-radius: var(--radius);
    height: fit-content;
}
.sidebar-filter h3 {
    color: var(--primary);
    margin-bottom: 16px;
    font-size: 1.1rem;
}
.sidebar-filter a {
    display: block;
    padding: 10px 14px;
    border-radius: var(--radius);
    color: var(--text);
    margin-bottom: 4px;
    transition: 0.2s;
}
.sidebar-filter a:hover,
.sidebar-filter a.active {
    background: var(--primary);
    color: var(--white);
}

/* Product Detail */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
.product-detail-img {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--surface);
}
.product-detail-img img { width: 100%; }
.product-detail-info h1 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 12px;
}
.product-detail-info .category-tag {
    display: inline-block;
    background: var(--surface);
    color: var(--primary);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 16px;
}
.product-detail-info .price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 20px;
}
.product-detail-info .description {
    color: var(--text-light);
    margin-bottom: 28px;
    line-height: 1.8;
}

.nutrition-table-wrap {
    margin-bottom: 28px;
    max-width: 420px;
}

.nutrition-table-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
}

.nutrition-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.nutrition-table th,
.nutrition-table td {
    padding: 12px 16px;
    text-align: left;
}

.nutrition-table th {
    font-weight: 600;
    color: var(--text);
    width: 65%;
}

.nutrition-table td {
    text-align: right;
    font-weight: 500;
    color: var(--text);
}

.nutrition-row-even {
    background: #ffffff;
}

.nutrition-row-odd {
    background: #f3f3f3;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    cursor: pointer;
    aspect-ratio: 4/3;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item .gallery-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(46,90,68,0.8));
    color: var(--white);
    padding: 20px 14px 10px;
    font-size: 0.9rem;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90%; max-height: 85vh; border-radius: var(--radius); }
.lightbox-close {
    position: absolute;
    top: 20px; right: 30px;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
}

/* Blog */
.blog-card .card-body { padding: 24px; }
.blog-meta {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 8px;
}
.blog-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}
.blog-content h2, .blog-content h3 { color: var(--primary); margin: 24px 0 12px; }
.blog-content p { margin-bottom: 16px; color: var(--text-light); }
.blog-content img { border-radius: var(--radius); margin: 20px 0; }

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}
.contact-info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}
.contact-info-item .icon {
    width: 48px; height: 48px;
    background: var(--surface);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}
.contact-info-item h4 { color: var(--primary); margin-bottom: 4px; }
.contact-info-item p { color: var(--text-light); font-size: 0.95rem; }

.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: var(--primary);
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 0.95rem;
    transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
}
.alert {
    padding: 14px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 0.95rem;
}
.alert-success { background: #d4edda; color: #155724; }
.alert-error { background: #f8d7da; color: #721c24; }

.captcha-field {
    display: flex;
    align-items: center;
    gap: 12px;
}
.captcha-question {
    background: var(--surface);
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 12px 18px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    white-space: nowrap;
}
.captcha-field input {
    max-width: 100px;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
}
.captcha-hint {
    display: block;
    margin-top: 6px;
    color: var(--text-light);
    font-size: 0.85rem;
}

.map-container {
    border-radius: var(--radius);
    overflow: hidden;
    margin-top: 32px;
}
.map-container iframe { width: 100%; height: 350px; border: 0; }

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37,211,102,0.4);
    z-index: 90;
    transition: transform 0.3s;
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg { width: 32px; height: 32px; fill: white; }

/* Footer */
.site-footer {
    background: var(--primary);
    color: rgba(255,255,255,0.85);
    padding: 60px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}
.footer-brand img { height: 120px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; }
.footer-col h4 {
    color: var(--white);
    font-size: 1.05rem;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--secondary);
    display: inline-block;
}
.footer-col a {
    display: block;
    color: rgba(255,255,255,0.75);
    padding: 6px 0;
    font-size: 0.9rem;
    transition: 0.2s;
}
.footer-col a:hover { color: var(--secondary); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}

/* Responsive */
@media (max-width: 992px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .about-block { grid-template-columns: 1fr; }
    .product-detail { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .main-nav { display: none; }
    .hamburger { display: block; }
    .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .products-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 2rem; }
    .hero-slider, .hero-slide { min-height: 400px; }
}

@media (max-width: 480px) {
    .gallery-grid { grid-template-columns: 1fr; }
}
