/* Base Styles */
:root {
    --color-background: #0D0D0D;
    --color-accent-1: #FF5DA2;
    --color-accent-2: #7DE2D1;
    --color-accent-3: #FFDE59;
    --color-text: #FFFFFF;
    --color-text-dark: #0D0D0D;
    --color-header: var(--color-accent-2);
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
}

* {
    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: var(--font-primary);
    background-color: var(--color-background);
    color: var(--color-text);
    line-height: 1.6;
}

body:has(#menu-toggle:checked) {
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    color: var(--color-header);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

h1 {
    font-size: clamp(2rem, 5vw, 2.5rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
}

h3 {
    font-size: clamp(1.5rem, 3.5vw, 1.75rem);
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color-accent-2);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-accent-3);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 0;
}

.container > h2,
.container > p {
    text-align: center;
}

.container > p {
    margin-bottom: 2rem;
}

/* Button Styles */
.btn {
    display: inline-block;
    background: linear-gradient(45deg, var(--color-accent-1), var(--color-accent-3));
    color: var(--color-text-dark);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    margin: auto;
    max-width: max-content;
    display: block;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    color: var(--color-text-dark);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-accent-2);
    color: var(--color-accent-2);
}

.btn-outline:hover {
    color: var(--color-accent-2);
    box-shadow: 0 0 15px rgba(125, 226, 209, 0.3);
}

/* Header Styles */
.header {
    position: sticky;
    top: 0;
    background-color: rgba(20, 20, 20, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-accent-1);
    transition: color 0.3s ease;
}

.logo:hover {
    color: var(--color-accent-3);
}

.menu-checkbox {
    display: none;
}

.menu-toggle-label {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
}

.menu-toggle-label span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--color-accent-2);
    transition: all 0.3s ease;
}

nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 20px;
}

nav ul li a {
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent-2);
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

.nav-btn {
    background: linear-gradient(45deg, var(--color-accent-1), var(--color-accent-3));
    color: var(--color-text-dark);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-weight: 600;
}

.nav-btn:hover {
    color: var(--color-text-dark);
    transform: translateY(-3px);
}

/* Hero Section */
.hero {
    background-image: url('./img/Vgwdj.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    text-align: center;
    height: 90vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(13, 13, 13, 0.8), rgba(13, 13, 13, 0.4));
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    margin-bottom: 1rem;
    font-size: clamp(2rem, 5vw, 2.5rem);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(125, 226, 209, 0.3);
    border: 2px solid var(--color-accent-2);
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-item {
    background-color: rgba(20, 20, 20, 0.7);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--color-accent-2);
    box-shadow: 0 0 15px rgba(125, 226, 209, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(125, 226, 209, 0.3);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-accent-1);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.service-card {
    background-color: rgba(20, 20, 20, 0.7);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--color-accent-2);
    box-shadow: 0 0 15px rgba(125, 226, 209, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: grid;
    grid-template-rows: auto auto 1fr auto;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(125, 226, 209, 0.3);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    text-align: center;
}

.service-card p {
    padding: 0 1.5rem 1.5rem;
    text-align: center;
}

.service-card .btn {
    margin: 0 1.5rem 1.5rem;
}

/* Steps Section */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(276px, 1fr));
    gap: 20px;
}

.step-item {
    background-color: rgba(20, 20, 20, 0.7);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--color-accent-2);
    box-shadow: 0 0 15px rgba(125, 226, 209, 0.2);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(125, 226, 209, 0.3);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--color-accent-1), var(--color-accent-3));
    color: var(--color-text-dark);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.testimonial-item {
    background-color: rgba(20, 20, 20, 0.7);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--color-accent-2);
    box-shadow: 0 0 15px rgba(125, 226, 209, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(125, 226, 209, 0.3);
}

.testimonial-content {
    padding: 2rem 2rem 1rem;
    font-style: italic;
    position: relative;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: 0;
    left: 1rem;
    font-size: 5rem;
    color: var(--color-accent-2);
    opacity: 0.3;
    line-height: 1;
}

.testimonial-author {
    padding: 0 2rem 2rem;
}

.testimonial-author h4 {
    margin-bottom: 0.25rem;
    color: var(--color-accent-1);
}

/* FAQ Section */
.faq-items {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid var(--color-accent-2);
    border-radius: 10px;
    overflow: hidden;
}

.faq-checkbox {
    display: none;
}

