:root {
    --brand: #27ae60;
    --brand-dark: #1e8449;
    --dark: #0f172a;
    --text: #334155;
    --light: #f8fafc;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth !important;
}

section[id] {
    scroll-margin-top: 110px; 
}

* { margin:0; padding:0; box-sizing: border-box; }
body { font-family: 'Plus Jakarta Sans', sans-serif; color: var(--text); line-height: 1.6; overflow-x: hidden; scroll-behavior: smooth; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }


header { position: sticky; top:0; z-index: 1000; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); border-bottom: 1px solid #eee; padding: 12px 0; }
.nav-row { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 75px; }
.nav-links { display: flex; list-style: none; gap: 25px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--dark); font-weight: 700; transition: 0.3s; }
.nav-links a:hover { color: var(--brand); }
.cta-nav { background: var(--brand); color: white !important; padding: 10px 22px; border-radius: 50px; }


.hero { height: 80vh; position: relative; display: flex; align-items: center; overflow: hidden; }
.hero-parallax { position: absolute; inset:0; z-index:-1; background: linear-gradient(rgba(255,255,255,0.75), rgba(255,255,255,0.75)), url('hero-bg.jpg') center/cover; }
.badge { background: #dcfce7; color: var(--brand-dark); padding: 6px 14px; border-radius: 50px; font-weight: 800; font-size: 0.8rem; text-transform: uppercase; }
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 800; color: var(--dark); margin: 15px 0; line-height: 1.1; }
.gradient-text { background: linear-gradient(90deg, #27ae60, #2ecc71); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.btn-solid { background: var(--brand); color: white; padding: 16px 32px; border-radius: 12px; text-decoration: none; font-weight: 800; display: inline-block; transition: 0.3s; box-shadow: 0 10px 20px rgba(39, 174, 96, 0.2); }
.btn-solid:hover { background: var(--brand-dark); transform: translateY(-3px); }
.btn-ghost { border: 2px solid var(--dark); color: var(--dark); padding: 14px 30px; border-radius: 12px; text-decoration: none; font-weight: 800; margin-left: 10px; }
.hero-actions {
    display: flex;
    flex-wrap: wrap; 
    gap: 12px;
    margin-top: 25px;
}


.btn-solid, .btn-ghost {
    white-space: nowrap; 
    display: inline-flex;
    align-items: center;
    justify-content: center;
}


@media (max-width: 580px) {
    .hero-actions {
        flex-direction: column; 
        align-items: stretch;
    }

    .btn-ghost {
        margin-left: 0 !important; 
    }

    .btn-solid, .btn-ghost {
        width: 100%; 
        text-align: center;
    }
}

/* Usługi */
.services-section { padding: 100px 0; background: var(--light); }
.section-header { text-align: center; margin-bottom: 50px; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 25px; }
.service-box { background: var(--white); padding: 40px; border-radius: 20px; border: 1px solid #e2e8f0; transition: 0.4s; }
.service-box:hover { transform: translateY(-10px); border-color: var(--brand); box-shadow: 0 20px 40px rgba(0,0,0,0.05); }
.service-box i { color: var(--brand); font-size: 2.5rem; margin-bottom: 20px; display: block; }
.service-box h3 { font-weight: 800; font-size: 1.4rem; margin-bottom: 12px; color: var(--dark); }


.portfolio-fullscreen {
    position: relative;
    width: 50%;
    height: 85vh;
    margin: 60px auto;
    background: #000;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}



.slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.slide-full {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0a0a0a;
}

.slide-full img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; 
}


.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
}

.nav-arrow:hover { background: var(--brand); }
.nav-arrow.prev { left: 20px; }
.nav-arrow.next { right: 20px; }

@media (max-width: 1024px) {
    .portfolio-fullscreen {
        width: 90%; 
    }
}

@media (max-width: 768px) {
    .portfolio-fullscreen {
        width: 100%;    
        height: 60vh;   
        margin: 20px 0;
        border-radius: 0; 
    }
    
    .nav-arrow {
        width: 40px;
        height: 40px;
    }
}


.contact-section { padding: 100px 0; background: var(--white); }
.contact-card { display: grid; grid-template-columns: 1fr 1fr; background: var(--dark); color: white; border-radius: 30px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,0.1); }
.contact-info { padding: 60px; background: rgba(255,255,255,0.03); display: flex; flex-direction: column; justify-content: center; }
.contact-details { margin-top: 30px; }
.contact-details p { font-size: 1.2rem; margin-bottom: 10px; }
.contact-details i { color: var(--brand); margin-right: 10px; }

.contact-form { padding: 60px; background: rgba(255,255,255,0.05); }
.form-group { margin-bottom: 20px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 16px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.08); color: white; font-family: inherit; font-size: 1rem; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--brand); background: rgba(255,255,255,0.12); }
.btn-submit { width: 100%; background: var(--brand); color: white; border: none; padding: 18px; border-radius: 12px; font-weight: 800; font-size: 1.1rem; cursor: pointer; transition: 0.3s; }
.btn-submit:hover { background: var(--brand-dark); transform: translateY(-2px); }

/* Footer */
.footer { background: #070a13; color: #94a3b8; padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 50px; margin-bottom: 50px; }
.f-brand img { height: 75px; margin-bottom: 20px; filter: brightness(0) invert(1); }
.footer h4 { color: white; margin-bottom: 20px; font-weight: 800; }
.social-links a { color: white; text-decoration: none; font-weight: 600; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 30px; text-align: center; font-size: 0.85rem; }


.reveal { opacity: 0; transform: translateY(30px); transition: 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

@media (max-width: 992px) {
    .contact-card { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    .slide { min-width: 300px; }
    .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column; 
        width: 100%;
    }
}

@media (max-width: 768px) {
    .contact-card {
        display: flex;
        flex-direction: column;
        padding: 0 !important; 
        overflow: hidden; 
    }

    .contact-info, .contact-form {
        width: 100% !important;
        padding: 40px 20px !important; 
        background: transparent !important; 
    }

    #gardenForm {
        width: 100%;
    }

    .form-group input, .form-group textarea {
        width: 100%; 
    }
}