/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Lato', sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    background: #fafafa;
}

section {
    scroll-margin-top: 70px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #ed145b;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #c41150;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    backdrop-filter: none;
    padding: 1rem 0;
    box-shadow: none;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(20, 20, 20, 0.97);
    backdrop-filter: blur(15px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-image {
    height: 20px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.1) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.navbar.scrolled .logo-image {
    filter: brightness(1.1);
}

.logo:hover .logo-image {
    transform: scale(1.05);
}

.logo-stripes {
    display: flex;
    gap: 3px;
}

.logo-stripes span {
    width: 4px;
    height: 24px;
    background: #ed145b;
    display: block;
    transform: skewX(-15deg);
}

.logo-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 400;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.navbar.scrolled .nav-link {
    text-shadow: none;
}

.nav-link:hover,
.nav-link.active {
    color: #ed145b;
    border-bottom-color: #ed145b;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: white;
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled .mobile-menu-btn span {
    box-shadow: none;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(15, 15, 15, 0.98);
    backdrop-filter: blur(15px);
    padding: 80px 30px;
    transition: right 0.3s ease;
    z-index: 999;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
}

.mobile-menu.active {
    right: 0;
}

.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav-link {
    font-size: 1.1rem;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 10px 0;
    border-left: 3px solid transparent;
    padding-left: 15px;
}

.mobile-nav-link:hover {
    color: #ed145b;
    border-left-color: #ed145b;
    padding-left: 20px;
}

/* Hero Section */
.hero {
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6)),
                url('img/hero-bg.jpg') center/cover;
    background-attachment: fixed;
    text-align: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    color: white;
    letter-spacing: 4px;
    margin-bottom: 1.5rem;
}

.hero-divider {
    width: 150px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ed145b, transparent);
    margin: 0 auto 2rem;
    border-radius: 3px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 400;
    color: white;
    margin-bottom: 2.5rem;
}

.btn-primary {
    display: inline-block;
    padding: 15px 50px;
    background: #ed145b;
    color: white;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(237, 20, 91, 0.3);
}

.btn-primary:hover {
    background: #c41150;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(237, 20, 91, 0.4);
}

/* Features Section */
.features {
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fafafa;
    position: relative;
}

.features .container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.section-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 0 40px;
}

.section-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 300;
    font-style: italic;
    color: #666;
    margin-bottom: 0.8rem;
}

.section-divider {
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ed145b, transparent);
    margin: 0 auto;
    border-radius: 3px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    will-change: transform;
}

.category-item:hover {
    transform: translateY(-5px);
}

.category-icon {
    width: 75px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.category-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.category-item:hover .category-icon {
    transform: scale(1.08);
}

.category-item:hover .category-icon img {
    filter: brightness(1.1);
    transform: scale(1.1);
}

.category-item h3 {
    font-size: 0.85rem;
    font-weight: 600;
    color: #ed145b;
    text-align: center;
    line-height: 1.3;
}

/* CTA Dark Section - Znajdziesz nas */
.cta-dark {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.7)),
                url('img/hero-bg.jpg') center/cover;
    background-attachment: fixed;
    text-align: center;
    color: white;
    padding: 80px 0;
}

.cta-dark .container {
    max-height: 100%;
    overflow-y: auto;
    position: relative;
    z-index: 2;
}

.section-title-light {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 300;
    font-style: italic;
    color: white;
    margin-bottom: 0.8rem;
}

