@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Raleway:wght@300;400;500;600;700&family=Crimson+Pro:ital,wght@0,400;0,600;1,400&display=swap');

:root {
    --color-bg: #f5f0eb;
    --color-bg-warm: #ebe4da;
    --color-bg-card: #ffffff;
    --color-primary: #2e7d5b;
    --color-primary-light: #3da87a;
    --color-secondary: #5c3d2e;
    --color-secondary-light: #7a5240;
    --color-accent: #e8a838;
    --color-text: #2b2b2b;
    --color-text-light: #5a5550;
    --color-text-muted: #8c8580;
    --color-border: #ddd5cb;
    --color-overlay: rgba(43, 43, 43, 0.88);
    --font-heading: 'Playfair Display', 'Crimson Pro', serif;
    --font-body: 'Crimson Pro', 'Raleway', sans-serif;
    --font-accent: 'Crimson Pro', serif;
    --font-nav: 'Nunito', 'Raleway', sans-serif;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --radius: 14px;
    --transition: 0.3s ease;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--color-primary-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.3;
    color: var(--color-text);
}

h1 { font-size: 2.8rem; font-weight: 700; }
h2 { font-size: 2rem; font-weight: 700; }
h3 { font-size: 1.5rem; font-weight: 600; }
h4 { font-size: 1.2rem; font-weight: 600; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--color-border);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(135deg, var(--color-primary) 0%, #1b5e40 100%);
    box-shadow: var(--shadow-md);
    transition: background var(--transition);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    height: 72px;
    max-width: 1200px;
    margin: 0 auto;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.site-logo img {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    object-fit: cover;
}

.site-logo-text {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.02em;
}

.site-logo-text span {
    color: var(--color-accent);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.desktop-nav a {
    font-family: var(--font-nav);
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: color var(--transition);
    position: relative;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width var(--transition);
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: #fff;
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
    width: 100%;
}

.burger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
    z-index: 1100;
}

.burger-btn span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: #fff;
    border-radius: 2px;
    transition: all var(--transition);
}

.burger-btn.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.burger-btn.active span:nth-child(2) {
    opacity: 0;
}

.burger-btn.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: linear-gradient(180deg, #1b5e40 0%, var(--color-primary) 100%);
    z-index: 1050;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 90px 32px 40px;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
}

.mobile-menu-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu a {
    display: block;
    font-family: var(--font-nav);
    font-size: 1.05rem;
    color: rgba(255,255,255,0.9);
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-weight: 500;
    letter-spacing: 0.04em;
}

.mobile-menu a:hover {
    color: var(--color-accent);
}

.mobile-menu-title {
    font-family: var(--font-accent);
    font-size: 0.85rem;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-top: 24px;
    margin-bottom: 8px;
}

.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 72px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(43,43,43,0.55) 0%, rgba(43,43,43,0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 24px;
    max-width: 820px;
}

.hero-tag {
    font-family: var(--font-nav);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-accent);
    margin-bottom: 20px;
}

.hero h1 {
    color: #fff;
    font-size: 3.4rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-desc {
    font-family: var(--font-accent);
    font-size: 1.35rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 36px;
    font-style: italic;
}

.hero-btn {
    display: inline-block;
    padding: 14px 40px;
    background: var(--color-primary);
    color: #fff;
    font-family: var(--font-nav);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 50px;
    transition: all var(--transition);
    border: 2px solid transparent;
}

.hero-btn:hover {
    background: transparent;
    border-color: #fff;
    color: #fff;
}

.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--color-bg-warm);
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-header .tag {
    font-family: var(--font-nav);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-primary);
    margin-bottom: 12px;
    display: block;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    font-family: var(--font-accent);
    font-size: 1.15rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
    font-style: italic;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.article-card {
    background: var(--color-bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}

.article-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.article-card-img {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.article-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-card-img img {
    transform: scale(1.05);
}

.article-card-body {
    padding: 28px;
}

.article-card-tag {
    font-family: var(--font-nav);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-primary);
    margin-bottom: 10px;
    display: inline-block;
}

.article-card-body h3 {
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.article-card-body h3 a {
    color: var(--color-text);
    transition: color var(--transition);
}

.article-card-body h3 a:hover {
    color: var(--color-primary);
}

.article-card-body p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.article-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    font-family: var(--font-nav);
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-nav);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.read-more::after {
    content: '\2192';
    transition: transform var(--transition);
}

.read-more:hover::after {
    transform: translateX(4px);
}

.featured-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.featured-img {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
}

.featured-img img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.featured-text h2 {
    margin-bottom: 16px;
}

.featured-text p {
    color: var(--color-text-light);
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.featured-text .read-more {
    margin-top: 8px;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.info-card {
    background: var(--color-bg-card);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition);
    border-top: 4px solid var(--color-primary);
}

.info-card:hover {
    transform: translateY(-4px);
}

.info-card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #fff;
    font-size: 1.4rem;
}

.info-card h4 {
    margin-bottom: 10px;
}

.info-card p {
    color: var(--color-text-light);
    font-size: 0.92rem;
}

.site-footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2b2b2b 100%);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-about .site-logo-text {
    font-size: 1.2rem;
    margin-bottom: 16px;
    display: block;
}

