/* Główne kolory */
:root {
    --primary: #1E3A8A;
    --secondary: #F59E0B;
    --accent-1: #10B981;
    --accent-2: #A78BFA;
    --background: #F3F4F6;
    --text: #1F2937;
    --light-text: #6B7280;
    --white: #FFFFFF;
    --black: #000000;
}

/* Globalne style */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
}

section[id] {
    scroll-margin-top: 40px;
}

div {
    word-break: break-word;
    overflow-wrap: break-word;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Nagłówek */
header {
    background-color: var(--primary);
    color: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo span {
    color: var(--secondary);
}

/* Nawigacja */
nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--secondary);
}

/* Navigation */
.desktop-menu {
    display: block;
}

/* Sekcja Hero */
.hero {
    background-image: url('./img/jJYBsc.jpg');
    background-size: cover;
    background-position: center center;
    color: var(--white);
    text-align: center;
    padding: 150px 0;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    background-color: var(--secondary);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--accent-1);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Sekcje */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title h2 {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary);
    border-radius: 2px;
}

/* Sekcja usług */
.services {
    background-color: var(--white);
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.service-card {
    background-color: var(--background);
    border-radius: 10px;
    overflow: hidden;
    width: calc(33.333% - 20px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary);
}

.service-content p {
    margin-bottom: 20px;
    color: var(--light-text);
}

.service-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-1);
    margin-bottom: 20px;
    display: block;
}

/* Formularz zamówienia */
.order-form {
    background-color: var(--primary);
    color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.order-form h3 {
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 16px;
    transition: all 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary);
    background-color: rgba(255, 255, 255, 0.2);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

select.form-control option {
    color: black;
    background-color: white;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.checkbox-group input {
    margin-right: 10px;
    margin-top: 5px;
}

.checkbox-group label {
    font-size: 14px;
    color: var(--white);
}

.checkbox-group label a {
    color: var(--white);
    text-decoration: underline;
}

.checkbox-group label a:hover {
    text-decoration: underline;
}

.submit-btn {
    background-color: var(--secondary);
    color: var(--white);
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    margin-top: 20px;
}

.submit-btn:hover {
    background-color: var(--accent-1);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Sekcja FAQ */
.faq {
    background-color: var(--white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-item details {
    background-color: var(--background);
}

.faq-item summary {
    padding: 15px 20px;
    background-color: var(--primary);
    color: var(--white);
    font-weight: 600;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s;
}

.faq-item summary:hover {
    background-color: var(--accent-2);
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
}

.faq-item details[open] summary::after {
    content: "-";
}

.faq-item details[open] summary {
    background-color: var(--accent-2);
}

.faq-content {
    padding: 20px;
    background-color: var(--background);
}

/* Sekcja Testimonials */
.testimonials {
    background-color: var(--background);
}

.testimonials-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.testimonial-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    width: calc(33.333% - 20px);
    transition: transform 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
}

.testimonial-text::before {
    content: """;
    font-size: 60px;
    color: var(--secondary);
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: -10px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.author-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--primary);
}

.author-info p {
    font-size: 14px;
    color: var(--light-text);
}

/* Kontakt */
.contact {
    background-color: var(--white);
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.contact-info {
    width: calc(50% - 15px);
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--primary);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--white);
    font-size: 20px;
}

.contact-text h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--primary);
}

.contact-text p {
    color: var(--light-text);
}

.contact-map {
    width: calc(50% - 15px);
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
}

/* Stopka */
footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-col {
    width: calc(33.333% - 20px);
}

.footer-col h3 {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--secondary);
}

.footer-col p {
    margin-bottom: 15px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links li a:hover {
    color: var(--secondary);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: var(--primary);
    color: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.5s, opacity 0.5s;
}

.cookie-consent.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-text {
    flex: 1;
    padding-right: 20px;
}

.cookie-text p {
    margin-bottom: 0;
    color: var(--white);
}

.cookie-text a {
    color: var(--secondary);
    text-decoration: none;
}

.cookie-text a:hover {
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-btn {
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.cookie-accept {
    background-color: var(--secondary);
    color: var(--white);
    border: none;
}

.cookie-accept:hover {
    background-color: var(--accent-1);
}

.cookie-decline {
    background-color: transparent;
    color: var(--white);
    border: 1px solid var(--white);
}

.cookie-decline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Strony polityk */
.policy-page {
    background-color: var(--white);
    padding: 50px 0;
}

.policy-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--white);
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.policy-container h1 {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 30px;
    text-align: center;
}

.policy-container h2 {
    font-size: 24px;
    color: var(--primary);
    margin: 30px 0 15px;
}

.policy-container p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.policy-container ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.policy-container ul li {
    margin-bottom: 10px;
}

/* Strona Thank You */
.thank-you {
    background-color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.thank-you-container {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--background);
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--primary);
}

.thank-you h1 {
    font-size: 48px;
    color: var(--primary);
    margin-bottom: 20px;
}

.thank-you p {
    font-size: 20px;
    margin-bottom: 30px;
}

/* Favicon */
.favicon {
    display: inline-block;
    width: 32px;
    height: 32px;
    background-color: var(--primary);
    color: var(--white);
    font-weight: 700;
    border-radius: 50%;
    text-align: center;
    line-height: 32px;
    margin-right: 10px;
}

/* Strony dodatkowe */
.extra-page {
    background-color: var(--white);
    padding: 80px 0;
}

.extra-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--background);
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.extra-container h1 {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 30px;
    text-align: center;
}

.extra-container p {
    margin-bottom: 20px;
    line-height: 1.7;
}

/* Media Queries */
@media (max-width: 992px) {
    .service-card,
    .testimonial-card,
    .footer-col {
        width: calc(50% - 15px);
    }
    
    .contact-info,
    .contact-map {
        width: 100%;
    }
    
    .contact-map {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .section-title h2 {
        font-size: 30px;
    }
    
    .desktop-menu {
        display: none;
    }
    
    .header-container {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .service-card,
    .testimonial-card,
    .footer-col {
        width: 100%;
    }
    
    .hero {
        padding: 100px 0;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .btn {
        padding: 10px 25px;
    }
    
    .section-title h2 {
        font-size: 26px;
    }
    
    .cookie-consent {
        flex-direction: column;
    }
    
    .cookie-text {
        padding-right: 0;
        margin-bottom: 15px;
    }
}