.cta-description-light {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    margin-bottom: 35px;
    line-height: 1.7;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.btn-cta {
    display: inline-block;
    padding: 14px 45px;
    background: #ed145b;
    color: white;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(237, 20, 91, 0.3);
}

.btn-cta:hover {
    background: #c41150;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(237, 20, 91, 0.4);
}

/* Contact Section */
.contact {
    width: 100%;
    height: auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fafafa;
    position: relative;
}

.contact .container {
    width: 100%;
    max-width: 100%;
    padding: 0;
}

.contact-description {
    text-align: center;
    color: #666;
    font-size: 1rem;
    margin-bottom: 35px;
    line-height: 1.7;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 40px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
    max-width: 100%;
    width: 100%;
    margin: 0;
}

.contact-form {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

.contact-map {
    width: 100%;
    height: 450px;
    overflow: hidden;
}

.contact-map #leaflet-map {
    width: 100%;
    height: 100%;
    z-index: 1;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: white;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #ed145b;
    box-shadow: 0 0 0 3px rgba(237, 20, 91, 0.1);
    transform: translateY(-2px);
}

.contact-form textarea {
    resize: vertical;
    margin-bottom: 15px;
    min-height: 120px;
}

.form-note {
    font-size: 0.75rem;
    color: #999;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.4;
}

.btn-submit {
    display: block;
    width: 200px;
    margin: 0 auto;
    padding: 14px;
    background: #ed145b;
    color: white;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(237, 20, 91, 0.3);
}

.btn-submit:hover {
    background: #c41150;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(237, 20, 91, 0.4);
}

/* Map Section - REMOVED (now integrated in contact) */

/* Testimonials */
.testimonials {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.8)),
                url('img/testimonials-bg.jpg') center/cover;
    background-attachment: fixed;
    padding: 80px 0 60px 0;
}

.testimonials .container {
    position: relative;
    z-index: 1;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    padding: 35px 30px;
    border-radius: 12px;
    border-left: 4px solid #ed145b;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    will-change: transform;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.quote-icon {
    font-size: 3rem;
    color: #ed145b;
    opacity: 0.5;
    line-height: 1;
    margin-bottom: 15px;
}

.testimonial-text {
    font-size: 1rem;
    color: white;
    margin-bottom: 15px;
    line-height: 1.5;
}

.testimonial-author {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}

/* Footer */
.footer {
    background: #141414;
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid rgba(237, 20, 91, 0.2);
}

.footer p {
    color: #999;
    font-size: 0.9rem;
    margin: 5px 0;
}

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

/* Responsive */
@media (max-width: 1200px) {
    .category-icon {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .container {
        padding: 0 25px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-title-light {
        font-size: 1.8rem;
    }

    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px 22px;
    }

    .category-icon {
        width: 60px;
        height: 60px;
    }

    .category-item h3 {
        font-size: 0.75rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-form {
        padding: 0 25px;
    }

    .contact-map {
        height: 400px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .btn-cta {
        width: 85%;
        max-width: 320px;
        padding: 16px 40px;
    }

    .hero {
        height: 100vh;
        min-height: 100vh;
        max-height: 100vh;
        padding-top: 70px;
        background-attachment: scroll;
        overflow: hidden;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .btn-primary {
        padding: 14px 45px;
        font-size: 0.95rem;
    }

    .features {
        height: 100vh;
        min-height: 100vh;
        max-height: 100vh;
        padding: 80px 0 40px 0;
    }

    .contact {
        height: auto;
        min-height: 100vh;
        padding: 80px 0 60px 0;
    }

    .testimonials {
        height: auto;
        min-height: 50vh;
        padding: 60px 0 40px 0;
    }

    .cta-dark {
        height: 100vh;
        min-height: 100vh;
        max-height: 100vh;
        background-attachment: scroll;
        padding: 70px 0 40px 0;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .quote-icon {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .section-header {
        margin-bottom: 15px;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 0.6rem;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px 12px;
        padding: 0 5px;
    }

    .category-icon {
        width: 48px;
        height: 48px;
    }

    .category-item {
        gap: 6px;
    }

    .category-item h3 {
        font-size: 0.65rem;
        line-height: 1.2;
    }

.contact-form {
        padding: 0 15px;
    }

    .contact-map {
        height: 350px;
    }

    .btn-cta {
        width: 90%;
        padding: 14px 35px;
    }

    .hero-title {
        letter-spacing: 2px;
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn-primary {
        padding: 13px 40px;
        font-size: 0.9rem;
    }

    .features {
        height: 100vh;
        padding: 60px 0 20px 0;
    }

    .contact {
        height: auto;
        min-height: 100vh;
        padding: 60px 0 40px 0;
    }

    .testimonials {
        height: auto;
        min-height: 40vh;
        padding: 50px 0 30px 0;
    }
    
    .cta-dark {
        height: 100vh;
        padding: 70px 0 20px 0;
    }
    
    .hero,
    .cta-dark,
    .testimonials {
        background-attachment: scroll;
    }
}