/* ============================================================
   MERCAN FİDAN — Main CSS
   ============================================================ */
:root {
    --primary-color: #2d5a27;
    --primary-light: #4a7c3f;
    --primary-dark: #1a3d0f;
    --secondary-color: #c8a951;
    --text-color: #333333;
    --text-light: #666666;
    --bg-color: #ffffff;
    --bg-light: #f9f5ef;
    --border-color: #e5e5e5;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-body); color: var(--text-color); line-height: 1.6; background-color: var(--bg-color); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; color: var(--primary-dark); margin-bottom: 1rem; }
a { color: var(--primary-color); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--secondary-color); }
img { max-width: 100%; height: auto; display: block; }

/* Container */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Buttons */
.btn-primary, .btn-hero-primary { display: inline-block; background-color: var(--primary-color); color: #fff; padding: 12px 24px; border-radius: 4px; font-weight: 600; text-align: center; border: none; cursor: pointer; transition: var(--transition); }
.btn-primary:hover, .btn-hero-primary:hover { background-color: var(--primary-dark); color: #fff; }
.btn-outline, .btn-hero-outline { display: inline-block; background-color: transparent; color: var(--primary-color); padding: 10px 22px; border-radius: 4px; font-weight: 600; text-align: center; border: 2px solid var(--primary-color); cursor: pointer; transition: var(--transition); }
.btn-outline:hover, .btn-hero-outline:hover { background-color: var(--primary-color); color: #fff; }
.btn-hero-outline { color: #fff; border-color: #fff; }
.btn-hero-outline:hover { background-color: #fff; color: var(--primary-dark); }
.btn-large { padding: 14px 30px; font-size: 1.1rem; }
.btn-whatsapp { display: inline-flex; align-items: center; gap: 8px; background-color: #25D366; color: #fff; padding: 12px 24px; border-radius: 4px; font-weight: 600; }
.btn-whatsapp:hover { background-color: #128C7E; color: #fff; }
.btn-pdf { display: inline-flex; align-items: center; gap: 8px; background-color: #e74c3c; color: #fff; padding: 12px 24px; border-radius: 4px; font-weight: 600; }
.btn-pdf:hover { background-color: #c0392b; color: #fff; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 1000; background-color: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.header-top { background-color: var(--primary-dark); color: #fff; padding: 8px 0; font-size: 0.9rem; }
.header-top-inner { display: flex; justify-content: space-between; align-items: center; }
.header-contact-info { display: flex; gap: 20px; }
.header-info-item { display: flex; align-items: center; gap: 6px; color: #fff; }
.header-lang-switcher { display: flex; gap: 10px; }
.lang-btn { color: rgba(255,255,255,0.7); font-size: 0.85rem; }
.lang-btn.active, .lang-btn:hover { color: #fff; }
.navbar .nav-inner { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-size: 1.5rem; font-family: var(--font-heading); font-weight: 700; color: var(--primary-dark); }
.nav-menu { display: flex; list-style: none; gap: 30px; }
.nav-link { color: var(--text-color); font-weight: 500; font-size: 1rem; }
.nav-link:hover { color: var(--primary-color); }
.has-dropdown { position: relative; }
.dropdown-menu { position: absolute; top: 100%; left: 0; background: #fff; min-width: 200px; padding: 10px 0; border-radius: 4px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); opacity: 0; visibility: hidden; transition: var(--transition); transform: translateY(10px); }
.has-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu li a { display: block; padding: 8px 20px; color: var(--text-color); }
.dropdown-menu li a:hover { background-color: var(--bg-light); color: var(--primary-color); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; width: 30px; height: 20px; position: relative; }
.nav-toggle span { display: block; width: 100%; height: 2px; background: var(--primary-dark); position: absolute; transition: var(--transition); }
.nav-toggle span:first-child { top: 0; }
.nav-toggle span:nth-child(2) { top: 9px; }
.nav-toggle span:last-child { top: 18px; }

/* Hero Slider */
.hero-slider { position: relative; height: 600px; overflow: hidden; }
.slider-wrapper { height: 100%; position: relative; }
.slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.8s ease; background-size: cover; background-position: center; display: flex; align-items: center; }
.slide.active { opacity: 1; z-index: 1; }
.slide-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); }
.slide-content { position: relative; z-index: 2; width: 100%; text-align: center; color: #fff; }
.slide-title { font-size: 4rem; color: #fff; margin-bottom: 20px; }
.slide-subtitle { font-size: 1.2rem; margin-bottom: 30px; max-width: 800px; margin-left: auto; margin-right: auto; }
.slide-btns { display: flex; gap: 15px; justify-content: center; }
.slider-prev, .slider-next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; background: rgba(255,255,255,0.2); color: #fff; border: none; width: 50px; height: 50px; border-radius: 50%; font-size: 1.5rem; cursor: pointer; transition: var(--transition); }
.slider-prev { left: 20px; }
.slider-next { right: 20px; }
.slider-prev:hover, .slider-next:hover { background: rgba(255,255,255,0.4); }
.slider-dots { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 10; display: flex; gap: 10px; }
.slider-dots .dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.5); border: none; cursor: pointer; transition: var(--transition); }
.slider-dots .dot.active { background: #fff; transform: scale(1.2); }

/* Static Hero for Pages */
.page-hero { background: var(--primary-dark); color: #fff; padding: 80px 0; text-align: center; }
.page-hero.small { padding: 40px 0; }
.page-hero h1 { color: #fff; font-size: 3rem; margin-bottom: 10px; }
.breadcrumb { font-size: 0.9rem; color: rgba(255,255,255,0.7); }
.breadcrumb a { color: #fff; }
.breadcrumb a:hover { color: var(--secondary-color); }

/* Sections */
.section { padding: 80px 0; }
.bg-light { background-color: var(--bg-light); }
.section-header { text-align: center; margin-bottom: 50px; }
.section-tag { display: inline-block; color: var(--secondary-color); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; font-size: 0.9rem; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 20px; }

/* Stats */
.stats-bar { background-color: var(--secondary-color); color: #fff; padding: 40px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; gap: 30px; }
.stat-item { padding: 20px; }
.stat-num { font-size: 3rem; font-family: var(--font-heading); font-weight: 700; line-height: 1; }
.stat-plus { font-size: 2rem; vertical-align: top; }
.stat-label { display: block; margin-top: 10px; font-size: 1.1rem; }

/* Products Grid */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; }
.product-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: var(--transition); display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.product-img { position: relative; height: 250px; background: #f5f5f5; overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-img img { transform: scale(1.05); }
.product-img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 4rem; color: #ccc; }
.product-badge { position: absolute; top: 15px; left: 15px; background: var(--secondary-color); color: #fff; padding: 4px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; z-index: 2; }
.product-info { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; }
.product-cat { font-size: 0.85rem; color: var(--text-light); text-transform: uppercase; margin-bottom: 5px; }
.product-info h3 { font-size: 1.2rem; margin-bottom: 10px; font-family: var(--font-body); }
.product-origin, .product-harvest { font-size: 0.9rem; color: var(--text-light); margin-bottom: 5px; }

/* Filter Bar */
.filter-bar { background: #fff; padding: 20px; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); margin-bottom: 30px; display: flex; gap: 15px; align-items: center; flex-wrap: wrap; }
.filter-group { flex: 1; min-width: 200px; }
.filter-input, .filter-select { width: 100%; padding: 12px; border: 1px solid var(--border-color); border-radius: 4px; font-family: var(--font-body); font-size: 1rem; }
.filter-input:focus, .filter-select:focus { outline: none; border-color: var(--primary-color); }
.results-count { margin-bottom: 20px; color: var(--text-light); }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 10px; margin-top: 50px; }
.page-btn { padding: 8px 16px; border: 1px solid var(--border-color); border-radius: 4px; color: var(--text-color); transition: var(--transition); }
.page-btn.active, .page-btn:hover { background: var(--primary-color); color: #fff; border-color: var(--primary-color); }

/* Product Detail */
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin-bottom: 60px; }
.gallery-main { border-radius: 8px; overflow: hidden; margin-bottom: 15px; background: #f5f5f5; }
.gallery-main img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 10px; }
.thumb-item { width: 80px; height: 80px; border-radius: 4px; overflow: hidden; opacity: 0.6; cursor: pointer; border: 2px solid transparent; }
.thumb-item.active, .thumb-item:hover { opacity: 1; border-color: var(--primary-color); }
.thumb-item img { width: 100%; height: 100%; object-fit: cover; }
.product-actions { display: flex; gap: 15px; margin-top: 20px; }
.product-cat-badge { display: inline-block; background: var(--bg-light); color: var(--primary-color); padding: 5px 15px; border-radius: 20px; font-size: 0.9rem; font-weight: 600; margin-bottom: 15px; }
.product-info-detail h1 { font-size: 2.5rem; margin-bottom: 20px; }
.product-meta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; background: var(--bg-light); padding: 20px; border-radius: 8px; margin-bottom: 30px; }
.meta-item { display: flex; flex-direction: column; }
.meta-label { font-size: 0.85rem; color: var(--text-light); text-transform: uppercase; margin-bottom: 5px; }
.product-features h3, .product-desc h3 { font-size: 1.5rem; border-bottom: 2px solid var(--bg-light); padding-bottom: 10px; margin-bottom: 20px; }
.features-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 30px; }
.desc-content { line-height: 1.8; color: var(--text-light); }
.related-products { margin-top: 60px; border-top: 1px solid var(--border-color); padding-top: 40px; }

/* Categories */
.cats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.cat-card { background: #fff; border-radius: 8px; overflow: hidden; text-align: center; padding: 30px 20px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: var(--transition); }
.cat-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.cat-icon-placeholder { font-size: 4rem; margin-bottom: 20px; }
.cat-info h3 { font-size: 1.5rem; margin-bottom: 5px; }
.cat-info span { color: var(--text-light); }

/* About Preview */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-image-card { position: relative; background: var(--primary-light); border-radius: 8px; height: 500px; display: flex; align-items: center; justify-content: center; }
.about-img-placeholder { text-align: center; color: #fff; }
.about-img-placeholder span { font-size: 4rem; }
.about-badge { position: absolute; bottom: -20px; right: -20px; background: #fff; padding: 20px; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); display: flex; align-items: center; gap: 10px; font-weight: 600; }

/* CTA Section */
.cta-section { background: var(--primary-dark) url('../images/pattern.png'); color: #fff; padding: 80px 0; text-align: center; }
.cta-text h2 { color: #fff; font-size: 2.5rem; margin-bottom: 15px; }
.cta-text p { font-size: 1.2rem; margin-bottom: 30px; opacity: 0.9; }
.btn-cta { display: inline-block; background: var(--secondary-color); color: #fff; padding: 15px 35px; border-radius: 4px; font-size: 1.1rem; font-weight: 600; transition: var(--transition); }
.btn-cta:hover { background: #b09443; transform: scale(1.05); }

/* Blog Grid */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.blog-card { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: var(--transition); }
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.blog-img { height: 200px; background: #f5f5f5; display: flex; justify-content: center; align-items: center; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-img-placeholder { font-size: 3rem; }
.blog-info { padding: 20px; }
.blog-info time { font-size: 0.85rem; color: var(--text-light); display: block; margin-bottom: 10px; }
.blog-info h3 { font-size: 1.25rem; margin-bottom: 10px; font-family: var(--font-body); }
.blog-info p { color: var(--text-light); margin-bottom: 15px; font-size: 0.95rem; }
.read-more { color: var(--primary-color); font-weight: 600; font-size: 0.9rem; }

/* Footer */
.site-footer { background-color: #111; color: rgba(255,255,255,0.7); padding-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; padding-bottom: 50px; }
.footer-logo { display: flex; align-items: center; gap: 10px; font-size: 1.5rem; font-family: var(--font-heading); font-weight: 700; color: #fff; margin-bottom: 20px; }
.footer-desc { margin-bottom: 20px; }
.footer-social { display: flex; gap: 15px; }
.social-link { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; justify-content: center; align-items: center; color: #fff; transition: var(--transition); }
.social-link:hover { background: var(--primary-color); transform: translateY(-3px); }
.footer-links h4 { color: #fff; margin-bottom: 20px; font-size: 1.2rem; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.7); }
.footer-links a:hover { color: var(--secondary-color); padding-left: 5px; }
.footer-contact-list li { display: flex; gap: 10px; margin-bottom: 15px; }
.footer-bottom { background: #000; padding: 20px 0; text-align: center; font-size: 0.9rem; display: flex; justify-content: space-between; }
.footer-bottom .container { display: flex; justify-content: space-between; }

/* WhatsApp Float */
.whatsapp-float { position: fixed; bottom: 30px; right: 30px; width: 60px; height: 60px; background-color: #25d366; color: #fff; border-radius: 50%; display: flex; justify-content: center; align-items: center; box-shadow: 0 4px 10px rgba(0,0,0,0.3); z-index: 100; transition: var(--transition); }
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-tooltip { position: absolute; right: 70px; background: #333; color: #fff; padding: 5px 10px; border-radius: 4px; font-size: 0.8rem; opacity: 0; visibility: hidden; transition: var(--transition); white-space: nowrap; }
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; visibility: visible; }

/* Animations */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.animate-up { animation: fadeInUp 0.8s forwards; opacity: 0; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* Mobile Responsive */
@media (max-width: 991px) {
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .about-grid, .product-detail-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .slide-title { font-size: 3rem; }
}
@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .nav-menu { position: absolute; top: 80px; left: 0; width: 100%; background: #fff; flex-direction: column; gap: 0; padding: 20px; box-shadow: 0 10px 15px rgba(0,0,0,0.1); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: var(--transition); }
    .nav-menu.active { opacity: 1; visibility: visible; transform: translateY(0); }
    .nav-menu li { width: 100%; }
    .nav-menu .nav-link { display: block; padding: 15px 0; border-bottom: 1px solid var(--border-color); }
    .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding-left: 20px; display: none; }
    .has-dropdown.active .dropdown-menu { display: block; }
    .nav-cta { display: none; }
    .header-contact-info { display: none; }
    .slide-title { font-size: 2.5rem; }
    .stats-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .filter-bar { flex-direction: column; }
    .filter-group { width: 100%; }
}

/* FAQ Page */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--bg-light); margin-bottom: 15px; border-radius: 8px; overflow: hidden; }
.faq-question { width: 100%; text-align: left; background: none; border: none; padding: 20px; font-size: 1.1rem; font-family: var(--font-body); font-weight: 600; color: var(--primary-dark); cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-icon { font-size: 1.5rem; color: var(--primary-color); transition: var(--transition); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer-inner { padding: 0 20px 20px; color: var(--text-light); line-height: 1.6; }
.faq-item.active .faq-question { color: var(--primary-color); }

/* Contact Page */
.contact-grid { display: grid; grid-template-columns: 3fr 2fr; gap: 50px; }
.contact-form-wrap { background: #fff; padding: 40px; border-radius: 8px; box-shadow: var(--shadow); }
.contact-form .form-row { display: flex; gap: 20px; }
.contact-form .form-group { flex: 1; margin-bottom: 20px; }
.contact-form label { display: block; margin-bottom: 8px; font-weight: 500; }
.contact-form input, .contact-form textarea { width: 100%; padding: 12px; border: 1px solid var(--border-color); border-radius: 4px; font-family: var(--font-body); transition: var(--transition); }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--primary-color); }
.contact-info-cards { display: grid; gap: 20px; margin-bottom: 30px; }
.info-card { display: flex; gap: 15px; background: var(--bg-light); padding: 20px; border-radius: 8px; }
.info-icon { font-size: 1.5rem; }
.info-card strong { display: block; margin-bottom: 5px; color: var(--primary-dark); }
.map-wrap { border-radius: 8px; overflow: hidden; }

/* About Page */
.about-detail-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 50px; }
.about-main-img { width: 100%; border-radius: 8px; margin-bottom: 30px; }
.about-text-content { line-height: 1.8; color: var(--text-light); font-size: 1.05rem; }
.stats-card { background: var(--primary-dark); color: #fff; padding: 30px; border-radius: 8px; margin-bottom: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; text-align: center; }
.stat-box span { display: block; font-size: 2rem; font-weight: 700; color: var(--secondary-color); }
.mission-card { background: var(--bg-light); padding: 30px; border-radius: 8px; margin-bottom: 20px; border-left: 4px solid var(--primary-color); }

/* Blog Detail Page */
.blog-detail-grid { display: grid; grid-template-columns: 3fr 1fr; gap: 50px; }
.blog-article { background: #fff; border-radius: 8px; overflow: hidden; }
.blog-hero-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; margin-bottom: 30px; border-radius: 8px; }
.blog-meta { color: var(--text-light); margin-bottom: 15px; font-size: 0.9rem; }
.blog-article h1 { font-size: 2.5rem; margin-bottom: 30px; }
.blog-content { line-height: 1.8; color: var(--text-color); font-size: 1.05rem; margin-bottom: 40px; }
.blog-content img { border-radius: 8px; margin: 20px 0; }
.blog-share { padding-top: 20px; border-top: 1px solid var(--border-color); display: flex; align-items: center; gap: 15px; }
.share-btn { padding: 8px 15px; border-radius: 4px; color: #fff; font-size: 0.9rem; }
.share-btn.facebook { background: #3b5998; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.whatsapp-share { background: #25d366; }
.sidebar-widget { background: var(--bg-light); padding: 30px; border-radius: 8px; margin-bottom: 30px; }
.sidebar-widget h3 { border-bottom: 2px solid var(--border-color); padding-bottom: 15px; margin-bottom: 20px; font-size: 1.2rem; }
.recent-posts { list-style: none; }
.recent-posts li { margin-bottom: 15px; border-bottom: 1px solid var(--border-color); padding-bottom: 15px; }
.recent-posts li:last-child { margin-bottom: 0; border-bottom: none; padding-bottom: 0; }
.recent-posts time { display: block; font-size: 0.8rem; color: var(--text-light); margin-bottom: 5px; }
.cta-widget { background: var(--primary-dark); color: #fff; text-align: center; }
.cta-widget h3 { color: #fff; border-color: rgba(255,255,255,0.1); }

@media (max-width: 991px) {
    .contact-grid, .about-detail-grid, .blog-detail-grid { grid-template-columns: 1fr; }
}
