/* Style dla wersji mobilnej */

/* Nagłówek mobilny */
@media (max-width: 1024px) {
    .header {
        padding: calc(var(--spacing-unit) * 2);
        transition: transform 0.3s ease;
    }
    
    .header-hidden {
        transform: translateY(-100%);
    }
    
    .logo img {
        height: 40px;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--color-background);
        flex-direction: column;
        align-items: center;
        gap: calc(var(--spacing-unit));
        padding: calc(var(--spacing-unit) * 2) 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        transform: translateY(-150%);
        opacity: 0;
        transition: all 0.3s ease;
        z-index: 9;
        max-height: 80vh;
        overflow-y: auto;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .nav-link {
        width: 90%;
        padding: calc(var(--spacing-unit) * 1.5);
        border-radius: var(--border-radius);
        justify-content: center;
        transition: background-color 0.3s ease;
    }
    
    .nav-link:hover {
        background-color: rgba(0,0,0,0.05);
    }
    
    .mobile-menu-toggle {
        display: block;
        order: -1;
    }
    
    .mobile-menu-toggle.active .hamburger-icon {
        background-color: transparent;
    }
    
    .mobile-menu-toggle.active .hamburger-icon::before {
        transform: rotate(45deg);
    }
    
    .mobile-menu-toggle.active .hamburger-icon::after {
        transform: rotate(-45deg);
    }
    
    .mobile-menu-toggle.active .hamburger-icon::before,
    .mobile-menu-toggle.active .hamburger-icon::after {
        top: 0;
    }
    
    .contact-button {
        display: none;
    }
}

/* Hero mobilny */
@media (max-width: 768px) {
    .hero-container {
        padding: 20px;
    }
    
    .hero-banner {
        height: auto;
        min-height: auto;
        padding: 40px 20px;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-graphic {
        margin-top: 30px;
    }
    
    .savings-card, .dotation-card {
        width: 100%;
        padding: 15px;
    }
    
    .savings-icon, .dotation-icon {
        width: 50px;
        height: 50px;
    }
    
    .savings-value, .dotation-value {
        font-size: 24px;
    }
    
    .hero-banner h1 {
        font-size: 2.2rem;
    }
    
    .hero-banner p {
        font-size: 1.1rem;
    }
    
    .hero-features {
        margin-top: 20px;
        margin-bottom: 20px;
    }
}

/* Usługi mobilne */
@media (max-width: 768px) {
    .services-section {
        padding: calc(var(--spacing-unit) * 4) 0;
    }
    
    .section-title-wrapper {
        position: relative;
        left: 0;
        top: 0;
        clip-path: none;
        border-radius: 5px;
        margin-left: 20px;
        margin-right: 20px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .services-images {
        flex-direction: column;
        margin-top: calc(var(--spacing-unit) * 4);
        gap: calc(var(--spacing-unit) * 4);
    }
    
    .service-image {
        height: 250px;
    }
    
    .service-more {
        transform: translateY(0);
        position: relative;
        top: 10px;
        clip-path: none;
        border-radius: 5px;
    }
    
    .service-image-container:hover .service-more {
        transform: translateY(0);
    }
}

/* Dlaczego my - mobilne */
@media (max-width: 768px) {
    .why-us-section {
        padding: calc(var(--spacing-unit) * 4) 0;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: calc(var(--spacing-unit) * 3);
        margin-top: calc(var(--spacing-unit) * 4);
    }
    
    .benefit-card {
        padding: calc(var(--spacing-unit) * 3);
    }
}

/* Lokalizacje - mobilne */
@media (max-width: 768px) {
    .locations-section {
        padding: calc(var(--spacing-unit) * 4) 0;
    }
    
    .cities-list {
        flex-direction: column;
        gap: calc(var(--spacing-unit) * 2);
    }
    
    .cities-column {
        width: 100%;
    }
    
    .search-box {
        margin-bottom: 15px;
    }
    
    .search-input {
        padding: 12px 15px 12px 40px;
    }
}

/* Szybki kontakt - mobilne */
@media (max-width: 768px) {
    .szybki-kontakt-content {
        flex-direction: column;
        margin-top: calc(var(--spacing-unit) * 4);
    }
    
    .contact-left-column {
        padding-right: 0;
    }
    
    .contact-heading {
        font-size: 1.8rem;
    }
    
    .contact-stats {
        margin-bottom: 30px;
    }
    
    .quick-form-box {
        padding: calc(var(--spacing-unit) * 3);
    }
}

/* Floating Phone - mobilne */
@media (max-width: 768px) {
    .floating-phone {
        bottom: 15px;
        right: 15px;
    }
    
    .phone-button {
        width: 50px;
        height: 50px;
    }
    
    .phone-button i {
        font-size: 20px;
    }
}

/* Stopka - mobilne */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: calc(var(--spacing-unit) * 4);
    }
    
    .footer-brand {
        align-items: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-contact address {
        align-items: center;
    }
    
    .footer-contact address p {
        justify-content: center;
    }
    
    .footer-links ul {
        align-items: center;
    }
}

/* Dostosowania dla małych telefonów */
@media (max-width: 480px) {
    .hero-banner h1 {
        font-size: 1.8rem;
    }
    
    .hero-banner p {
        font-size: 1rem;
    }
    
    .hero-features {
        margin-bottom: 15px;
    }
    
    .hero-feature i {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }
    
    .hero-feature span {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .service-overlay h3 {
        font-size: 1.2rem;
    }
    
    .service-overlay p {
        font-size: 0.9rem;
    }
}

/* Animacja hamburgera */
.mobile-menu-toggle .hamburger-icon,
.mobile-menu-toggle .hamburger-icon::before,
.mobile-menu-toggle .hamburger-icon::after {
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-icon {
    background-color: transparent;
}

.mobile-menu-toggle.active .hamburger-icon::before {
    transform: rotate(45deg);
    top: 0;
}

.mobile-menu-toggle.active .hamburger-icon::after {
    transform: rotate(-45deg);
    top: 0;
}