@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Source+Sans+3:wght@300;400;500;600&family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&family=Nunito+Sans:wght@300;400;600;700&display=swap');

:root {
    --color-sage: #8B9E7C;
    --color-sage-light: #A7B89A;
    --color-sage-dark: #6B7E5C;
    --color-cream: #FAF7F2;
    --color-cream-dark: #F0EBE1;
    --color-terracotta: #C4724E;
    --color-terracotta-light: #D4927E;
    --color-brown: #5C4A3A;
    --color-brown-light: #7A6655;
    --color-text: #3A3228;
    --color-text-light: #6B6156;
    --color-white: #FFFFFF;
    --color-border: #E2DDD5;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Source Sans 3', 'Helvetica Neue', sans-serif;
    --font-accent: 'Cormorant Garamond', Georgia, serif;
    --font-ui: 'Nunito Sans', Arial, sans-serif;
    --max-width: 1200px;
    --header-height: 72px;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-terracotta);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-terracotta-light);
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-cream);
    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;
    pointer-events: none;
}

.loader-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid var(--color-border);
    border-top-color: var(--color-sage);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(250, 247, 242, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--color-text);
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    overflow: hidden;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.logo-text span {
    color: var(--color-sage);
}

nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

nav a {
    font-family: var(--font-ui);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-light);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-sage);
    transition: width 0.3s ease;
}

nav a:hover {
    color: var(--color-text);
}

nav a:hover::after {
    width: 100%;
}

nav a.active {
    color: var(--color-sage-dark);
}

nav a.active::after {
    width: 100%;
}

.burger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
    z-index: 1100;
}

.burger-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.burger-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger-btn.active span:nth-child(2) {
    opacity: 0;
}

.burger-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--color-cream);
    z-index: 1050;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 100px 32px 40px;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu a {
    display: block;
    font-family: var(--font-ui);
    font-size: 1.05rem;
    color: var(--color-text);
    padding: 14px 0;
    border-bottom: 1px solid var(--color-border);
    text-decoration: none;
}

.mobile-menu a:hover {
    color: var(--color-sage-dark);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

main {
    padding-top: var(--header-height);
}

.hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-sage) 0%, var(--color-sage-dark) 100%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 80px 24px;
    color: var(--color-white);
}

.hero-label {
    font-family: var(--font-ui);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 16px;
    opacity: 0.85;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    max-width: 600px;
}

.hero p {
    font-family: var(--font-body);
    font-size: 1.15rem;
    line-height: 1.8;
    max-width: 520px;
    opacity: 0.9;
    margin-bottom: 28px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 20px;
}

.hero-stat {
    text-align: left;
}

.hero-stat-value {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

.hero-stat-label {
    font-family: var(--font-ui);
    font-size: 0.8rem;
    opacity: 0.75;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--color-cream-dark);
}

.section-header {
    margin-bottom: 48px;
}

.section-label {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-sage);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.3;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.article-card {
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--color-border);
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.article-card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.article-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-card-image img {
    transform: scale(1.05);
}

.article-card-body {
    padding: 24px;
}

.article-card-tag {
    font-family: var(--font-ui);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-sage);
    margin-bottom: 10px;
    display: inline-block;
}

.article-card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 12px;
    line-height: 1.35;
}

.article-card-excerpt {
    font-size: 0.92rem;
    color: var(--color-text-light);
    line-height: 1.65;
    margin-bottom: 16px;
}

.article-card-link {
    font-family: var(--font-ui);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-terracotta);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.article-card-link:hover {
    gap: 10px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.info-card {
    background: var(--color-white);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid var(--color-border);
}

.info-card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-sage-light), var(--color-sage));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--color-white);
    font-size: 1.2rem;
}

.info-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--color-text);
}

.info-card p {
    font-size: 0.92rem;
    color: var(--color-text-light);
    line-height: 1.65;
}

.featured-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.featured-image {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-text h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.3;
}

.featured-text p {
    font-size: 1rem;
    color: var(--color-text-light);
    line-height: 1.75;
    margin-bottom: 16px;
}

.featured-text .read-more {
    font-family: var(--font-ui);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-terracotta);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.article-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 24px 80px;
}

.article-page .article-meta {
    font-family: var(--font-ui);
    font-size: 0.8rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.article-page h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 24px;
    color: var(--color-text);
}

