/* Sector Center Stylesheet - Bidünya Ticaret */

.sector-center-section {
    padding: 60px 0;
    background: radial-gradient(circle at top left, rgba(13, 110, 253, 0.08), transparent 40%), linear-gradient(180deg, #141414 0%, #0c0c0c 100%);
    color: #f8fafc;
    min-height: 100vh;
}

body.theme-light .sector-center-section {
    background: radial-gradient(circle at top left, rgba(13, 110, 253, 0.06), transparent 45%), linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    color: #0f172a;
}

/* Glassmorphism Cards */
.sc-card {
    background: rgba(26, 26, 26, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.sc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
    border-color: rgba(13, 110, 253, 0.3);
}

body.theme-light .sc-card {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.04);
}

body.theme-light .sc-card:hover {
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.08);
    border-color: rgba(13, 110, 253, 0.2);
}

/* Sticky Navigation Sub-Menu */
.sc-nav-container {
    position: sticky;
    top: 140px; /* adjusted to fully clear the 40px topbar + navbar height + padding + brand logo */
    z-index: 1020;
    margin-bottom: 40px;
}

.sc-nav-bar {
    display: flex;
    gap: 6px;
    padding: 6px;
    background: rgba(32, 32, 32, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
    border-radius: 999px;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
}

.sc-nav-bar::-webkit-scrollbar {
    display: none; /* Safari and Chrome */
}

body.theme-light .sc-nav-bar {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(20, 20, 20, 0.08);
    box-shadow: inset 0 0 0 1px rgba(20, 20, 20, 0.04);
}

.sc-group-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    color: rgba(255, 255, 255, 0.7);
    font-family: "Mona Sans", "Poppins", sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    border: none;
    background: transparent;
    border-radius: 999px;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sc-group-tab-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.sc-group-tab-btn.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

body.theme-light .sc-group-tab-btn {
    color: rgba(15, 23, 42, 0.7);
}

body.theme-light .sc-group-tab-btn:hover {
    color: #0f172a;
    background: rgba(15, 23, 42, 0.04);
}

body.theme-light .sc-group-tab-btn.active {
    color: #0f172a;
    background: rgba(15, 23, 42, 0.08);
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.1);
}

.sc-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    color: rgba(248, 250, 252, 0.7);
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: 999px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.sc-nav-link:hover, .sc-nav-link.active {
    background: #0d6efd;
    color: #fff;
}

body.theme-light .sc-nav-link {
    color: rgba(15, 23, 42, 0.7);
}

body.theme-light .sc-nav-link:hover, body.theme-light .sc-nav-link.active {
    background: #0d6efd;
    color: #fff;
}

/* Badge/Chips */
.sc-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(13, 110, 253, 0.12);
    color: #3b82f6;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(13, 110, 253, 0.15);
}

body.theme-light .sc-badge {
    background: rgba(13, 110, 253, 0.08);
    color: #1d4ed8;
}

/* Interactive Timelines */
.sc-timeline {
    position: relative;
    border-left: 2px dashed rgba(255, 255, 255, 0.15);
    padding-left: 30px;
    margin-left: 10px;
}

body.theme-light .sc-timeline {
    border-left-color: rgba(15, 23, 42, 0.1);
}

.sc-timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.sc-timeline-item:last-child {
    margin-bottom: 0;
}

.sc-timeline-badge {
    position: absolute;
    left: -42px;
    top: 2px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #0d6efd;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(13, 110, 253, 0.5);
}

/* Interactive Checklists */
.sc-check-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sc-check-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

body.theme-light .sc-check-item {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

body.theme-light .sc-check-item:hover {
    background: rgba(0, 0, 0, 0.04);
}

.sc-check-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    color: transparent;
    transition: all 0.2s ease;
}

body.theme-light .sc-check-checkbox {
    border-color: rgba(0, 0, 0, 0.2);
}

.sc-check-item.checked .sc-check-checkbox {
    background: #10b981;
    border-color: #10b981;
    color: #fff;
}

.sc-check-item.checked .sc-check-text {
    text-decoration: line-through;
    opacity: 0.6;
}

/* Interactive Simulator Range Sliders */
.sc-range-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
    margin: 15px 0;
}

body.theme-light .sc-range-slider {
    background: rgba(0, 0, 0, 0.1);
}

.sc-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #0d6efd;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(13, 110, 253, 0.4);
    transition: transform 0.1s ease;
}

.sc-range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

/* Grid Layouts */
.sc-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

/* Search input */
.sc-search-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    padding: 12px 20px;
    transition: all 0.2s ease;
}

.sc-search-input:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: #0d6efd;
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.15);
    color: #fff;
    outline: none;
}

body.theme-light .sc-search-input {
    background: #fff;
    border-color: rgba(0,0,0,0.15);
    color: #0f172a;
}

body.theme-light .sc-search-input:focus {
    background: #fff;
    border-color: #0d6efd;
    color: #0f172a;
}

/* Tool & Simulator distinction */
.sc-tool-card {
    border-top: 4px solid #0d6efd;
}

.sc-sim-card {
    border-top: 4px solid #6f42c1;
    background: linear-gradient(180deg, rgba(111, 66, 193, 0.03) 0%, rgba(26, 26, 26, 0.65) 100%);
}

