/* ======================================================
   PRACOWNIA MEBLI MILESZCZAK
   GŁÓWNY ARKUSZ STYLÓW
====================================================== */


/* ======================================================
   RESET
====================================================== */

*,
*::before,
*::after{
    margin:0;
    padding:0;
    box-sizing:border-box;
}


/* ======================================================
   ZMIENNE
====================================================== */

:root{

    --gold:#B8875A;
    --gold-hover:#C99B6D;

    --dark:#111111;
    --dark-light:#1B1B1B;

    --white:#FFFFFF;
    --gray:#B8B8B8;

    --container:1280px;

    --transition:.35s ease;

}


/* ======================================================
   GLOBAL
====================================================== */

html{

    scroll-behavior:smooth;

    scroll-padding-top:160px;

    overflow-x:hidden;

}

body{

    font-family:'Poppins',sans-serif;

    background:var(--dark);

    color:var(--white);

    line-height:1.6;

    padding-top:160px;

    overflow-x:hidden;

}

img{

    display:block;
    max-width:100%;
    height:auto;

}

a{

    text-decoration:none;
    color:inherit;

}

ul{
    list-style:none;
}

.container{

    width:min(92%, var(--container));

    margin:0 auto;

}


/* ======================================================
   TYPOGRAFIA
====================================================== */

h1,h2,h3,h4{

    line-height:1.15;

    font-weight:700;

}

p{

    color:var(--gray);

}

/* ======================================================
   HEADER 2.0
====================================================== */

/* ======================================================
   HEADER
====================================================== */

.site-header{

    position:fixed;

    top:0;
    left:0;

    width:100%;

    background:rgba(17,17,17,.94);

    backdrop-filter:blur(16px);

    -webkit-backdrop-filter:blur(16px);

    border-bottom:1px solid rgba(255,255,255,.08);

    z-index:5000;

    transition:
        background .35s ease,
        height .35s ease,
        box-shadow .35s ease;

}


/* ======================================================
   HEADER PO SCROLLU
====================================================== */

.site-header.scrolled{

    background:rgba(17,17,17,.98);

    box-shadow:0 12px 30px rgba(0,0,0,.30);

}


/* ======================================================
   NAVBAR
====================================================== */

.site-header .navbar{

    height:160px;

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:40px;

    transition:height .35s ease;

}


/* ======================================================
   ZMNIEJSZENIE HEADERA
====================================================== */

.site-header.scrolled .navbar{

    height:105px;

}


/* ======================================================
   LOGO
====================================================== */

.site-header .logo{

    display:flex;

    align-items:center;

    flex-shrink:0;

}


.site-header .logo img{

    height:185px;

    width:auto;

    transition:height .35s ease;

}


.site-header.scrolled .logo img{

    height:120px;

}


/* ======================================================
   MENU DESKTOP
====================================================== */

.site-header .menu{

    display:flex;

    align-items:center;

    gap:52px;

    margin-left:auto;

}


.site-header .menu li{

    list-style:none;

}


.site-header .menu a{

    position:relative;

    display:inline-block;

    font-size:14px;

    font-weight:500;

    text-transform:uppercase;

    letter-spacing:1px;

    color:var(--white);

    transition:color .30s ease;

}


.site-header .menu a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:0;

    height:2px;

    background:var(--gold);

    transition:width .30s ease;

}


.site-header .menu a:hover{

    color:var(--gold);

}


.site-header .menu a:hover::after{

    width:100%;

}


/* ======================================================
   PRZYCISK HEADER
====================================================== */

.site-header .header-btn{

    margin-left:18px;

    white-space:nowrap;

}


/* ======================================================
   HAMBURGER
====================================================== */

.menu-toggle{

    display:none;

    width:50px;

    height:50px;

    padding:0;

    border:none;

    background:none;

    cursor:pointer;

    position:relative;

    z-index:5100;

}


