/* styles.css - Styl Dżungla dla The Boston Consulting Group */

/* Reset i podstawowe style */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2c3e2c;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Blok 1: Hero - Ciemna dżungla z złotymi akcentami */
#hero {
    background: linear-gradient(135deg, #1a3a1a 0%, #2d5a2d 50%, #1a3a1a 100%);
    color: #f4e5c3;
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(139, 195, 74, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(76, 175, 80, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(104, 159, 56, 0.05) 0%, transparent 70%);
    z-index: 1;
}

#hero .container {
    position: relative;
    z-index: 2;
}

#hero h1 {
    font-size: 3em;
    margin-bottom: 20px;
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
}

#hero h2 {
    font-size: 1.8em;
    margin-bottom: 25px;
    color: #f4e5c3;
    font-weight: 300;
}

#hero p {
    font-size: 1.2em;
    margin-bottom: 35px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #e8f5e9;
}

.cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1a3a1a;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
    border: 2px solid #ffd700;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.6);
    background: linear-gradient(135deg, #ffed4e 0%, #ffd700 100%);
}

/* Blok 5: Opinie - Jasna tropikalna zieleń */
#reviews {
    background: linear-gradient(to bottom, #c8e6c9 0%, #a5d6a7 100%);
    padding: 80px 20px;
    color: #1b5e20;
}

#reviews h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 50px;
    color: #2e7d32;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-item {
    background: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.2);
    border-left: 5px solid #66bb6a;
    transition: transform 0.3s ease;
}

.review-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(46, 125, 50, 0.3);
}

.review-item h3 {
    color: #2e7d32;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.review-item p {
    color: #1b5e20;
    font-style: italic;
    line-height: 1.7;
}

/* Blok 5.2: Zostaw opinię - Bambus */
#leave-review {
    background: linear-gradient(135deg, #558b2f 0%, #689f38 100%);
    padding: 80px 20px;
    color: #f1f8e9;
}

#leave-review h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #ffffff;
}

#leave-review > .container > p {
    text-align: center;
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #dcedc8;
}

.review-form {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.15);
    padding: 40px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.review-form input,
.review-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    background: rgba(255, 255, 255, 0.95);
    color: #2e7d32;
}

.review-form textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1a3a1a;
    border: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
}

/* Blok 4: Specjaliści - Ciemna dżungla z liśćmi */
#specialists {
    background: linear-gradient(to right, #1b5e20 0%, #2e7d32 50%, #1b5e20 100%);
    padding: 80px 20px;
    color: #e8f5e9;
    position: relative;
}

#specialists::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(ellipse at 10% 20%, rgba(129, 199, 132, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 80%, rgba(102, 187, 106, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

#specialists h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 50px;
    color: #ffd700;
    position: relative;
    z-index: 1;
}

.specialists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.specialist-item {
    background: rgba(67, 160, 71, 0.2);
    padding: 30px;
    border-radius: 12px;
    border: 2px solid rgba(129, 199, 132, 0.3);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.specialist-item:hover {
    background: rgba(67, 160, 71, 0.3);
    border-color: #66bb6a;
    transform: translateY(-5px);
}

.specialist-item h3 {
    color: #ffd700;
    margin-bottom: 15px;
    font-size: 1.4em;
}

.specialist-item p {
    color: #c8e6c9;
    line-height: 1.7;
}

/* Blok 4.1: Działalność - Liście palmowe */
#teaching {
    background: linear-gradient(135deg, #7cb342 0%, #9ccc65 100%);
    padding: 80px 20px;
    color: #1b3a00;
}

#teaching h2 {
    text-align: center;
    font-size: 2.3em;
    margin-bottom: 30px;
    color: #33691e;
}

#teaching p {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.15em;
    line-height: 1.9;
    color: #1b3a00;
    background: rgba(255, 255, 255, 0.3);
    padding: 30px;
    border-radius: 12px;
    border-left: 5px solid #558b2f;
}

/* Blok 3: Produkty - Złoto dżungli */
#products {
    background: linear-gradient(to bottom, #f9fbe7 0%, #f0f4c3 100%);
    padding: 80px 20px;
    color: #33691e;
}

#products h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 50px;
    color: #558b2f;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.product-item {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(85, 139, 47, 0.15);
    border-top: 4px solid #7cb342;
    transition: all 0.3s ease;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(85, 139, 47, 0.25);
    border-top-color: #558b2f;
}

