/* 
* Kopchyonaya Chechevitsa - Style CSS
* Main stylesheet for the website
*/

/* ======= VARIABLES ======= */
:root {
    --primary-color: #4CAF50;
    --secondary-color: #FF9800;
    --accent-color: #2196F3;
    --dark-color: #333333;
    --light-color: #f8f9fa;
    --text-color: #444444;
    --gray-light: #e9e9e9;
    --gray-medium: #cccccc;
    --success-color: #28a745;
    --error-color: #dc3545;
    --border-radius: 4px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    
    --container-width: 1200px;
    --header-height: 80px;
    --footer-bg: #f5f5f5;
}

/* ======= RESET ======= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%; /* 10px */
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 2rem;
    color: var(--dark-color);
}

p {
    margin-bottom: 2rem;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* ======= CONTAINER ======= */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* ======= BUTTONS ======= */
.btn {
    display: inline-block;
    padding: 1.2rem 2.4rem;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 1.4rem;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #3d9140;
    color: white;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: #e88c00;
    color: white;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

/* ======= NAVBAR ======= */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: var(--header-height);
    display: flex;
    align-items: center;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    flex: 0 0 auto;
}

.logo img {
    height: 5rem;
}

nav ul {
    display: flex;
    gap: 3rem;
}

nav ul li a {
    color: var(--dark-color);
    font-weight: 600;
    position: relative;
}

nav ul li a:hover {
    color: var(--primary-color);
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav ul li a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--dark-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* ======= BANNER SECTION ======= */
.banner {
    padding: 6rem 0;
    background-color: var(--light-color);
}

.banner .container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.banner-content {
    flex: 1;
}

.banner-content h1 {
    font-size: 4.8rem;
    margin-bottom: 2rem;
    color: var(--dark-color);
}

.banner-content p {
    font-size: 1.8rem;
    margin-bottom: 3rem;
}

.banner-image {
    flex: 1;
}

/* ======= SECTION HEADERS ======= */
.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 3.6rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    font-size: 1.8rem;
    max-width: 700px;
    margin: 0 auto;
}

/* ======= ABOUT SECTION ======= */
.about {
    padding: 8rem 0;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-image, .about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 2.8rem;
    margin-bottom: 2rem;
}

/* ======= SERVICES SECTION ======= */
.services {
    padding: 8rem 0;
    background-color: var(--light-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.service-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 3rem;
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card .icon {
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.service-card h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

/* ======= RECIPES SECTION ======= */
.recipes {
    padding: 8rem 0;
}

.recipes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}

.recipe-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.recipe-card:hover {
    transform: translateY(-10px);
}

.recipe-image {
    height: 200px;
}

.recipe-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recipe-content {
    padding: 2rem;
    background-color: white;
}

.recipe-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.recipe-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    color: var(--text-color);
    font-size: 1.4rem;
}

/* ======= TESTIMONIALS SECTION ======= */
.testimonials {
    padding: 8rem 0;
    background-color: var(--light-color);
}

.testimonials-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: center;
}

.testimonial-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 3rem;
    max-width: 32%;
    flex: 1 1 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.testimonial-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 2rem;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 2rem;
}

.testimonial-content h4 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.testimonial-content span {
    color: var(--text-color);
    font-size: 1.4rem;
}

/* ======= NEWSLETTER SECTION ======= */
.newsletter {
    padding: 8rem 0;
    background-color: var(--primary-color);
    color: white;
}

.newsletter-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.newsletter-content h2 {
    color: white;
    font-size: 3.6rem;
    margin-bottom: 1.5rem;
}

.newsletter-content p {
    font-size: 1.8rem;
    margin-bottom: 3rem;
}

.newsletter form {
    margin-top: 3rem;
}

.form-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-group input {
    flex: 1;
    padding: 1.2rem;
    border: none;
    border-radius: var(--border-radius);
}

.form-check {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-check input {
    width: 18px;
    height: 18px;
}

.form-check label {
    font-size: 1.4rem;
}

.form-check a {
    color: white;
    text-decoration: underline;
}

/* ======= BLOG PREVIEW SECTION ======= */
.blog-preview {
    padding: 8rem 0;
    background-color: white;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}

.blog-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-10px);
}