.menu-toggle span{

    display:block;

    width:30px;

    height:3px;

    margin:6px auto;

    border-radius:3px;

    background:#fff;

    transition:all .35s ease;

}


/* ======================================================
   HAMBURGER → X
====================================================== */

.menu-toggle.active span:nth-child(1){

    transform:translateY(9px) rotate(45deg);

}


.menu-toggle.active span:nth-child(2){

    opacity:0;

}


.menu-toggle.active span:nth-child(3){

    transform:translateY(-9px) rotate(-45deg);

}


/* ======================================================
   BUTTON
====================================================== */

.btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:16px 34px;

    background:var(--gold);

    border-radius:50px;

    color:white;

    font-weight:600;

    transition:var(--transition);

}

.btn:hover{

    background:var(--gold-hover);

    transform:translateY(-3px);

    box-shadow:0 12px 30px rgba(184,135,90,.35);

}


/* ======================================================
   HERO
====================================================== */

#hero{

    height:calc(95vh - 160px);

    background-image:url("../images/hero.jpg");

    background-size:cover;

    background-position:center;

    background-repeat:no-repeat;

    position:relative;
    

}

.hero-fade{

    position:absolute;
    inset:0;

    background-image:url("../images/hero1.jpg");
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;

    opacity:0;

    transition:opacity 2s ease;

    z-index:1;

}

.hero-fade.show{

    opacity:1;

}


/* ======================================================
   HERO OVERLAY
====================================================== */

.hero-overlay{

    width:100%;

    height:100%;

    background:linear-gradient(
        to right,
        rgba(0,0,0,.78),
        rgba(0,0,0,.50),
        rgba(0,0,0,.15)
    );

    display:flex;

    align-items:center;
    position:relative;
    z-index:2;
}


/* ======================================================
   HERO CONTENT
====================================================== */

.hero-content{

    max-width:650px;

}

/* ======================================================
   HERO LAYOUT
====================================================== */

.hero-layout{

    position:relative;

    display:flex;

    align-items:center;

    height:100%;
    

}

/* ======================================================
   HERO LOGO
====================================================== */

.hero-logo{

    position:absolute;

    left:42%;

    top:50%;

    transform:translateY(-50%);

    z-index:2;

    pointer-events:none;

}

.hero-logo img{

    width:clamp(760px,48vw,1050px);

    max-width:none;

    height:auto;

    opacity:.90;

    transition:all .5s ease;

}
/* ======================================================
   HERO SUBTITLE
====================================================== */

.hero-subtitle{

    display:inline-block;

    color:var(--gold);

    font-size:16px;

    letter-spacing:2px;

    text-transform:uppercase;

    margin-bottom:20px;

}


/* ======================================================
   HERO TITLE
====================================================== */

.hero-title{

    font-size:64px;

    line-height:1.1;

    margin-bottom:28px;

    

}

/* ======================================================
   HERO TEXT
====================================================== */

.hero-content p{

    font-size:20px;

    max-width:560px;

    margin-bottom:40px;

}





/* ======================================================
   SEKCJE
====================================================== */

section{

    padding:120px 0;

}

/* ======================================================
   FEATURES
====================================================== */

.features {

    background: #181818;

    border-top: 1px solid rgba(255, 255, 255, .08);
    border-bottom: 1px solid rgba(255, 255, 255, .08);

    padding: 70px 0;

}

.features-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 30px;

}

.feature {

    text-align: center;

    padding: 0 25px;

    transition: .35s ease;

}

.feature:not(:last-child) {

    border-right: 1px solid rgba(255,255,255,.08);

}

.feature i {

    display: block;

    font-size: 52px;

    color: var(--gold);

    margin-bottom: 25px;

    transition: .35s ease;

}

.feature h3 {

    font-size: 18px;

    color: var(--white);

    margin-bottom: 15px;

    text-transform: uppercase;

    letter-spacing: 1px;

}

.feature p {

    font-size: 15px;

    line-height: 1.7;

    color: var(--gray);

}

