/* Reset ve Temel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #5A7C5D;
    --primary-light: #7BA37F;
    --secondary-color: #9DB89F;
    --accent-color: #C4DCC6;
    --accent-warm: #E8F4E9;
    --text-dark: #1F2E20;
    --text-medium: #3A4A3C;
    --text-light: #6B7C6D;
    --bg-light: #F5F9F6;
    --bg-white: #FFFFFF;
    --bg-pattern: #F0F7F1;
    --border-color: #D8E5DA;
    --border-light: #E8F0EA;
    --error-color: #C85A5A;
    --success-color: #5A7C5D;
    --shadow: 0 3px 10px rgba(90, 124, 93, 0.08);
    --shadow-hover: 0 6px 20px rgba(90, 124, 93, 0.12);
    --shadow-soft: 0 2px 6px rgba(90, 124, 93, 0.05);
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-medium);
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-pattern) 100%);
    background-attachment: fixed;
    font-size: 16px;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(123, 163, 127, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(196, 220, 198, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.site-header .container {
    overflow: visible;
    max-height: none;
}

/* Header */
.site-header {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.98), rgba(245, 249, 246, 0.98));
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(90, 124, 93, 0.06);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    border-bottom: 2px solid var(--border-light);
    width: 100%;
    overflow: visible !important;
    max-height: none !important;
}

.main-nav {
    position: relative;
    z-index: 1001;
}

.main-nav,
.header-content,
.site-header {
    overflow: visible !important;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    position: relative;
    z-index: 1001;
}

.logo {
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo h1 {
    font-size: 1.6rem;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    transition: all 0.3s ease;
}

.logo:hover h1 {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo h1::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
    transition: width 0.3s ease;
}

.logo:hover h1::after {
    width: 100%;
}

.logo {
    text-decoration: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    position: relative;
    z-index: 1001;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 3px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
    position: relative;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
    position: relative;
}

.nav-menu li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li::before {
    display: none !important;
    content: none !important;
}

.footer-section ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-section ul li {
    list-style: none;
    padding-left: 0 !important;
}

.footer-section ul li::before {
    display: none !important;
    content: none !important;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
    border-bottom: none;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px 2px 0 0;
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
    margin-top: 80px;
}

/* Breadcrumbs */
.breadcrumbs {
    display: none;
}

/* Notification */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--bg-white);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-hover);
    z-index: 10002;
    display: none;
    min-width: 300px;
    max-width: 400px;
    transform: translateX(400px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 4px solid var(--primary-color);
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    border-left-color: var(--success-color);
}

.notification.error {
    border-left-color: var(--error-color);
}

@media (max-width: 480px) {
    .notification {
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: none;
        transform: translateY(-100px);
    }
    
    .notification.show {
        transform: translateY(0);
    }
}

/* Typography */
h1, h2, h3, h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    position: relative;
    padding-bottom: 1rem;
}

h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

h2 {
    font-size: 2rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: -0.3px;
    position: relative;
    padding-left: 1rem;
}

h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.3em;
    width: 4px;
    height: 1.2em;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1.2rem;
    color: var(--text-medium);
    line-height: 1.85;
    font-size: 1.05rem;
    text-align: justify;
    hyphens: auto;
}

.content-section p,
.intro-section p,
.article-intro p {
    text-align: justify;
    hyphens: auto;
    letter-spacing: 0.2px;
}

.intro-text-large {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

.intro-list {
    background: var(--accent-warm);
    padding: 1.5rem;
    border-radius: 12px;
    margin: 1.5rem 0;
    border-left: 4px solid var(--primary-color);
}

.intro-list li {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.6rem;
}

.intro-list li:last-child {
    margin-bottom: 0;
}

/* Cards */
.card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-light);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.3s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-color);
}

.card:hover::before {
    opacity: 1;
}

.card h3 {
    margin-top: 0;
    color: var(--primary-color);
}

/* Info Card */
.info-card {
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--accent-warm) 100%);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-light);
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    border-left-color: var(--primary-light);
}