.footer-about p {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.footer-col h4 {
    color: #fff;
    font-family: var(--font-nav);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    padding: 6px 0;
    transition: color var(--transition);
}

.footer-col a:hover {
    color: var(--color-accent);
}

.footer-contact-item {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    align-items: flex-start;
}

.footer-contact-item strong {
    color: rgba(255,255,255,0.85);
    min-width: 50px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
}

.footer-bottom a {
    color: rgba(255,255,255,0.5);
}

.footer-bottom a:hover {
    color: var(--color-accent);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--color-overlay);
    backdrop-filter: blur(12px);
    z-index: 9999;
    padding: 20px 0;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.cookie-text {
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    flex: 1;
}

.cookie-text a {
    color: var(--color-accent);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 50px;
    font-family: var(--font-nav);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}

.cookie-btn-accept {
    background: var(--color-accent);
    color: var(--color-text);
}

.cookie-btn-accept:hover {
    background: #f0b94a;
}

.cookie-btn-reject {
    background: transparent;
    color: rgba(255,255,255,0.7);
    border: 1px solid rgba(255,255,255,0.3);
}

.cookie-btn-reject:hover {
    border-color: rgba(255,255,255,0.6);
    color: #fff;
}

.page-hero {
    margin-top: 72px;
    padding: 80px 0 60px;
    background: linear-gradient(135deg, var(--color-primary) 0%, #1b5e40 100%);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(232,168,56,0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-hero h1 {
    color: #fff;
    margin-bottom: 16px;
}

.page-hero p {
    font-family: var(--font-accent);
    font-size: 1.15rem;
    color: rgba(255,255,255,0.8);
    font-style: italic;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    justify-content: center;
    margin-bottom: 20px;
}

.breadcrumb a {
    color: rgba(255,255,255,0.7);
}

.breadcrumb a:hover {
    color: var(--color-accent);
}

.breadcrumb span {
    color: rgba(255,255,255,0.4);
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 24px;
}

.article-content .article-meta {
    font-family: var(--font-nav);
    font-size: 0.82rem;
    color: var(--color-text-muted);
    margin-bottom: 32px;
    text-align: center;
}

.article-content .article-featured-img {
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: var(--shadow-md);
}

.article-content .article-featured-img img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.article-content h2 {
    margin-top: 40px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--color-border);
}

.article-content h3 {
    margin-top: 32px;
    margin-bottom: 12px;
}

.article-content p {
    margin-bottom: 18px;
    font-size: 1.05rem;
}

.article-content ul,
.article-content ol {
    margin-bottom: 18px;
    padding-left: 28px;
}

.article-content li {
    margin-bottom: 8px;
    font-size: 1.02rem;
}

.article-content blockquote {
    border-left: 4px solid var(--color-accent);
    padding: 16px 24px;
    margin: 24px 0;
    background: var(--color-bg-warm);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-family: var(--font-accent);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--color-text-light);
}

.article-img-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 32px 0;
}

.article-img-grid img {
    border-radius: var(--radius);
    height: 260px;
    object-fit: cover;
    width: 100%;
    box-shadow: var(--shadow-sm);
}

.article-sidebar-link {
    background: var(--color-bg-warm);
    border-radius: var(--radius);
    padding: 24px;
    margin: 32px 0;
}

.article-sidebar-link h4 {
    margin-bottom: 12px;
}

.article-sidebar-link ul {
    list-style: none;
    padding: 0;
}

.article-sidebar-link li {
    padding: 8px 0;
    border-bottom: 1px solid var(--color-border);
}

.article-sidebar-link li:last-child {
    border-bottom: none;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-img {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.about-img img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-text h2 {
    margin-bottom: 16px;
}

.about-text p {
    margin-bottom: 14px;
    color: var(--color-text-light);
    font-size: 1.02rem;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-info h2 {
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--color-text-light);
    margin-bottom: 24px;
}

.contact-detail {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.contact-detail-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-detail-text h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.contact-detail-text p {
    font-size: 0.92rem;
    color: var(--color-text-light);
    margin-bottom: 0;
}

.contact-map {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 100%;
    min-height: 400px;
}

.contact-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 24px;
}

.policy-content h2 {
    margin-top: 36px;
    margin-bottom: 14px;
}

.policy-content p {
    margin-bottom: 14px;
    color: var(--color-text-light);
    font-size: 1rem;
}

.policy-content ul {
    margin-bottom: 14px;
    padding-left: 28px;
}

.policy-content li {
    margin-bottom: 6px;
    color: var(--color-text-light);
}

.update-date {
    font-family: var(--font-nav);
    font-size: 0.82rem;
    color: var(--color-text-muted);
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
}

@media (max-width: 1024px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .info-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    html { font-size: 15px; }
    .desktop-nav { display: none; }
    .burger-btn { display: flex; }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    .hero { min-height: 70vh; }
    .hero h1 { font-size: 2.4rem; }
    .hero-desc { font-size: 1.1rem; }
    .section { padding: 56px 0; }
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .featured-section {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .featured-img img { height: 300px; }
    .info-cards {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    .cookie-inner {
        flex-direction: column;
        text-align: center;
    }
    .about-grid,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .article-content .article-featured-img img {
        height: 280px;
    }
    .article-img-grid {
        grid-template-columns: 1fr;
    }
    .page-hero {
        padding: 60px 0 40px;
    }
    .mobile-menu {
        width: 280px;
    }
}

@media (max-width: 480px) {
    .header-inner { padding: 0 16px; height: 64px; }
    .hero { min-height: 60vh; margin-top: 64px; }
    .hero h1 { font-size: 1.9rem; }
    .page-hero { margin-top: 64px; padding: 48px 0 32px; }
    .container { padding: 0 16px; }
    .cookie-buttons { flex-direction: column; width: 100%; }
    .cookie-btn { width: 100%; text-align: center; }
}
