/* --- GOLDEN NUTS KURUMSAL RENK PALETİ --- */
:root {
    --logo-yesil: #47a14a;
    --logo-bordo: #d23d48;
    --logo-mavi: #38a7d8;
    --beyaz: #ffffff;
    --koyu: #333333;
    --siyah-menu: #1a1a1a;
    --bg-sertifika: #f0f2f5; /* Yeni belirgin arka plan rengi */
}

/* RESET & GENEL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    overflow-x: hidden;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    line-height: 1.6;
    background: #fff;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- NAVİGASYON --- */
#main-nav-group {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    transition: 0.4s ease;
}

.top-bar {
    background: var(--logo-yesil);
    padding: 10px 0;
}

.header {
    padding: 15px 0;
    background: rgba(0,0,0,0.3);
    transition: 0.3s;
}

.nav-scrolled {
    background: var(--siyah-menu) !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.logo img {
    height: 60px;
    display: block;
}

/* ANA MENÜ */
.nav ul {
    list-style: none;
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav > ul > li {
    position: relative;
}

.nav > ul > li > a {
    color: #fff;
    text-decoration: none;
    padding: 10px 15px;
    font-weight: 600;
    font-size: 13px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 4px;
    transition: 0.3s;
    display: block;
    white-space: nowrap;
}

.nav > ul > li:hover > a {
    background: var(--logo-bordo) !important;
    border-color: var(--logo-bordo) !important;
}

/* --- DROPDOWN --- */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff !important;
    min-width: 220px;
    display: none !important;
    border-top: 3px solid var(--logo-bordo);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    padding: 10px 0;
    list-style: none;
    border-radius: 0 0 4px 4px;
}

.dropdown:hover > .dropdown-menu {
    display: block !important;
}

.dropdown-menu li a {
    color: var(--koyu) !important;
    padding: 12px 20px !important;
    display: block !important;
    text-decoration: none;
    transition: 0.3s;
    font-size: 13px;
    font-weight: 500;
}

.dropdown-menu li a:hover {
    background: #f8f9fa !important;
    color: var(--logo-bordo) !important;
    padding-left: 25px !important;
}

/* --- SLIDER --- */
.slider-wrapper {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.slides-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.3);
    border: none;
    color: white;
    font-size: 30px;
    padding: 20px;
    cursor: pointer;
    transition: 0.3s;
    z-index: 100;
    border-radius: 4px;
}

.slider-arrow:hover {
    background: var(--logo-yesil);
}

.prev-arrow { left: 30px; }
.next-arrow { right: 30px; }

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 100;
}

.dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: 0.3s;
}

.dot.active, .dot:hover {
    background: var(--logo-yesil);
    transform: scale(1.2);
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    padding-left: 8%;
}

.slider-text {
    color: #fff;
    max-width: 600px;
}

.slider-text h1 {
    font-size: 55px;
    font-weight: 800;
    margin-bottom: 10px;
    text-shadow: 2px 2px 15px rgba(0,0,0,0.5);
}

.slider-text p {
    font-size: 22px;
}

/* --- ÜRÜNLER SEKSİYONU --- */
.section-padding {
    padding: 80px 0;
    background: #fff;
    clear: both;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 36px;
    color: var(--logo-yesil);
    font-weight: bold;
}

.product-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.product-card {
    flex: 0 1 280px;
    border: 1px solid #eee;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-color: var(--logo-yesil);
}

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: 0.3s;
}

.product-card:hover img {
    transform: scale(1.05);
}

.btn-detail {
    color: var(--logo-bordo);
    text-decoration: none;
    font-weight: bold;
    border-bottom: 2px solid var(--logo-bordo);
}

/* --- MODERN SERTİFİKA BÖLÜMÜ (GÜNCELLENMİŞ) --- */
.modern-certificates-section {
    padding: 100px 0;
    background: var(--bg-sertifika); /* Gri arka plan */
}

.modern-cert-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Tam olarak 4 yan yana sütun */
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.modern-cert-card {
    background: #fff;
    padding: 25px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    transition: all 0.4s ease;
    border: 1px solid #e0e0e0;
}

.modern-cert-card:hover {
    transform: translateY(-8px);
    border-color: var(--logo-yesil);
    box-shadow: 0 15px 35px rgba(71,161,74,0.15);
}

