/* Загальні стилі */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: white;
}

/* Навігація */
.navbar {
    margin-bottom: 20px;
    transition: background-color 0.3s ease;
}

.navbar-dark.bg-success {
    background-color: #32a8fd !important;
}

.navbar-dark.bg-success:hover {
    background-color: #2c99e6 !important;
}

.navbar-brand {
    font-size: 1.6rem;
    font-weight: bold;
    text-transform: uppercase;
}

.nav-link {
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #ffc107;
}


.hero-section h1 {
    font-size: 3rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
}

.hero-section .btn {
    margin-bottom: 20px;
    font-size: 1.2rem;
    padding: 12px 30px;
    background-color: #32a8fd;
    color: white;
    border-radius: 30px;
    transition: background-color 0.3s ease;
}

.hero-section .btn:hover {
    background-color: #2c99e6;
}


/* Контактна інформація */
.contact-section {
    background-color: white;
    padding: 50px 0;
}

.contact-box {
    background-color: #32a8fd;
    color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-title {
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.contact-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.phone-box {
    font-size: 1.5rem;
}

.phone-number {
    color: #000000;
    text-decoration: none;
    font-weight: bold;
}

.phone-number:hover {
    color: white;
    text-decoration: underline;
}



/* Статус повідомлення */
#status {
    margin-top: 15px;
    font-size: 1.2rem;
}

/* Анімації */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Анімація кнопки "ЗАМОВИТИ" */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 5px rgba(50, 168, 253, 0.5);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 15px rgba(44, 153, 230, 0.8);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 5px rgba(50, 168, 253, 0.5);
    }
}
.btn-success {
    background-color: #2c99e6;
    font-size: 1.3rem;
    font-weight: bold;
    border-radius: 50px;
    padding: 15px;
    transition: all 0.3s ease-in-out;
    animation: pulse 1.5s infinite;
}

.btn-success:hover
{
    background-color: #32a8fd;
}

/* Для забезпечення футера внизу */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex-grow: 1;
}

/* Стилізація модального вікна */
.modal-content {
    border-radius: 15px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
}

.modal-header {
    background: #2c99e6;
    color: white;
    border-radius: 15px 15px 0 0;
    text-align: center;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: bold;
}

.modal-body {
    padding: 30px;
    background: #ffffff;
}

.form-label {
    font-weight: bold;
}

.form-control {
    border-radius: 10px;
    padding: 12px;
    border: 2px solid #2c99e6;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: #32a8fd;
    box-shadow: 0 0 10px rgba(44, 153, 230, 0.5);
}

/* Кнопка закриття модального вікна */
.btn-close {
    filter: invert(1);
}

/* Адаптація для мобільних */
@media (max-width: 576px) {
    .btn-success {
        font-size: 1.1rem;
        padding: 12px;
    }

    .modal-body {
        padding: 20px;
    }
}

/* Фон секції */
#products {
    background: linear-gradient(to bottom, #f8f9fa, #e9ecef);
    padding: 50px 0;
    border-radius: 10px;
}

/* Заголовок */
#products h2 {
    font-weight: 800;
    background: #2c99e6;
    color: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Карточки */
.card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    background: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Заголовки карточок */
.card-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #32a8fd;
}

/* Текст всередині карточки */
.card-text {
    font-size: 1.1rem;
}

/* Додаємо ефект підсвічування при наведенні */
.card:hover .card-title {
    color: #2c99e6;
}
