:root {
    --primary-color: #2d5016;
    --secondary-color: #4a7c2a;
    --accent-color: #6b9f3d;
    --dark-bg: #1a1a1a;
    --light-bg: #f5f5f5;
    --text-dark: #2c2c2c;
    --text-light: #666;
    --white: #ffffff;
    --gradient-1: linear-gradient(135deg, #2d5016 0%, #4a7c2a 50%, #6b9f3d 100%);
    --gradient-2: linear-gradient(135deg, #4a7c2a 0%, #6b9f3d 50%, #8fb85a 100%);
    --gradient-3: linear-gradient(135deg, #6b9f3d 0%, #8fb85a 50%, #a8c97a 100%);
    --shadow-sm: 0 2px 8px rgba(45, 80, 22, 0.1);
    --shadow-md: 0 4px 16px rgba(45, 80, 22, 0.15);
    --shadow-lg: 0 8px 32px rgba(45, 80, 22, 0.2);
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.main-header {
    position: relative;
    padding: 20px 0;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
}

.header-container {
    position: relative;
}

.header-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0.05;
    z-index: -1;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 4px;
}

.logo-accent {
    color: var(--accent-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

.hero-section {
    position: relative;
    padding: 80px 20px;
    background: var(--gradient-1);
    color: var(--white);
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
    max-width: 700px;
}

.hero-meta {
    display: flex;
    gap: 30px;
    font-size: 14px;
    opacity: 0.9;
}

.author-badge {
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.hero-visual {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    z-index: 1;
}

.gradient-orb {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(-50%) translateX(0); }
    50% { transform: translateY(-60%) translateX(20px); }
}

.intro-section {
    padding: 80px 20px;
    background: var(--light-bg);
}

.intro-article {
    max-width: 800px;
    margin: 0 auto;
}

.intro-article h2 {
    font-family: var(--font-heading);
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.intro-article p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.articles-grid {
    padding: 80px 20px;
    background: var(--white);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 42px;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 60px;
}

.articles-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.article-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card-visual {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.card-gradient {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.card-gradient-1 {
    background: var(--gradient-1);
}

.card-gradient-2 {
    background: var(--gradient-2);
}

.card-gradient-3 {
    background: var(--gradient-3);
}

.card-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-content h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.card-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    flex-grow: 1;
}

.card-features {
    list-style: none;
    margin-bottom: 25px;
}

.card-features li {
    padding: 8px 0;
    color: var(--text-light);
    position: relative;
    padding-left: 20px;
}

.card-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.btn-primary {
    display: inline-block;
    padding: 14px 32px;
    background: var(--gradient-1);
    color: var(--white);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.tips-section {
    padding: 80px 20px;
    background: var(--gradient-1);
    color: var(--white);
}

.tips-wrapper h2 {
    font-family: var(--font-heading);
    font-size: 42px;
    text-align: center;
    margin-bottom: 60px;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.tip-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.tip-item h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.tip-item p {
    opacity: 0.95;
    line-height: 1.8;
}

.article-page {
    padding-top: 0;
}

.article-header {
    position: relative;
    padding: 100px 20px 60px;
    background: var(--gradient-1);
    color: var(--white);
    overflow: hidden;
}

.article-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.article-header .container {
    position: relative;
    z-index: 2;
}

.breadcrumb {
    margin-bottom: 20px;
    font-size: 14px;
    opacity: 0.9;
}

.breadcrumb a {
    color: var(--white);
    text-decoration: none;
}

.breadcrumb span {
    margin: 0 8px;
}

.article-header h1 {
    font-family: var(--font-heading);
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.article-meta {
    display: flex;
    gap: 30px;
    font-size: 14px;
    opacity: 0.9;
}

.article-content {
    padding: 60px 20px;
    background: var(--white);
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.article-body {
    max-width: 700px;
}

.article-body h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    color: var(--primary-color);
    margin: 40px 0 20px;
}

.article-body h3 {
    font-size: 24px;
    color: var(--secondary-color);
    margin: 30px 0 15px;
}

.article-body p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.article-body ul,
.article-body ol {
    margin: 20px 0;
    padding-left: 30px;
    color: var(--text-light);
}

.article-body li {
    margin-bottom: 10px;
    line-height: 1.8;
}

.article-body a {
    color: var(--accent-color);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.article-body a:hover {
    color: var(--primary-color);
}

.article-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid var(--light-bg);
}

.article-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-widget {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.sidebar-widget h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.sidebar-widget ul {
    list-style: none;
}

.sidebar-widget li {
    padding: 10px 0;
    color: var(--text-light);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.sidebar-widget li:last-child {
    border-bottom: none;
}

.sidebar-widget a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.sidebar-widget a:hover {
    color: var(--primary-color);
}

.about-page,
.contact-page {
    padding-top: 0;
}

.about-header,
.contact-header {
    position: relative;
    padding: 100px 20px 60px;
    background: var(--gradient-1);
    color: var(--white);
    overflow: hidden;
}

.about-header-bg,
.contact-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.about-header h1,
.contact-header h1 {
    font-family: var(--font-heading);
    font-size: 48px;
    margin-bottom: 15px;
}

.about-subtitle,
.contact-subtitle {
    font-size: 20px;
    opacity: 0.9;
}

.about-content,
.contact-content {
    padding: 60px 20px;
    background: var(--white);
}

.about-wrapper,
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-main,
.contact-form-section {
    max-width: 700px;
}

.about-main h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    color: var(--primary-color);
    margin: 40px 0 20px;
}

.about-main p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-main ul {
    margin: 20px 0;
    padding-left: 30px;
    color: var(--text-light);
}

.about-main li {
    margin-bottom: 10px;
}

.about-main a {
    color: var(--accent-color);
    text-decoration: underline;
}

.about-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.contact-form {
    background: var(--light-bg);
    padding: 40px;
    border-radius: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 500;
}

.required {
    color: var(--accent-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(45, 80, 22, 0.2);
    border-radius: 8px;
    font-family: var(--font-primary);
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-error {
    background: #fee;
    color: #c33;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #fcc;
}

.form-success {
    background: var(--light-bg);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
}

.form-success h2 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-info {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.info-card {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.info-card h2 {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.info-card h3 {
    font-size: 18px;
    color: var(--secondary-color);
    margin: 25px 0 10px;
}

.info-card p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.info-card a {
    color: var(--accent-color);
    text-decoration: none;
}

.info-card ul {
    list-style: none;
    margin-top: 15px;
}

.info-card li {
    padding: 8px 0;
    color: var(--text-light);
    position: relative;
    padding-left: 20px;
}

.info-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.main-footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 60px 20px 30px;
    margin-top: 80px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom p {
    margin-bottom: 10px;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    padding: 25px;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.cookie-text h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.cookie-text p {
    color: var(--text-light);
    font-size: 14px;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-cookie {
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.btn-accept {
    background: var(--gradient-1);
    color: var(--white);
}

.btn-reject {
    background: var(--light-bg);
    color: var(--text-dark);
}

.btn-settings {
    background: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.btn-cookie:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.cookie-settings-panel {
    max-width: 1200px;
    margin: 20px auto 0;
    padding: 20px;
    background: var(--light-bg);
    border-radius: 10px;
    display: none;
}

.cookie-settings-panel.show {
    display: block;
}

.cookie-settings-panel h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.cookie-option {
    margin-bottom: 15px;
}

.cookie-option label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
    cursor: pointer;
}

.cookie-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.btn-save {
    margin-top: 15px;
    background: var(--gradient-1);
    color: var(--white);
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-md);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .content-wrapper,
    .about-wrapper,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .article-sidebar,
    .about-sidebar,
    .contact-info {
        position: static;
    }

    .articles-wrapper {
        grid-template-columns: 1fr;
    }

    .tips-grid {
        grid-template-columns: 1fr;
    }

    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-buttons {
        width: 100%;
    }

    .btn-cookie {
        flex: 1;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 32px;
    }

    .article-header h1,
    .about-header h1,
    .contact-header h1 {
        font-size: 32px;
    }
}

