/* =================================== */
/* BÖLÜM 1: TEMEL YAPI VE GİRİŞ EKRANI */
/* =================================== */
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Nunito Sans', sans-serif;
    background-color: #f4f7f9; 
    color: #333;
    line-height: 1.6;
}
.navbar-brand {
    font-weight: 900;
    display: flex;
    align-items: flex-start; 
    flex-direction: column; 
    text-align: left; 
}
.navbar-brand img {
    max-height: 62px; 
    margin-bottom: 5px; 
}
.navbar-brand span {
    font-size: 1.25rem;
}
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), url('https://hekay.fcskobi.com/herogorsel.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
}
.hero-section h1 {
    font-weight: 900;
    font-size: 3.5rem;
    color: #ffffff !important;
}
.hero-section .lead {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 20px auto 40px auto;
}
.hero-subheading {
    font-size: 1.5rem;
    font-weight: 400;
    margin-top: 15px;
    margin-bottom: 30px;
    opacity: 0.9;
}
.btn-primary-custom {
    background-color: #0d6efd;
    border-color: #0d6efd;
    padding: 15px 30px;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s;
}
.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.4);
}
.footer {
    background-color: #343a40;
    color: #f8f9fa;
    padding: 40px 0;
    font-size: 0.9rem;
}
.footer a {
    color: #0dcaf0;
    text-decoration: none;
}
.social-icons {
    margin-top: 20px;
}
.social-icons a {
    color: #f8f9fa;
    font-size: 1.5rem;
    margin: 0 10px;
}

/* YENİ: ANA SAYFA BİLGİ KARTLARI (RENKLENDİRİLMİŞ) */
#how-it-works-section .card {
    border: 1px solid #e9ecef;
    border-top-width: 4px; /* Renkli alan için üst kenarlığı kalınlaştır */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#how-it-works-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1) !important;
}
.feature-icon-box {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: background-color 0.3s ease;
}
.feature-icon-box i {
    color: white; /* Tüm ikonların rengi beyaz olacak */
}

