:root {
    --color-primary: #5D4037;
    --color-primary-dark: #4E342E;
    --color-primary-light: #8D6E63;
    --color-accent: #FFA726;
    --color-accent-hover: #FF9800;
    --color-bg-light: #FFF8E1;
    --color-bg-white: #FFFFFF;
    --color-text-dark: #212121;
    --color-text-body: #333333;
    --color-text-muted: #757575;
    --color-text-light: #FFFFFF;
    --color-border: #E0E0E0;
    --font-main: 'TildaSans', Arial, sans-serif;
    --transition: all 0.3s ease;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--color-text-body);
    background-color: var(--color-bg-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-text-dark);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}
a:hover {
    text-decoration: none;
    color: var(--color-accent-hover);
}

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

ul {
    /* list-style: none; */
    padding-left: 1rem;
    margin: 0;
}

.btn-primary-custom {
    background-color: var(--color-accent);
    color: var(--color-text-dark);
    border: none;
    padding: 12px 30px;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.5px;
    border-radius: 4px;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary-custom:hover {
    background-color: var(--color-accent-hover);
    color: var(--color-text-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-outline-custom {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    padding: 10px 28px;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.5px;
    border-radius: 4px;
    transition: var(--transition);
    display: inline-block;
}

.btn-outline-custom:hover {
    background-color: var(--color-primary);
    color: var(--color-text-light);
}

/* ==================== Header ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--color-primary);
    padding: 15px 0;
    transition: var(--transition);
}

.header.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow);
}

.header .navbar {
    padding: 0;
}

.header .navbar-brand {
    display: flex;
    align-items: center;
    color: var(--color-text-light);
    font-weight: 700;
    font-size: 20px;
}

.header .navbar-brand img {
    height: 50px;
    margin-right: 10px;
}

.header .navbar-brand:hover {
    color: var(--color-accent);
}

.header .nav-link {
    color: var(--color-text-light) !important;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 18px !important;
    position: relative;
    letter-spacing: 0.3px;
}

.header .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 18px;
    right: 18px;
    height: 2px;
    background-color: var(--color-accent);
    transform: scaleX(0);
    transition: var(--transition);
}

.header .nav-link:hover::after,
.header .nav-link.active::after {
    transform: scaleX(1);
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-icons a {
    color: var(--color-text-light);
    font-size: 20px;
    transition: var(--transition);
}

.header-icons a:hover {
    color: var(--color-accent);
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
    padding: 8px 12px;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ==================== Hero Section ==================== */
.hero {
    /* background-color: var(--color-primary); */
    background: url('../img/header.jpg') center/cover no-repeat fixed;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    padding: 60px 0;
    color: var(--color-text-light);
}

.hero-subtitle {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: 15px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 900;
    color: var(--color-text-light);
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-description {
    font-size: 15px;
    opacity: 0.9;
    margin-bottom: 10px;
    max-width: 400px;
}

.hero-link {
    color: var(--color-accent);
    font-weight: 500;
    text-decoration: underline;
}

.hero-link:hover {
    color: var(--color-accent-hover);
}

.hero-features {
    margin-top: 40px;
}

.hero-feature {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 15px;
    color: var(--color-text-dark);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.hero-feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.hero-feature h5 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}

.hero-feature p {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 0;
}

.hero-feature .feature-links {
    margin-top: 12px;
}

.hero-feature .feature-links a {
    display: block;
    font-size: 13px;
    color: var(--color-primary);
    margin-bottom: 5px;
    font-weight: 500;
}

.hero-feature .feature-links a:hover {
    color: var(--color-accent);
}

.hero-feature .catalog-link {
    color: var(--color-accent);
    font-weight: 600;
    text-decoration: underline;
}

.hero-image {
    position: relative;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

/* ==================== Section Common ==================== */
.section {
    padding: 100px 0;
}
.section_404 {
    padding: 140px 0 0 0;
}

.section-subtitle {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 10px;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--color-text-dark);
    margin-bottom: 20px;
}

/* ==================== About Section ==================== */
.about-section {
    background-color: var(--color-bg-white);
    text-align: center;
}

.about-section .section-title {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.about-section p {
    max-width: 700px;
    margin: 0 auto 30px;
    color: var(--color-text-muted);
}

.coffee_capsules {
    background: url('../img/coffee_capsules.jpg') no-repeat center center;
    background-size: cover;
    min-height: 30vh;
}

/* ==================== Catalog Section ==================== */
.catalog-section {
    background-color: var(--color-bg-white);
    padding-bottom: 100px;
}

.catalog-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.catalog-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    background-color: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-text-light);
}

.product-card {
    background-color: var(--color-bg-white);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--color-border);
    height: 100%;
}

.product-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.product-card-image {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.product-card-image img {
    max-height: 100%;
    width: auto;
}

.product-card h5 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.product-card p {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 0;
}

/* ==================== Quote Section ==================== */
.quote-section {
    background-color: #52322a;
    padding: 100px 0;
    color: var(--color-text-light);
    text-align: center;
}

.quote-section blockquote {
    font-size: 20px;
    font-style: italic;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.quote-section blockquote::before {
    content: '"';
    font-size: 60px;
    line-height: 0;
    vertical-align: middle;
    opacity: 0.5;
}
.quote-section blockquote::after {
    content: '"';
    font-size: 60px;
    line-height: 0;
    vertical-align: middle;
    opacity: 0.5;
}

/* ==================== Stats Section ==================== */
.stats-section {
    background: linear-gradient(rgba(78, 52, 46, 0.7), rgba(78, 52, 46, 0.7)),
                url('../img/stats-bg.jpg') center/cover no-repeat;
    padding: 80px 0;
    color: var(--color-text-light);
}

.stats-section .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.stats-section .section-title {
    color: var(--color-text-light);
    font-size: 36px;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 48px;
    font-weight: 900;
    color: var(--color-accent);
    display: block;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.8;
}

/* ==================== News Section ==================== */
.news-section {
    background-color: var(--color-bg-white);
    padding: 80px 0;
}

.news-section .section-title {
    text-align: center;
    margin-bottom: 50px;
}

.news-card {
    background-color: var(--color-bg-white);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.news-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.news-card-image {
    height: 200px;
    overflow: hidden;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-card-image img {
    transform: scale(1.1);
}

.news-card-body {
    padding: 25px;
}

.news-card .date {
    font-size: 12px;
    color: var(--color-primary-light);
    margin-bottom: 10px;
    display: block;
}

.news-card h5 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-card .read-more {
    color: var(--color-accent);
    font-weight: 500;
    font-size: 14px;
    text-decoration: underline;
}

.news-card .read-more:hover {
    color: var(--color-primary);
}

/* ==================== News Article (single-33) ==================== */
.news-article {
    margin: 0 auto;
}

.news-article-date {
    display: inline-block;
    color: var(--color-primary-light);
    margin-bottom: 12px;
    font-size: 1rem;
}

.news-article-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 24px;
    line-height: 1.3;
}

.news-article-image {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
}

.news-article-image img {
    width: 100%;
    height: auto;
    display: block;
}

.news-article-content {
    line-height: 1.8;
    color: #333;
}

.news-article-content p {
    margin-bottom: 1.2em;
}

.news-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

/* ==================== Blockquote ==================== */
blockquote {
    border-left: 4px solid var(--color-accent);
    background-color: var(--color-bg-light);
    padding: 20px 24px;
    margin: 24px 0;
    font-style: italic;
    color: var(--color-text-body);
    border-radius: 0 8px 8px 0;
    line-height: 1.8;
}

blockquote p:last-child {
    margin-bottom: 0;
}

blockquote cite,
blockquote footer {
    display: block;
    margin-top: 12px;
    font-size: 0.85em;
    font-style: normal;
    color: var(--color-text-muted);
}

blockquote cite::before,
blockquote footer::before {
    content: '\2014\00A0';
}

/* ==================== Footer ==================== */
.footer {
    background-color: var(--color-primary);
    padding: 60px 0 0;
    color: var(--color-bg-light);
}

.footer-main {
    padding-bottom: 40px;
    border-bottom: 1px solid var(--color-border);
}

.footer-brand img {
    height: 50px;
    margin-bottom: 15px;
}



.footer-brand p {
    font-size: 0.9rem;
    color: var(--color-bg-white);
    margin-bottom: 5px;
}

.footer-brand a {
    color: var(--color-accent);
}

.footer-brand a:hover {
    color: var(--color-accent-hover);
}

.footer h6 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-bg-white);
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer ul li a {
    font-size: 1rem;
    color: var(--color-accent);
}

.footer ul li a:hover {
    color: var(--color-accent-hover);
    text-decoration: underline;
}

.footer-description {
    font-size: 0.9rem;
    color: var(--color-bg-white);
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    background-color: var(--color-primary);
    color: var(--color-text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--color-accent);
    /* transform: translateY(-3px); */
}

.footer-bottom {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--color-bg-white);
}

.footer-links a:hover {
    color: var(--color-accent);
}

.footer-credits {
    font-size: 0.9rem;
    color: var(--color-bg-white);
}

/* ==================== Animations ==================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-fadeIn {
    animation: fadeIn 0.6s ease forwards;
}

/* ==================== Responsive ==================== */
@media (max-width: 1199px) {
    .hero h1 {
        font-size: 40px;
    }
    
    .stat-number {
        font-size: 40px;
    }
}

@media (max-width: 991px) {
    .header .navbar-collapse {
        background-color: var(--color-primary);
        padding: 20px;
        margin-top: 15px;
        border-radius: 8px;
    }
    
    .header-icons {
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        justify-content: center;
    }
    
    .hero {
        padding-top: 80px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero-content {
        padding: 40px 0;
    }
    
    .hero-image {
        margin-top: 40px;
    }
    
    .catalog-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .section {
        padding: 60px 0;
    }
}

@media (max-width: 767px) {
    .hero h1 {
        font-size: 28px;
    }
    
    .hero-feature {
        padding: 20px;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .filter-btn {
        padding: 6px 14px;
        font-size: 12px;
    }
    
    .stat-item {
        padding: 15px;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .quote-section blockquote {
        font-size: 16px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .hero h1 {
        font-size: 24px;
    }
    
    .hero-features .col-md-4 {
        margin-bottom: 15px;
    }
    
    .catalog-filters {
        width: 100%;
    }
    
    .filter-btn {
        flex: 1;
        text-align: center;
    }
}
