/* Resetowanie stylów */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Zmienne CSS */
:root {
    --primary-color: #000000;
    --secondary-color: #3A3A3A;
    --accent-color: #E8E6E1;
    --light-color: #D1D1D1;
    --dark-color: #000000;
    --font-main: 'Montserrat', sans-serif;
    --font-accent: 'Playfair Display', serif;
    --font-title: 'Italiana', serif;
    --transition-speed: 0.3s;
}

body {
    font-family: var(--font-main);
    background-color: var(--secondary-color);
    color: var(--accent-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

/* Splashscreen styles */
.video-splashscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 1.5s ease-out;
}

.video-splashscreen.fade-out {
    opacity: 0;
    pointer-events: none;
}

.splash-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.skip-button {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: rgba(232, 230, 225, 0.2);
    border: 1px solid rgba(232, 230, 225, 0.3);
    color: var(--accent-color);
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.skip-button:hover {
    background: rgba(232, 230, 225, 0.3);
    border-color: rgba(232, 230, 225, 0.5);
    transform: translateY(-2px);
}

/* Hide splashscreen on mobile devices */
@media (max-width: 768px) {
    .video-splashscreen {
        display: none !important;
    }
}

body.menu-open {
    overflow: hidden;
}

#background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.3;
}

.privacy-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    display: none;
}

.privacy-content {
    background-color: var(--secondary-color);
    max-width: 500px;
    width: 90%;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
    animation: fadeInUp 0.5s ease-out;
}

.privacy-content h2 {
    font-family: var(--font-title);
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.privacy-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: var(--accent-color);
}

.privacy-content a {
    color: var(--light-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.privacy-content a:hover {
    text-decoration: underline;
}

.privacy-button {
    background-color: var(--accent-color);
    color: var(--primary-color);
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(232, 230, 225, 0.4);
}

.privacy-button:hover {
    background-color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(232, 230, 225, 0.5);
}

/* Nagłówek - ujednolicony */
header {
    background-color: rgba(0, 0, 0, 0.85);
    padding: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.logo {
    font-family: var(--font-title);
    font-size: 2rem;
    font-weight: 400;
    color: var(--accent-color);
    letter-spacing: 1px;
    text-decoration: none;
    z-index: 1001;
    transition: opacity var(--transition-speed);
}

.logo:hover {
    opacity: 0.9;
}

.header-right {
    display: flex;
    align-items: center;
}

nav ul {
    display: flex;
    list-style-type: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
}

nav ul li a.active:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
    bottom: -5px;
    left: 0;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

nav ul li a:hover:after {
    width: 100%;
}

/* Hamburger menu */
.menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    position: relative;
    z-index: 1001;
}

.menu-toggle .bar {
    height: 3px;
    width: 100%;
    background-color: var(--accent-color);
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
}

/* Menu języków */
.language-selector {
    position: relative;
    margin-left: 2rem;
    cursor: pointer;
    z-index: 1010;
}

.current-language {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-color);
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.current-language:hover {
    background-color: rgba(232, 230, 225, 0.1);
}

.current-language img, .language-dropdown img {
    width: 20px;
    height: 15px;
    border-radius: 2px;
    object-fit: cover;
}

.dropdown-arrow {
    border: solid var(--accent-color);
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg);
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.language-selector.active .dropdown-arrow {
    transform: rotate(-135deg);
}

.language-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: rgba(0, 0, 0, 0.95);
    border-radius: 8px;
    padding: 10px 0;
    min-width: 150px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    margin-top: 5px;
}

.language-dropdown li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 15px;
    transition: background-color 0.3s ease;
    color: var(--accent-color);
    margin: 0;
}

.language-dropdown li:hover {
    background-color: rgba(232, 230, 225, 0.15);
}

.language-dropdown.show {
    display: block;
    animation: fadeInDown 0.3s ease-out;
}

/* Sekcja Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background-size: cover;
    position: relative;
    padding-top: 80px;
}

.hero:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(58, 58, 58, 0.5));
    z-index: 1;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: var(--font-title);
    font-size: 4rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    animation: fadeInDown 1.2s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    max-width: 600px;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    animation: fadeInUp 1.2s ease-out;
    color: var(--light-color);
}

.hero-btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all var(--transition-speed) cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(232, 230, 225, 0.4);
    animation: fadeInUp 1.5s ease-out;
}

.hero-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(232, 230, 225, 0.5);
    background-color: #ffffff;
}

.button-link {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--primary-color);
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    text-align: center;
    transition: all var(--transition-speed) cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    margin: 30px auto;
    box-shadow: 0 4px 15px rgba(232, 230, 225, 0.3);
}

.button-link:hover {
    background-color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(232, 230, 225, 0.5);
}

.button-container {
    text-align: center;
    margin-top: 2rem;
}

/* Animacje */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Sekcje strony */
.section {
    padding: 5rem 2rem;
}

