:root {
    --espresso-dark: #2b1f18;
    --espresso-darker: #1a0f0a;
    --copper: #c17a4a;
    --copper-light: #d89968;
    --sage-grey: #8b9a8f;
    --latte-beige: #e8dcc8;
    --white-cream: #faf8f3;
    --text-dark: #1a1a1a;
    --text-light: #f5f1e8;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    background-color: var(--white-cream);
    line-height: 1.6;
}

header {
    background-color: var(--espresso-dark) !important;
}

.navbar-custom {
    max-width: 100%;
}

.navbar-brand {
    font-size: 1.8rem;
    color: var(--copper) !important;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.navbar-brand:hover {
    color: var(--copper-light) !important;
}

.nav-link {
    color: var(--text-light) !important;
    margin: 0 8px;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--copper) !important;
}

.hero-section {
    background: linear-gradient(135deg, var(--espresso-dark) 0%, var(--espresso-darker) 100%);
    color: var(--text-light);
    padding: 80px 0 0 0;
    position: relative;
}

.hero-dark {
    background: linear-gradient(135deg, var(--espresso-darker) 0%, var(--espresso-dark) 100%);
    padding: 60px 24px;
    position: relative;
}

.hero-dark::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 50%;
    background: radial-gradient(ellipse at 50% 0%, rgba(193, 122, 74, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 40px 24px 60px 24px;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--latte-beige);
    max-width: 95%;
    font-weight: 300;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(193, 122, 74, 0.3);
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.hero-image-wrapper:hover .hero-image {
    transform: scale(1.02);
}

.hero-overlay {
    background: linear-gradient(to bottom, rgba(232, 220, 200, 0.95) 0%, var(--latte-beige) 100%);
    padding: 60px 24px;
    position: relative;
    z-index: 3;
    transform: translateY(-40px);
    border-radius: 30px 30px 0 0;
}

.card-module {
    background: white;
    padding: 30px;
    border-radius: 15px;
    border-left: 4px solid var(--copper);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.card-module:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.module-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--espresso-dark);
    margin-bottom: 12px;
}

.module-text {
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.6;
}

.btn-cta {
    background-color: var(--copper);
    color: white;
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    text-align: center;
}

.btn-cta:hover {
    background-color: var(--copper-light);
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(193, 122, 74, 0.3);
    text-decoration: none;
}

.btn-cta:focus {
    outline: none;
    text-decoration: none;
    color: white;
}

.content-section {
    background-color: var(--white-cream);
    padding: 80px 24px;
}

.content-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--espresso-dark);
    margin-bottom: 40px;
    text-align: center;
}

.content-section h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--espresso-dark);
    margin-bottom: 15px;
}

.content-section p {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.content-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    margin-bottom: 20px;
    border: 1px solid rgba(193, 122, 74, 0.2);
    transition: all 0.3s ease;
}

.content-image:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
}

.page-hero-section {
    background: linear-gradient(135deg, var(--espresso-darker) 0%, var(--espresso-dark) 100%);
    color: var(--text-light);
    padding: 60px 24px;
    text-align: center;
}

.page-hero-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-hero-section .hero-subtitle {
    font-size: 1rem;
    color: var(--latte-beige);
}

.footer-dark {
    background-color: var(--espresso-dark);
    color: var(--text-light);
    padding: 60px 24px 20px 24px;
    margin-top: 100px;
}

.footer-dark h5 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--copper);
    margin-bottom: 20px;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(193, 122, 74, 0.2);
    color: var(--sage-grey);
    font-size: 0.85rem;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--espresso-dark);
    color: var(--text-light);
    padding: 20px 24px;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.3);
    display: block;
    z-index: 999;
}

.cookie-banner.hidden {
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-content p {
    margin: 0;
    font-size: 0.9rem;
}

.cookie-content a {
    color: var(--copper);
    text-decoration: none;
}

.cookie-content a:hover {
    text-decoration: underline;
}

.btn-cookie-accept {
    background-color: var(--copper);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.btn-cookie-accept:hover {
    background-color: var(--copper-light);
}

.catalog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(193, 122, 74, 0.1);
}

.catalog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--copper);
}

