/* 

RESET I PODSTAWY 

*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --text-color: #ffffff;
    --bg-overlay: rgba(0, 0, 0, 0.4);
    --nav-bg: rgba(0, 0, 0, 0.5);
}

body {
    font-family: "Inter", sans-serif;
    background-color: #ffffff;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* 

NAGŁÓWEK I LOGO 

*/
.main-header {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(to bottom, var(--nav-bg), transparent);
    padding: clamp(1rem, 3vw, 2rem) 0;
}

.header-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 0 clamp(1rem, 5vw, 5rem);
    max-width: 1600px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .header-container {
        flex-direction: row;
        justify-content: space-between;
    }
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo_box {
    background: white;
    color: black;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);

    font-weight: 800;
    font-size: 0.9rem;
    line-height: 1;
    text-align: center;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-text h1 {
    font-size: clamp(1.1rem, 4vw, 1.5rem);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.brand-text p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 400;
    opacity: 0.9;
}

/*

NAWIGACJA 

*/
.main-nav ul {
    display: flex;
    list-style: none;
    gap: clamp(1rem, 4vw, 3rem);
}

.main-nav a {
    color: var(--text-color);
    text-decoration: none;
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    font-weight: 700;
    letter-spacing: 2px;
    transition: opacity 0.3s;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.main-nav a:hover {
    opacity: 0.7;
}

/*

SEKCJA HERO (TŁO)

*/

.hero-section {
    height: 100dvh;
    background: linear-gradient(var(--bg-overlay), var(--bg-overlay)); /* Podmień na poprawną ścieżkę */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 3rem;

    border-radius: 0 0 150% 150% / 0 0 10% 10%;
}

/* 

STRZAŁKI NA DOLE 

*/

.scroll-indicator .arrows {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.arrows span {
    display: block;
    width: 20px;
    height: 20px;
    border-bottom: 3px solid #fff;
    border-right: 3px solid #fff;
    transform: rotate(45deg);
    margin: -10px;
    animation: animate 2s infinite;
}

.arrows span:nth-child(2) {
    animation-delay: -0.2s;
}
.arrows span:nth-child(3) {
    animation-delay: -0.4s;
}

@keyframes animate {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-20px, -20px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(45deg) translate(20px, 20px);
    }
}
/*

O MNIE

.*/

.about_me {
    width: 100%;
    min-height: 100dvh;
    padding: clamp(2rem, 8%, 5rem) 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6%;
    background-color: #fff;
}

/* 

KONTENER ZDJĘĆ

*/
.about_me_image {
    width: 45%;
    position: relative;
    display: flex;
    justify-content: flex-start;
}

.about_me_img_main {
    width: 85%;
    aspect-ratio: 4/4;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.about_me_img_overlay {
    position: absolute;
    width: 55%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 20px;
    border: 8px solid #fff;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);

    bottom: -10%;
    right: 0;
    z-index: 2;
}

/* 

TEKST

*/
.about_me_text {
    width: 50%;
    font-family: "Montserrat", sans-serif;
}

.about_me_text .label {
    font-weight: 700;
    color: #004d40;
    letter-spacing: 2px;
}

.about_me_text h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-top: 15px;
    line-height: 1.2;
    color: #000;
}

.about_me_text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 25px 0;
    color: #444;
}

/*

LISTA Z PTASZKAMI 

*/
.about_me_benefits {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.about_me_benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    color: #004d40;
}

.about_me_benefits svg {
    width: 24px;
    height: 24px;
    padding: 4px;
    background-color: #004d40;
    color: white;
    border-radius: 50%;
    flex-shrink: 0;
}

/* 

RESPONSYWNOŚĆ

*/
@media (max-width: 768px) {
    .about_me {
        flex-direction: column;
        text-align: left;
        gap: 80px;
    }

    .about_me_image,
    .about_me_text {
        width: 100%;
    }

    .about_me_img_main {
        border: 3px solid #fff;
    }

    .about_me_img_overlay {
        border: 3px solid #fff;
    }

    .about_me_image {
        max-width: 400px;
        margin: 0 auto;
    }
}

