/* MAIN */

main{
    display: flex;
    flex-direction: column;
    align-items: center;
}

main section{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 0 5%;
    box-sizing: border-box;
}
main section .container{
    max-width: 1100px;
    margin: 30px 0;
    width: 100%;
}
main section .section-subtitle{
    max-width: 800px;
}

/* FOOTER */

footer{
    display: flex;
    flex-direction: column;

    background: #0045bd;
    background: linear-gradient(123deg,#0045bd 0%, #001542 100%);

    padding: 0 5%;
}
footer nav{
    display: flex;
    justify-content: center;
    margin: 40px 0;
}
footer nav .content{
    display: flex;
    gap: 5%;
    flex: 1;
    height: fit-content;
    max-width: 1100px;
    display: flex;
    color: #ffffff;
}
footer nav section{
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
footer nav section a{
    color: #ffffff;
    text-decoration: none;
}
footer nav section a:hover {
    text-decoration: underline;
}
footer nav .info{
    flex: 2;
}
footer #copyright{
    display: flex;
    justify-content: center;
}
footer #copyright .content{
    padding: 10px 0;
    flex: 1;
    max-width: 1100px;
    display: flex;
    color: #ffffff;
    border-top: 1px solid #0000002b;
    font-size: 1em;
}
@media (max-width: 1000px) {  
    footer nav .content{
        flex-direction: column;
        text-align: center;
    }
    footer nav section{
        align-items: center;
    }
    footer #copyright .content{
        justify-content: center;
    }
} 

/* 

    OTHER

*/

a{
    color: var(--primary-accent);
    width: fit-content;
}
.btn-read-more{
    width: 100%;
    box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    padding: 12px 20px;
    box-sizing: border-box;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    color: var(--primary-accent);
}
.btn-read-more:hover{
    transform: translateY(2px);
}

/*

    CAROUSEL

*/

.carousel {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.carousel .pages{
    position: relative;
    min-height: 100px;
}

.carousel .page {
    inset: 0;
    display: none;
    justify-content: center;
    gap: 10px;
}

@media (max-width: 1000px) {  
    .carousel .page{
        flex-direction: column;
    } 
}  
.carousel .page.active {
    display: flex;
    position: relative;
  
    transform: translateX(0);

    animation: fadeIn 0.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateX(30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.carousel .box {
    flex: 1;
    background: royalblue;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    font-size: 2em;
}

.carousel .carousel-btn {    
    width: 44px;
    height: 44px;
    background: #ffffff;
    color: #000c26;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    
    display: grid;
    place-items: center;
}

.carousel .carousel-btn:hover {
    box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.1);
    background-color: #ebebeb;
}
.carousel .carousel-btn.prev { left: 5%; }
.carousel .carousel-btn.next { right: 5%; }

.carousel .controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.carousel .controls .center{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.carousel .controls .indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.carousel .controls .dot {
    background: #ffffff;
    box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.1);
    width: 12px;
    height: 12px;
    border-radius: 50px;
    cursor: pointer;
    transition: width 0.3s ease;
    border: 2px solid #0045bd;
}
.carousel .controls .dot:hover{
    box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.1);
    transform: scale(1.1);
}

.carousel .controls .dot.active {
    width: 30px;
    border-radius: 50px;
    background: white;
}

.carousel .controls .play-pause-btn {
    width: 44px;
    height: 44px;

    background: #ffffff;
    color: #000c26;
    border: none;
    border-radius: 50%;
    cursor: pointer;

    display: grid;
    place-items: center;
}
.carousel .controls .play-pause-btn .icon-play { display: none; }
.carousel .controls .play-pause-btn .icon-pause { display: grid; }

.carousel .controls .play-pause-btn.is-paused .icon-pause { display: none; }
.carousel .controls .play-pause-btn.is-paused .icon-play { display: grid; }

.carousel .controls .play-pause-btn:hover {
    box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.1);
    background-color: #ebebeb;
}