.card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background-color: #f0ede6;
}

.catalog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.catalog-card:hover .catalog-img {
    transform: scale(1.05);
}

.card-body {
    padding: 25px;
}

.card-body h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--espresso-dark);
    margin-bottom: 10px;
}

.bean-description {
    color: var(--text-dark);
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.bean-specs {
    background-color: var(--latte-beige);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.85rem;
}

.bean-specs p {
    margin-bottom: 8px;
    color: var(--text-dark);
}

.bean-specs p:last-child {
    margin-bottom: 0;
}

.bean-price {
    font-weight: 700;
    color: var(--copper) !important;
}

.btn-catalog-action {
    width: 100%;
    background-color: var(--copper);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.btn-catalog-action:hover {
    background-color: var(--copper-light);
}

.intro-text {
    background-color: var(--latte-beige);
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid var(--copper);
    margin-bottom: 40px;
}

.intro-text p {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 0;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--espresso-dark);
    margin-top: 50px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--copper);
}

.quiet-selection {
    background-color: var(--latte-beige);
    padding: 40px;
    border-radius: 12px;
    border-left: 4px solid var(--copper);
    margin-top: 50px;
}

.quiet-selection p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 0;
}

.contact-info {
    background-color: var(--latte-beige);
    padding: 40px;
    border-radius: 12px;
    border-left: 4px solid var(--copper);
}

.contact-info h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--espresso-dark);
    margin-bottom: 25px;
}

.contact-info p {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 0;
}

.contact-info p + p {
    margin-top: 15px;
}

.contact-info a {
    color: var(--copper);
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-form-section {
    background-color: var(--latte-beige);
    padding: 40px;
    border-radius: 12px;
}

.contact-form-section h2 {
    text-align: left;
    margin-bottom: 30px;
    margin-top: 0;
    border: none;
}

.form-group label {
    font-weight: 600;
    color: var(--espresso-dark);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-control {
    border: 1px solid rgba(43, 31, 24, 0.2);
    border-radius: 6px;
    padding: 12px;
    background-color: white;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-control:focus {
    border-color: var(--copper);
    box-shadow: 0 0 0 3px rgba(193, 122, 74, 0.1);
}

.form-check-label {
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-left: 8px;
}

.form-check-input {
    border-color: var(--copper);
}

.form-check-input:checked {
    background-color: var(--copper);
    border-color: var(--copper);
}

.thank-you-content {
    background-color: var(--latte-beige);
    padding: 60px 40px;
    border-radius: 12px;
    border-left: 4px solid var(--copper);
    margin: 40px 0;
}

.thank-you-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.thank-you-content p:last-of-type {
    margin-bottom: 0;
}

.legal-section {
    background-color: var(--white-cream);
    padding: 80px 24px;
}

.legal-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--espresso-dark);
    margin-top: 40px;
    margin-bottom: 20px;
}

.legal-section h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--espresso-dark);
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal-section p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.legal-section ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.legal-section li {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.legal-section a {
    color: var(--copper);
    text-decoration: none;
    font-weight: 500;
}

.legal-section a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-overlay {
        padding: 40px 24px;
        transform: translateY(-20px);
    }

    .content-section {
        padding: 60px 24px;
    }

    .content-section h2 {
        font-size: 1.6rem;
    }

    .page-hero-section h1 {
        font-size: 2rem;
    }

    .page-hero-section .hero-subtitle {
        font-size: 0.9rem;
    }

    .footer-dark {
        padding: 40px 24px 20px 24px;
    }

    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn-cookie-accept {
        width: 100%;
    }

    .contact-form-section {
        padding: 30px 20px;
    }

    .thank-you-content {
        padding: 40px 20px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .hero-content h1 {
        font-size: 2.3rem;
    }

    .content-section h2 {
        font-size: 1.8rem;
    }
}