.feature:hover {

    transform: translateY(-8px);

}

.feature:hover i {

    transform: scale(1.15);

    color: var(--gold-hover);

}

/* ======================================================
   ABOUT
====================================================== */

#about{

    background:#111111;

    min-height:calc(100vh - 160px);

    display:flex;

    align-items:center;

}

.about-grid{

    display:grid;

    grid-template-columns:1fr 1.25fr;

    gap:60px;

    align-items:center;


}

.section-subtitle{

    color:var(--gold);

    text-transform:uppercase;

    letter-spacing:2px;

    font-size:14px;

    display:block;

    margin-bottom:20px;

}

.about-content h2{

    font-size:48px;

    margin-bottom:30px;

}

.about-content p{

    margin-bottom:30px;

    font-size:18px;

    line-height:1.9;

}

.about-list{

    margin-bottom:40px;

}

.about-list li{

    margin-bottom:15px;

    position:relative;

    padding-left:32px;

}

.about-list li::before{

    content:"✓";

    position:absolute;

    left:0;

    color:var(--gold);

    font-weight:bold;

}

.about-images{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:25px;

}

.about-images img{

    border-radius:12px;

    transition:.4s;

}

.about-images img:first-child{

    margin-top:60px;

}

.about-images img:hover{

    transform:scale(1.04);

}

/* ======================================================
   OFFER
====================================================== */

#offer{

    background:#181818;

    min-height:calc(100vh - 160px);

    display:flex;

    align-items:flex-start;

    padding-top:80px;

    padding-bottom:80px;

}

.section-title{

    font-size:48px;

    margin-bottom:20px;

}

.section-description{

    max-width:700px;

    margin-bottom:70px;

    font-size:18px;

}

.offer-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:35px;

}

.offer-card{

    background:#111111;

    overflow:hidden;

    border-radius:16px;

    transition:.35s;

    border:1px solid rgba(255,255,255,.06);

}

.offer-card:hover{

    transform:translateY(-8px);

    border-color:var(--gold);

}

.offer-card img{

    width:100%;

    height:190px;

    object-fit:cover;

    transition:.4s;

}

.offer-card:hover img{

    transform:scale(1.06);

}

.offer-content{

    padding:30px;

}

.offer-content h3{

    margin-bottom:15px;

    font-size:24px;

}

.offer-content p{

    font-size:15px;

    line-height:1.8;

}

/* ======================================================
   CONTACT
====================================================== */

#contact{

    background:#111111;

    min-height:calc(100vh - 160px);

    display:flex;

    align-items:center;

}

.contact-grid{

    display:grid;

    grid-template-columns:420px 1fr;

    gap:60px;

    margin-top:60px;

    align-items:start;

}


/* ======================================================
   LEWA KOLUMNA
====================================================== */

.contact-info{

    display:flex;

    flex-direction:column;

    gap:24px;

}

.contact-box{

    display:flex;

    align-items:flex-start;

    gap:20px;

    padding:24px;

    background:#181818;

    border-radius:16px;

    border:1px solid rgba(255,255,255,.06);

    transition:.35s;

}

.contact-box:hover{

    border-color:var(--gold);

    transform:translateY(-4px);

}

.contact-box i{

    font-size:28px;

    color:var(--gold);

}

.contact-box h3{

    margin-bottom:6px;

    font-size:20px;

}

.contact-box p{

    margin:0;

}







/* ======================================================
   FORMULARZ
====================================================== */

.contact-form{

    background:#181818;

    padding:40px;

    border-radius:20px;

    border:1px solid rgba(255,255,255,.06);

    display:flex;

    flex-direction:column;

    gap:22px;

}


/* ======================================================
   INPUTY
====================================================== */

.contact-form input,

.contact-form select,

.contact-form textarea{

    width:100%;

    background:#111111;

    color:white;

    border:1px solid rgba(255,255,255,.08);

    border-radius:12px;

    padding:18px 20px;

    font-family:'Poppins',sans-serif;

    font-size:15px;

    transition:.3s;

}


