/* Базові стилі та CSS Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    color: #333;
    background-color: #FBFCF9;
}

ul, ol {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

a:hover {
    color: #8EC48E;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Додатково для кнопок і полів */
button, input, textarea {
    border: none;
    outline: none;
}

/* Загальні класи */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: bold;
    text-align: center;
    white-space: nowrap;
    transition: background-color 0.3s ease, transform 0.3s ease;
    background-color: #8EC48E;
    color: #fff;
}

.btn:hover {
    background-color: #7DB27D;
    transform: translateY(-2px);
}

.section-title {
    color: white;
    font-size: 3rem;
    font-weight: bold;
    text-align: center;
    margin-top: 100px;
}

.section-underline {
    width: 100px;
    height: 5px;
    background-color: #8EC48E;
    margin: 10px auto 50px;
}

/* Анімації для плавного з'явлення */
[data-animate] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* Хедер */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
}

.header .logo img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    font-weight: bold;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

/* Секція Hero */
.hero-section {
    background-image: url('title.black.webp');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding-top: 80px;
}

.hero-content {
    background: rgba(0, 0, 0, 0.5);
    padding: 40px;
    border-radius: 10px;
}

.hero-title {
    font-size: 4rem;
    font-weight: bold;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin: 20px 0;
}

/* Секція з цитатами (зелені секції) */
.quote-section {
    background-color: #8EC48E;
    color: #fff;
    padding: 80px 20px;
    text-align: center;
}

.quote-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.quote-text {
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* Секція Послуги */
.services-section {
    padding: 80px 0;
}

.service-card {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 80px;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.service-card.reverse {
    flex-direction: row-reverse;
}

.service-image-wrapper {
    flex: 1;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.service-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease-in-out;
}

.service-image:hover {
    transform: scale(1.05);
}

.service-content {
    flex: 1;
    padding-left: 20px;
}

.service-title {
    color: #8EC48E;
    font-size: 2rem;
    margin-bottom: 15px;
}

.service-description {
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-list-title {
    font-weight: bold;
    color: #8EC48E;
    margin-bottom: 10px;
}

.service-list {
    list-style: none;
    padding-left: 0;
}

.service-list li {
    margin-bottom: 5px;
    position: relative;
    padding-left: 20px;
}

.service-list li::before {
    content: '✅';
    position: absolute;
    left: 0;
}

/* Секція Про нас */
.about-section {
    padding: 80px 0;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.about-image-wrapper {
    flex: 1;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.about-image {
    width: 100%;
    height: auto;
}

.about-content {
    flex: 1;
}

.about-title {
    font-size: 3rem;
    color: #8ec48e;
    font-weight: bold;
    margin-bottom: 20px;
}

.about-text {
    line-height: 1.6;
    margin-bottom: 20px;
}

.about-button {
    background: #8ec48e;
    color: #fff;
    font-size: 18px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.about-button:hover {
    background: #3fbb3f;
}

/* Чому саме ми? */
.why-us-section {
    padding: 80px 0;
    text-align: center;
    padding-top: 0px;
}

.why-us-title {
    font-size: 3rem;
    color: #8ec48e;
    font-weight: bold;
    margin-bottom: 20px;
}

.why-us-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.why-us-card {
    background: rgb(255, 255, 255);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    flex: 1;
    max-width: 320px;
    min-width: 280px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-us-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}



.why-us-heading {
    font-size: 1.5rem;
    color: #8EC48E;
    font-weight: bold;
    margin-bottom: 10px;
}

.why-us-underline {
    width: 40px;
    height: 3px;
    background: #ff8c2f;
    margin: 0 auto 15px auto;
}

.why-us-text {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

/* Контакти */
.contacts-section {
    padding: 80px 0;
    background-color: #28B381;
    color: #fff;
    text-align: center;
}

.contacts-title {
    color: #ffffff;
    font-weight: bold;
    margin-bottom: 20px;
}

.contacts-underline {
    background-color: orange;
    width: 60px;
    height: 4px;
    margin: 10px auto;
}

.contacts-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.contacts-map img {
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.2);
    width: 100%;
}

.contacts-info {
    text-align: left;
    font-size: 1.2rem;
    line-height: 1.8;
}

.contacts-info a {
    color: #ffffff;
    font-weight: bold;
    transition: text-decoration 0.3s ease;
}

.contacts-info a:hover {
    text-decoration: underline;
}

/* Футер */
.footer {
    background-color: #2C2F36;
    color: white;
    padding: 50px 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-left,
.footer-center,
.footer-right {
    flex: 1;
    min-width: 250px;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.footer-description {
    margin-top: 10px;
    color: #bbb;
}

.footer-center h3,
.footer-right h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.footer-socials {
    display: flex;
    gap: 15px;
    margin: 15px 0;
}

.footer-socials img {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease;
}

.footer-socials img:hover {
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

/* Адаптивні стилі */
@media (max-width: 1024px) {
    .header {
        padding: 15px 20px;
    }

    .nav-list {
        gap: 20px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .service-card,
    .about-container,
    .contacts-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .service-card.reverse {
        flex-direction: column;
    }
    
    .service-content,
    .service-image-wrapper {
        padding-left: 0;
        text-align: left;
    }
    
    .about-title {
        font-size: 2.5rem;
    }

    .why-us-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .why-us-card {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-left,
    .footer-center,
    .footer-right {
        min-width: unset;
        width: 100%;
        text-align: center;
    }
    
    .footer-center h3, .footer-right h3, .footer-socials {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        padding: 10px 15px;
        align-items: center;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }

    .about-container {
        padding: 20px;
    }

    .about-title {
        font-size: 2rem;
    }

    .contacts-info {
        font-size: 1rem;
    }

    .contacts-map img {
        width: 100%;
        height: auto;
    }
}