body.theme-light .sc-sim-card {
    background: linear-gradient(180deg, rgba(111, 66, 193, 0.02) 0%, rgba(255, 255, 255, 0.75) 100%);
}

.sc-result-box {
    background: rgba(13, 110, 253, 0.08);
    border: 1px solid rgba(13, 110, 253, 0.2);
    border-radius: 16px;
    padding: 20px;
}

body.theme-light .sc-result-box {
    background: rgba(13, 110, 253, 0.04);
}

.sc-result-box-sim {
    background: rgba(111, 66, 193, 0.08);
    border: 1px solid rgba(111, 66, 193, 0.2);
    border-radius: 16px;
    padding: 20px;
}

body.theme-light .sc-result-box-sim {
    background: rgba(111, 66, 193, 0.04);
}

/* --- KAFE / COFFEE SHOP SPECIFIC STYLES --- */

/* Tabs for Knowledge Center */
.sc-info-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 12px;
    margin-bottom: 30px;
}

body.theme-light .sc-info-tabs {
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

.sc-info-tab-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 12px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.sc-info-tab-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.sc-info-tab-btn.active {
    color: #fff;
    background: #0d6efd;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

body.theme-light .sc-info-tab-btn {
    color: rgba(15, 23, 42, 0.7);
}

body.theme-light .sc-info-tab-btn:hover {
    color: #0f172a;
    background: rgba(0, 0, 0, 0.04);
}

body.theme-light .sc-info-tab-btn.active {
    color: #fff;
    background: #0d6efd;
}

/* Coffee Types Grid */
.sc-coffee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.sc-coffee-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.2s ease;
}

.sc-coffee-card:hover {
    border-color: rgba(13, 110, 253, 0.3);
    background: rgba(255, 255, 255, 0.04);
}

body.theme-light .sc-coffee-card {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 12px rgba(0,0,0,0.02);
}

body.theme-light .sc-coffee-card:hover {
    border-color: rgba(13, 110, 253, 0.2);
    box-shadow: 0 4px 20px rgba(13, 110, 253, 0.08);
}

/* Coffee Recipe Lab Visual Cup */
.sc-lab-container {
    display: flex;
    flex-direction: row;
    gap: 30px;
}

@media (max-width: 991px) {
    .sc-lab-container {
        flex-direction: column-reverse;
    }
}

.sc-cup-visualizer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    min-height: 380px;
    position: relative;
    overflow: hidden;
}

body.theme-light .sc-cup-visualizer {
    background: rgba(0, 0, 0, 0.01);
    border-color: rgba(0, 0, 0, 0.06);
}

/* CSS Coffee Cup Drawing */
.sc-cup-wrapper {
    position: relative;
    width: 160px;
    height: 180px;
    margin-bottom: 20px;
}

.sc-cup {
    position: relative;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.08);
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top: none;
    border-bottom-left-radius: 35px;
    border-bottom-right-radius: 35px;
    overflow: hidden;
    display: flex;
    flex-direction: column-reverse;
    z-index: 2;
}

body.theme-light .sc-cup {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.15);
}

/* Cup Handle */
.sc-cup-handle {
    position: absolute;
    right: -36px;
    top: 35px;
    width: 44px;
    height: 90px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-left: none;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
    z-index: 1;
}

body.theme-light .sc-cup-handle {
    border-color: rgba(0, 0, 0, 0.15);
}

/* Liquid Layers */
.sc-cup-layer {
    width: 100%;
    transition: height 0.5s ease, background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0,0,0,0.8);
    color: #fff;
    overflow: hidden;
    white-space: nowrap;
}

/* Ingredient Colors */
.layer-espresso {
    background-color: #3e2723;
}
.layer-water {
    background-color: #26c6da;
}
.layer-milk {
    background-color: #fff8e1;
    color: #5d4037;
    text-shadow: none;
}
.layer-foam {
    background-color: #eceff1;
    color: #37474f;
    text-shadow: none;
}
.layer-chocolate {
    background-color: #1a0c00;
}

/* Compare View Grid */
.sc-compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 767px) {
    .sc-compare-grid {
        grid-template-columns: 1fr;
    }
}

.sc-compare-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 20px;
}

body.theme-light .sc-compare-box {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.06);
}

/* Glossary List Searchable */
.sc-glossary-item {
    padding: 15px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: all 0.2s ease;
}

.sc-glossary-item:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(13, 110, 253, 0.2);
}

body.theme-light .sc-glossary-item {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.05);
}

body.theme-light .sc-glossary-item:hover {
    border-color: rgba(13, 110, 253, 0.15);
}

/* Advanced Modules Sub-styles */
.sc-flow-tab-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.6);
    padding: 8px 16px;
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.sc-flow-tab-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.sc-flow-tab-btn.active {
    background: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.2);
}

body.theme-light .sc-flow-tab-btn {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.08);
    color: rgba(0, 0, 0, 0.6);
}

body.theme-light .sc-flow-tab-btn.active {
    background: #0d6efd;
    color: #fff;
}

.btn-xs {
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 4px;
}

.sc-scroll-section {
    scroll-margin-top: 230px; /* adjusted to clear sticky header and sub-menu heights */
}



