@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=Nunito+Sans:wght@300;400;600;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Work+Sans:wght@300;400;500;600&display=swap');

:root {
    --color-bg: #f5f0eb;
    --color-bg-alt: #ebe4db;
    --color-bg-card: #ffffff;
    --color-primary: #8b5e3c;
    --color-primary-dark: #6d472e;
    --color-secondary: #c49a6c;
    --color-accent: #d4a76a;
    --color-text: #3a2e26;
    --color-text-light: #6b5b50;
    --color-text-muted: #9a8b7f;
    --color-border: #d9cfc4;
    --color-white: #ffffff;
    --color-overlay: rgba(58, 46, 38, 0.7);
    --font-heading: 'Playfair Display', 'Cormorant Garamond', serif;
    --font-body: 'Nunito Sans', 'Work Sans', sans-serif;
    --font-accent: 'Cormorant Garamond', serif;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 4px 20px rgba(139, 94, 60, 0.08);
    --shadow-lg: 0 8px 40px rgba(139, 94, 60, 0.12);
    --transition: 0.3s ease;
    --max-width: 1200px;
}

*,
*::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;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--color-primary-dark);
}

.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-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;
    pointer-events: none;
}

.loader-spinner {
    width: 48px;
    height: 48px;
    border: 3px 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); }
}

header {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-secondary) 100%);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--color-white);
}

.logo-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.logo-text span {
    display: block;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 300;
    opacity: 0.8;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

nav a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    white-space: nowrap;
}

nav a:hover,
nav a.active {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.15);
}

.burger-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.burger-btn span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--color-white);
    border-radius: 2px;
    transition: all var(--transition);
}

.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 {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: linear-gradient(180deg, var(--color-primary-dark), var(--color-primary));
    padding: 80px 32px 32px;
    transition: right var(--transition);
    z-index: 999;
    overflow-y: auto;
    box-shadow: -4px 0 30px rgba(0, 0, 0, 0.3);
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu a {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition);
}

.mobile-menu a:hover {
    color: var(--color-white);
    padding-left: 12px;
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity var(--transition);
}

.mobile-menu-overlay.visible {
    opacity: 1;
}

.hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--color-primary-dark);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.35;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(58, 46, 38, 0.85) 0%, rgba(139, 94, 60, 0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    padding: 80px 0;
}

.hero-badge {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 20px;
    padding: 6px 16px;
    border: 1px solid rgba(212, 167, 106, 0.4);
    border-radius: 20px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 32px;
    font-weight: 300;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-text);
}

.btn-primary:hover {
    background: var(--color-secondary);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 167, 106, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
}

.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--color-text);
    margin-bottom: 16px;
    line-height: 1.3;
}

.section-header p {
    font-size: 1.05rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    margin: 16px auto 0;
    border-radius: 2px;
}

.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);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.article-card-img {
    position: relative;
    height: 220px;
    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-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 20px;
}

.article-card-body {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-card-body h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 12px;
    line-height: 1.4;
    color: var(--color-text);
}

.article-card-body p {
    font-size: 0.92rem;
    color: var(--color-text-light);
    line-height: 1.7;
    flex: 1;
    margin-bottom: 20px;
}

.article-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--color-border);
}

.article-card-date {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.article-card-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-card-link:hover {
    gap: 10px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-item {
    background: var(--color-bg-card);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    border: 1px solid transparent;
}

.feature-item:hover {
    border-color: var(--color-secondary);
    transform: translateY(-4px);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--color-bg-alt), var(--color-bg));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.feature-item h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--color-text);
}

.feature-item p {
    font-size: 0.88rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

.highlight-section {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.highlight-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.highlight-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.highlight-text h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--color-white);
}

.highlight-text p {
    font-size: 1rem;
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 16px;
    font-weight: 300;
}

.highlight-img {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
}

.highlight-img img {
    width: 100%;
    height: 360px;
    object-fit: cover;
}

.article-content {
    max-width: 820px;
    margin: 0 auto;
    padding: 60px 24px 80px;
}

.article-content h1 {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    line-height: 1.3;
    margin-bottom: 16px;
    color: var(--color-text);
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--color-border);
    font-size: 0.88rem;
    color: var(--color-text-muted);
}