.info-card h3 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
    font-size: 1.3rem;
}

.info-card p {
    margin-bottom: 0.5rem;
}

.info-card p:last-child {
    margin-bottom: 0;
}

/* Plant Cards Grid */
.plants-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

@media (max-width: 768px) {
    .plants-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .plants-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.plant-card {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-light);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.plant-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light), var(--accent-color));
    opacity: 0;
    transition: opacity 0.3s;
}

.plant-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-color);
}

.plant-card:hover::after {
    opacity: 1;
}

.plant-image-wrapper {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
}

.plant-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.plant-card:hover .plant-image-wrapper img {
    transform: scale(1.1);
}

/* Image with text layout */
.image-text-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    margin: 2rem 0;
}

.image-text-layout img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: block;
    object-fit: cover;
    max-width: 100%;
}

.image-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-content img {
    width: 100%;
    max-width: 100%;
    height: auto;
}

.image-text-layout.reverse {
    grid-template-columns: 1fr 1fr;
}

.image-text-layout.reverse .image-content {
    order: 2;
}

.image-text-layout.reverse .text-content {
    order: 1;
}

@media (max-width: 768px) {
    .image-text-layout,
    .image-text-layout.reverse {
        grid-template-columns: 1fr;
    }
    
    .image-text-layout.reverse .image-content,
    .image-text-layout.reverse .text-content {
        order: 0;
    }
}

.plant-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.plant-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
    gap: 1rem;
}

.plant-card h3 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.4rem;
    flex: 1;
    line-height: 1.3;
}

.plant-scientific {
    font-style: italic;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    margin-top: 0;
}

.plant-description {
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.plant-link {
    margin-top: auto;
    width: 100%;
    text-align: center;
}

.plant-card h3 {
    margin-top: 0;
    color: var(--primary-color);
}

.difficulty-badge {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    flex-shrink: 0;
    margin: 0;
}

.difficulty-easy {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.difficulty-medium {
    background-color: #FFF4E6;
    color: #B8860B;
}

.difficulty-hard {
    background-color: #FFE6E6;
    color: #C85A5A;
}

/* Tables */
.table-wrapper {
    overflow-x: auto;
    margin: 1.5rem 0;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
}

.table-wrapper::-webkit-scrollbar {
    height: 8px;
}

.table-wrapper::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 4px;
}

.table-wrapper::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.table-wrapper::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

table {
    width: 100%;
    min-width: 600px;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--bg-white);
    border-radius: 12px;
    border: 1px solid var(--border-light);
}

table th,
table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

table th {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.3px;
}

table tr:last-child td {
    border-bottom: none;
}

table tr:hover {
    background-color: var(--bg-light);
}

/* Lists */
ul, ol {
    margin-left: 0;
    margin-bottom: 1.5rem;
    color: var(--text-medium);
    line-height: 1.9;
    padding-left: 1.5rem;
    list-style: none;
}

ul li {
    margin-bottom: 0.85rem;
    position: relative;
    padding-left: 1.8rem;
    line-height: 1.8;
}

ul li::before {
    content: '●';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 0.8em;
    font-weight: bold;
    top: 0.1em;
}

/* Исключить вложенные списки и списки в навигации/футере из маркеров */
.nav-menu li::before,
.footer-section li::before,
ul ul li::before,
section section ul li::before,
.toc ul li::before {
    display: none !important;
    content: none !important;
}

ol {
    counter-reset: list-counter;
}

ol li {
    margin-bottom: 0.85rem;
    position: relative;
    padding-left: 2rem;
    counter-increment: list-counter;
    line-height: 1.8;
}

ol li::before {
    content: counter(list-counter) '.';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1em;
    min-width: 1.5rem;
}

.related-links ul,
.content-section ul {
    list-style: none;
    padding-left: 0;
}

.related-links li,
.content-section li {
    padding-left: 1.5rem;
    margin-bottom: 0.6rem;
}