/* Eski cert-icon stilini iptal edip resme uygun hale getirdik */
.cert-icon {
    width: 100%;
    height: auto;
    margin: 0 auto 20px;
    background: none; /* Yeşil arka plan kaldırıldı */
    border-radius: 0;
    display: block;
    box-shadow: none;
}

.cert-icon img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
}

.modern-cert-card h3 {
    font-size: 18px;
    color: var(--koyu);
    margin-bottom: 12px;
    font-weight: 700;
}

.modern-cert-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.cert-badge {
    display: inline-block;
    background: var(--logo-bordo);
    color: white;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

/* --- FUARLAR BÖLÜMÜ --- */
.fairs-section {
    padding: 100px 0;
    background: #fff;
}

.fair-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 50px;
}

.fair-tab {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    padding: 12px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: var(--koyu);
    transition: all 0.3s ease;
}

.fair-tab:hover {
    background: #e9ecef;
    border-color: var(--logo-yesil);
}

.fair-tab.active {
    background: var(--logo-yesil);
    color: white;
    border-color: var(--logo-yesil);
}

.fair-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.fair-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fair-card-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
    background: #f8f9fa;
    padding: 40px;
    border-radius: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.fair-image {
    width: 400px;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.fair-info { flex: 1; }

.fair-info h3 {
    font-size: 28px;
    color: var(--logo-yesil);
    margin-bottom: 20px;
    font-weight: 700;
}

.fair-info p {
    color: #666;
    margin-bottom: 10px;
    font-size: 15px;
}

.fair-info p i {
    color: var(--logo-bordo);
    margin-right: 8px;
}

.fair-desc {
    margin-top: 20px !important;
    font-size: 16px !important;
    line-height: 1.6;
    color: #555 !important;
}

.btn-fair {
    display: inline-block;
    background: var(--logo-bordo);
    color: white;
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 20px;
    transition: 0.3s;
}

.btn-fair:hover {
    background: #b3344a;
    transform: translateX(5px);
}

/* TÜM FUARLAR GRİD */
.all-fairs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.mini-fair-card {
    background: white;
    border: 1px solid #eee;
    border-radius: 15px;
    overflow: hidden;
    transition: 0.3s;
    text-align: center;
}

.mini-fair-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.mini-fair-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.mini-fair-card h4 {
    padding: 20px 15px 10px;
    font-size: 16px;
    color: var(--koyu);
}

.mini-fair-card a {
    display: inline-block;
    color: var(--logo-yesil);
    text-decoration: none;
    font-weight: 600;
    padding-bottom: 20px;
    transition: 0.3s;
}

.mini-fair-card a:hover {
    color: var(--logo-bordo);
}

/* --- MOBİL UYUMLULUK --- */
@media (max-width: 992px) {
    .modern-cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .fair-card-wrapper {
        flex-direction: column;
    }
    .fair-image {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .modern-cert-grid {
        grid-template-columns: 1fr;
    }
}
/* --- FOOTER STİLLERİ --- */
.footer {
    background: var(--siyah-menu); /* Navigasyondaki koyu renk */
    color: #fff;
    padding: 70px 0 0 0;
    margin-top: 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr; /* 3 sütunlu yapı */
    gap: 40px;
    align-items: flex-start;
    padding-bottom: 50px;
}

.footer-col h4 {
    color: var(--logo-yesil);
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--logo-bordo);
}

.footer-logo {
    height: 70px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1); /* Logo renkliyse beyaza çevirir */
}

.footer-col p {
    color: #bbb;
    font-size: 14px;
    line-height: 1.8;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #bbb;
    text-decoration: none;
    transition: 0.3s;
    font-size: 14px;
}

.footer-col ul li a:hover {
    color: var(--logo-yesil);
    padding-left: 5px;
}

.footer-socials {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-socials a {
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.footer-socials a:hover {
    background: var(--logo-bordo);
    transform: translateY(-3px);
}

.footer-col.contact p i {
    color: var(--logo-yesil);
    margin-right: 10px;
    width: 20px;
}

/* Footer Alt Çizgi */
.footer-bottom {
    background: #111;
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom p {
    color: #777;
    font-size: 13px;
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-socials {
        justify-content: center;
    }
}