.article-page .article-intro {
    font-family: var(--font-accent);
    font-size: 1.25rem;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 32px;
    font-style: italic;
}

.article-page .article-hero-img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 40px;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.article-page h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 600;
    margin: 40px 0 16px;
    color: var(--color-text);
}

.article-page h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 28px 0 12px;
    color: var(--color-text);
}

.article-page p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--color-text);
}

.article-page ul,
.article-page ol {
    margin: 16px 0 24px 24px;
    line-height: 1.8;
}

.article-page li {
    margin-bottom: 8px;
    font-size: 1.02rem;
}

.article-page .recipe-box {
    background: var(--color-cream-dark);
    border-left: 4px solid var(--color-sage);
    border-radius: 8px;
    padding: 28px 32px;
    margin: 32px 0;
}

.article-page .recipe-box h3 {
    margin-top: 0;
    color: var(--color-sage-dark);
}

.article-page .tip-box {
    background: linear-gradient(135deg, rgba(196, 114, 78, 0.08), rgba(196, 114, 78, 0.03));
    border-radius: 12px;
    padding: 24px 28px;
    margin: 24px 0;
    border: 1px solid rgba(196, 114, 78, 0.15);
}

.article-page .tip-box strong {
    color: var(--color-terracotta);
}

.article-page .article-image {
    width: 100%;
    border-radius: 10px;
    margin: 28px 0;
    aspect-ratio: 16/10;
    object-fit: cover;
}

.article-page .article-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
}

.article-page .article-nav a {
    font-family: var(--font-ui);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-terracotta);
}

.about-page,
.contact-page,
.policy-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 24px 80px;
}

.about-page h1,
.contact-page h1,
.policy-page h1 {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.about-page h2,
.policy-page h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 36px 0 16px;
}

.about-page p,
.contact-page p,
.policy-page p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 18px;
    color: var(--color-text);
}

.about-page ul,
.policy-page ul {
    margin: 12px 0 24px 24px;
    line-height: 1.8;
}

.about-page li,
.policy-page li {
    margin-bottom: 6px;
    font-size: 1.02rem;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin: 32px 0;
}

.contact-info-item {
    background: var(--color-white);
    padding: 28px;
    border-radius: 12px;
    border: 1px solid var(--color-border);
}

.contact-info-item h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-info-item p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: 0;
}

.contact-info-item a {
    color: var(--color-terracotta);
    font-weight: 500;
}

footer {
    background: var(--color-brown);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .logo-text {
    color: var(--color-white);
    font-size: 1.4rem;
    margin-bottom: 16px;
    display: block;
}

.footer-brand .logo-text span {
    color: var(--color-sage-light);
}

.footer-brand p {
    font-size: 0.92rem;
    line-height: 1.7;
    opacity: 0.75;
    max-width: 320px;
}

.footer-col h4 {
    font-family: var(--font-ui);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-white);
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.65);
    padding: 6px 0;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--color-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    opacity: 0.6;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--color-white);
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    z-index: 9000;
    padding: 20px 0;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-banner-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cookie-banner-text {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.6;
    flex: 1;
}

.cookie-banner-text a {
    color: var(--color-terracotta);
    text-decoration: underline;
}

.cookie-banner-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.btn-cookie {
    font-family: var(--font-ui);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cookie-accept {
    background: var(--color-sage);
    color: var(--color-white);
}

.btn-cookie-accept:hover {
    background: var(--color-sage-dark);
}

.btn-cookie-reject {
    background: transparent;
    color: var(--color-text-light);
    border: 1px solid var(--color-border);
}

.btn-cookie-reject:hover {
    background: var(--color-cream-dark);
}

.external-link-note {
    font-size: 0.82rem;
    color: var(--color-text-light);
    font-style: italic;
}

@media (max-width: 1024px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 64px;
    }

    nav {
        display: none;
    }

    .burger-btn {
        display: flex;
    }

    .hero {
        min-height: 420px;
    }

    .hero h1 {
        font-size: 2.1rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 24px;
    }

    .section {
        padding: 56px 0;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .articles-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .featured-section {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .article-page h1 {
        font-size: 1.9rem;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .cookie-banner-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.7rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .article-page {
        padding: 40px 16px 60px;
    }

    .about-page,
    .contact-page,
    .policy-page {
        padding: 40px 16px 60px;
    }
}
