/* Приховуємо горизонтальний скролінг */
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
html, body {
    overflow-x: hidden;
}
header {
	background-color: #c8c0b5;
}


/* Секція hero */
.hero img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    filter: brightness(50%);
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 28px;
    font-weight: 600;
}

/* Кнопка */
.cta {
    background: #007BFF;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 600;
}
.cta:hover {
    background-color: #0056b3;
    transition: background-color 0.3s ease;
}
footer {
    background: #f4f4f4;
    padding: 20px;
    text-align: center;
}

/* Секція з перевагами */
.benefits i {
    font-size: 24px;
    margin-right: 10px;
}

/* Секція контактів */
.section-contact {
    background-color: #e8eaf6;
    padding: 50px 0;
}

/* Секція Hero */
.section-hero {
    background-color: #f4f4f4;
    padding: 0;
}

/* Секція з перевагами */
.section-benefits {
    background-color: #e0f7fa;
    padding: 50px 0;
}

/* Секція галереї */
.section-gallery {
    background-color: #f1f8e9;
    padding: 50px 0;
}

/* Заголовки та текст */
h2, h3 {
    font-weight: 600;
    padding-top: 50px;
}

/* Зробимо секції на всю ширину */
.container-fluid {
    /* padding: 0; */
    width: 100%;
}

section {
    width: 100%;
}

/* Галерея */
.gallery img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.gallery .col-md-3 {
    padding: 0;
}

/* Секція з контактами */
.form-control {
    border-radius: 5px;
}

/* Кнопка */
.btn-primary {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    font-weight: 600;
    margin-bottom: 35px;
}
footer {
    background: radial-gradient(circle, #00aaff, #0055aa);
    padding: 20px 0;
}

.footer-logo img {
    max-width: 100%;
}

.footer-contact p {
    margin: 0;
	color:white;
}
.footer-contact p:hover {
    color:green;
}


.footer-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 600;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-links {
    text-align: center;
}

@media (min-width: 768px) {
    .footer-logo {
        margin-bottom: 0;
    }
    .footer-contact {
        text-align: left;
    }
    .footer-links {
        text-align: right;
    }
}
.section-gallery .col-md-3 {
    padding: 15px;
}
.footer-contact p:hover {
    color: white;
    cursor: pointer;
}
@media (max-width: 767px) {
    .footer-logo img {
        width: 120px;
    }
    .footer-contact p {
        text-align: center;
        margin-bottom: 10px;
    }
    .footer-links {
        margin-top: 20px;
        text-align: center;
    }
}
/* Стилі для FAQ */
.section-faq {
    background-color: #f9f9f9;
    padding: 50px 0;
}

.faq-item h3 {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 10px;
}

.faq-item p {
    font-size: 16px;
    line-height: 1.6;
}

/* Для великих екранів */
@media (min-width: 768px) {
    .faq-item {
        padding: 20px;
        border: 1px solid #ddd;
        border-radius: 5px;
        background-color: #fff;
    }
}

/* Для мобільних пристроїв */
@media (max-width: 767px) {
    .faq-item {
        padding: 15px;
    }
}
.my-5 {
    margin-top: 0;
    margin-bottom: 0;
}

.my-5 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}



/* Секція відгуків */
.section-reviews {
    background-color: #f4f4f4;
    padding: 50px 0;
}

.section-reviews h2 {
    font-weight: 600;
    padding-bottom: 30px;
}

.card {
    border: none;
    border-radius: 10px;
}

.card-body {
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.card-text {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
}

.card-title {
    font-weight: 600;
    color: #007BFF;
}

.card-text small {
    color: #6c757d;
}

@media (max-width: 767px) {
    .section-reviews h2 {
        font-size: 24px;
    }

    .card-text {
        font-size: 14px;
    }
}
/* Секція контактів */
.section-contact {
    background-color: #e8eaf6;
    padding: 50px 0;
}

.section-contact h2 {
    font-weight: 600;
    padding-bottom: 20px;
}

.section-contact p {
    font-size: 16px;
    margin-bottom: 20px;
}

.section-contact .btn-primary {
    font-size: 18px;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
}

@media (max-width: 767px) {
    .section-contact .btn-primary {
        width: 100%;
    }
}
/* Секція про нас */
.section-about-us {
    background-color: #f1f8e9;
    padding: 50px 0;
}

.section-about-us h2 {
    font-weight: 600;
    padding-bottom: 20px;
}

.section-about-us p {
    font-size: 16px;
    line-height: 1.6;
}

.section-about-us h3 {
    font-weight: 600;
    padding-top: 20px;
}

/* Стилі для тексту та заголовків */
.section-about-us .row {
    padding: 20px;
}

.section-about-us .col-md-6 {
    padding: 20px;
}

/* Адаптивні стилі */
@media (max-width: 767px) {
    .section-about-us .row {
        text-align: center;
    }
}

.btn-primary {
    background-color: #ff5733 !important;  /* яскравий червоний */
    border-color: #ff5733 !important;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    border: 2px solid;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease; /* Плавний перехід */
    max-width: 250px; /* Максимальна ширина для десктопу */
    width: 100%; /* Повна ширина для мобільних */
}

/* Для десктопної версії (понад 768px) */
@media (min-width: 768px) {
    .btn-primary {
        width: auto; /* Встановлюється стандартна ширина для десктопу */
        max-width: 250px; /* Максимальна ширина для десктопу */
    }
}

.btn-primary:hover {
    background-color: #ff2a00 !important;  /* темніший червоний для ефекту при наведенні */
    border-color: #ff2a00 !important;
}



.section-contact {
    position: relative;
    padding: 50px 15px;
    background: url('bg-image.webp') no-repeat left center;
    background-size: cover;
}

.section-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* затемнення */
    z-index: 1;
}

.section-contact h2, .section-contact p, .section-contact a {
    position: relative;
    z-index: 2; /* забезпечує, що текст буде зверху затемнення */
    color: #fff; /* білий текст для контрасту */
}

.section-works {
    padding: 50px 15px;
    background-color: #f8f9fa;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.gallery img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 10px;
}