.article-content h2 {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    margin: 48px 0 20px;
    color: var(--color-text);
    line-height: 1.3;
}

.article-content h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin: 36px 0 16px;
    color: var(--color-primary-dark);
}

.article-content p {
    margin-bottom: 20px;
    font-size: 1.02rem;
    line-height: 1.8;
    color: var(--color-text);
}

.article-content ul,
.article-content ol {
    margin: 16px 0 24px 24px;
    line-height: 1.8;
}

.article-content li {
    margin-bottom: 8px;
    color: var(--color-text);
}

.article-img {
    margin: 36px 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.article-img img {
    width: 100%;
    height: auto;
    display: block;
}

.article-img figcaption {
    padding: 12px 16px;
    font-size: 0.82rem;
    color: var(--color-text-muted);
    background: var(--color-bg-alt);
    font-style: italic;
}

.article-nav {
    display: flex;
    gap: 16px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 2px solid var(--color-border);
    flex-wrap: wrap;
}

.article-nav a {
    flex: 1;
    min-width: 200px;
    padding: 20px;
    background: var(--color-bg-card);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    transition: all var(--transition);
}

.article-nav a:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.article-nav-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-muted);
    margin-bottom: 6px;
}

.article-nav-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--color-text);
}

.page-header {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 60%, var(--color-secondary) 100%);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    color: var(--color-white);
    margin-bottom: 12px;
}

.page-header p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

.page-content {
    max-width: 820px;
    margin: 0 auto;
    padding: 60px 24px 80px;
}

.page-content h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin: 40px 0 16px;
    color: var(--color-text);
}

.page-content p {
    margin-bottom: 18px;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text);
}

.page-content ul {
    margin: 12px 0 24px 24px;
    line-height: 1.8;
}

.page-content li {
    margin-bottom: 6px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin: 40px 0;
}

.contact-card {
    background: var(--color-bg-card);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.contact-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--color-primary-dark);
}

.contact-card p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: 0;
}

.contact-card a {
    color: var(--color-primary);
    font-weight: 600;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin: 40px 0;
}

.about-img {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

footer {
    background: var(--color-text);
    color: rgba(255, 255, 255, 0.75);
    margin-top: auto;
}

.footer-main {
    padding: 56px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
}

.footer-about h3,
.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    color: var(--color-white);
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.footer-about p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: all var(--transition);
}

.footer-links a:hover {
    color: var(--color-accent);
    padding-left: 6px;
}

.footer-contact p {
    font-size: 0.9rem;
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-contact a {
    color: var(--color-accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 0.82rem;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--color-text);
    color: rgba(255, 255, 255, 0.9);
    padding: 20px 0;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.cookie-text {
    font-size: 0.88rem;
    line-height: 1.6;
    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;
    font-size: 0.85rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    font-family: var(--font-body);
}

.cookie-btn-accept {
    background: var(--color-accent);
    color: var(--color-text);
}

.cookie-btn-accept:hover {
    background: var(--color-secondary);
    color: var(--color-white);
}

.cookie-btn-reject {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn-reject:hover {
    border-color: rgba(255, 255, 255, 0.6);
    color: var(--color-white);
}

.breadcrumb {
    padding: 16px 0;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.breadcrumb a {
    color: var(--color-text-muted);
}

.breadcrumb a:hover {
    color: var(--color-primary);
}

.breadcrumb span {
    margin: 0 8px;
    opacity: 0.5;
}

@media (max-width: 1024px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    nav {
        display: none;
    }

    .burger-btn {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    .hero {
        min-height: 420px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-content {
        padding: 50px 0;
    }

    .section {
        padding: 50px 0;
    }

    .section-header h2 {
        font-size: 1.7rem;
    }

    .articles-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .highlight-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .highlight-img {
        order: -1;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .cookie-inner {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }

    .article-content h1 {
        font-size: 1.8rem;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.6rem;
    }

    .section-header h2 {
        font-size: 1.4rem;
    }

    .article-content h1 {
        font-size: 1.5rem;
    }

    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}
