/* static/css/base.css */

/* Градієнтний фон для шапки */
.gradient-bg {
    background: #000;
}

/* Стилі для логотипу */
.navbar-brand img {
    transition: transform 0.3s ease;
    max-height: 150px;
    object-fit: contain;
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

/* Стилі для навігаційних посилань */
.nav-link {
    position: relative;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    margin: 0 0.2rem;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.85) !important;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    color: white !important;
}

.nav-link.active {
    background-color: rgba(255, 255, 255, 0.2);
    font-weight: 600;
    color: white !important;
}

/* Стилі для телефонного посилання */
.phone-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-weight: 600;
    color: white !important;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    transition: all 0.3s ease;
    margin-left: 1rem;
    text-align: center;
    line-height: 1.3;
}

.phone-link:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    color: white !important;
}

/* Стилі для кнопки "Залишити заявку" в навігації */
.nav-application-btn {
    background-color: #ffde59 !important;
    color: #000 !important;
    border: 1px solid #e6c200 !important;
    border-radius: 8px !important;
    padding: 10px 20px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    margin: 0 5px !important;
    display: inline-block !important;
}

.nav-application-btn:hover {
    background-color: #e6c200 !important;
    border-color: #ccaa00 !important;
    color: #000 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.nav-application-btn.active {
    background-color: #e6c200 !important;
    border-color: #ccaa00 !important;
    color: #000 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}


/* Адаптація для мобільних пристроїв */
@media (max-width: 991.98px) {
    .phone-link {
        margin: 0.5rem 0 0 0;
        width: fit-content;
        justify-content: center;
    }
    
    .navbar-nav {
        padding-bottom: 1rem;
        align-items: flex-start !important;
    }
    
    .navbar-brand img {
        width: 200px;
        height: auto;
    }
	
	.nav-application-btn {
        margin: 0.5rem 0 0 0 !important;
        width: 100% !important;
        text-align: center !important;
    }
    
    .nav-item .nav-application-btn {
        margin-left: 0 !important;
}

/* Стилі для кнопки меню на мобільних */
.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
}

/* Додаткові стилі для всього сайту */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

/* Стилі для футера */
footer a:hover {
    color: #6ea8fe !important;
    text-decoration: underline;
}