/*

REALIZACJE

*/

.result {
    padding: clamp(2rem, 8%, 5rem) 5%;
}

.result_text {
    color: #004d40;
    text-align: center;
    margin-bottom: 3rem;
    font-family: "Montserrat", sans-serif;
}

.result_text h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    text-transform: uppercase;
}

.result_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.grid_item {
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    aspect-ratio: 4 / 5;
}

.grid_item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.grid_item:hover img {
    transform: scale(1.1);
}

/*

Responsywność

*/
@media (max-width: 768px) {
    .result_grid {
        grid-template-columns: 1fr;
    }
}

/*

opinie

*/

.reviews_section {
    padding: clamp(2rem, 8%, 5rem) 5%;
    background-color: #fff;
    color: #004d40;
    text-align: center;
    margin-bottom: 3rem;
    font-family: "Montserrat", sans-serif;
}

.reviews_header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    text-transform: uppercase;
}

.reviews_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto 0;
}

.reviews_card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 40px 30px;
    background-color: #ebebeb;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.reviews_card:hover {
    transform: translateY(-10px);
}

.stars {
    color: #ffc107;
    font-size: 1.8rem;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.reviews_card p {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 25px;
}

.author {
    margin-top: auto;
    font-weight: 700;
    color: #004d40;
    text-transform: uppercase;
    flex-shrink: 0;
}

/* 

RESPONSYWNOŚĆ

*/

@media (max-width: 768px) {
    .reviews_grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }

    .reviews_card {
        padding: 30px 20px;
    }

    .reviews_header h2 {
        font-size: 1.8rem;
    }
}

/*

KONTAKT

*/

.section_header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    text-transform: uppercase;
}

.contact_section {
    text-align: center;
    padding: clamp(3rem, 10%, 6rem) 5%;
    background: #004d40;
    color: rgb(255, 255, 255);
}

.contact_container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-top: 50px;
}

.contact_info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.info_item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgb(255, 255, 255);
    border-radius: 15px;
    text-decoration: none;
    text-align: center;
    transition: transform 0.3s ease;
}

.icon_circle {
    width: 50px;
    height: 50px;
    background-color: #00695c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info_item h3 {
    font-size: 0.9rem;
    color: #004d40;
    text-transform: uppercase;
    margin-bottom: 5px;
    text-align: center;
}

.info_item a {
    color: #004d40;
}

.info_item p {
    color: #004d40;
    text-align: center;
}

.info_item:hover {
    color: #004d40;
    transform: scale(1.1);
}

/*

STOPKA

*/
.footer_brand {
    text-align: center;
    padding-top: 40px;
}

.footer_brand .logo_box {
    margin: 0 auto 20px;
    display: block;
}

.copyright {
    font-size: 0.8rem;
    color: #ffffff;
    margin-top: 20px;
}

.social_media {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.social_link {
    width: 100px;
    height: 100px;
    background-color: rgb(255, 255, 255); /* Delikatne tło */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social_link svg {
    display: flex;
    justify-content: center;
    width: 70px;
    height: 70px;
    color: #004d40;
}

.social_link:hover {
    transform: translateY(-5px) scale(1.1);
    background-color: #1877f2;
    color: white;
}

/* 

RESPONSYWNOŚĆ

*/
@media (max-width: 768px) {
    .contact_info {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .info_item {
        padding: 15px;
    }
}

/*

IKONKA TELEFONU 

*/

.phone-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #004d40;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transition: transform 0.3s ease;
    animation: pulse 2s infinite;
}

.phone-float svg {
    width: 30px;
    height: 30px;
}

.phone-float:hover {
    transform: scale(1.1);
    background-color: #00695c;
}

/* 

animacja pulsowania

*/
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 77, 64, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(0, 77, 64, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 77, 64, 0);
    }
}

/* 

RESPONSYWNOSC

 */
@media (max-width: 768px) {
    .phone-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
}
