/* style.css - Calm Home (starayakuhnya.ru) */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #fdf8f0;
    color: #2c2c2c;
    line-height: 1.7;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* Header */
.header {
    background: rgba(255, 248, 235, 0.98);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.02);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    gap: 40px;
    flex-wrap: wrap;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    font-family: 'Playfair Display', serif;
    background: linear-gradient(135deg, #b8651e, #e8a15c);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
}

.nav {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.nav a {
    text-decoration: none;
    font-weight: 500;
    color: #4a3b2c;
    transition: all 0.2s ease;
    border-bottom: 2px solid transparent;
    padding-bottom: 4px;
}

.nav a:hover {
    color: #b8651e;
    border-bottom-color: #b8651e;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #f5e6d3 0%, #e8d5bc 100%);
    border-radius: 32px;
    margin: 40px 0 48px;
    padding: 64px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "🍳";
    position: absolute;
    font-size: 200px;
    opacity: 0.06;
    bottom: -30px;
    right: -30px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 52px;
    font-weight: 600;
    letter-spacing: -1px;
    color: #5a3a20;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    color: #7a5a3a;
    max-width: 700px;
    margin: 0 auto;
}

.hero-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.4);
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 14px;
    margin-bottom: 20px;
    color: #8b5a2b;
    font-weight: 500;
}

/* Section */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 600;
    margin: 48px 0 32px;
    letter-spacing: -0.5px;
    border-left: 5px solid #b8651e;
    padding-left: 20px;
}

/* Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
    text-decoration: none;
    color: inherit;
    display: block;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.12);
}

.card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card-content {
    padding: 24px;
}

.card-category {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #b8651e;
    font-weight: 600;
    margin-bottom: 10px;
}

.card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
}

.card p {
    color: #6b6b6b;
    font-size: 15px;
}

/* Article layout */
.article-layout {
    display: flex;
    gap: 48px;
    margin: 48px 0 60px;
    flex-wrap: wrap;
}

.main-content {
    flex: 2.5;
    min-width: 250px;
}

.sidebar {
    flex: 1;
    min-width: 260px;
}

/* Sidebar */
.sidebar-card {
    background: white;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid #efe6dc;
    margin-bottom: 32px;
}

.sidebar h3 {
    font-size: 20px;
    margin-bottom: 20px;
    border-left: 4px solid #b8651e;
    padding-left: 16px;
    font-family: 'Playfair Display', serif;
}

.sidebar-list {
    list-style: none;
}

.sidebar-list li {
    margin-bottom: 14px;
}

.sidebar-list a {
    text-decoration: none;
    color: #4a3b2c;
    font-weight: 500;
    transition: 0.2s;
    display: block;
}

.sidebar-list a:hover {
    color: #b8651e;
    transform: translateX(4px);
}

/* Article content */
.article-img {
    width: 100%;
    border-radius: 24px;
    margin: 28px 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 44px;
    font-weight: 600;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
    line-height: 1.3;
    color: #5a3a20;
}

h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    margin: 32px 0 16px;
    font-weight: 600;
    color: #5a3a20;
}

h3 {
    font-size: 22px;
    margin: 24px 0 12px;
    font-weight: 600;
    color: #5a3a20;
}

p {
    margin-bottom: 20px;
    color: #4a4a4a;
}

ul, ol {
    margin: 20px 0 20px 30px;
}

li {
    margin-bottom: 10px;
}

.tip-box {
    background: #fff5eb;
    border-left: 4px solid #b8651e;
    padding: 20px;
    border-radius: 16px;
    margin: 25px 0;
}

/* Footer */
.footer {
    background: #2c241a;
    color: #c8bcad;
    margin-top: 60px;
    padding: 50px 0 30px;
    border-radius: 32px 32px 0 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-col h4 {
    color: #e8d9c8;
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
    font-size: 18px;
}

.footer-col a {
    color: #c8bcad;
    text-decoration: none;
    display: block;
    margin: 8px 0;
    transition: 0.2s;
}

.footer-col a:hover {
    color: #e8a15c;
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 900px) {
    .article-layout {
        flex-direction: column;
    }
    h1 {
        font-size: 32px;
    }
    .container {
        padding: 0 20px;
    }
    .hero {
        padding: 40px 24px;
    }
    .hero h1 {
        font-size: 36px;
    }
    .section-title {
        font-size: 28px;
    }
    .header-inner {
        flex-direction: column;
        gap: 16px;
    }
}

/* Ad banners */
.ad-banner {
    background: #f5efe8;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    margin: 20px 0;
    border: 1px solid #e6dbcf;
    color: #6b4c2a;
    font-weight: 500;
}