/* 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: #333;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid #ffd700;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo img {
    height: 50px;
    width: auto;
    max-width: 200px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    position: relative;
    overflow: hidden;
}

.nav-link:hover {
    color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-2px);
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.2), transparent);
    transition: left 0.5s;
}

.nav-link:hover::before {
    left: 100%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: #ffd700;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 69, 0, 0.1) 100%);
    border-radius: 20px;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero-cta {
    margin-top: 2rem;
}

/* CTA Buttons */
.cta-button, .inline-cta {
    display: inline-block;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #000;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover, .inline-cta:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.6);
    background: linear-gradient(45deg, #ffed4e, #ffd700);
}

.cta-button::before, .inline-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.cta-button:hover::before, .inline-cta:hover::before {
    left: 100%;
}

.inline-cta {
    padding: 0.8rem 2rem;
    font-size: 1rem;
    margin: 1rem 0;
}

/* Content Sections */
.main {
    background: rgba(255, 255, 255, 0.95);
    margin: 2rem 0;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.content-wrapper {
    padding: 3rem 0;
}

.content-section {
    margin-bottom: 3rem;
    padding: 0 2rem;
}

.content-section h2 {
    color: #1a1a2e;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #ffd700, #ff6b35);
    border-radius: 2px;
}

.content-section h3 {
    color: #1a1a2e;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-align: center;
}

.content-section p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #444;
    line-height: 1.7;
}

.content-section ul {
    max-width: 800px;
    margin: 0 auto 2rem auto;
    background: rgba(255, 215, 0, 0.1);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid #ffd700;
}

.content-section ul li {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #444;
    padding-left: 1rem;
    position: relative;
}

.content-section ul li::before {
    content: '★';
    position: absolute;
    left: 0;
    color: #ffd700;
    font-weight: bold;
}

/* Layout dla tekstu z obrazkami */
.text-image-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
}

.text-image-layout.reverse {
    grid-template-columns: 1fr 2fr;
}

.text-image-layout.reverse .text-content {
    order: 2;
}

.text-image-layout.reverse .image-content {
    order: 1;
}

.text-content {
    text-align: left;
}

.text-content p {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.image-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.content-image {
    width: 100%;
    max-width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.content-image:hover {
    transform: scale(1.05);
}

.centered-image {
    text-align: center;
    margin: 3rem 0;
}

.center-image {
    width: 100%;
    max-width: 600px;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.center-image:hover {
    transform: scale(1.02);
}

/* FAQ Section */
.faq-section {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05) 0%, rgba(255, 69, 0, 0.05) 100%);
    border-radius: 20px;
    padding: 3rem 2rem;
    margin-top: 4rem;
}

.faq-item {
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.2);
    transform: translateY(-2px);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 255, 255, 0.1) 100%);
}

.faq-question h3 {
    margin: 0;
    color: #1a1a2e;
    font-size: 1.3rem;
    text-align: left;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffd700;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 500px;
}

.faq-answer p {
    margin: 0;
    color: #555;
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 3rem 0 2rem;
    margin-top: 4rem;
    border-top: 3px solid #ffd700;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #ffd700;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-section p {
    margin-bottom: 0.5rem;
    text-align: left;
}

.footer-section ul {
    list-style: none;
    background: none;
    padding: 0;
    border: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
    padding: 0;
}

.footer-section ul li::before {
    display: none;
}

.footer-section a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ffd700;
}

.footer-copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 215, 0, 0.3);
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }
    
    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
    }
    
    .nav-link {
        display: block;
        padding: 1rem 2rem;
        border-radius: 0;
        border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .text-image-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .text-image-layout.reverse {
        grid-template-columns: 1fr;
    }
    
    .text-image-layout.reverse .text-content,
    .text-image-layout.reverse .image-content {
        order: 0;
    }
    
    .content-section {
        padding: 0 1rem;
    }
    
    .content-section h2 {
        font-size: 1.8rem;
    }
    
    .content-section p,
    .text-content p {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    .faq-question h3 {
        font-size: 1.1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 2rem 0;
        margin: 1rem 0;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .cta-button, .inline-cta {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .content-section {
        padding: 0 0.5rem;
    }
    
    .content-section h2 {
        font-size: 1.5rem;
    }
    
    .content-section h3 {
        font-size: 1.3rem;
    }
    
    .content-section p {
        font-size: 1rem;
    }
    
    .content-section ul {
        padding: 1.5rem;
    }
    
    .faq-item {
        margin-bottom: 1rem;
    }
    
    .faq-question {
        padding: 1rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
}