/* 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: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #0A0E27;
    color: #E9E4D7;
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Kolory */
:root {
    --abyss-violet: #2B114C;
    --deep-space-navy: #0A0E27;
    --luminous-mint: #7CF5D2;
    --solar-coral: #FF6F61;
    --moon-dust-beige: #E9E4D7;
    --lavender-smoke: #B8A3E4;
    --accent-gold: #E6B800;
}

/* Header */
.main-header {
    background: rgba(43, 17, 76, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--lavender-smoke);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 3px;
    color: var(--luminous-mint);
    text-decoration: none;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(124, 245, 210, 0.5);
    transition: text-shadow 0.3s ease;
}

.logo:hover {
    text-shadow: 0 0 20px rgba(124, 245, 210, 0.8);
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    order: 2;
    z-index: 1001;
}

.menu-icon span {
    width: 25px;
    height: 2px;
    background: var(--luminous-mint);
    transition: all 0.3s ease;
}

.main-nav {
    display: flex;
    gap: 30px;
    align-items: center;
    order: 1;
}

.main-nav a {
    color: var(--moon-dust-beige);
    text-decoration: none;
    font-size: 16px;
    position: relative;
    transition: color 0.3s ease;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--luminous-mint), var(--solar-coral));
    transition: width 0.3s ease;
}

.main-nav a:hover {
    color: var(--luminous-mint);
}

.main-nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #2B114C 0%, #0A0E27 60%, rgba(124, 245, 210, 0.1) 100%);
    background-image: url('./img/15enRN.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255, 111, 97, 0.15), transparent 60%),
                rgba(10, 14, 39, 0.7);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 40px 20px;
}

.hero h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--moon-dust-beige);
    text-shadow: 0 0 20px rgba(124, 245, 210, 0.3);
    letter-spacing: 2px;
    animation: breathe 6s ease-in-out infinite;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    color: var(--lavender-smoke);
    line-height: 1.8;
}

.hero-cta {
    display: inline-block;
    padding: 15px 40px;
    background: var(--solar-coral);
    color: var(--deep-space-navy);
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(255, 111, 97, 0.4);
}

.hero-cta:hover {
    background: var(--luminous-mint);
    color: var(--deep-space-navy);
    box-shadow: 0 0 30px rgba(124, 245, 210, 0.6);
    transform: translateY(-2px);
}

/* Starfield decoration */
.starfield {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, var(--luminous-mint), transparent),
        radial-gradient(2px 2px at 60% 70%, var(--lavender-smoke), transparent),
        radial-gradient(1px 1px at 50% 50%, var(--accent-gold), transparent),
        radial-gradient(1px 1px at 80% 10%, var(--luminous-mint), transparent),
        radial-gradient(2px 2px at 90% 60%, var(--lavender-smoke), transparent);
    background-size: 200% 200%;
    animation: starfield 20s linear infinite;
    opacity: 0.6;
}

@keyframes starfield {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

@keyframes breathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

/* Sections */
section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 50px;
    color: var(--luminous-mint);
    text-shadow: 0 0 15px rgba(124, 245, 210, 0.3);
    letter-spacing: 2px;
}