/* LANDINNG */

.introduction{
    display: flex;
    flex-direction: column;
    text-align: center;
}
.introduction .container{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.introduction p{
    max-width: 820px;
    font-size: 1.2rem;
    color: var(--primary-secondary-color);
}
@media (max-width: 1000px) {
    .introduction p{
        text-align: justify;
    }
}

/* eco-section */
.eco-section{
    background: #0b2744;
    background: linear-gradient(90deg,#191e5c 0%, #0b2744 100%);
}
.eco-section .container{
    max-width: 1100px;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 5%;
    margin: 5% 0;
    color: var(--primary-bg-color);
}
@media (max-width: 1000px) {
    .eco-section .container{
        display: block;
    }
}
.eco-section .container .eco-text{
    flex: 3;
    font-size: 1.2rem;
}
.eco-section .container .eco-text h2{
    margin-top: 0;
}
.eco-section .eco-badge{
    flex: 2;
    border: 1px solid var(--primary-contour);
    background-color: var(--primary-bg-color);
    color: var(--primary-color);
    height: fit-content;
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.eco-section .eco-badge p{
    margin: 0;
}
.eco-section .eco-badge svg{
    width: 24px;
    height: 24px;
}
.eco-section .eco-badge ul{
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.eco-section .eco-badge li{
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border-radius: 20px;
    border: 1px solid var(--primary-contour);
}

/* rating */
.rating-section{
    flex-direction: column;
    align-items: center;
}
.rating-section .intro{
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.rating-section .intro p{
    font-size: 1.2rem;
    max-width: 800px;
    color: var(--primary-secondary-color);
}
.rating-section .reviews-grid{
    max-width: 1100px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 25px;
}
.rating-section .client-card:first-of-type{
    grid-column: 1 / span 2;
}
@media (max-width: 1000px) {  
    .rating-section .reviews-grid{
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(3, auto);
    }
    .rating-section .client-card:first-of-type{
        grid-column: 1;
    }
    .rating-section .client-card .google-logo{
        display: none;
    }
} 
.rating-section .reviews-grid h3, .rating-section .reviews-grid p{
    margin: 0;
}
.rating-section .client-card{
    display: flex;
    flex-direction: column;
    padding: 30px;
    border: 1px solid var(--primary-contour);
    border-radius: 20px;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}
.rating-section .client-card .info-content{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.rating-section .client-card .info-content .google-logo svg{
    height: 20px;
    width: min-content;
}
.rating-section .client-card .review-info{
    display: flex;
    align-items: center;
    gap: 12px;
}
.rating-section .client-card .review-info h3{
    font-weight: 500;
}
.rating-section .client-card .client-info{
    display: flex;
    align-items: start;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
}
.rating-section .client-card .client-info img{
    border-radius: 50px;
    height: 32px;
    width: 32px;
}
.rating-section .client-card .rating{
    align-items: center;
    display: flex;
    gap: 4px;
    text-decoration: none;
    height: max-content;
    font-size: 1em;
}
.rating-section .client-card .rating svg{
    height: 18px;
    width: 18px;
    color: #ffe100;
}
.rating-section .reviews-link{
    text-align: center;
    margin-top: 8px;
}
.rating-section .reviews-link a{
    padding: 12px;
    display: inline-block;
    text-decoration: none;
    color: var(--primary-accent);
}

/* services */
.services-section{
    background: #fafdff;
    background: linear-gradient(123deg,#f2f9ff 0%, #fafdff 100%);
    display: grid;
    place-items: center;
}
.services-section .container{
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1100px;
}
.services-section .container .section-title{
    text-align: center;
}
.services-section .container .section-subtitle{
    text-align: center;
    max-width: 800px;
    font-size: 1.2em;
    color: var(--primary-secondary-color);
}
.services-section a{
    text-decoration: none;
}
.services-section .service-card{
    display: flex;
    flex-direction: column;
    border: 1px solid var(--primary-contour);
    border-radius: 20px;
    overflow: hidden;
    background: var(--primary-bg-color);
    color: var(--primary-color);
}
.services-section .service-card .content{
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.services-section .service-card .placeholder-image{
    width: 100%;
    height: 300px;
}
.services-section .service-card h3, .services-section .service-card p{
    margin: 0;
    text-align: center;
}

/* faq-section */
.faq-section{
    background: #fafdff;
    background: linear-gradient(123deg,#f2f9ff 0%, #fafdff 100%);
}
.faq-section .container{
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}
.faq-section h2{
    text-align: center;
}
.faq-section .faq-item {
    border: 1px solid var(--primary-contour);
    background-color: var(--primary-bg-color);
    border-radius: 20px;
    padding: 20px 24px;
}
.faq-section .faq-item:hover {
    box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.faq-section .faq-question:hover {
    cursor: pointer;
}
.faq-section .faq-question {
    padding-right: 34px;
    list-style: none;
    position: relative;
}
.faq-section .faq-question::marker, 
.faq-section .faq-question::-webkit-details-marker {
    display: none;
}
.faq-section .faq-question .faq-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 5px;
    display: grid;
    place-items: center;
    height: 100%;
    color: #0066cc;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-section .faq-question .faq-icon svg{
    height: 24px;
    width: 24px;
    transition: all 0.1s linear;
}
.faq-section .faq-item[open] .faq-question .faq-icon svg{
    transform: rotate(90deg);
}
.faq-section .faq-answer {
    margin-top: 20px;
    border-top: 1px solid var(--primary-contour);
}

/* map/area section */
.area-section .container{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 40px;
}
@media (max-width: 1000px) {
    .area-section .container{
        display: flex;
        flex-direction: column;
    }
}
.area-section .area-title{
    grid-column: 1 / span 2;
    text-align: center;
}
.area-section #perfect-map{
    min-height: 300px;
    height: 100%;
    width: 100%;
    border-radius: 20px;
}
.area-section .content{
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.area-section .content .cities{
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.area-section .content .cities li{
    padding: 8px;
    display: flex;
    gap: 5px;
    border: 1px solid var(--primary-contour);
    border-radius: 8px;
    color: var(--primary-color);
}
.area-section .content .cities a{
    text-decoration: none;
}
.area-section .content .cities li:hover{
    box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.1);
    transform: translateY(2px);
}
.area-section .content .cities li svg{
    width: 16px;
    height: 16px;
}

/* bottom-contact */
.bottom-contact{
    text-align: center;
}
.bottom-contact p{
    font-size: 1.2rem;
    color: var(--primary-secondary-color);
}
.bottom-contact .button{
    background: #0045bd;
    background: linear-gradient(123deg,#0045bd 0%, #001542 100%);
    padding: 12px 20px;
    font-size: 1.1em;
    border-radius: 50px;
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    margin-top: 12px;
    display: inline-block;
}
.bottom-contact .button:hover{
    box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.1);
    transform: translateY(2px);
}

/* pricing section */
.pricing-section .container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.pricing-section p{
    font-size: 1.2rem;
    color: var(--primary-secondary-color);
}
.pricing-section table {
    border-collapse: collapse;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    border-style: hidden;
    box-shadow: 0 0 0 1px var(--primary-contour);
}
.pricing-section th,
.pricing-section td,
.pricing-section tr{
    border: 1px solid var(--primary-contour);
    text-align: left;
}

.pricing-section th,
.pricing-section td {
    padding: 20px;
}
.pricing-section th {
    background-color: #f3f4f6;
    font-weight: 500;
}
.pricing-section .table-mobile-container th{
    width: 30%;
}
.pricing-section .service-name{
    background: var(--primary-accent);
    color: var(--primary-bg-color);
    text-align: center;
}
.pricing-section .table-desktop-container{
    display: block;
}
.pricing-section .table-mobile-container{
    display: none;
    flex-direction: column;
    gap: 30px;
}
@media (max-width: 1000px) {
    .pricing-section .table-desktop-container{
        display: none;
    }
    .pricing-section .table-mobile-container{
        display: flex;
    }
}

/* Portoflio */
.portfolio-section{
    background: #fafdff;
    background: linear-gradient(123deg,#f2f9ff 0%, #fafdff 100%);
}
.portfolio-section .container{
    text-align: center;
    max-width: 1100px;
    width: 100%;
}

.portfolio-section .portfolio-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr) auto;
    gap: 25px;
}
.portfolio-section .portfolio-grid .project-card:first-of-type{
    grid-area: 1 / 1 / span 3 / span 2;
}
.portfolio-section .portfolio-grid .project-card{
    display: flex;
    flex-direction: column;
}
.portfolio-section .portfolio-grid .project-card .project-content{
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.portfolio-section .portfolio-grid .project-card .project-content h3, .portfolio-section .portfolio-grid .project-card .project-content p{
    margin: 0;
}
.portfolio-section .project-image{
    height: 80px;
}
.portfolio-section .project-card:first-of-type .project-image{
    height: 100%;
}
@media (max-width: 1000px) {
    .portfolio-section .portfolio-grid{
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .portfolio-section .portfolio-grid .project-card:first-of-type{
        grid-area: unset;
    }
    .portfolio-section .project-image{
        height: 250px!important;
    }
}
.portfolio-section .portfolio-grid .project-card{
    background-color: var(--primary-bg-color);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--primary-contour);
}
.portfolio-section .project-footer a{
    width: 100%;
}
.portfolio-section .see-more{
    background: #146aff;
    background: linear-gradient(123deg,#146aff 0%, #00a2ff 100%);
    text-decoration: none;
    color: var(--primary-bg-color);
    padding: 12px 20px;
    width: 100%;
    box-sizing: border-box;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}
.portfolio-section .see-more:hover {
    box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.1);
    transform: translateY(2px);
}

/*

KONTAKT

*/

.contact-section .container{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 40px;
}

.contact-section .contact-intro {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px 30px;
}

.contact-section .contact-intro h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 16px;
    margin-top: 0;
}

.contact-section .contact-intro p {
    color: var(--primary-secondary-color);
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 30px auto;
}

.contact-section .email-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.contact-section .email-label {
    font-size: 0.9rem;
    color: var(--primary-secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-section .contact-email {
    font-size : clamp(1.2rem, 5vw, 2.2rem);
    font-weight: 700;
    color: var(--primary-accent);
    text-decoration: none;
}
.contact-section .contact-email:hover {
    text-decoration: underline;
}

.contact-section .employee-card {
    display: flex;
    align-items: center;
    gap: 24px;
    background: var(--primary-bg-color);
    border: 1px solid var(--primary-contour);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.contact-section .employee-photo {
    flex: 0 0 45%;
    aspect-ratio: 3 / 4;
    border-radius: 12px;
    overflow: hidden;
}

.contact-section .employee-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.contact-section .employee-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-section .employee-details h3 {
    font-size: 1.4rem;
    margin: 0 0 4px 0;
}

.contact-section .employee-role {
    font-size: 0.85rem;
    color: #718096;
    margin-bottom: 12px;
    font-weight: 500;
}

.contact-section .employee-phone {
    font-size: 1.2rem;
    font-weight: bold;
    width: 100%;
    text-decoration: none;
    margin-bottom: 12px;
}

.contact-section .employee-phone:hover {
    text-decoration: underline;
}

.contact-section .employee-bio {
    font-size: 0.9rem;
    color: var(--primary-secondary-color);
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 1000px) {
    .contact-section .container {
        grid-template-columns: 1fr;
    }
    
    .contact-section .employee-card {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-section .employee-photo {
        width: 100%;
        max-width: 250px;
        aspect-ratio: 1 / 1;
    }
}

/* Polityka prywatności */

.privacy-policy h1{
    text-align: center;
}