/* styles.css - Styl dżungli dla Village des Valeurs */

/* ===== PODSTAWOWE STYLE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Georgia", "Times New Roman", serif;
    max-width: 1090px;
    margin: 0 auto;
    background: linear-gradient(135deg, #0a2f1c 0%, #1a4d2e 100%);
    color: #000000; /* ZMIANA: czarny tekst */
    line-height: 1.6;
    padding: 0 15px;
}

.container {
    background-color: rgba(245, 251, 242, 0.95);
    border-radius: 0 0 20px 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 40, 20, 0.3);
    border: 2px solid #2d5a3b;
}

/* ===== STYLE DLA WSZYSTKICH SEKCJI ===== */
section {
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
}

section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #2d5a3b, #4a7c59, #2d5a3b);
    z-index: 1;
}

/* ===== BLOK 1: HERO ===== */
#hero {
    min-height: 470px;
    background:
        linear-gradient(rgba(26, 77, 46, 0.9), rgba(42, 102, 65, 0.85)),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path fill="%234a7c59" d="M0,0 L100,0 L100,100 Q50,80 0,100 Z"/></svg>'),
        linear-gradient(145deg, #1a4d2e 0%, #2d5a3b 50%, #1a4d2e 100%);
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-bottom: 8px solid #4a7c59;
}

#hero h1 {
    font-size: 2.8rem;
    color: #000000; /* ZMIANA: czarny tekst */
    margin-bottom: 25px;
    text-shadow: 2px 2px 4px rgba(240, 247, 238, 0.5); /* Lżejszy cień dla kontrastu */
    font-weight: bold;
    line-height: 1.2;
    position: relative;
    z-index: 2;
}

#hero p {
    font-size: 1.3rem;
    max-width: 750px;
    margin-bottom: 40px;
    color: #000000; /* ZMIANA: czarny tekst */
    position: relative;
    z-index: 2;
    text-shadow: 1px 1px 2px rgba(240, 247, 238, 0.3);
}

.cta-button {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(to bottom, #e8b923, #d4a017);
    color: #000000; /* ZMIANA: czarny tekst */
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    border-radius: 50px;
    border: 3px solid #000000; /* ZMIANA: czarna obwódka */
    box-shadow: 0 6px 0 #2d5a3b, 0 12px 20px rgba(0, 40, 20, 0.4);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 0 #2d5a3b, 0 15px 25px rgba(0, 40, 20, 0.5);
    background: linear-gradient(to bottom, #f0c949, #e8b923);
    color: #000000; /* ZMIANA: czarny tekst */
}

.cta-button:active {
    transform: translateY(2px);
    box-shadow: 0 3px 0 #2d5a3b, 0 8px 15px rgba(0, 40, 20, 0.4);
}

/* ===== PRZEMIESZANE BLOKI - RÓŻNE KOLORY TŁA ===== */
/* Sekcja produktów - ciepły ziemisty kolor */
#products {
    background-color: #f5fbf2;
    color: #000000; /* ZMIANA: czarny tekst */
    border-bottom: 3px solid #d4a017;
}

/* Sekcja recenzji - jasny zielony */
#reviews {
    background-color: #e8f5e9;
    color: #000000; /* ZMIANA: czarny tekst */
    border-bottom: 3px solid #4a7c59;
}

/* Sekcja formularza - średni zielony */
#subscription-form {
    background-color: #2d5a3b;
    color: #000000; /* ZMIANA: czarny tekst */
    border-bottom: 3px solid #d4a017;
}

/* Sekcja mediów - ciemny zielony */
#media-mentions {
    background-color: #1a4d2e;
    color: #000000; /* ZMIANA: czarny tekst */
    border-bottom: 3px solid #4a7c59;
    text-shadow: 1px 1px 2px rgba(240, 247, 238, 0.3);
}

/* Sekcja specjalistów - jasny kremowy */
#specialists {
    background-color: #f9f7f0;
    color: #000000; /* ZMIANA: czarny tekst */
    border-bottom: 3px solid #d4a017;
}

/* ===== TYPOGRAFIA ===== */
h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: #000000; /* ZMIANA: czarny tekst */
    position: relative;
    padding-bottom: 15px;
    text-align: center;
}

h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, #4a7c59, #d4a017, #4a7c59);
    border-radius: 2px;
}

