/* Resetowanie marginesów i paddingu */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Kolorystyka i tło strony */
html {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: Arial, sans-serif;
    color: #333;
    background: linear-gradient(to right, #fffdfd, #fffdfd);
    overflow-x: hidden;
    padding-top: 80px; /* Miejsce na fixed header */
    margin: 0 auto;
    width: 100%;
    max-width: 100%;
    position: relative;
}


/* Animacje */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Stylizacja nagłówka */
header {
    background-color: rgba(255, 255, 255, 0.95);
    color: #000000;
    padding: 20px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
    animation: fadeIn 1s ease-in-out;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 999;
    backdrop-filter: blur(10px);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    margin-left: 20px;
    display: flex;
    align-items: center;
}

.logo img {
    width: 200px;
    height: auto;
    margin-right: 10px;
    transition: transform 0.3s ease;
}


/* Hamburger Menu Button */
.menu-toggle {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
    gap: 5px;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: #e74c3c;
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

header nav ul {
    list-style-type: none;
    display: flex;
}

header nav ul li {
    margin: 0 15px;
}

header nav ul li a {
    color: #000000;
    text-decoration: none;
    position: relative;
    padding: 8px 12px;
    transition: all 0.3s ease;
    font-weight: 500;
    border-radius: 5px;
}

header nav ul li a:hover {
    color: #e74c3c;
    background-color: rgba(231, 76, 60, 0.1);
}

header nav ul li a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #e74c3c, #c0392b);
    transition: width 0.3s ease;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

header nav ul li a:hover::after {
    width: 80%;
}





/* Sekcja hero */
.hero {
    position: relative;
    height: 70vh; /* Zmniejszona wysokość sekcji */
    overflow: hidden;
    color: #fff;
    text-align: center;
    display: flex; /* Flexbox do centrowania */
    flex-direction: column; /* Ustawienie elementów w kolumnie (jeden pod drugim) */
    align-items: center; /* Wyśrodkowanie w poziomie */
    justify-content: center; /* Wyśrodkowanie w pionie */
    gap: 10px; /* Odstęp między elementami */
    top: -5px;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('zdj_1.jpg') center/cover no-repeat;
    animation: backgroundChange 45s infinite;
    z-index: -1;
    filter: brightness(70%);
}

/* Animacja zmiany tła */
@keyframes backgroundChange {
    0%, 12% {
        background: url('zdj_1.jpg') center/cover no-repeat;
    }
    14%, 26% {
        background: url('zdj_2.jpg') center/cover no-repeat;
    }
    28%, 40% {
        background: url('zdj_3.jpg') center/cover no-repeat;
    }
    42%, 54% {
        background: url('zdj_4.jpg') center/cover no-repeat;
    }
    56%, 68% {
        background: url('zdj_5.jpg') center/cover no-repeat;
    }
    70%, 82% {
        background: url('zdj_6.jpg') center/cover no-repeat;
    }
    84%, 96% {
        background: url('zdj_7.jpg') center/cover no-repeat;
    }
    98%, 100% {
        background: url('zdj_1.jpg') center/cover no-repeat;
    }
}


/* Elementy tekstowe w hero */
.hero h1,
.hero p,
.hero .cta-button,
.blinking-text {
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-in-out;
}






.hero h3, 
.hero h1, 
.hero h2, 
.hero p a {
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.5); /* Delikatny cień */
}


.hero h1{
    font-size: 2.8rem;

}
.hero h2{
    font-size: 2.2rem;

}





/* Migotanie tekstu */
.blinking-text {
    font-size: 18px;
    font-weight: bold;
    animation: blink 3s infinite;
    padding: 10px;
}

@keyframes blink {
    0%, 100% {
        color: red;
        background-color: white;
    }
    50% {
        color: white;
        background-color: red;
    }
}

/* Przycisk CTA */
.hero .cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: #fff;
    padding: 15px 30px;
    margin-top: 20px;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    animation: fadeInUp 1.6s ease-in-out;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
}