.section-alt {
    background-color: var(--secondary-color);
    position: relative;
    z-index: 2;
}

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

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-family: var(--font-title);
    font-size: 2.5rem;
    color: var(--accent-color);
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background: var(--light-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--light-color);
    line-height: 1.6;
    font-size: 1.1rem;
}

/* Animacja elementów przy przewijaniu */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Sekcja O Nas */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    width: 100%;
    height: 500px;
    border-radius: 15px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-content h3 {
    font-family: var(--font-accent);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.about-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--light-color);
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
}

.feature-icon {
    width: 45px;
    height: 45px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Sekcja usług */
.services-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background-color: var(--secondary-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-speed) ease;
    border: 1px solid var(--accent-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-image {
    height: 250px;
    width: 100%;
    object-fit: cover;
}

.service-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    font-family: var(--font-accent);
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.service-content p {
    color: var(--light-color);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-link {
    display: inline-block;
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: none;
    position: relative;
    transition: all var(--transition-speed) ease;
    margin-top: auto;
}

.service-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    bottom: -4px;
    left: 0;
    transition: width var(--transition-speed) ease;
}

.service-link:hover:after {
    width: 100%;
}

/* Sekcja opinii */
.testimonials {
    background: linear-gradient(to right, #000000, #3A3A3A);
    color: var(--accent-color);
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.testimonials:before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background-color: rgba(232, 230, 225, 0.05);
    border-radius: 50%;
    top: -150px;
    left: -150px;
}

.testimonials:after {
    content: "";
    position: absolute;
    width: 200px;
    height: 200px;
    background-color: rgba(232, 230, 225, 0.05);
    border-radius: 50%;
    bottom: -100px;
    right: -100px;
}

.testimonial-slider {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-item {
    padding: 0 20px;
    animation: fadeIn 0.5s ease-out;
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 25px;
    line-height: 1.8;
    position: relative;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-text:before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    left: 15px;
    top: -20px;
    opacity: 0.3;
    font-family: var(--font-accent);
}

.testimonial-author {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.testimonial-job {
    font-size: 0.9rem;
    opacity: 0.8;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(232, 230, 225, 0.3);
    border-radius: 50%;
    margin: 0 8px;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

.dot.active {
    background-color: var(--accent-color);
    transform: scale(1.3);
}

/* Sekcja Aktualności */
.news-section {
    padding: 5rem 2rem;
    background-color: var(--secondary-color);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 3rem;
}

.news-item {
    background-color: rgba(58, 58, 58, 0.8);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-speed) ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--accent-color);
}

.news-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.news-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

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

.news-item:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-date {
    font-size: 0.9rem;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.news-title {
    font-family: var(--font-accent);
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--accent-color);
    line-height: 1.3;
}

.news-excerpt {
    color: var(--light-color);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.news-link {
    display: inline-block;
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: none;
    position: relative;
    transition: all var(--transition-speed) ease;
    margin-top: auto;
}

.news-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    bottom: -4px;
    left: 0;
    transition: width var(--transition-speed) ease;
}

.news-link:hover:after {
    width: 100%;
}

.view-all-btn {
    display: block;
    margin: 0 auto;
    background-color: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-speed) cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    text-align: center;
    max-width: fit-content;
    text-decoration: none;
}

.view-all-btn:hover {
    background-color: var(--accent-color);
    color: var(--dark-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(232, 230, 225, 0.3);
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 5rem 2rem;
    background: linear-gradient(to right, #000000, #3A3A3A);
    color: var(--accent-color);
}

.cta-title {
    font-family: var(--font-title);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-speed) cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cta-btn-primary {
    background-color: var(--accent-color);
    color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cta-btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.cta-btn-secondary {
    background-color: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.cta-btn-secondary:hover {
    background-color: rgba(232, 230, 225, 0.1);
    transform: translateY(-5px);
}

/* Modal kontaktowy */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1100;
    overflow-y: auto;
    padding: 20px;
}

.modal-content {
    background-color: var(--secondary-color);
    margin: 5% auto;
    padding: 25px 30px;
    border-radius: 15px;
    max-width: 600px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
    border: 1px solid var(--accent-color);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    color: var(--accent-color);
    cursor: pointer;
    transition: all 0.2s;
}

.close-btn:hover {
    color: var(--light-color);
}

.modal-content h2 {
    color: var(--accent-color);
    font-family: var(--font-title);
    margin-bottom: 10px;
    font-size: 2rem;
}

.modal-content p {
    margin-bottom: 20px;
    color: var(--light-color);
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--accent-color);
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 16px;
    transition: all 0.3s;
    background-color: rgba(58, 58, 58, 0.9);
    color: var(--accent-color);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(232, 230, 225, 0.2);
    outline: none;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
}

.form-checkbox input {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

.form-checkbox label {
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.4;
}

.submit-btn {
    background-color: var(--accent-color);
    color: var(--primary-color);
    border: none;
    padding: 14px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all var(--transition-speed) cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: block;
    width: 100%;
    margin-top: 10px;
}

.submit-btn:hover {
    background-color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(232, 230, 225, 0.4);
}

/* Stopka */
footer {
    background-color: #000000;
    color: var(--accent-color);
    padding: 3rem 2rem;
    text-align: center;
    margin-top: auto;
}

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

.footer-logo {
    font-family: var(--font-title);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.8rem;
}

.footer-links a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1.05rem;
}

.footer-links a:hover {
    color: var(--light-color);
}

.footer-bottom {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(232, 230, 225, 0.1);
    font-size: 0.95rem;
    color: rgba(232, 230, 225, 0.7);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

/* Style dla linków polityk w stopce */
.footer-policies {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-policies a {
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    position: relative;
}

.footer-policies a:hover {
    color: var(--light-color);
}

.footer-policies a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    background: var(--light-color);
    bottom: -2px;
    left: 0;
    transition: width 0.3s ease;
}

.footer-policies a:hover:after {
    width: 100%;
}

.footer-policies .separator {
    color: rgba(232, 230, 225, 0.5);
    font-size: 0.9rem;
}

/* Wskaźnik aktywnej sekcji */
.scroll-indicator {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 100;
    display: none;
}

.scroll-indicator-dot {
    width: 10px;
    height: 10px;
    margin: 10px 0;
    border-radius: 50%;
    background-color: rgba(232, 230, 225, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-indicator-dot.active {
    background-color: var(--accent-color);
    transform: scale(1.3);
}

@media (min-width: 1200px) {
    .scroll-indicator {
        display: block;
    }
}

/* Responsywność - poprawiona wersja */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .services-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        gap: 30px;
    }
    
    .about-image {
        height: 400px;
    }
    
    nav ul li {
        margin-left: 1.5rem;
    }
    
    nav ul li a {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    /* Menu mobilne */
    .menu-toggle {
        display: flex;
    }
    
    header {
        padding: 1.2rem;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    
    .header-right {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 80px;
        transition: all 0.5s ease;
        z-index: 999;
        box-shadow: -5px 0px 15px rgba(0, 0, 0, 0.2);
    }
    
    .header-right.active {
        right: 0;
    }
    
    nav {
        width: 100%;
    }
    
    nav ul {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
    }
    
    nav ul li {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }
    
    nav ul li a {
        display: block;
        font-size: 1.1rem;
        padding: 10px 0;
    }
    
    nav ul li a:after {
        bottom: 0;
    }
    
    /* Poprawka dla selektora języka */
    .language-selector {
        margin: 20px auto;
        width: 100%;
        text-align: center;
    }
    
    .current-language {
        justify-content: center;
    }
    
    /* Animacje dla hamburger menu */
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    /* Inne elementy responsywne */
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .services-container {
        grid-template-columns: 1fr;
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        margin-top: 1.5rem;
        justify-content: center;
    }
    
    .footer-bottom {
        margin-top: 2rem;
    }
}

@media (max-width: 576px) {
    .privacy-content {
        padding: 2rem 1.5rem;
    }
    
    .privacy-content h2 {
        font-size: 1.5rem;
    }
    
    .privacy-content p {
        font-size: 1rem;
    }
    
    .privacy-button {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }
    
    .header-right {
        width: 100%;
        max-width: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-btn {
        padding: 0.9rem 1.8rem;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .cta-btn {
        width: 100%;
        text-align: center;
    }
    
    .modal-content {
        padding: 20px 15px;
        margin: 10% auto;
    }
    
    .modal-content h2 {
        font-size: 1.8rem;
    }
    
    .testimonial-text {
        padding: 20px;
        font-size: 1rem;
    }
    
    .testimonial-author {
        font-size: 1rem;
    }
    
    .footer-policies {
        flex-direction: row;
        gap: 0.5rem;
    }
    
    .footer-policies a {
        font-size: 0.85rem;
    }
    
    .footer-policies .separator {
        font-size: 0.85rem;
    }
}

/* Dodatkowe style dla wyśrodkowania przycisków aktualności */
.news-section .hero-btn {
    display: block;
    margin: 30px auto 0;
    text-align: center;
    max-width: fit-content;
}

/* Wyśrodkowanie wszystkich przycisków hero-btn w sekcjach */
.section .hero-btn,
.news-section .hero-btn,
.cta-section .hero-btn {
    display: block;
    margin: 30px auto 0;
    text-align: center;
    max-width: fit-content;
}

/* Dodatkowe wyśrodkowanie dla przycisków CTA */
.cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* ====== NADPISANIE STYLÓW GŁÓWNYCH DLA PORTFOLIO ====== */
/* Zapewnienie, że style portfolio mają priorytet */

.portfolio-page .portfolio-image {
    object-fit: contain !important;
    object-position: center !important;
    width: 100% !important;
    height: 100% !important;
}

/* Zapewnienie, że container ma odpowiednie proporcje */
.portfolio-page .flip-card-container {
    aspect-ratio: auto !important;
    min-height: 300px !important;
}

/* Dodatkowe zabezpieczenie przed konfliktami CSS */
.portfolio-page img.portfolio-image {
    object-fit: contain !important;
    max-width: 100% !important;
    max-height: 100% !important;
}