/* ==========================================================================
   TAYVAN AKILLI İMALAT - MAKTEK AVRASYA 2026 TAM STİL DOSYASI
   ========================================================================== */

:root {
    --teal-primary: #10a3a0;
    --teal-dark: #0b7e7c;
    --teal-light: #e6f7f6;
    --dark-color: #1a202c;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    color: var(--dark-color);
    background-color: #ffffff;
    overflow-x: hidden !important;
    width: 100%;
}

/* Renk Yardımcıları */
.text-teal { color: var(--teal-primary) !important; }
.bg-teal { background-color: var(--teal-primary) !important; color: #fff !important; }
.bg-teal-subtle { background-color: var(--teal-light) !important; color: var(--teal-primary) !important; }
.border-teal-subtle { border-color: rgba(16, 163, 160, 0.3) !important; }

.btn-teal {
    background-color: var(--teal-primary);
    color: #ffffff !important;
    border: none;
    transition: all 0.3s ease;
}
.btn-teal:hover {
    background-color: var(--teal-dark);
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(16, 163, 160, 0.35);
}

.btn-outline-teal {
    color: var(--teal-primary) !important;
    border: 1.5px solid var(--teal-primary);
    background: transparent;
    transition: all 0.3s ease;
}
.btn-outline-teal:hover {
    background-color: var(--teal-primary);
    color: #ffffff !important;
}

.section-title {
    font-weight: 800;
    color: var(--dark-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 1.75rem;
}

/* ==========================================================================
   1. NAVBAR
   ========================================================================== */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    padding: 12px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar-scrolled {
    background-color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 8px 0;
}

.navbar-brand img {
    height: 42px !important;
    max-height: 42px !important;
    width: auto !important;
    display: block;
}

.navbar-nav .nav-link {
    font-weight: 600;
    font-size: 0.9rem;
    color: #334155 !important;
    padding: 8px 14px !important;
    transition: color 0.2s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--teal-primary) !important;
}

/* ==========================================================================
   2. HERO SECTION & MEKANİK DİŞLİ ÇARK
   ========================================================================== */
.hero-custom {
    padding-top: 110px;
    padding-bottom: 50px;
    background: radial-gradient(circle at 15% 50%, #f0fdfc 0%, #ffffff 70%);
    min-height: 88vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-gear-container {
    position: relative;
    width: 460px;
    height: 460px;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mechanical-gear-wheel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    animation: rotateGear 20s linear infinite;
    transform-origin: center center;
    pointer-events: none;
    filter: drop-shadow(0 6px 14px rgba(16, 163, 160, 0.22));
}

.gear-svg {
    width: 100%;
    height: 100%;
}

.hero-cnc-img {
    width: 380px !important;
    height: 380px !important;
    max-width: 82% !important;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    position: relative;
    z-index: 2;
    background: #ffffff;
    border: 6px solid #ffffff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

@keyframes rotateGear {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-maktek-top-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hero-taiwan-logo-large {
    height: 50px !important;
    max-height: 50px !important;
    width: auto !important;
    object-fit: contain;
}

.maktek-hero-img-large {
    height: 42px !important;
    max-height: 42px !important;
    width: auto !important;
    object-fit: contain;
}

.ribbon-badge {
    background-color: var(--teal-light);
    color: var(--teal-primary);
    padding: 7px 16px;
    border-radius: 50rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    border: 1px solid rgba(16, 163, 160, 0.25);
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.5px;
    color: #1e293b;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #475569;
}

.event-meta-box {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.hero-inline-sponsors {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.sponsor-logo-badge {
    background: #ffffff;
    padding: 6px 14px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    flex: 1;
    min-width: 100px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sponsor-logo-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

.sponsor-logo-badge img {
    max-height: 28px !important;
    max-width: 100px !important;
    width: auto !important;
    object-fit: contain;
}

/* ==========================================================================
   3. ETKİNLİKLER (TAB BAR & TABLOLAR)
   ========================================================================== */
.custom-event-tabs .nav-link {
    color: #475569;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 20px;
    border-radius: 50rem;
    transition: all 0.25s ease;
}

.custom-event-tabs .nav-link:hover {
    color: var(--teal-primary);
    border-color: var(--teal-primary);
    background-color: var(--teal-light);
}

.custom-event-tabs .nav-link.active {
    color: #ffffff !important;
    background-color: var(--teal-primary) !important;
    border-color: var(--teal-primary) !important;
    box-shadow: 0 4px 12px rgba(16, 163, 160, 0.25);
}

.custom-event-table {
    margin-bottom: 0;
}

.custom-event-table th {
    background-color: #f8fafc;
    color: #475569;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
}

.custom-event-table td {
    padding: 12px 8px;
    font-size: 0.9rem;
}

/* ==========================================================================
   4. ÖNE ÇIKAN KATILIMCILAR KART VE SLIDER ALANI
   ========================================================================== */
.product-section {
    background-color: #f8fafc;
}

.company-highlight-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}

.company-highlight-card:hover {
    box-shadow: 0 12px 30px rgba(0,0,0,0.07);
    border-color: rgba(16, 163, 160, 0.4);
}

.company-slider-frame {
    background: #f8fafc;
    border-radius: 14px;
    min-height: 330px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    position: relative;
}

.company-product-img {
    max-height: 290px;
    max-width: 100%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.speaker-badge-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 14px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.speaker-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--teal-primary);
}

.company-logo-frame {
    max-height: 40px;
    max-width: 140px;
    object-fit: contain;
}

/* ==========================================================================
   5. ÖNE ÇIKAN ÜRÜNLER (FİLTRELER VE KARTLAR)
   ========================================================================== */
.exhibitor-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #e2e8f0;
    background-color: #ffffff;
}

.exhibitor-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08) !important;
}

.product-frame {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

#categoryFilter, #applicationFilter, #sortOption, #searchInput {
    max-width: 100% !important;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ==========================================================================
   6. KONUM VE FUAR DETAYI
   ========================================================================== */
.fair-slider-card {
    min-height: 440px;
    height: 100%;
}

.fair-slide-img {
    width: 100%;
    height: 440px !important;
    object-fit: cover;
    display: block;
}

.fair-slide-img.contain-img {
    object-fit: contain !important;
    background-color: #f8fafc;
}

/* ==========================================================================
   7. PARTNER & DESTEKLEYEN KURUMLAR BÖLÜMÜ
   ========================================================================== */
.partner-logo-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.partner-logo-group a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.partner-logo-group img {
    max-height: 48px;
    width: auto;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.partner-logo-group a:hover img {
    transform: scale(1.05);
}

#supporting-institutions .partner-logo-group a {
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

#supporting-institutions .partner-logo-group a:hover {
    transform: translateY(-3px);
    border-color: var(--teal-primary) !important;
    box-shadow: 0 8px 20px rgba(16, 163, 160, 0.12) !important;
}

/* ==========================================================================
   8. FOOTER
   ========================================================================== */
.custom-footer {
    background-color: #0f172a;
    color: #ffffff;
    padding: 60px 0 30px;
}

/* ==========================================================================
   9. MOBİL UYUMLULUK (RESPONSIVE)
   ========================================================================== */
@media (max-width: 991.98px) {
    .hero-custom {
        padding-top: 85px;
        text-align: center;
    }
    .hero-gear-container {
        width: 330px;
        height: 330px;
        margin-bottom: 25px;
    }
    .hero-cnc-img {
        width: 270px !important;
        height: 270px !important;
    }
    .hero-title {
        font-size: 1.85rem !important;
    }
    .hero-maktek-top-wrapper, .hero-inline-sponsors {
        justify-content: center;
    }
    .event-meta-box .border-end-sm {
        border-right: none !important;
        border-bottom: 1px solid #e2e8f0;
        padding-bottom: 12px;
        margin-bottom: 12px;
    }
    .fair-slide-img {
        height: 320px !important;
    }
    .fair-slider-card {
        min-height: 320px;
    }
}

@media (max-width: 767.98px) {
    .custom-event-tabs {
        flex-direction: column !important;
        width: 100%;
    }
    .custom-event-tabs .nav-item {
        width: 100% !important;
    }
    .custom-event-tabs .nav-link {
        border-radius: 12px;
        text-align: center;
        padding: 12px;
    }
    .table-responsive {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }
    .custom-event-table {
        min-width: 520px !important;
    }
    .company-slider-frame {
        min-height: 250px;
    }
    .company-product-img {
        max-height: 220px;
    }
    .hero-inline-sponsors .sponsor-logo-badge {
        flex: 1 1 40%;
    }
}

@media (max-width: 575.98px) {
    #exhibitorContainer .col-sm-6 {
        width: 100% !important;
    }
    .product-frame {
        height: 200px !important;
    }
}