:root {
    --color-primary: #8B7355;
    --color-secondary: #A0A3A0;
    --color-accent: #4A6741;
    --color-accent-light: #C4A876;
    --color-dark: #2B2B2B;
    --color-light: #F5F3F0;
    --color-text: #3A3A3A;
    --color-border: #D9D4CE;
}

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

html, body {
    height: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--color-text);
    background-color: var(--color-light);
    line-height: 1.6;
    letter-spacing: 0.5px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Arial', sans-serif;
    font-weight: 600;
    letter-spacing: 0.8px;
    color: var(--color-dark);
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.2rem;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.6rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.3rem;
    margin-top: 1.2rem;
    margin-bottom: 0.8rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text);
}

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

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

ul, ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

address {
    font-style: normal;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.navbar-custom {
    background: linear-gradient(135deg, rgba(139, 115, 85, 0.95) 0%, rgba(64, 64, 64, 0.95) 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: var(--color-light) !important;
}

.brand-mark {
    color: var(--color-accent-light);
}

.navbar-nav .nav-link {
    color: var(--color-light) !important;
    margin-left: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.6px;
    transition: all 0.3s ease;
    position: relative;
}

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

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--color-accent-light);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

.hero-section {
    position: relative;
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-attachment: fixed;
}

.hero-section-small {
    position: relative;
    height: 50vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(43, 43, 43, 0.6) 0%, rgba(74, 103, 65, 0.5) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 900px;
    padding: 0 2rem;
    animation: fadeInUp 1s ease-out;
}

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

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--color-accent-light);
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.8px;
}

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

.btn-custom {
    background-color: var(--color-primary);
    color: white;
    border: 2px solid var(--color-primary);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-custom:hover {
    background-color: transparent;
    color: var(--color-primary);
    box-shadow: 0 8px 20px rgba(139, 115, 85, 0.3);
    transform: translateY(-2px);
}

.content-section {
    padding: 4rem 0;
    background-color: white;
    position: relative;
    overflow: hidden;
}

.content-section.bg-light {
    background-color: var(--color-light);
}

.content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--color-border), transparent);
}

.image-section {
    position: relative;
    height: 400px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 115, 85, 0.3) 0%, rgba(74, 103, 65, 0.3) 100%);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.category-card {
    background: linear-gradient(135deg, white 0%, var(--color-light) 100%);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--color-accent);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

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

.category-card h3 {
    color: var(--color-primary);
    margin-top: 0;
}

.example-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.example-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.example-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--color-accent);
}

.example-card h3 {
    color: var(--color-primary);
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.example-card p {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.example-card strong {
    color: var(--color-primary);
    font-weight: 600;
}

.faq-section {
    margin: 2rem 0;
}

.faq-item {
    background: var(--color-light);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 6px;
    border-left: 4px solid var(--color-accent);
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.faq-item h4 {
    color: var(--color-primary);
    margin-top: 0;
    margin-bottom: 0.8rem;
}

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

.contact-form {
    margin-top: 2rem;
}

.contact-form .form-control {
    border: 1px solid var(--color-border);
    border-radius: 6px;
    padding: 0.75rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 0.2rem rgba(74, 103, 65, 0.25);
}

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

.contact-info {
    margin-top: 2rem;
}

.info-item {
    margin-bottom: 2rem;
}

.info-item h4 {
    color: var(--color-primary);
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.info-item p {
    margin: 0;
    line-height: 1.8;
}

.info-item a {
    color: var(--color-primary);
    font-weight: 600;
}

.site-footer {
    background: linear-gradient(135deg, #2B2B2B 0%, #1a1a1a 100%);
    color: #e0e0e0;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
    border-top: 1px solid var(--color-border);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand h4,
.footer-links h5,
.footer-legal h5 {
    color: var(--color-accent-light);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    letter-spacing: 0.8px;
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #b0b0b0;
    margin-bottom: 1rem;
}

.footer-brand address {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #b0b0b0;
}

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

.footer-brand address a:hover {
    color: white;
}

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

.footer-links li,
.footer-legal li {
    margin-bottom: 0.8rem;
}

.footer-links a,
.footer-legal a {
    color: #b0b0b0;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-legal a:hover {
    color: var(--color-accent-light);
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #808080;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(43, 43, 43, 0.98) 0%, rgba(64, 64, 64, 0.98) 100%);
    padding: 1.5rem;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: none;
    backdrop-filter: blur(10px);
}

.cookie-banner.show {
    display: block;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

.cookie-content h5 {
    margin: 0;
    color: var(--color-accent-light);
    font-size: 1.1rem;
}

.cookie-content p {
    margin: 0;
    flex: 1;
    min-width: 300px;
    color: #d0d0d0;
    font-size: 0.95rem;
}

.cookie-content button {
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.85rem;
}

#accept-cookies {
    background-color: var(--color-accent);
    color: white;
    border: none;
}

#accept-cookies:hover {
    background-color: var(--color-primary);
    transform: translateY(-2px);
}

#reject-cookies {
    background-color: transparent;
    color: var(--color-accent-light);
    border: 2px solid var(--color-accent-light);
}

#reject-cookies:hover {
    background-color: var(--color-accent-light);
    color: var(--color-dark);
}

.alert {
    border-radius: 8px;
    border: 1px solid;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.alert-info {
    background-color: #e7f3ff;
    border-color: #b3d9ff;
    color: #004085;
}

.alert-info h4 {
    color: #004085;
    margin-top: 0;
}

.alert-warning {
    background-color: #fff3cd;
    border-color: #ffe69c;
    color: #856404;
}

.custom-control-label {
    cursor: pointer;
    margin-bottom: 0;
    color: var(--color-text);
}

.custom-control-label a {
    color: var(--color-primary);
}

.custom-control-input:checked ~ .custom-control-label::before {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
}

.custom-control-input:focus ~ .custom-control-label::before {
    box-shadow: 0 0 0 0.2rem rgba(74, 103, 65, 0.25);
}

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

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

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    .content-section {
        padding: 2rem 0;
    }

    .image-section {
        height: 300px;
    }

    .category-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .example-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

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

    .cookie-content p {
        min-width: auto;
    }

    .cookie-content button {
        width: 100%;
        text-align: center;
    }

    .contact-info {
        margin-top: 2rem;
    }
}

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

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    .navbar-brand {
        font-size: 1.3rem;
    }

    .content-section {
        padding: 1.5rem 0;
    }

    .hero-section {
        height: 60vh;
    }

    .hero-section-small {
        height: 40vh;
    }
}

main {
    flex: 1;
}

html, body {
    display: flex;
    flex-direction: column;
}
