/* Reset i podstawowe 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: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: #1a252f;
    background-color: #f8f9fa;
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.main-header {
    background: linear-gradient(135deg, #9B5DE5 0%, #FF6F61 100%);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    color: #ffffff;
    text-decoration: none;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-icon span {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    transition: 0.3s;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    background-color: rgba(255,255,255,0.1);
}

.nav-menu a:hover {
    background-color: rgba(255,255,255,0.2);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(155, 93, 229, 0.7), rgba(255, 111, 97, 0.7)), url('./img/06Khpm.jpg') center/cover no-repeat;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    position: relative;
}

.hero-content {
    background-color: rgba(0,0,0,0.75);
    padding: 3rem;
    border-radius: 20px;
    max-width: 800px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.2);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 10px rgba(0,0,0,0.8);
    color: #ffffff;
    font-weight: bold;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.8);
    color: #ffffff;
    font-weight: 500;
}

.hero-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #FF6F61, #FFB347);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-shadow: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

/* Sections */
section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1a252f;
    position: relative;
    font-weight: bold;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #FF6F61, #9B5DE5);
    margin: 1rem auto;
    border-radius: 2px;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    background: #ffffff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
}

.about-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-image {
    width: 100%;
    height: 100%;
    min-height: 300px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.service-card:nth-child(1) {
    border-color: #FF6F61;
}

.service-card:nth-child(2) {
    border-color: #3EB489;
}

.service-card:nth-child(3) {
    border-color: #9B5DE5;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: #1a252f;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: bold;
}

.service-card p {
    color: #333;
    line-height: 1.8;
    font-size: 1rem;
}

/* Form Section */
.form-section {
    background: linear-gradient(135deg, #B2F7EF 0%, #3EB489 100%);
    padding: 4rem 0;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: #ffffff;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #1a252f;
    font-weight: 600;
    font-size: 1rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background-color: #ffffff;
    color: #1a252f;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #9B5DE5;
    box-shadow: 0 0 0 3px rgba(155, 93, 229, 0.1);
}

.form-group select option {
    color: black;
    background-color: white;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.3rem;
}

.checkbox-group label {
    font-weight: normal;
    font-size: 0.95rem;
    color: #000000;
    line-height: 1.6;
}

.checkbox-group a {
    color: #000000;
    text-decoration: underline;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #FF6F61, #FFB347);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 111, 97, 0.4);
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: scale(1.05);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-item h3 {
    color: #1a252f;
    margin-bottom: 1rem;
    font-weight: bold;
    font-size: 1.3rem;
}

.feature-item p {
    color: #333;
    font-size: 1rem;
    line-height: 1.8;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial {
    background: #ffffff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-left: 4px solid #9B5DE5;
}

.testimonial p {
    color: #2c3e50;
    font-style: italic;
    margin-bottom: 1rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.testimonial-author {
    color: #1a252f;
    font-weight: bold;
    font-size: 1rem;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, #9B5DE5 0%, #FF6F61 100%);
    color: #ffffff;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-info {
    text-align: left;
    padding: 2rem;
    background-color: rgba(0,0,0,0.4);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
}

.contact-info p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #ffffff;
    font-weight: 500;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.contact-info a {
    color: #ffffff;
    text-decoration: underline;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.contact-map {
    width: 100%;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

/* Footer */
.main-footer {
    background: #2c3e50;
    color: #ffffff;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #FFB347;
}

.footer-section p,
.footer-section a {
    color: #ecf0f1;
    text-decoration: none;
    line-height: 1.8;
}

.footer-section a:hover {
    color: #FFB347;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #bdc3c7;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(44, 62, 80, 0.95);
    color: #ffffff;
    padding: 1.5rem;
    z-index: 10000;
    display: none;
    backdrop-filter: blur(10px);
}

.cookie-consent.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-content p {
    flex: 1;
    color: #ffffff;
}

.cookie-btn {
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, #FF6F61, #FFB347);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.cookie-btn:hover {
    transform: scale(1.05);
}

/* Policy Pages */
.policy-page {
    max-width: 900px;
    margin: 2rem auto;
    padding: 2rem;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border: 2px solid #9B5DE5;
}

.policy-page h1 {
    color: #1a252f;
    margin-bottom: 2rem;
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
}

.policy-page h2 {
    color: #7B4DD5;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-weight: bold;
}

.policy-page p {
    color: #2c3e50;
    line-height: 1.9;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.policy-page ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    line-height: 1.9;
}

.policy-page li {
    margin-bottom: 0.5rem;
}

.policy-page a {
    color: #7B4DD5;
    text-decoration: underline;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .menu-icon {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #9B5DE5 0%, #FF6F61 100%);
        flex-direction: column;
        padding: 1rem;
        display: none;
        box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    }

    .menu-toggle:checked ~ .nav-menu {
        display: flex;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-content {
        padding: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-map {
        height: 300px;
    }

    .cookie-consent {
        padding: 1rem;
    }

    .cookie-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .cookie-content p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 0;
    }

    .cookie-btn {
        width: 100%;
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
    }

