:root {
    --primary-bg: #fafaf8;
    --text-dark: #2a2a28;
    --accent-red: #a64245;
    --accent-gray: #dcdcd8;
    --border-light: #e8e8e5;
}

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

html, body {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-dark);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 1.25rem;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

a {
    color: var(--accent-red);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--text-dark);
    text-decoration: underline;
}

.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    background-color: #fff !important;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--text-dark);
    margin: 0 0.5rem;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: var(--accent-red);
}

.brand-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: 1px;
}

.hero {
    position: relative;
    height: 350px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero-index {
    background-image: url('../images/hero-index.jpg');
}

.hero-products {
    background-image: url('../images/hero-products.jpg');
}

.hero-about {
    background-image: url('../images/hero-about.jpg');
}

.hero-contact {
    background-image: url('../images/hero-contact.jpg');
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(42, 42, 40, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 0 2rem;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: white;
}

.hero-content p {
    font-size: 1.25rem;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.form-card {
    background: white;
    padding: 2rem;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
}

.form-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
    border-color: var(--accent-red);
}

.form-card h3 {
    color: var(--text-dark);
    margin: 1.5rem 0 1rem;
}

.form-card p {
    font-size: 0.95rem;
    color: #555;
}

.form-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: var(--accent-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.form-icon.capsules {
    background: linear-gradient(135deg, #a64245 0%, #d4a5a5 100%);
}

.form-icon.powder {
    background: linear-gradient(135deg, #c5b8b8 0%, #e8ddd8 100%);
}

.form-icon.drink {
    background: linear-gradient(135deg, #a8d4d8 0%, #d8e8ea 100%);
}

.form-icon.bar {
    background: linear-gradient(135deg, #b8a8a8 0%, #d8c8c0 100%);
}

.bg-light-gray {
    background-color: #f5f5f3;
}

.advantage-card {
    background: white;
    padding: 1.5rem;
    border-left: 4px solid var(--accent-red);
    border-radius: 4px;
    height: 100%;
}

.advantage-card h4 {
    color: var(--accent-red);
    margin-bottom: 0.75rem;
}

.advantage-card p {
    font-size: 0.95rem;
    color: #555;
}

.product-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-red);
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-card h3 {
    padding: 1rem 1rem 0.5rem;
    font-size: 1.1rem;
}

.product-form {
    padding: 0 1rem;
    color: var(--accent-red);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-card p {
    padding: 0 1rem;
    font-size: 0.9rem;
    color: #555;
    flex-grow: 1;
}

.product-price {
    padding: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-red);
}

.product-card .btn {
    margin: 0 1rem 1rem;
    border-radius: 0;
    border: 2px solid var(--text-dark);
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.product-card .btn:hover {
    background-color: var(--text-dark);
    color: white;
    transform: scale(1.02);
}

.btn {
    border-radius: 0;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 2px solid var(--text-dark);
}

.btn-dark {
    background-color: var(--text-dark);
    border-color: var(--text-dark);
}

.btn-dark:hover {
    background-color: var(--accent-red);
    border-color: var(--accent-red);
}

.btn-outline-dark {
    color: var(--text-dark);
    border-color: var(--text-dark);
    background-color: transparent;
}

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

.form-filter {
    background: white;
    padding: 2rem;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    margin-top: 2rem;
}

.form-filter h3 {
    margin-bottom: 1.5rem;
}

.form-filter-item {
    background: var(--accent-gray);
    padding: 1.5rem;
    text-align: center;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.form-filter-item:hover {
    background: white;
    border-color: var(--accent-red);
    color: var(--accent-red);
}

.faq-item {
    background: white;
    padding: 1.5rem;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    margin-bottom: 1rem;
}

.faq-item h4 {
    color: var(--accent-red);
    margin-bottom: 0.75rem;
}

.faq-item p {
    margin: 0;
    font-size: 0.95rem;
    color: #555;
}

.contact-info {
    background: white;
    padding: 2rem;
    border: 1px solid var(--border-light);
    border-radius: 4px;
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item h4 {
    color: var(--accent-red);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.contact-item p {
    margin: 0;
    color: #555;
    font-size: 0.95rem;
}

.contact-item a {
    color: var(--accent-red);
    font-weight: 600;
}

.contact-form {
    background: white;
    padding: 2rem;
    border: 1px solid var(--border-light);
    border-radius: 4px;
}

.contact-form .form-control {
    border: 1px solid var(--border-light);
    border-radius: 4px;
    padding: 0.75rem;
    color: var(--text-dark);
}

.contact-form .form-control:focus {
    border-color: var(--accent-red);
    box-shadow: 0 0 0 0.2rem rgba(166, 66, 69, 0.25);
}

.contact-form label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-check-label {
    color: #555;
    font-size: 0.9rem;
}

.form-check-label a {
    color: var(--accent-red);
    font-weight: 600;
}

.legal-section {
    max-width: 900px;
    margin: 0 auto;
}

.legal-section h1 {
    margin-bottom: 0.5rem;
}

.legal-section h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--accent-gray);
    padding-bottom: 0.75rem;
}

.legal-section h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
    color: #555;
}

.alert {
    border-radius: 4px;
    border: 1px solid var(--border-light);
}

.alert-warning {
    background-color: #fff8f0;
    border-color: #ffd9a8;
    color: #8b6914;
}

.alert-info {
    background-color: #f0f8ff;
    border-color: #a8d8ff;
    color: #14588b;
}

.alert-light {
    background-color: #f9f9f7;
    border-color: #e8e8e5;
    color: #555;
}

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

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

.footer-links a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
    text-decoration: none;
}

footer h5 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

footer p {
    color: #ccc;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

footer a {
    color: #ccc;
    transition: color 0.3s ease;
}

footer a:hover {
    color: white;
    text-decoration: none;
}

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid var(--border-light);
    padding: 1.5rem 2rem;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 1000;
}

.cookie-consent.show {
    display: block;
}

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

.cookie-content p {
    margin: 0;
    font-size: 0.9rem;
    color: #555;
    flex-grow: 1;
}

.cookie-content p a {
    color: var(--accent-red);
    font-weight: 600;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.thank-you-container {
    background: white;
    padding: 3rem;
    border-radius: 4px;
    border: 1px solid var(--border-light);
}

.thank-you-container h1 {
    color: var(--accent-red);
    margin-bottom: 1rem;
}

.thank-you-container p {
    color: #555;
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

.min-vh-100 {
    min-height: 100vh;
}

@media (max-width: 768px) {
    .hero {
        height: 250px;
    }

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

    .hero-content p {
        font-size: 1rem;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .product-image {
        height: 150px;
    }

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

    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }

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

    .navbar-light .navbar-nav .nav-link {
        padding: 0.75rem 0;
        margin: 0.5rem 0;
    }
}