.hero .cta-button:hover {
    background: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.6);
}

/* Wyróżnienie tekstu */
.hero .highlight {
    color: white;
    background-color: red;
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: bold;
}


a {
    color: white; /* Ustawia kolor na biały */
}



/* Ikony w tekście */
.fa {
    margin-right: 8px;
}


/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Sekcja usług */
.services, .branches, .contact {
    padding: 50px 20px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    animation: fadeIn 1s ease-in-out;
}

.services h2, .branches h2, .contact h2 {
    font-size: 2rem;
    color: #e74c3c;
    margin-bottom: 20px;
}

.service-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.service-item {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 250px;
    text-align: left;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: fadeInUp 1.5s ease-in-out;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.service-item h3 {
    color: #444;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
}

/* Sekcja oddziałów */
.branch-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.branch {
    background: #fff;
    padding: 30px; /* Zwiększono padding */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 270px;
    text-align: left;
    height: 250px; /* Zwiększona wysokość */
    transition: transform 0.3s, box-shadow 0.3s;
    animation: fadeInUp 1.5s ease-in-out;
}

.branch:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.branch h3 {
    color: #444;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
}

/* Lista usług w oddziałach */
.branch p {
    margin: 5px 0;
}

.branch ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-top: 10px;
    color: #666;
}

.branch ul li {
    margin-bottom: 5px;
}

/* Sekcja kontaktowa */
.contact {
    background: #fffdfd;
    color: #2c2c2c;
    padding: 50px 20px;
    text-align: center;
    animation: fadeIn 1s ease-in-out;

}

.contact p {
    margin: 10px 0;
}

.contact h2 {
    color: #e74c3c;
    margin-bottom: 20px;
}

/* Stopka */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
    color: #fff;
    padding: 30px 20px;
    text-align: center;
    font-size: 0.9rem;
    animation: fadeIn 1s ease-in-out;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.footer p {
    margin: 0;
    font-size: 0.9rem;
    color: #bdc3c7;
    transition: color 0.3s ease;
}

.footer p:hover {
    color: #e74c3c;
    transform: scale(1.05);
    display: inline-block;
}



/* Ogólne stylizacje dla sekcji usług */
.services {
    padding: 50px 20px;
    background-color: #fffdfd;
    text-align: center;
}

.services h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
}

.service-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.service-item {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 30px;
    border-radius: 12px;
    width: 280px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    text-align: left;
    border: 1px solid rgba(231, 76, 60, 0.1);
}

.service-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 30px rgba(231, 76, 60, 0.2);
    border-color: rgba(231, 76, 60, 0.3);
}

.service-item h3 {
    font-size: 1.5rem;
    color: #333;
    display: flex;
    align-items: center;
}

.service-item h3 i {
    color: #e74c3c;
    margin-right: 8px; /* Odstęp między ikoną a tekstem */
}

.service-item p {
    font-size: 1rem;
    color: #666;
    margin-top: 10px;
}


/* Ogólne formatowanie strony */


/* Animacje */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stylizacja sekcji oddziałów */
.branches {
    padding: 50px 20px;
    background-color: #fffdfd;
    text-align: center;
}

.branches h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
}

.branch-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

/* Stylizacja pojedynczego oddziału */
.branch {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 30px;
    border-radius: 12px;
    width: 280px;
    height: auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    text-align: left;
    animation: fadeInUp 1s ease-in-out;
    border: 1px solid rgba(231, 76, 60, 0.1);
}

.branch:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 30px rgba(231, 76, 60, 0.2);
    border-color: rgba(231, 76, 60, 0.3);
}

.branch h3 {
    font-size: 1.5rem;
    color: #333;
    display: flex;
    align-items: center;
}

.branch h3 i {
    color: #e74c3c;
    margin-right: 8px; /* Odstęp między ikoną a tekstem */
}

.branch p {
    font-size: 1rem;
    color: #666;
}