.contact-form textarea{

    resize:vertical;

    min-height:180px;

}


/* ======================================================
   FOCUS
====================================================== */

.contact-form input:focus,

.contact-form select:focus,

.contact-form textarea:focus{

    outline:none;

    border-color:var(--gold);

    box-shadow:0 0 0 3px rgba(184,135,90,.15);

}


/* ======================================================
   SELECT
====================================================== */

.contact-form select{

    cursor:pointer;

}


/* ======================================================
   PRZYCISK
====================================================== */

.contact-form .btn{

    align-self:flex-start;

    cursor:pointer;

    border:none;

    padding:18px 36px;

}


/* ======================================================
   PLACEHOLDER
====================================================== */

.contact-form input::placeholder,

.contact-form textarea::placeholder{

    color:#999;

}



/* ======================================================
   FOOTER
====================================================== */

footer{

    background:#0d0d0d;

    border-top:1px solid rgba(184,135,90,.25);

    padding:90px 0 35px;

}

.footer-top{

    display:grid;

    grid-template-columns:2.6fr 1fr 1fr 1.2fr;

    gap:50px;

    align-items:start;

}

.footer-logo{

    width:360px;

    max-width:100%;

    height:auto;

    display:block;

    margin-top:-10px;

}

.footer-column h3{

    font-size:20px;

    color:white;

    margin-bottom:24px;

}

.footer-column ul{

    display:flex;

    flex-direction:column;

    gap:14px;

}

.footer-column li{

    color:var(--gray);

    transition:.3s;

}

.footer-column a:hover{

    color:var(--gold);

}

.footer-column i{

    color:var(--gold);

    margin-right:10px;

}

.footer-bottom{

    margin-top:70px;

    padding-top:30px;

    border-top:1px solid rgba(255,255,255,.08);

    text-align:center;

}

.footer-bottom p{

    color:#888;

    font-size:14px;

}


/* ======================================================
   HERO TITLE ANIMATION
====================================================== */

@keyframes heroTitleSlide{

    from{

        opacity:0;

        transform:translateX(-120px);

    }

    to{

        opacity:1;

        transform:translateX(0);

    }

}

.hero-title.play{

    animation:heroTitleSlide 1s ease-out forwards;

}



/* ======================================================
   ANIMACJE
====================================================== */

.animate{

    opacity:0;

    transform:translateY(80px) scale(0.96);

    transition:
        opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
        transform 1s cubic-bezier(0.22, 1, 0.36, 1);

    will-change: opacity, transform;

}

.animate.show{

    opacity:1;

    transform:translateY(0) scale(1);

}
/* ======================================================
   OPÓŹNIENIA ANIMACJI
====================================================== */

.delay-1{

    transition-delay:.15s;

}

.delay-2{

    transition-delay:.30s;

}

.delay-3{

    transition-delay:.45s;

}

.delay-4{

    transition-delay:.60s;

}

.delay-5{

    transition-delay:.75s;

}
/* ======================================================
   KIERUNKI ANIMACJI
====================================================== */

.fade-left{

    transform:translateX(-80px);

}

.fade-right{

    transform:translateX(80px);

}

.fade-left.show,

.fade-right.show{

    transform:translateX(0);

}


/* ======================================================
   LAPTOPY
====================================================== */