.related-links li::before,
.content-section li::before {
    content: '●';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 0.8em;
    top: 0.1em;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(90, 124, 93, 0.2);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    box-shadow: 0 6px 18px rgba(90, 124, 93, 0.3);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--text-light);
    color: white;
}

.btn-secondary:hover {
    background-color: #4a5a4c;
}

.btn-link {
    background: none;
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

.btn-link:hover {
    border-bottom-color: var(--primary-color);
}

/* Forms */
.form-container {
    max-width: 600px;
    margin: 3rem auto;
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
}

.contact-form-section {
    margin: 3rem 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.checkbox-group {
    margin: 1.5rem 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-weight: normal;
    color: var(--text-medium);
    line-height: 1.6;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 0.75rem;
    margin-top: 0.2rem;
    cursor: pointer;
    flex-shrink: 0;
    accent-color: var(--primary-color);
}

.checkbox-label span {
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(90, 124, 93, 0.15);
    transform: translateY(-1px);
}

.form-group input,
.form-group textarea {
    transition: all 0.3s ease;
}

.form-group input:hover,
.form-group textarea:hover {
    border-color: var(--accent-color);
}

/* Alert Boxes */
.alert {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
}

.alert-warning {
    background-color: #FFF4E6;
    border-left: 4px solid #FFA500;
    color: #856404;
}

.alert-info {
    background-color: #E6F3FF;
    border-left: 4px solid #0066CC;
    color: #004085;
}

.alert-success {
    background-color: var(--accent-color);
    border-left: 4px solid var(--primary-color);
    color: var(--text-dark);
}

/* Checklist */
.checklist {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 12px;
    margin: 1.5rem 0;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-light);
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.85rem;
    position: relative;
    padding-left: 1.8rem;
    list-style: none;
}

.checklist-item::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.1em;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1em;
    width: 1.5rem;
    text-align: center;
}


.checklist-item span {
    flex: 1;
    line-height: 1.7;
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, var(--text-dark) 0%, #2a3d2c 100%);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light), var(--accent-color));
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
    border-bottom: none;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #ccc;
}

.footer-bottom p {
    text-align: center;
    margin: 0;
    padding: 0;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-white);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    z-index: 10000;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-content p {
    flex: 1;
    margin: 0;
    min-width: 250px;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-modal-content {
    background: var(--bg-white);
    border-radius: 8px;
    padding: 2rem;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.cookie-options {
    margin: 1.5rem 0;
}

.cookie-option {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 5px;
}

.cookie-option label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
}

.cookie-option input[type="checkbox"] {
    margin-right: 0.75rem;
    margin-top: 0.25rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.cookie-option span {
    font-weight: 500;
    display: block;
    margin-bottom: 0.25rem;
}

.cookie-option small {
    display: block;
    color: var(--text-light);
    font-size: 0.85rem;
}

.cookie-modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* Table of Contents */
.toc {
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--accent-warm) 100%);
    padding: 1.5rem;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.toc::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light), var(--accent-color));
}

.toc h3 {
    margin-top: 0;
    color: var(--primary-color);
}

.toc ul {
    list-style: none;
    margin: 0;
}

.toc ul li {
    margin-bottom: 0.5rem;
    padding-left: 0 !important;
}

.toc ul li::before {
    display: none !important;
    content: none !important;
}

.toc a {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    padding-left: 1.5rem;
    display: inline-block;
}

.toc a::before {
    content: '●';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    opacity: 0.7;
    transition: opacity 0.3s;
    font-weight: bold;
    font-size: 0.8em;
    top: 0.1em;
}

.toc a:hover {
    color: var(--primary-color);
    padding-left: 1.5rem;
}

.toc a:hover::before {
    opacity: 1;
}

/* Links styling */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: none;
}

a:hover {
    color: var(--primary-light);
}

.content-section a,
.related-links a {
    position: relative;
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
}