.branch ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-top: 10px;
    color: #333;
}

.branch ul li {
    margin-bottom: 5px;
    font-size: 0.95rem;
}

/* Stylizacja linku do map Google */
.branch .map-link {
    display: inline-block;
    margin-top: 15px;
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
    font-size: 0.95rem;
    
}

.branch .map-link i {
    margin-right: 5px;
    color: #3498db;
}

.branch .map-link:hover {
    color: #1d6fa5;
}




#contact {
    padding: 60px 20px;
}

/* Nowoczesny przycisk Scroll to Top */
#scrollToTop {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%) !important;
    color: #ffffff !important;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    text-align: center;
    line-height: 60px;
    cursor: pointer;
    z-index: 999999 !important;
    visibility: hidden;
    opacity: 0;
    transform: translateY(20px) scale(0.8) !important;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) !important;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
    pointer-events: none;
    will-change: transform, opacity;
    margin: 0 !important;
    padding: 0 !important;
}

#scrollToTop.show {
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
    pointer-events: auto !important;
}

#scrollToTop:hover {
    background: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.6);
}

#scrollToTop:active {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.5);
}

#scrollToTop i {
    transition: transform 0.3s ease;
}

#scrollToTop:hover i {
    transform: translateY(-3px);
}

/* Sekcja O Nas */
.about-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    animation: fadeIn 1s ease-in-out;
}

.about-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.about-section h2 {
    font-size: 2.5rem;
    color: #e74c3c;
    text-align: center;
    margin-bottom: 30px;
}

.about-content {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #333;
}

.services-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.services-list li {
    padding: 12px 0;
    font-size: 1.05rem;
    color: #444;
    border-bottom: 1px solid #eee;
}

.services-list li:last-child {
    border-bottom: none;
}

.services-list li i {
    color: #e74c3c;
    margin-right: 10px;
}

/* Sekcja Lokalizacji */
.location-section {
    padding: 60px 20px;
    background: #fffdfd;
    animation: fadeIn 1s ease-in-out;
}

.location-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.location-section h2 {
    font-size: 2.5rem;
    color: #e74c3c;
    text-align: center;
    margin-bottom: 40px;
}

.location-content {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.location-info {
    flex: 1;
    min-width: 300px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.location-info h3 {
    color: #e74c3c;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.location-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 15px;
    color: #333;
}

.location-info a {
    color: #e74c3c;
    text-decoration: none;
    font-weight: 600;
}

.location-info a:hover {
    text-decoration: underline;
}

.location-services {
    flex: 1;
    min-width: 300px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.location-services h3 {
    color: #e74c3c;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.location-services ul {
    list-style: none;
    padding: 0;
}

.location-services ul li {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    padding: 10px;
    background: rgba(231, 76, 60, 0.05);
    border-radius: 8px;
}

.location-services ul li i {
    color: #e74c3c;
    margin-right: 10px;
}

.sub-services {
    list-style: none;
    padding-left: 30px;
    margin-top: 10px;
}

.sub-services li {
    font-size: 1rem;
    font-weight: normal;
    color: #666;
    background: transparent;
    padding: 5px 0;
    margin-bottom: 5px;
}

/* Sekcja SEO Content */
.seo-content-section {
    padding: 60px 20px;
    background: #ffffff;
    animation: fadeIn 1s ease-in-out;
}

.seo-content-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.seo-content-section h2 {
    font-size: 2.5rem;
    color: #e74c3c;
    text-align: center;
    margin-bottom: 40px;
}

.seo-content-section h3 {
    font-size: 1.8rem;
    color: #333;
    margin-top: 30px;
    margin-bottom: 15px;
}

.seo-content {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.seo-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #333;
}

.seo-content ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.seo-content ul li {
    padding: 12px 0;
    font-size: 1.05rem;
    color: #444;
    border-bottom: 1px solid #eee;
    padding-left: 30px;
    position: relative;
}

.seo-content ul li:last-child {
    border-bottom: none;
}

.seo-content ul li strong {
    color: #e74c3c;
}

/* Sekcja FAQ */
.faq-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    animation: fadeIn 1s ease-in-out;
}

.faq-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.faq-section h2 {
    font-size: 2.5rem;
    color: #e74c3c;
    text-align: center;
    margin-bottom: 40px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.2);
}

.faq-item h3 {
    color: #e74c3c;
    font-size: 1.4rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.faq-item h3 i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.faq-item p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
}

.faq-item a {
    color: #e74c3c;
    text-decoration: none;
    font-weight: 600;
}

.faq-item a:hover {
    text-decoration: underline;
}

/* Hero improvements */
.hero-location,
.hero-phone {
    font-size: 1.3rem;
    margin: 10px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-phone a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.hero-phone a:hover {
    text-decoration: underline;
}

/* Section subtitle */
.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
    font-style: italic;
}

/* Contact section improvements */
.contact .container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h3 {
    color: #e74c3c;
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 10px;
}

.contact-info h3:first-child {
    margin-top: 0;
}

.contact-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 15px;
}