@media (max-width:1600px) and (min-width:1101px){

    /* ==========================
       HEADER
    ========================== */

    body{
        padding-top:130px;
    }

    html{
        scroll-padding-top:130px;
    }

    .site-header .navbar{
        height:130px;
    }

    .site-header.scrolled .navbar{
        height:95px;
    }

    .site-header .logo img{
        height:150px;
    }

    .site-header.scrolled .logo img{
        height:105px;
    }

    .site-header .menu{
        gap:32px;
    }

    .site-header .menu a{
        font-size:13px;
    }

    /* ==========================
       HERO
    ========================== */

    #hero{
        height:calc(100vh - 130px);
    }

    .hero-logo img{
        width:clamp(620px,44vw,900px);
    }

    .hero-content{
        max-width:560px;
        padding-bottom:20px;
    }

   .hero-subtitle{
    display:inline-block;
    font-size:14px;
    margin-bottom:14px;
    transform:translateY(6px);
}

    .hero-content h1{
        font-size:50px;
        line-height:1.08;
        margin-bottom:22px;
    }

    .hero-content p{
        font-size:17px;
        max-width:500px;
        margin-bottom:20px;
    }

    .btn{
        padding:14px 30px;
        font-size:15px;
    }

    /* ==========================
       SEKCJE
    ========================== */

    section{
        padding:90px 0;
    }

    .section-title,
    .about-content h2{
        font-size:40px;
        margin-bottom:18px;
    }

    .section-description,
    .about-content p{
        font-size:16px;
        line-height:1.75;
    }

    .section-description{
        margin-bottom:50px;
    }

    .features{
        padding:55px 0;
    }

    .feature{
        padding:0 18px;
    }

    .feature i{
        font-size:44px;
        margin-bottom:18px;
    }

    .feature h3{
        font-size:16px;
    }

    .about-grid{
        gap:40px;
    }

    .about-images{
        gap:18px;
    }

    .about-images img:first-child{
        margin-top:35px;
    }

    .about-list{
        margin-bottom:26px;
    }

    .about-list li{
        margin-bottom:10px;
    }

    .offer-grid{
        gap:24px;
    }

    .offer-card img{
        height:190px;
    }

    .offer-content{
        padding:22px;
    }

    .offer-content h3{
        font-size:22px;
        margin-bottom:10px;
    }

    .offer-content p{
        font-size:14px;
        line-height:1.7;
    }

    .projects-grid{
        gap:22px;
        margin-top:45px;
    }

    .project-card{
        height:250px;
    }

    .project-content{
        padding:22px;
    }

    .project-content h3{
        font-size:28px;
    }

    .contact-grid{
        grid-template-columns:360px 1fr;
        gap:36px;
        margin-top:45px;
    }

    .contact-info{
        gap:18px;
    }

    .contact-box{
        padding:18px;
        gap:16px;
    }

    .contact-box h3{
        font-size:18px;
    }

    .contact-form{
        padding:28px;
        gap:18px;
    }

    .contact-form input,
    .contact-form select,
    .contact-form textarea{
        padding:15px 18px;
    }

    .contact-form textarea{
        min-height:140px;
    }

    footer{
        padding:55px 0 25px;
    }

    .footer-top{
        gap:35px;
    }

    .footer-logo{
        width:280px;
    }

    .footer-bottom{
        margin-top:45px;
        padding-top:22px;
    }

}




/* ======================================================
   RESPONSYWNOŚĆ
====================================================== */

@media (max-width:1100px) {

    .menu {
        gap:28px;
    }

    .hero-content h1 {
        font-size:54px;
    }

    

}


/* ======================================================
   TABLETY
====================================================== */

@media (max-width:900px) {

    html{
        scroll-padding-top:90px;
    }

    body{
        padding-top:90px;
    }

   

    #hero{
        height:auto;
        min-height:calc(100vh - 90px);
    }

    .hero-layout{
        display:flex;
        flex-direction:column;
        justify-content:center;
        align-items:center;
        text-align:center;
        gap:40px;
        padding:70px 0;
    }

    .hero-logo{
        position:static;
        transform:none;
        order:-1;
    }

    .hero-logo img{
        width:min(340px,70vw);
        max-width:100%;
    }

    .hero-content{
        max-width:650px;
    }

    .hero-content h1{
        font-size:46px;
    }

    .hero-content p{
        font-size:18px;
        margin-left:auto;
        margin-right:auto;
    }

    .hero-content .btn{
        display:inline-flex;
    }

    .features-grid{
        grid-template-columns:repeat(2,1fr);
        gap:50px;
    }

    .feature{
        border-right:none !important;
    }

    .about-grid{
        grid-template-columns:1fr;
    }

    .about-images{
        margin-top:40px;
    }

    .offer-grid{
        grid-template-columns:repeat(2,1fr);
    }
    .contact-grid{

    grid-template-columns:1fr;

    gap:40px;
    }

    .footer-top{

    grid-template-columns:1fr;

    gap:40px;

}