.content-section a:hover,
.related-links a:hover {
    border-bottom-color: var(--primary-color);
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.quick-links-grid .card {
    text-decoration: none;
    color: inherit;
    display: block;
}

.quick-links-grid .card:hover {
    transform: translateY(-3px);
}

.article-meta {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.3rem;
    color: var(--text-medium);
    margin-bottom: 2.5rem;
    font-weight: 400;
    line-height: 1.9;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-section {
    text-align: center;
    padding: 3rem 0 2rem;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(123, 163, 127, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
        z-index: 10003 !important;
        position: relative;
    }
    
    .site-header {
        position: fixed !important;
        overflow: visible !important;
        max-height: none !important;
        height: auto !important;
        clip: unset !important;
        clip-path: none !important;
    }
    
    .site-header .container {
        overflow: visible !important;
        max-height: none !important;
        clip: unset !important;
        clip-path: none !important;
        position: relative;
    }
    
    .header-content {
        position: relative;
        z-index: 1001;
        overflow: visible !important;
        max-height: none !important;
        clip: unset !important;
        clip-path: none !important;
    }
    
    .main-nav {
        position: static !important;
        overflow: visible !important;
        max-height: none !important;
        clip: unset !important;
        clip-path: none !important;
        z-index: auto;
    }
    
    .nav-menu {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(15px);
        flex-direction: column;
        padding: 80px 2rem 2rem !important;
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
        display: flex !important;
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 10002 !important;
        gap: 0;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        max-height: 100vh !important;
        max-width: 100vw !important;
        width: 100vw !important;
        height: 100vh !important;
        margin: 0 !important;
        list-style: none !important;
        padding-left: 0 !important;
        clip: unset !important;
        clip-path: none !important;
        pointer-events: auto !important;
        isolation: isolate;
    }
    
    .nav-menu.active {
        transform: translateX(0) !important;
        pointer-events: auto !important;
    }
    
    .nav-menu li {
        border-bottom: 1px solid var(--border-light);
        list-style: none !important;
        margin: 0;
        padding: 0;
        width: 100%;
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-menu a {
        display: block;
        padding: 1.2rem 1.5rem;
        font-size: 1.1rem;
        width: 100%;
        transition: all 0.3s ease;
    }
    
    .nav-menu a:hover {
        background-color: rgba(90, 124, 93, 0.05);
        padding-left: 2rem;
    }
    
    .nav-menu a.active {
        background-color: rgba(90, 124, 93, 0.1);
        color: var(--primary-color);
        font-weight: 600;
    }
    
    .nav-menu a.active::after {
        display: none;
    }
    
    body.menu-open {
        overflow: hidden !important;
        position: fixed;
        width: 100%;
        height: 100%;
    }
    
    body.menu-open .site-header {
        overflow: visible !important;
        max-height: none !important;
        clip: unset !important;
        clip-path: none !important;
    }
    
    body.menu-open .site-header .container {
        overflow: visible !important;
        max-height: none !important;
        clip: unset !important;
        clip-path: none !important;
    }
    
    body.menu-open .header-content {
        overflow: visible !important;
        max-height: none !important;
        clip: unset !important;
        clip-path: none !important;
    }
    
    body.menu-open .main-nav {
        overflow: visible !important;
        max-height: none !important;
        clip: unset !important;
        clip-path: none !important;
    }
    
    .plants-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .plant-card {
        max-width: 100%;
    }
    
    .plant-header {
        flex-wrap: wrap;
    }
    
    .difficulty-badge {
        margin-top: 0.5rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-buttons .btn {
        flex: 1;
        min-width: 120px;
    }
    
    table {
        font-size: 0.9rem;
    }
    
    table th,
    table td {
        padding: 0.75rem 0.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    h1::after {
        width: 40px;
    }
    
    .card {
        padding: 1rem;
    }
    
    .form-container {
        padding: 1.5rem;
        margin: 2rem auto;
    }
    
    .image-text-layout {
        gap: 1.5rem;
    }
    
    .lead {
        font-size: 1.1rem;
    }
}