.blog-image {
    height: 200px;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-content {
    padding: 2rem;
    background-color: white;
}

.blog-date {
    display: block;
    color: var(--text-color);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.blog-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1.5rem;
    font-size: 1.4rem;
    color: var(--text-color);
}

.read-more {
    display: inline-block;
    margin-top: 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.read-more:hover {
    color: var(--secondary-color);
}

.blog-cta {
    text-align: center;
    margin-top: 4rem;
}

/* ======= FOOTER ======= */
footer {
    background-color: var(--footer-bg);
    padding: 6rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    flex: 1 1 300px;
}

.footer-logo img {
    height: 5rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    flex: 1 1 200px;
}

.footer-links h4 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.footer-links ul li {
    margin-bottom: 1rem;
}

.footer-links ul li a {
    color: var(--text-color);
}

.footer-links ul li a:hover {
    color: var(--primary-color);
}

.footer-contact {
    flex: 1 1 300px;
}

.footer-contact h4 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.footer-contact p {
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--gray-light);
    color: var(--dark-color);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-medium);
}

/* ======= PAGE HEADER ======= */
.page-header {
    background-color: var(--light-color);
    padding: 6rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 4.2rem;
    margin-bottom: 1.5rem;
}

.page-header p {
    font-size: 1.8rem;
    max-width: 700px;
    margin: 0 auto;
}

/* ======= ABOUT PAGE ======= */
.about-content {
    padding: 6rem 0;
}

.about-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4rem;
    margin-bottom: 6rem;
}

.about-section .about-image,
.about-section .about-text {
    flex: 1 1 500px;
}

.values-list li {
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 2.5rem;
}

.values-list li::before {
    content: "•";
    color: var(--primary-color);
    font-size: 2.5rem;
    position: absolute;
    left: 0;
    top: -5px;
}

.team-section {
    margin-top: 6rem;
}

.team-section h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.team-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 3rem;
}

.team-member {
    text-align: center;
}

.member-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 2rem;
}

.member-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* ======= CONTACT PAGE ======= */
.contact-section {
    padding: 6rem 0;
}

.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
}

.contact-info, .contact-form-container {
    flex: 1 1 500px;
}

.contact-details {
    margin: 3rem 0;
}

.contact-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.contact-item svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-item h4 {
    margin-bottom: 0.5rem;
}

.social-contact h4 {
    margin-bottom: 1.5rem;
}

.contact-form-container h2 {
    margin-bottom: 1.5rem;
}

.contact-form-container p {
    margin-bottom: 3rem;
}

#contact-form .form-group {
    margin-bottom: 2rem;
    flex-direction: column;
    gap: 0.8rem;
}

#contact-form label {
    font-weight: 600;
}

#contact-form input, 
#contact-form textarea {
    padding: 1.2rem;
    border: 1px solid var(--gray-medium);
    border-radius: var(--border-radius);
    width: 100%;
}

#contact-form textarea {
    resize: vertical;
}

.map-section {
    padding: 4rem 0 8rem;
}

.map-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

/* ======= THANK YOU PAGE ======= */
.thank-you-section {
    padding: 8rem 0;
    text-align: center;
}

.thank-you-content {
    max-width: 700px;
    margin: 0 auto;
}

.thank-you-icon {
    margin-bottom: 3rem;
}

.thank-you-content h1 {
    font-size: 4.2rem;
    margin-bottom: 2rem;
}

.thank-you-content p {
    font-size: 1.8rem;
    margin-bottom: 3rem;
}

.thank-you-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.related-content {
    padding: 4rem 0 8rem;
}

.related-content h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.related-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.related-image {
    height: 200px;
}

.related-image img, 
.related-image svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-content {
    padding: 2rem;
}

.related-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* ======= LEGAL PAGES ======= */
.legal-content {
    padding: 6rem 0;
}

.legal-section {
    margin-bottom: 4rem;
}

.legal-section h2 {
    font-size: 2.6rem;
    margin-bottom: 2rem;
}

.legal-section h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.legal-section ul, 
.legal-section ol {
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.legal-section ul li, 
.legal-section ol li {
    margin-bottom: 1rem;
    list-style-position: outside;
}

.legal-section ul {
    list-style-type: disc;
}

.legal-section ol {
    list-style-type: decimal;
}

/* ======= BLOG INDEX PAGE ======= */
.blog-content {
    padding: 6rem 0;
    padding-left: 15px;
    padding-right: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
}

.blog-grid-full {
    flex: 1 1 800px;
}

.blog-grid-full .blog-card {
    display: flex;
    flex-direction: column;
    margin-bottom: 4rem;
}

.blog-grid-full .blog-image {
    height: 300px;
}

.blog-sidebar {
    flex: 0 1 350px;
}

.sidebar-widget {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    margin-bottom: 3rem;
}

.sidebar-widget h3 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    position: relative;
}