.contact-info a {
    color: #e74c3c;
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.contact-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Footer improvements */
.footer .container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-location {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #aaa;
}








@media (max-width: 1500px) {
    body {
        padding-top: 80px; /* Miejsce na fixed header */
    }

    .hero h1{
        font-size: 2.6rem;
    
    }
    .hero h2{
        font-size: 1.9rem;
    
    }


}

@media (max-width: 1090px) {
    .hero h1{
        font-size: 2.3rem;
    
    }
    .hero h2{
        font-size: 1.7rem;
    
    }

}
@media (max-width: 600px) {
    .hero h1{
        font-size: 1.2rem;
    
    }
    .hero h2{
        font-size: 1.1rem;
    
    }

}

/* Responsywność - Tablet */
@media (max-width: 968px) {
    .header-container {
        position: relative;
    }

    .menu-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
        transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        z-index: 1000;
        padding-top: 80px;
    }

    .main-nav.active {
        right: 0;
    }

    header nav ul {
        flex-direction: column;
        width: 100%;
        padding: 0;
        align-items: flex-start;
    }

    header nav ul li {
        margin: 0;
        width: 100%;
    }

    header nav ul li a {
        display: block;
        padding: 15px 25px;
        width: 100%;
        font-size: 18px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    header nav ul li a:hover {
        background-color: rgba(231, 76, 60, 0.1);
        padding-left: 35px;
    }

    #scrollToTop {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        line-height: 55px;
        font-size: 18px;
    }

    .service-item,
    .branch {
        width: 100%;
        max-width: 400px;
    }

    .contact-content {
        flex-direction: column;
    }

    .contact-image {
        margin-top: 30px;
    }

    .location-content {
        flex-direction: column;
    }
}

/* Responsywność - Mobile */
@media (max-width: 600px) {
    body {
        padding-top: 70px; /* Mniejsze miejsce na header na mobile */
    }

    header {
        padding: 15px;
        box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
    }

    .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .logo {
        margin-left: 0;
    }

    .logo img {
        width: 140px;
    }

    .main-nav {
        width: 100%;
        right: -100%;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero h2 {
        font-size: 1.4rem;
    }

    .hero h3 {
        font-size: 1rem;
    }

    .services h2,
    .branches h2,
    .contact h2 {
        font-size: 1.8rem;
    }

    .service-item,
    .branch {
        width: 100%;
        padding: 20px;
    }

    #scrollToTop {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
        line-height: 50px;
        font-size: 16px;
    }

    .branch-grid {
        gap: 15px;
    }

    .service-list {
        gap: 15px;
    }
}

/* Responsywność - Małe ekrany */
@media (max-width: 400px) {
    .logo img {
        width: 120px;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero h2 {
        font-size: 1.2rem;
    }

    .services h2,
    .branches h2,
    .contact h2 {
        font-size: 1.5rem;
    }
}