/* Kart 1: Mavi Tema */
.col-lg-3:nth-child(1) .card { border-top-color: #0d6efd; }
.col-lg-3:nth-child(1) .feature-icon-box { background-color: #0d6efd; }

/* Kart 2: Yeşil Tema */
.col-lg-3:nth-child(2) .card { border-top-color: #198754; }
.col-lg-3:nth-child(2) .feature-icon-box { background-color: #198754; }

/* Kart 3: Turuncu Tema */
.col-lg-3:nth-child(3) .card { border-top-color: #fd7e14; }
.col-lg-3:nth-child(3) .feature-icon-box { background-color: #fd7e14; }

/* Kart 4: Mor Tema */
.col-lg-3:nth-child(4) .card { border-top-color: #6f42c1; }
.col-lg-3:nth-child(4) .feature-icon-box { background-color: #6f42c1; }


/* ===================================== */
/* BÖLÜM 2: SWOT ANALİZ ARAYÜZ STİLLERİ */
/* ===================================== */
#analysis-container h1, 
#analysis-container h2, 
#analysis-container h3, 
#analysis-container h4 {
    color: #2c3e50;
}
#analysis-container h2 {
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
    margin-bottom: 20px;
}
.nav-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #dee2e6;
}
.nav-tab {
    padding: 10px 20px;
    cursor: pointer;
    border: none;
    color: white;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.nav-tab:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.nav-tab.active {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    filter: brightness(1.1);
}
.nav-tab:disabled {
    background-color: #bdc3c7 !important;
    cursor: not-allowed;
    filter: none;
    transform: none;
    box-shadow: none;
}
.nav-tab:nth-child(1) { background-color: #2980b9; }
.nav-tab:nth-child(2) { background-color: #27ae60; }
.nav-tab:nth-child(3) { background-color: #f39c12; }
.nav-tab:nth-child(4) { background-color: #8e44ad; }
.nav-tab:nth-child(5) { background-color: #c0392b; }

.page { display: none; }
.page.active { display: block; }
.question-category h4 {
    background-color: #ecf0f1;
    padding: 10px 15px;
    border-radius: 6px;
    border-left: 5px solid #3498db;
    margin-top: 25px;
    margin-bottom: 20px;
}
.question-category { margin-bottom: 35px; padding: 20px; border: 1px solid #ddd; border-radius: 8px; background-color: #fdfdfd; }
.question-item { margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid #f0f0f0; }
.question-item:last-child { border-bottom: none; }
.question-label { font-weight: bold; display: block; margin-bottom: 12px; font-size: 18px; }
.sliders-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center; }
.slider-wrapper { display: flex; flex-direction: column; }
.slider-wrapper span { font-size: 14px; color: #555; margin-bottom: 5px; text-align: center; }
.slider-container { display: flex; align-items: center; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; cursor: pointer; background: #e9ecef; border-radius: 10px; height: 12px; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; height: 24px; width: 24px; background-color: #fff; border-radius: 50%; border: 2px solid #3498db; margin-top: -6px; }
input[type="range"]::-moz-range-thumb { height: 20px; width: 20px; background-color: #fff; border-radius: 50%; border: 2px solid #3498db; }
.slider-value { font-weight: bold; font-size: 16px; margin-left: 15px; width: 40px; text-align: center; padding: 5px; border-radius: 5px; background-color: #ecf0f1; }
.slider-value.positive { background-color: #27ae60; color: white; }
.slider-value.negative { background-color: #e74c3c; color: white; }
.action-button { display: block; width: 100%; padding: 15px; margin-top: 30px; background-color: #3498db; color: white; font-size: 18px; font-weight: bold; border: none; border-radius: 5px; cursor: pointer; transition: background-color 0.3s; }
.action-button:hover { background-color: #2980b9; }
.results-grid, .tows-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 20px; }
.swot-card { background-color: #fdfdfd; border: 1px solid #e0e0e0; border-radius: 8px; padding: 20px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); display: flex; flex-direction: column; }
.swot-card h3 { margin-top: 0; padding-bottom: 10px; border-bottom: 2px solid; }
.swot-card ul { padding-left: 0; margin: 0; }
.swot-card li { margin-bottom: 10px; list-style-type: none; padding-left: 0; }
.score-badge { float: right; font-weight: bold; padding: 3px 9px; border-radius: 12px; color: white; font-size: 13px; min-width: 30px; text-align: center; }
.strengths h3 { border-color: #27ae60; color: #27ae60; } .strengths .score-badge { background-color: #27ae60; }
.weaknesses h3 { border-color: #e74c3c; color: #e74c3c; } .weaknesses .score-badge { background-color: #e74c3c; }
.opportunities h3 { border-color: #3498db; color: #3498db; } .opportunities .score-badge { background-color: #3498db; }
.threats h3 { border-color: #f39c12; color: #f39c12; } .threats .score-badge { background-color: #f39c12; }
#analysis-summary { display: flex; justify-content: space-around; text-align: center; margin: 30px 0; flex-wrap: wrap; gap:10px; }
.summary-box { padding: 20px; background: #ecf0f1; border-radius: 8px; flex-grow:1; min-width:200px; }
#results-commentary, #chart-interpretation { margin-top: 30px; padding: 25px; background-color: #f0f3f4; border-left: 5px solid #3498db; border-radius: 5px; }
.tows-card textarea { width: 100%; height: 150px; margin-top: 15px; padding: 8px; border: 1px solid #ccc; border-radius: 4px; font-size: 14px; box-sizing: border-box; }
.tows-card .recommendation, .tows-card .food-for-thought { font-size: 15px; color: #34495e; border-left: 3px solid #bdc3c7; padding-left: 10px; margin-top: 10px;}
.tows-card ul li {list-style-type: disc; margin-left:20px;}
#executive-report { border: 1px solid #ddd; padding: 30px; border-radius: 5px; }
#executive-report h2, #executive-report h3 { border: none; }
.report-section { margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px dashed #ccc; }
.report-section:last-child { border-bottom: none; }
.scorecard { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 15px; text-align: center; }
.scorecard-item { background-color: #f8f9f9; padding: 15px; border-radius: 5px; }
.scorecard-item .value { font-size: 28px; font-weight: bold; }
.critical-finding { margin-bottom: 15px; padding: 10px; border-left: 4px solid; }
.print-button { background-color: #27ae60; color: white; margin-top:20px; width:auto; display:inline-block; float:right; padding: 10px 20px;}

/* ================================== */
/* BÖLÜM 3: MOBİL UYUMLULUK VE YAZDIRMA */
/* ================================== */
@media (max-width: 768px) {
    .hero-section { padding: 60px 0; }
    .hero-section h1 { font-size: 2.5rem; }
    .card-body { padding: 1.5rem !important; }
    .sliders-grid, .results-grid, .tows-grid { grid-template-columns: 1fr; }
    #analysis-summary { flex-direction: column; }
}
@media print {
    body { background-color: #fff; padding: 0; margin: 0; font-size: 12pt; }
    .navbar, .hero-section, #how-it-works-section, .nav-tabs, .action-button, .print-button, .footer, #userInfoModal, .modal-backdrop { display: none !important; }
    #analysis-container { display: block !important; padding: 0 !important; }
    .page-content, .card-body, #analysis-container .container { box-shadow: none; border: none; padding: 0 !important; max-width: 100% !important; }
    #rapor, #executive-report { display: block !important; border: none; padding: 0; }
    .page { display: none; }
    #rapor.page { display: block; }
    h2 { margin-top: 40px; }
}

/* =================================== */
/* BÖLÜM 1: TEMEL YAPI VE GİRİŞ EKRANI */
/* =================================== */
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Nunito Sans', sans-serif;
    background-color: #f4f7f9; 
    color: #333;
    line-height: 1.6;
}
.navbar-brand {
    font-weight: 900;
    display: flex;
    align-items: flex-start; 
    flex-direction: column; 
    text-align: left; 
}
.navbar-brand img {
    max-height: 62px; 
    margin-bottom: 5px; 
}
.navbar-brand span {
    font-size: 1.25rem;
}
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), url('https://hekay.fcskobi.com/herogorsel.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
}
.hero-section h1 {
    font-weight: 900;
    font-size: 3.5rem;
    color: #ffffff !important;
}
.hero-section .lead {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 20px auto 40px auto;
}
.hero-subheading {
    font-size: 1.5rem;
    font-weight: 400;
    margin-top: 15px;
    margin-bottom: 30px;
    opacity: 0.9;
}
.btn-primary-custom {
    background-color: #0d6efd;
    border-color: #0d6efd;
    padding: 15px 30px;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s;
}
.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.4);
}
.footer {
    background-color: #343a40;
    color: #f8f9fa;
    padding: 40px 0;
    font-size: 0.9rem;
}
.footer a {
    color: #0dcaf0;
    text-decoration: none;
}
.social-icons {
    margin-top: 20px;
}
.social-icons a {
    color: #f8f9fa;
    font-size: 1.5rem;
    margin: 0 10px;
}

/* ANA SAYFA BİLGİ KARTLARI (RENKLENDİRİLMİŞ) */
#how-it-works-section .card {
    border: 1px solid #e9ecef;
    border-top-width: 4px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#how-it-works-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1) !important;
}
/* YENİ: Kart içeriğini dikeyde hizalamak için */
#how-it-works-section .card-body {
    display: flex;
    flex-direction: column;
}

.feature-icon-box {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: background-color 0.3s ease;
}
.feature-icon-box i {
    color: white;
}
.col-lg-3:nth-child(1) .card { border-top-color: #0d6efd; }
.col-lg-3:nth-child(1) .feature-icon-box { background-color: #0d6efd; }
.col-lg-3:nth-child(2) .card { border-top-color: #198754; }
.col-lg-3:nth-child(2) .feature-icon-box { background-color: #198754; }
.col-lg-3:nth-child(3) .card { border-top-color: #fd7e14; }
.col-lg-3:nth-child(3) .feature-icon-box { background-color: #fd7e14; }
.col-lg-3:nth-child(4) .card { border-top-color: #6f42c1; }
.col-lg-3:nth-child(4) .feature-icon-box { background-color: #6f42c1; }


/* ===================================== */
/* BÖLÜM 2: SWOT ANALİZ ARAYÜZ STİLLERİ */
/* ===================================== */
#analysis-container h1, 
#analysis-container h2, 
#analysis-container h3, 
#analysis-container h4 {
    color: #2c3e50;
}
/* ... (Geri kalan CSS kodları aynı) ... */