.project-content{

    padding:20px;

}

.project-content h3{

    font-size:26px;

    line-height:1.2;

}




.footer-logo{

    margin:0 auto;

}

.footer-column{

    text-align:center;

}

.footer-column ul{

    align-items:center;

}


}

/* ======================================================
   TELEFONY
====================================================== */

@media (max-width:600px) {

    .hero-layout{padding:50px 0;gap:30px;}
    .hero-logo img{width:min(240px,65vw);}
    .hero-content h1{font-size:36px;}
    .hero-content p{font-size:16px;}
    section{padding:80px 0;}
    .features-grid{grid-template-columns:1fr;}
    .offer-grid{grid-template-columns:1fr;}
    .section-title{font-size:34px;}
}

/* ======================================================
   REALIZACJE
====================================================== */

#projects{

    background:#181818;

    min-height:calc(100vh - 160px);

    display:flex;

    align-items:center;

}

.projects-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:30px;

    margin-top:60px;

}

.project-card{

    position:relative;

    height:320px;

    border-radius:20px;

    overflow:hidden;

    background:#242424;

    border:1px solid rgba(255,255,255,.08);

    cursor:pointer;

    transition:.35s;

    text-decoration:none;

    color:inherit;

}

.project-card:hover{

    transform:translateY(-8px);

    border-color:var(--gold);

}

.project-image{

    position:absolute;

    inset:0;

    overflow:hidden;

}

.project-image img{

    width:100%;

    height:100%;

    object-fit:cover;

    object-position:center;

    transition:transform .6s ease;

}

/* Indywidualne kadrowanie */

.project-card:nth-child(1) .project-image img{

    object-position:center center;

}

.project-card:nth-child(2) .project-image img{

    object-position:center center;

}

.project-card:nth-child(3) .project-image img{

    object-position:center 70%;

}

.project-card:nth-child(4) .project-image img{

    object-position:center 75%;

}

.project-card:hover .project-image img{

    transform:scale(1.08);

}

.project-content{

    position:absolute;

    left:0;

    right:0;

    bottom:0;

    padding:30px;

    background:linear-gradient(
        transparent,
        rgba(0,0,0,.90)
    );

}

.project-content h3{

    color:white;

    font-size:34px;

    font-weight:700;

}

/* ======================================================
   GALERIA KUCHNIE
====================================================== */

#gallery-hero{

    background:#111111;

    padding:80px 0 30px;

}

#gallery{

    background:#181818;

    padding:40px 0 120px;

}

.gallery-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    grid-auto-rows:260px;

    gap:24px;

}

/* ==========================================
   POJEDYNCZE ZDJĘCIE
========================================== */

.gallery-item{

    position:relative;

    overflow:hidden;

    border-radius:18px;

    cursor:pointer;

    background:#2b2b2b;

    transition:
        transform .35s ease,
        box-shadow .35s ease;

}

.gallery-item img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:transform .6s ease;

}

.gallery-item:hover{

    transform:translateY(-6px);

    box-shadow:0 18px 40px rgba(0,0,0,.45);

}

.gallery-item:hover img{

    transform:scale(1.06);

}

/* ==========================================
   UKŁAD MASONRY
========================================== */

.gallery-item:nth-child(1){

    grid-column:span 2;
    grid-row:span 2;

}

.gallery-item:nth-child(2){

    grid-row:span 2;

}

.gallery-item:nth-child(5){

    grid-column:span 2;

}