h3 {
    font-size: 1.6rem;
    margin: 25px 0 15px;
    color: #000000; /* ZMIANA: czarny tekst */
}

p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #000000; /* ZMIANA: czarny tekst */
}

/* ===== SPECJALNE STYLE DLA SEKCJI ===== */
/* Produkty */
#products ul {
    list-style-type: none;
    margin: 30px 0;
}

#products li {
    padding: 15px;
    margin-bottom: 12px;
    background: rgba(42, 102, 65, 0.1);
    border-left: 5px solid #4a7c59;
    border-radius: 0 8px 8px 0;
    transition: transform 0.3s ease;
    color: #000000; /* ZMIANA: czarny tekst */
}

#products li:hover {
    transform: translateX(10px);
    background: rgba(42, 102, 65, 0.15);
}

#products li strong {
    color: #000000; /* ZMIANA: czarny tekst */
}

/* Artykuł - wyróżnienie */
#products article {
    background: linear-gradient(145deg, #e8f5e9, #f5fbf2);
    border: 3px solid #4a7c59;
    border-radius: 15px;
    padding: 30px;
    margin-top: 40px;
    box-shadow: 0 8px 25px rgba(42, 102, 65, 0.2);
}

#products article h3 {
    color: #000000; /* ZMIANA: czarny tekst */
    text-align: center;
    font-size: 1.8rem;
}

#products article p {
    color: #000000; /* ZMIANA: czarny tekst */
    line-height: 1.8;
    text-align: justify;
}

/* Formularz */
#subscription-form form {
    max-width: 500px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#subscription-form input[type="email"] {
    padding: 18px 25px;
    border: 3px solid #4a7c59;
    border-radius: 50px;
    font-size: 1.1rem;
    background: rgba(240, 247, 238, 0.9);
    color: #000000; /* ZMIANA: czarny tekst */
    outline: none;
    transition: all 0.3s ease;
}

#subscription-form input[type="email"]:focus {
    border-color: #d4a017;
    box-shadow: 0 0 15px rgba(212, 160, 23, 0.5);
    background: white;
    color: #000000; /* ZMIANA: czarny tekst */
}

#subscription-form button {
    padding: 18px 35px;
    background: linear-gradient(to bottom, #e8b923, #d4a017);
    color: #000000; /* ZMIANA: czarny tekst */
    border: 3px solid #000000; /* ZMIANA: czarna obwódka */
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#subscription-form button:hover {
    background: linear-gradient(to bottom, #f0c949, #e8b923);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 40, 20, 0.3);
    color: #000000; /* ZMIANA: czarny tekst */
}

/* Specjaliści */
.specialist {
    background: white;
    padding: 25px;
    margin: 20px 0;
    border-radius: 12px;
    border: 2px solid #4a7c59;
    box-shadow: 0 5px 15px rgba(42, 102, 65, 0.1);
    transition: transform 0.3s ease;
    color: #000000; /* ZMIANA: czarny tekst */
}

.specialist:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(42, 102, 65, 0.2);
}

.specialist h3 {
    color: #000000; /* ZMIANA: czarny tekst */
    border-bottom: 2px dashed #d4a017;
    padding-bottom: 10px;
}

.specialist p {
    color: #000000; /* ZMIANA: czarny tekst */
}

/* Recenzje */
.review {
    background: rgba(255, 255, 255, 0.9);
    padding: 25px;
    margin: 25px 0;
    border-radius: 12px;
    border-left: 8px solid #4a7c59;
    box-shadow: 0 5px 15px rgba(42, 102, 65, 0.15);
    color: #000000; /* ZMIANA: czarny tekst */
}

.review p {
    font-style: italic;
    position: relative;
    padding-left: 25px;
    color: #000000; /* ZMIANA: czarny tekst */
}

.review p::before {
    content: "❝";
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 2.5rem;
    color: #4a7c59;
    opacity: 0.7;
}

#leave-review {
    background: rgba(42, 102, 65, 0.1);
    padding: 30px;
    border-radius: 15px;
    margin-top: 40px;
    border: 2px dashed #4a7c59;
    color: #000000; /* ZMIANA: czarny текст */
}

#leave-review h3 {
    color: #000000; /* ZMIANA: czarny tekst */
    text-align: center;
}

#leave-review p {
    color: #000000; /* ZMIANA: czarny tekst */
}

/* Lokalizacja */
#location {
    background-color: #f5fbf2;
    color: #000000; /* ZMIANA: czarny tekst */
    padding: 50px 40px;
}

