
:root {
    --primary-color: #0056b3; /* Klima sektörüne uygun güven veren kurumsal mavi */
    --secondary-color: #6c757d;
    --text-color: #333;
    --bg-color: #f8f9fa;
    --transition-speed: 0.5s;
}

.toggle-section {
    position: relative;
    margin: 25px 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.toggle-content {
    position: relative;
    max-height: 450px;
    overflow: hidden;
    transition: max-height var(--transition-speed) ease-in-out;
    line-height: 1.6;
}

.toggle-content h1 {
    color: var(--primary-color);
    font-size: 2.2em;
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    font-weight: 800;
}

.toggle-content h2 {
    color: #2c3e50;
    margin-top: 35px;
    font-size: 1.8em;
    font-weight: 700;
}

.toggle-content h3 {
    color: #34495e;
    margin-top: 25px;
    border-left: 4px solid var(--primary-color);
    padding-left: 15px;
    font-size: 1.4em;
}

.toggle-content h4 {
    color: #444;
    margin-top: 20px;
    font-size: 1.2em;
    font-weight: 600;
}

.toggle-content h5 {
    color: var(--primary-color);
    margin-top: 15px;
    font-weight: 700;
}

.toggle-content h6 {
    color: #555;
    margin-top: 15px;
    font-size: 1.1em;
    background: #f0f7ff;
    padding: 8px 15px;
    border-radius: 6px;
    border-left: 3px solid var(--primary-color);
}

.toggle-content p {
    margin-bottom: 18px;
    text-align: justify;
    color: #555;
}

.toggle-content span {
    color: #e67e22;
    font-weight: 600;
}

.toggle-content strong {
    color: #1a1a1a;
}

.toggle-content a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.toggle-content a:hover {
    color: #003d7a;
    text-decoration: underline;
}

.toggle-content.is-expanded {
    max-height: 15000px; /* İçerik uzunluğuna göre genişletildi */
}

.toggle-content::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(transparent, rgba(255, 255, 255, .98), #fff);
    pointer-events: none;
    transition: opacity .4s ease;
    opacity: 1;
}

.toggle-content.is-expanded::after {
    opacity: 0;
}

.toggle-footer {
    text-align: center;
    margin-top: 30px;
}

.btn-toggle {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 14px 50px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 15px rgba(0, 86, 179, 0.2);
    letter-spacing: 0.5px;
}

.btn-toggle:hover {
    background-color: #004494;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 86, 179, 0.3);
}

@media (max-width: 768px) {
    .toggle-content h1 { font-size: 1.7em; }
    .toggle-content h2 { font-size: 1.4em; }
    .btn-toggle { width: 100%; padding: 12px 20px; }
}

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}