.sidebar-widget h3::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 0;
}

.category-list li {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-medium);
    padding-bottom: 1rem;
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list li a {
    display: flex;
    justify-content: space-between;
    color: var(--text-color);
}

.category-list li a:hover {
    color: var(--primary-color);
}

.popular-post {
    margin-bottom: 2rem;
}

.popular-post a {
    color: var(--text-color);
}

.popular-post a:hover {
    color: var(--primary-color);
}

.popular-post h4 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.post-date {
    font-size: 1.4rem;
    color: var(--text-color);
}

/* ======= BLOG ARTICLE PAGE ======= */
.blog-article {
    padding: 6rem 0;
}

.article-header {
    margin-bottom: 3rem;
}

.article-header h1 {
    font-size: 3.6rem;
    margin-bottom: 2rem;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    color: var(--text-color);
    font-size: 1.4rem;
}

.article-featured-image {
    margin-bottom: 4rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.article-featured-image img {
    width: 100%;
    height: auto;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
}

.article-intro {
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--dark-color);
    margin-bottom: 3rem;
}

.article-content h2 {
    font-size: 3rem;
    margin: 4rem 0 2rem;
}

.article-content h3 {
    font-size: 2.4rem;
    margin: 3rem 0 1.5rem;
}

.article-content h4 {
    font-size: 2rem;
    margin: 2.5rem 0 1.5rem;
}

.article-content ul, 
.article-content ol {
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.article-content ul li, 
.article-content ol li {
    margin-bottom: 1rem;
    list-style-position: outside;
}

.article-content ul {
    list-style-type: disc;
}

.article-content ol {
    list-style-type: decimal;
}

.article-tags {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-medium);
}

.article-tags span {
    font-weight: 600;
    margin-right: 1rem;
}

.article-tags a {
    display: inline-block;
    background-color: var(--light-color);
    color: var(--text-color);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    margin-right: 1rem;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.article-tags a:hover {
    background-color: var(--primary-color);
    color: white;
}

.article-author-bio {
    margin: 4rem 0;
    padding: 3rem;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 2rem;
}

.author-image {
    flex-shrink: 0;
}

.author-info h3 {
    margin-bottom: 1rem;
}

.article-share {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.article-share span {
    font-weight: 600;
}

.article-share a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--light-color);
    color: var(--dark-color);
    transition: var(--transition);
}

.article-share a:hover {
    background-color: var(--primary-color);
    color: white;
}

.article-related h3 {
    text-align: center;
    margin-bottom: 3rem;
}

.related-articles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.related-article {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.related-article img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.related-article h4 {
    padding: 1.5rem;
    font-size: 1.6rem;
    margin-bottom: 0;
}

/* ======= RESPONSIVE STYLES ======= */
@media (max-width: 1024px) {
    html {
        font-size: 60%;
    }

    .banner-content h1 {
        font-size: 4rem;
    }

    .testimonial-card {
        max-width: 45%;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 58%;
    }

    nav {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 70%;
        height: calc(100vh - var(--header-height));
        background-color: white;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        transition: 0.3s;
        z-index: 1000;
    }

    nav.active {
        left: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
    }

    nav ul li {
        width: 100%;
    }

    nav ul li a {
        display: block;
        padding: 1.5rem 2rem;
        border-bottom: 1px solid var(--gray-light);
    }

    .hamburger {
        display: flex;
    }

    .banner .container {
        flex-direction: column;
    }

    .about-content, 
    .about-section {
        flex-direction: column;
    }

    .testimonial-card {
        max-width: 100%;
    }

    .form-group {
        flex-direction: column;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 576px) {
    html {
        font-size: 55%;
    }

    .banner-content h1 {
        font-size: 3.6rem;
    }

    .section-header h2 {
        font-size: 3rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 3rem;
    }

    .article-header h1 {
        font-size: 3rem;
    }

    .article-meta {
        flex-direction: column;
        gap: 1rem;
    }

    .article-author-bio {
        flex-direction: column;
        text-align: center;
    }

    .thank-you-buttons {
        flex-direction: column;
    }
}