.product-item h3 {
    color: #558b2f;
    margin-bottom: 15px;
    font-size: 1.4em;
}

.product-item p {
    color: #33691e;
    line-height: 1.7;
}

/* Artykuł */
.themed-article {
    max-width: 900px;
    margin: 60px auto 0;
    background: #ffffff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(85, 139, 47, 0.2);
    border-left: 6px solid #ffd700;
}

.themed-article h2 {
    color: #558b2f;
    margin-bottom: 25px;
    font-size: 2em;
}

.themed-article p {
    color: #33691e;
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 1.05em;
}

/* Blok 2: Newsletter - Tropikalne kwiaty */
#newsletter {
    background: linear-gradient(135deg, #43a047 0%, #66bb6a 100%);
    padding: 80px 20px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

#newsletter::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image:
        radial-gradient(circle at 30% 40%, rgba(255, 215, 0, 0.1) 0%, transparent 30%),
        radial-gradient(circle at 70% 60%, rgba(255, 237, 74, 0.1) 0%, transparent 30%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(20px, 20px) rotate(5deg); }
}

#newsletter .container {
    position: relative;
    z-index: 1;
}

#newsletter h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

#newsletter > .container > p {
    text-align: center;
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #e8f5e9;
}

.newsletter-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.newsletter-form input[type="email"] {
    flex: 1;
    min-width: 250px;
    padding: 18px 25px;
    border: none;
    border-radius: 50px;
    font-size: 1.1em;
    background: rgba(255, 255, 255, 0.95);
    color: #2e7d32;
}

.subscribe-button {
    padding: 18px 40px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1a3a1a;
    border: none;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.subscribe-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

/* Blok 6: Lokalizacja - Mapa dżungli */
#location {
    background: linear-gradient(to bottom, #dcedc8 0%, #c5e1a5 100%);
    padding: 80px 20px;
    color: #1b5e20;
}

#location h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 30px;
    color: #2e7d32;
}

#location p {
    text-align: center;
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #33691e;
}

.map-container {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(46, 125, 50, 0.3);
    border: 5px solid #7cb342;
}

.map-container iframe {
    display: block;
}

/* Footer - Nocna dżungla */
footer {
    background: linear-gradient(135deg, #0d2818 0%, #1a3a1a 100%);
    color: #c8e6c9;
    padding: 40px 20px;
    text-align: center;
    border-top: 3px solid #ffd700;
}

footer p {
    font-size: 1.1em;
}

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

/* Responsywność - Wersja mobilna */
@media (max-width: 768px) {
    #hero h1 {
        font-size: 2em;
    }

    #hero h2 {
        font-size: 1.3em;
    }

    #hero p {
        font-size: 1em;
    }

    .cta-button {
        padding: 15px 35px;
        font-size: 1em;
    }

    #reviews h2,
    #specialists h2,
    #products h2,
    #newsletter h2,
    #location h2 {
        font-size: 1.8em;
    }

    .reviews-grid,
    .specialists-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form input[type="email"],
    .subscribe-button {
        width: 100%;
    }

    .themed-article {
        padding: 25px;
    }

    .themed-article h2 {
        font-size: 1.5em;
    }

    .review-form {
        padding: 25px;
    }

    #teaching p {
        padding: 20px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    #hero {
        padding: 60px 15px;
    }

    #hero h1 {
        font-size: 1.6em;
    }

    .container {
        padding: 0 15px;
    }

    section {
        padding: 50px 15px !important;
    }

    .review-item,
    .specialist-item,
    .product-item {
        padding: 20px;
    }
}

/* Dodatkowe animacje dla efektu dżungli */
@keyframes sway {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(2deg); }
}

.specialist-item,
.product-item,
.review-item {
    animation: sway 6s ease-in-out infinite;
}

.specialist-item:nth-child(2n),
.product-item:nth-child(2n),
.review-item:nth-child(2n) {
    animation-delay: 1s;
}

/* Płynne przewijanie */
html {
    scroll-behavior: smooth;
}

/* Focus states dla dostępności */
input:focus,
textarea:focus,
button:focus {
    outline: 3px solid #ffd700;
    outline-offset: 2px;
}