.gallery-item:nth-child(8){

    grid-row:span 2;

}

/* ==========================================
   RESPONSYWNOŚĆ
========================================== */

@media (max-width:1000px){

    .gallery-grid{

        grid-template-columns:repeat(2,1fr);

        grid-auto-rows:220px;

    }

    .gallery-item:nth-child(1){

        grid-column:span 2;

    }

    .gallery-item:nth-child(2),
    .gallery-item:nth-child(5),
    .gallery-item:nth-child(8){

        grid-column:span 1;
        grid-row:span 1;

    }

}

@media (max-width:700px){

    .gallery-grid{

        grid-template-columns:1fr;

        grid-auto-rows:240px;

    }

    .gallery-item:nth-child(1){

        grid-column:span 1;
        grid-row:span 1;

    }

}

/* ======================================================
   PRZYCISK POWROTU
====================================================== */

.back-button{

    display:inline-flex;

    align-items:center;

    gap:12px;

    padding:14px 28px;

    margin:18px 0 35px;

    background:var(--gold);

    color:#fff;

    border-radius:50px;

    font-weight:600;

    transition:.35s ease;

}

.back-button:hover{

    background:var(--gold-hover);

    transform:translateY(-3px);

    box-shadow:0 12px 30px rgba(184,135,90,.30);

}

.back-button i{

    font-size:18px;

}



/* ======================================================
   LIGHTBOX
====================================================== */

#lightbox{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.94);

    display:none;

    justify-content:center;

    align-items:center;

    z-index:99999;

}

#lightbox img{

    max-width:92%;

    max-height:90%;

    border-radius:10px;

}

.lightbox-close{

    position:absolute;

    top:30px;

    right:40px;

    font-size:60px;

    color:white;

    cursor:pointer;

    transition:.3s;

}

.lightbox-close:hover{

    color:var(--gold);

}

/* ======================================================
   STRZAŁKI LIGHTBOX
====================================================== */

.lightbox-nav{

    position:absolute;

    top:50%;

    transform:translateY(-50%);

    width:60px;

    height:60px;

    border:none;

    border-radius:50%;

    background:rgba(255,255,255,.12);

    color:white;

    font-size:34px;

    cursor:pointer;

    transition:.3s;

}

.lightbox-nav:hover{

    background:var(--gold);

}

#prev-btn{

    left:40px;

}

#next-btn{

    right:40px;

}

/* ======================================================
   MOBILE MENU 2.0
====================================================== */

.mobile-overlay{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.55);

    backdrop-filter:blur(3px);

    opacity:0;

    visibility:hidden;

    transition:.35s ease;

    z-index:4900;

}

.mobile-overlay.active{

    opacity:1;

    visibility:visible;

}


/* ======================================================
   PANEL
====================================================== */

.mobile-menu{

    position:fixed;

    top:0;

    right:0;

    width:340px;

    max-width:92vw;

    height:100vh;

    background:#141414;

    display:flex;

    flex-direction:column;

    transform:translateX(100%);

    transition:transform .40s cubic-bezier(.22,.61,.36,1);

    border-left:1px solid rgba(255,255,255,.08);

    z-index:5001;

}

.mobile-menu.active{

    transform:translateX(0);

}


/* ======================================================
   GÓRA MENU
====================================================== */

.mobile-header{

    height:110px;

    display:flex;

    align-items:center;

    justify-content:space-between;

    padding:0 24px;

    border-bottom:1px solid rgba(255,255,255,.08);

}

.mobile-logo img{

    height:70px;

}


/* ======================================================
   ZAMKNIĘCIE
====================================================== */

.close-menu{

    width:46px;

    height:46px;

    border:none;

    background:none;

    color:#fff;

    font-size:26px;

    cursor:pointer;

    transition:.30s ease;

}

.close-menu:hover{

    color:var(--gold);

    transform:rotate(90deg);

}


/* ======================================================
   NAWIGACJA
====================================================== */