address {
    font-style: normal;
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 35px;
    text-align: center;
    background: rgba(42, 102, 65, 0.1);
    padding: 25px;
    border-radius: 12px;
    border: 2px solid #4a7c59;
    color: #000000; /* ZMIANA: czarny tekst */
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    border: 5px solid #4a7c59;
    box-shadow: 0 10px 30px rgba(0, 40, 20, 0.3);
    margin-top: 20px;
}

/* Stopka */
footer {
    background: linear-gradient(90deg, #1a4d2e, #2d5a3b);
    color: #000000; /* ZMIANA: czarny tekst */
    text-align: center;
    padding: 25px;
    font-size: 1rem;
    text-shadow: 1px 1px 2px rgba(240, 247, 238, 0.3);
}

.domainName {
    font-weight: bold;
    color: #d4a017;
}

/* ===== DEKORACJE DŻUNGLI ===== */
section::after {
    content: "";
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 100px;
    height: 100px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path fill="%234a7c59" opacity="0.1" d="M50,10 C70,10 85,25 85,45 C85,65 70,80 50,80 C30,80 15,65 15,45 C15,25 30,10 50,10 Z M50,15 C32,15 20,27 20,45 C20,63 32,75 50,75 C68,75 80,63 80,45 C80,27 68,15 50,15 Z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 0;
}

#hero::after {
    content: "";
    position: absolute;
    top: 20px;
    left: 20px;
    width: 150px;
    height: 150px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path fill="%23d4a017" opacity="0.15" d="M10,50 Q30,30 50,10 Q70,30 90,50 Q70,70 50,90 Q30,70 10,50 Z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 1;
}

/* ===== WERSJA MOBILNA ===== */
@media (max-width: 768px) {
    body {
        padding: 0 10px;
    }

    section {
        padding: 40px 20px;
    }

    #hero {
        min-height: 400px;
        padding: 40px 20px;
    }

    #hero h1 {
        font-size: 2rem;
        margin-bottom: 20px;
        color: #000000; /* ZMIANA: czarny tekst */
    }

    #hero p {
        font-size: 1.1rem;
        margin-bottom: 30px;
        color: #000000; /* ZMIANA: czarny tekst */
    }

    .cta-button {
        padding: 14px 30px;
        font-size: 1rem;
        color: #000000; /* ZMIANA: czarny tekst */
    }

    h2 {
        font-size: 1.8rem;
        margin-bottom: 25px;
        color: #000000; /* ZMIANA: czarny tekst */
    }

    h3 {
        font-size: 1.4rem;
        color: #000000; /* ZMIANA: czarny tekst */
    }

    #subscription-form form {
        flex-direction: column;
    }

    #subscription-form input[type="email"],
    #subscription-form button {
        width: 100%;
        padding: 16px 20px;
    }

    #products article {
        padding: 20px;
    }

    .map-container iframe {
        height: 250px;
    }

    /* Ukrywamy dekoracje na małych ekranach */
    section::after,
    #hero::after {
        display: none;
    }

    address {
        font-size: 1rem;
        padding: 20px;
        color: #000000; /* ZMIANA: czarny tekst */
    }

    .review,
    .specialist {
        padding: 20px;
        margin: 15px 0;
    }

    .review p,
    .specialist p {
        color: #000000; /* ZMIANA: czarny tekst */
    }
}

@media (max-width: 480px) {
    #hero h1 {
        font-size: 1.7rem;
        color: #000000; /* ZMIANA: czarny tekst */
    }

    #hero {
        min-height: 350px;
    }

    section {
        padding: 30px 15px;
    }

    h2 {
        font-size: 1.6rem;
        color: #000000; /* ZMIANA: czarny tekst */
    }

    #products li {
        padding: 12px;
        font-size: 1rem;
        color: #000000; /* ZMIANA: czarny tekst */
    }

    p, li, address, .review p, .specialist p {
        color: #000000; /* ZMIANA: czarny tekst */
    }
}

/* Dodatkowe style dla kontrastu na ciemnych tłach */
#subscription-form,
#media-mentions {
    text-shadow: 1px 1px 2px rgba(240, 247, 238, 0.5);
}

footer p {
    color: #000000; /* ZMIANA: czarny tekst */
    text-shadow: 1px 1px 2px rgba(240, 247, 238, 0.5);
}
