@font-face {
    font-display: swap;
    font-family: 'Albert Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/albert-sans-v1-latin_latin-ext-regular.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Albert Sans';
    font-style: italic;
    font-weight: 400;
    src: url('../fonts/albert-sans-v1-latin_latin-ext-italic.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Albert Sans';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/albert-sans-v1-latin_latin-ext-700.woff2') format('woff2');
}

@font-face {
    font-display: swap;
    font-family: 'Albert Sans';
    font-style: italic;
    font-weight: 700;
    src: url('../fonts/albert-sans-v1-latin_latin-ext-700italic.woff2') format('woff2');
}


:root {
    --primary: #2c6e49;
    --secondary: #4c956c;
    --accent: #fefee3;
    --dark: #1b4332;
    --light: #d8f3dc;
    --white: #ffffff;
    --gray: #f1f1f1;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Albert Sans", sans-serif;
    font-optical-sizing: auto;
}

h1,
h2,
h3,
h4 {
    margin: 0.1rem 0;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.5rem;
}

h3 {
    font-size: 1.2rem;
}

h4 {
    font-size: 1rem;
}


body {
    background-color: var(--light);
    color: #333;
    line-height: 1.6;
}

header {
    min-height: 160px;
    display: block;
    background-color: var(--white);
    color: var(--dark);
    padding: 1rem;
}

.logo img {
    width: 150px;
    height: auto;
}


nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.2rem;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 1.5rem;
}

.nav-links a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 900;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
    text-decoration: underline;
}


.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/webp/forest.webp');
    background-size: cover;
    background-position: center;
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 0 1rem;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    max-width: 800px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    background-color: var(--secondary);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
    cursor: pointer;
}

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

.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark);
}

.pest-selector {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
}

.pest-selector h2 {
    margin-bottom: 1.5rem;
    color: var(--dark);
}

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

.pest-card {
    background-color: var(--gray);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
    cursor: pointer;
}

.pest-card:hover {
    transform: translateY(-5px);
}

.pest-card img {
    width: 100%;
    height: auto;
    object-fit: fill;
}

.pest-card-content {
    padding: 1.5rem;
}

.pest-card h3 {
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.pest-card p {
    font-size: 0.9rem;
    color: #666;
}

.product-section {
    display: none;
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-section.active {
    display: block;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: contain;
}

.product-card-content {
    padding: 1.5rem;
}

.product-card h3 {
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.product-card .uses {
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2rem;
    margin: 1rem 0;
}

.product-card .features {
    margin: 1rem 0;
}

.product-card .features li {
    margin-bottom: 0.5rem;
    list-style-type: circle;
    margin-left: 1.2rem;
}



table {
    width: 100%;
    border: 1px solid #ddd;
    overflow-x: auto;
}

th,
td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: var(--light);
    font-weight: bold;
}

td {
    background-color: var(--white);
}

tr:nth-child(even) td {
    background-color: var(--light);
}

tr:hover {
    background-color: var(--gray);
}

td:last-child {
    text-align: center;
}

caption {
    font-size: 1.5em;
    margin-bottom: 10px;
    text-align: center;
    font-weight: bold;
}

.call-action {
    text-align: center;
    margin-top: 1rem;
}


.trap-presentation {
    padding: 40px;
    background-color: var(--white);
    text-align: center;
}

.trap-presentation .container {
    max-width: 1000px;
    margin: auto;
}

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

.trap-card {
    background: white;
    margin-top: 40px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.trap-card h3 {
    color: #005500;
}

.trap-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.how-it-works {
    background-color: var(--gray);
    padding: 4rem 1rem;
}

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

.step-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    line-height: 50px;
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.repellent-section {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 1000px;
    margin: 40px auto;
}

.repellent-section h2 {
    text-align: center;
    color: #2d5a27;
    font-size: 28px;
    margin-bottom: 20px;
}

.repellent-section p {
    text-align: center;
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
}

.repellent-details {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.repellent-details img {
    width: 40%;
    max-width: 300px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.repellent-info {
    width: 55%;
    flex-grow: 1;
}

.repellent-info h3 {
    color: #2d5a27;
    font-size: 20px;
    margin-top: 15px;
    text-align: center;
}

.repellent-info p {
    font-size: 16px;
    color: #444;
    line-height: 1.5;
}

.repellent-info ul {
    list-style: none;
    padding: 0;
}

.repellent-info ul li {
    background: #e8f5e9;
    padding: 8px;
    border-left: 4px solid #2d5a27;
    text-align: center;
}


.insecticide-section {
    background-color: var(--white);
    padding: 40px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 1000px;
    margin: 40px auto;
}

.insecticide-section h2,
.insecticide-section h3 {
    text-align: center;
    color: #2d5a27;
    font-size: 28px;
    margin-bottom: 20px;
}

.insecticide-section p {
    text-align: center;
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
}

.product-details {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.product-details img {
    width: 40%;
    max-width: 300px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.product-info {
    width: 55%;
    flex-grow: 1;
}

.product-info h3 {
    color: #2d5a27;
    font-size: 20px;
    margin-top: 15px;
}

.product-info ul {
    list-style: none;
    padding: 0;
}

.product-info ul li {
    background: #e8f5e9;
    padding: 8px;
    border-left: 4px solid #2d5a27;
    margin-bottom: 8px;
    font-size: 16px;
}

.insecticide-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.insecticide-table th,
.insecticide-table td {
    padding: 12px;
    text-align: left;
    border: 1px solid #ddd;
    font-size: 14px;
}

.insecticide-table th {
    background-color: var(--primary);
    color: white;
}

.insecticide-table tbody tr:nth-child(even) {
    background-color: var(--light);
}

.testimonials {
    padding: 4rem 1rem;
    background-color: rgba(207, 207, 207, 0.5);
}

.testimonial-container {
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 1rem;
}

.contact-section {
    background-color: var(--dark);
    color: var(--white);
    padding: 4rem 1rem;
    text-align: center;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.contact-method {
    text-align: center;
}

.contact-method h3 {
    margin-bottom: 0.5rem;
}

.contact-method a {
    color: var(--accent);
    text-decoration: none;
}

footer {
    background-color: var(--light);
    color: var(--dark);
    text-align: center;
    padding: 2rem 2rem 2em 2rem;
}


.container-anpc {
    background-color: var(--accent);
    color: var(--dark);
    text-align: center;
    padding: 2rem;
}

.container-anpc img {
    display: inline-block;
    border: 0;
    width: 250px;
    margin: 5px;
}

.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--dark);
    color: white;
    padding: 30px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    z-index: 1000;
    visibility: hidden;
}

.cookie-message {
    flex: 1;
    margin-right: 10px;
}

.cookie-actions {
    display: flex;
    gap: 10px;
}

.cookie-btn {
    background-color: var(--primary);
    color: white;
    padding: 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

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

.cookie-btn:focus {
    outline: none;
}



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

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

    nav {
        flex-direction: column;
        padding: 1rem;
    }

    .nav-links {
        margin-top: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links li {
        margin: 0.5rem 0.75rem;
    }

    .contact-info {
        flex-direction: column;
        gap: 1.5rem;
    }

    table {
        width: 100%;
        font-size: 14px;
    }

    th,
    td {
        padding: 8px;
    }

    caption {
        font-size: 1.2em;
    }

    .product-details,
    .repellent-details {
        flex-direction: column;
        text-align: center;
    }

    .product-details img,
    .repellent-details img {
        width: 80%;
    }

    .product-info,
    .repellent-info {
        width: 100%;
    }

}