.mobile-nav{

    flex:1;

    display:flex;

    flex-direction:column;

    padding:35px 28px;

}

.mobile-nav a{

    display:block;

    padding:18px 0;

    font-size:18px;

    font-weight:500;

    border-bottom:1px solid rgba(255,255,255,.08);

    transition:.30s ease;

}

.mobile-nav a:hover{

    color:var(--gold);

    padding-left:14px;

}


/* ======================================================
   DÓŁ MENU
====================================================== */

.mobile-footer{

    padding:28px;

    border-top:1px solid rgba(255,255,255,.08);

}

.mobile-footer .btn{

    display:flex;

    justify-content:center;

    width:100%;

}


/* ======================================================
   BLOKADA SCROLLA
====================================================== */

body.menu-open{

    overflow:hidden;

}


/* ======================================================
   RESPONSYWNOŚĆ HEADERA
====================================================== */

@media (max-width:900px){

    .site-header .navbar{

        height:90px;

        padding:0 10px;

    }

    .site-header.scrolled .navbar{

        height:90px;

    }

    .site-header .logo img{

        height:58px;

    }

    .site-header.scrolled .logo img{

        height:58px;

    }

    .site-header .menu{

        display:none;

    }

    .site-header .header-btn{

        display:none;

    }

    .menu-toggle{

        display:block;

    }

}


@media (max-width:600px){

    .mobile-menu{

        width:100%;

        max-width:100%;

    }

    .mobile-header{

        height:90px;

    }

    .mobile-logo img{

        height:58px;

    }

}

/* ======================================================
   REALIZACJE - TELEFONY
====================================================== */

@media (max-width:900px){

    .projects-grid{
        grid-template-columns:1fr;
    }

    .project-card{
        height:260px;
    }

    .project-content{
        padding:18px;
    }

    .project-content h3{
        font-size:24px;
        line-height:1.2;
    }

}

html,
body{

    max-width:100%;

    overflow-x:hidden;

}

/* ======================================================
   WALIDACJA FORMULARZA
====================================================== */

.error-message{

    display:block;
    min-height:20px;

    margin-top:6px;
    margin-bottom:10px;

    color:#d9534f;
    font-size:13px;
    font-weight:500;

}

.input-error{

    border:2px solid #d9534f !important;
    box-shadow:0 0 8px rgba(217,83,79,.25);

}

.form-success{

    margin-top:20px;

    color:#5cb85c;

    font-size:15px;
    font-weight:600;

    text-align:center;

}


/* ======================================================
   PRZYCISK WYSYŁANIA
====================================================== */

.btn-loading{

    display:inline-flex;
    align-items:center;
    gap:10px;

}

.spinner{

    width:18px;
    height:18px;

    border:2px solid rgba(255,255,255,.35);
    border-top:2px solid #ffffff;

    border-radius:50%;

    animation:spin .8s linear infinite;

}

@keyframes spin{

    to{
        transform:rotate(360deg);
    }

}

/* ======================================================
   HONEYPOT
====================================================== */

.honeypot{

    position:absolute;

    left:-9999px;

    width:1px;

    height:1px;

    overflow:hidden;

}

.creator {
    margin-top: 12px;
    font-size: 13px;
    color: #777;
    text-align: center;
}

.creator a {
    color: inherit;
    text-decoration: none;
    transition: color .3s ease;
}

.creator a:hover {
    color: var(--gold);
}


/* ======================================================
   POLITYKA PRYWATNOŚCI
====================================================== */

.page-content {
    padding: 180px 0 100px;
}

.page-content h1 {
    margin-bottom: 40px;
}

.page-content h2 {
    margin-top: 40px;
    margin-bottom: 15px;
    font-size: 30px;
    color: var(--white);
}

.page-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #d0d0d0;
}

.page-content ul {
    margin: 20px 0 30px 25px;
}

.page-content li {
    margin-bottom: 10px;
    color: #d0d0d0;
    line-height: 1.8;
}