.section-subtitle {
    font-size: 20px;
    text-align: center;
    margin-bottom: 40px;
    color: var(--lavender-smoke);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Glassmorphism cards */
.card {
    background: rgba(184, 163, 228, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid var(--lavender-smoke);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.card:hover {
    border-color: var(--luminous-mint);
    box-shadow: 0 0 24px rgba(124, 245, 210, 0.4);
    transform: translateY(-5px);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: rgba(184, 163, 228, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid var(--lavender-smoke);
    border-radius: 20px;
    padding: 0;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 24px;
    color: var(--luminous-mint);
    margin: 20px 20px 15px;
}

.service-card .price {
    font-size: 32px;
    color: var(--solar-coral);
    font-weight: bold;
    margin: 20px 0;
}

.service-card p {
    color: var(--moon-dust-beige);
    margin: 0 20px 25px;
    line-height: 1.8;
    padding-bottom: 20px;
}

.service-card:hover {
    border-color: var(--luminous-mint);
    box-shadow: 0 0 24px rgba(124, 245, 210, 0.4);
    transform: translateY(-5px);
}

.service-card .btn-select {
    margin-bottom: 20px;
}

.btn-select {
    display: inline-block;
    padding: 12px 30px;
    background: var(--solar-coral);
    color: var(--deep-space-navy);
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-select:hover {
    background: var(--luminous-mint);
    box-shadow: 0 0 20px rgba(124, 245, 210, 0.5);
    transform: translateY(-2px);
}

/* How it works */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.step-card {
    background: rgba(184, 163, 228, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid var(--lavender-smoke);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    position: relative;
}

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: var(--solar-coral);
    color: var(--deep-space-navy);
    border-radius: 50%;
    line-height: 50px;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.step-card h3 {
    color: var(--luminous-mint);
    margin-bottom: 15px;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: rgba(184, 163, 228, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid var(--lavender-smoke);
    border-radius: 20px;
    padding: 30px;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-size: 60px;
    color: var(--luminous-mint);
    opacity: 0.3;
    position: absolute;
    top: 10px;
    left: 20px;
}

.testimonial-text {
    color: var(--moon-dust-beige);
    font-style: italic;
    margin-bottom: 15px;
    line-height: 1.8;
}

.testimonial-author {
    color: var(--lavender-smoke);
    font-weight: bold;
}

/* Form */
.booking-form {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(184, 163, 228, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid var(--lavender-smoke);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--luminous-mint);
    font-weight: bold;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    background: rgba(233, 228, 215, 0.1);
    border: 1px solid var(--lavender-smoke);
    border-radius: 10px;
    color: var(--moon-dust-beige);
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--luminous-mint);
    box-shadow: 0 0 15px rgba(124, 245, 210, 0.3);
}

.form-group select option {
    color: black;
    background-color: white;
}

.checkbox-group {
    margin: 20px 0;
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--moon-dust-beige);
    font-weight: normal;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 5px;
    cursor: pointer;
}

.checkbox-group a {
    color: var(--luminous-mint);
    text-decoration: underline;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: var(--solar-coral);
    color: var(--deep-space-navy);
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.submit-btn:hover {
    background: var(--luminous-mint);
    box-shadow: 0 0 25px rgba(124, 245, 210, 0.6);
    transform: translateY(-2px);
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    background: rgba(184, 163, 228, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid var(--lavender-smoke);
    border-radius: 15px;
    overflow: hidden;
}

.faq-item summary {
    padding: 20px;
    cursor: pointer;
    color: var(--luminous-mint);
    font-weight: bold;
    font-size: 18px;
    list-style: none;
    transition: all 0.3s ease;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    float: right;
    font-size: 24px;
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item summary:hover {
    background: rgba(124, 245, 210, 0.1);
}

.faq-item p {
    padding: 0 20px 20px 20px;
    color: var(--moon-dust-beige);
    line-height: 1.8;
}

/* Footer */
.main-footer {
    background: var(--abyss-violet);
    border-top: 1px solid var(--lavender-smoke);
    padding: 60px 0 20px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    color: var(--luminous-mint);
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-section p {
    color: #ffffff;
    margin-bottom: 10px;
    line-height: 1.8;
}

.footer-section a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--luminous-mint);
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(184, 163, 228, 0.2);
    color: #ffffff;
    font-size: 14px;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(43, 17, 76, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--luminous-mint);
    padding: 20px;
    z-index: 10000;
    display: none;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
}

.cookie-popup.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-content p {
    color: var(--moon-dust-beige);
    flex: 1;
    min-width: 250px;
}

.cookie-content a {
    color: var(--luminous-mint);
    text-decoration: underline;
}

.cookie-btn {
    padding: 12px 30px;
    background: var(--solar-coral);
    color: var(--deep-space-navy);
    border: none;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-btn:hover {
    background: var(--luminous-mint);
    box-shadow: 0 0 15px rgba(124, 245, 210, 0.5);
}

/* Policy Pages */
.policy-page {
    max-width: 900px;
    margin: 60px auto;
    padding: 40px;
    background: rgba(184, 163, 228, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid var(--lavender-smoke);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.policy-page h1 {
    color: var(--luminous-mint);
    margin-bottom: 30px;
    font-size: 36px;
    text-align: center;
}

.policy-page h2 {
    color: var(--lavender-smoke);
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 24px;
}

.policy-page p {
    color: var(--moon-dust-beige);
    margin-bottom: 15px;
    line-height: 1.8;
}

.policy-page ul {
    color: var(--moon-dust-beige);
    margin-left: 30px;
    margin-bottom: 20px;
}

.policy-page li {
    margin-bottom: 10px;
    line-height: 1.8;
}

.policy-page a {
    color: var(--luminous-mint);
    text-decoration: underline;
}

.policy-contact {
    background: rgba(184, 163, 228, 0.1);
    border: 1px solid var(--lavender-smoke);
    border-radius: 15px;
    padding: 25px;
    margin-top: 20px;
}

.policy-contact p {
    margin-bottom: 15px;
}

.policy-contact p:last-child {
    margin-bottom: 0;
}

.policy-contact strong {
    color: var(--luminous-mint);
}

/* Thanks Page */
.thanks-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
}

.thanks-content {
    max-width: 700px;
    background: rgba(184, 163, 228, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid var(--lavender-smoke);
    border-radius: 20px;
    padding: 60px 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.thanks-content h1 {
    color: var(--luminous-mint);
    font-size: 36px;
    margin-bottom: 25px;
    text-shadow: 0 0 15px rgba(124, 245, 210, 0.3);
}

.thanks-content p {
    color: var(--moon-dust-beige);
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.thanks-btn {
    display: inline-block;
    padding: 15px 40px;
    background: var(--solar-coral);
    color: var(--deep-space-navy);
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(255, 111, 97, 0.4);
    margin-top: 20px;
}

.thanks-btn:hover {
    background: var(--luminous-mint);
    color: var(--deep-space-navy);
    box-shadow: 0 0 30px rgba(124, 245, 210, 0.6);
    transform: translateY(-2px);
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
    align-items: start;
}

.contact-info {
    background: rgba(184, 163, 228, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid var(--lavender-smoke);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.contact-item {
    margin-bottom: 25px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-map {
    background: rgba(184, 163, 228, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid var(--lavender-smoke);
    border-radius: 20px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    height: 400px;
    min-height: 400px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .menu-icon {
        display: flex;
    }

    .main-nav a {
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid rgba(184, 163, 228, 0.2);
    }

    .main-nav a:last-child {
        border-bottom: none;
    }

    /* Закрытие меню при клике на ссылку */
    .main-nav a:active ~ .menu-toggle,
    .main-nav a:focus ~ .menu-toggle {
        display: none;
    }

    .header-content {
        position: relative;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(43, 17, 76, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        display: none;
        border-top: 1px solid var(--lavender-smoke);
        z-index: 1000;
        order: 3;
    }

    .menu-toggle:checked ~ .main-nav {
        display: flex;
    }

    .menu-toggle:checked ~ .main-nav ~ .menu-icon span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .menu-toggle:checked ~ .main-nav ~ .menu-icon span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle:checked ~ .main-nav ~ .menu-icon span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    body.menu-open {
        overflow: hidden;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 18px;
    }

    .section-title {
        font-size: 28px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-map {
        height: 300px;
        min-height: 300px;
    }

    .booking-form {
        padding: 30px 20px;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-btn {
        width: 100%;
    }

    .policy-page {
        padding: 30px 20px;
        margin: 40px 20px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 24px;
    }

    .hero p {
        font-size: 16px;
    }

    .section-title {
        font-size: 24px;
    }

    .service-card,
    .step-card {
        padding: 25px 20px;
    }
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 2px solid var(--luminous-mint);
    outline-offset: 2px;
}

/* Smooth transitions */
* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