.faq-question {
    display: block;
    padding: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    background-color: rgba(20, 20, 20, 0.7);
    position: relative;
    transition: background-color 0.3s ease;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--color-accent-2);
    transition: transform 0.3s ease;
}

.faq-checkbox:checked + .faq-question::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.5rem;
    background-color: rgba(25, 25, 25, 0.7);
}

.faq-checkbox:checked + .faq-question + .faq-answer {
    max-height: 500px;
    padding: 1.5rem;
}

/* Form Section */
.form-container {
    max-width: 700px;
    margin: 0 auto;
    background-color: rgba(20, 20, 20, 0.7);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--color-accent-2);
    box-shadow: 0 0 25px rgba(125, 226, 209, 0.3);
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

input[type="text"],
input[type="tel"],
select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--color-accent-2);
    border-radius: 5px;
    background-color: rgba(30, 30, 30, 0.8);
    color: var(--color-text);
    font-family: var(--font-primary);
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%237DE2D1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

option {
    color: black;
    background-color: white;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.3rem;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Footer Styles */
.footer {
    background-color: rgba(20, 20, 20, 0.9);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
    border-top: 1px solid var(--color-accent-2);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-info h3 {
    font-size: 1.8rem;
    color: var(--color-accent-1);
    margin-bottom: 1rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-section h4 {
    color: var(--color-accent-3);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 2rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(125, 226, 209, 0.3);
    border-bottom: 1px solid rgba(125, 226, 209, 0.3);
}

.contact-item {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background-color: rgba(25, 25, 25, 0.95);
    padding: 1.5rem;
    z-index: 9999;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
    border-top: 2px solid var(--color-accent-2);
    transition: bottom 0.5s ease;
    min-width: 300px;
}

.cookie-popup.show {
    bottom: 0;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.cookie-content p {
    margin-right: 1rem;
    margin-bottom: 1rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

/* Thank you page */
.thanks-section {
    min-height: 100vh;
    display: grid;
    align-items: center;
}

.thanks-container {
    max-width: 700px;
    margin: 5rem auto;
    background-color: rgba(20, 20, 20, 0.7);
    padding: 3rem;
    border-radius: 10px;
    border: 1px solid var(--color-accent-2);
    box-shadow: 0 0 25px rgba(125, 226, 209, 0.3);
    text-align: center;
}

.thanks-container h1 {
    color: var(--color-accent-1);
}

.thanks-container .btn {
    margin-top: 2rem;
}

/* Policy Pages */
.policy-section {
    padding: 4rem 0;
}

.policy-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: rgba(20, 20, 20, 0.7);
    padding: 3rem;
    border-radius: 10px;
    border: 1px solid var(--color-accent-2);
    box-shadow: 0 0 25px rgba(125, 226, 209, 0.3);
}

.policy-container h1 {
    margin-bottom: 2rem;
    text-align: center;
}

.policy-container h2 {
    color: var(--color-accent-1);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.policy-container p, .policy-container ul, .policy-container ol {
    margin-bottom: 1rem;
}

.policy-container ul, .policy-container ol {
    margin-left: 1.5rem;
}

/* Blog & O Nas & Porady Pages */
.page-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem;
    background-color: rgba(20, 20, 20, 0.7);
    border-radius: 10px;
    border: 1px solid var(--color-accent-2);
    box-shadow: 0 0 25px rgba(125, 226, 209, 0.3);
}

.page-container h1 {
    margin-bottom: 2rem;
    text-align: center;
}

/* Media Queries */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .menu-toggle-label {
        display: flex;
        z-index: 101;
    }
    
    .nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background-color: rgba(13, 13, 13, 0.95);
        padding: 5rem 2rem 2rem;
        transition: left 0.3s ease;
        z-index: 100;
    }
    
    #menu-toggle:checked ~ .nav {
        left: 0;
        max-height: 100vh;
    }
    
    #menu-toggle:checked ~ .menu-toggle-label span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    #menu-toggle:checked ~ .menu-toggle-label span:nth-child(2) {
        opacity: 0;
    }
    
    #menu-toggle:checked ~ .menu-toggle-label span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    nav ul li {
        width: 100%;
        text-align: center;
    }
    
    .about-content, 
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-contact {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .policy-container,
    .page-container,
    .thanks-container {
        padding: 2rem;
    }
    
    .thanks-section {
        height: auto;
    }
}

@media (max-width: 576px) {
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
}
