/* Header Styles */


.header {
    background: #2A2D2C !important;
    color: #ffffff !important;
    padding: 0.75rem 0 !important;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.18) 0%, transparent 55%),
        radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.12) 0%, transparent 55%);
    pointer-events: none;
}

.header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* Header Content */
.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

/* Logo Section */
.header-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-name {
    font-size: 24px;
    font-weight: 800;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.logo-tagline {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Contact Info */
.header-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex: 1 1 auto;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.9rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(5, 100, 134, 0.2);
}

.contact-icon {
    font-size: 18px;
    opacity: 0.9;
}

.contact-details {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.contact-phone,
.contact-time {
    font-size: 14px;
    font-weight: 600;
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.contact-phone:hover {
    opacity: 0.8;
}

.contact-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* CTA Button */
.header-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.btn-booking {
    background: #FF6C35 !important;
    color: #ffffff !important;
    text-decoration: none;
    padding: 0.85rem 1.75rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(255, 108, 53, 0.5), 0 2px 8px rgba(255, 108, 53, 0.3) !important;
    border: 1px solid #FF6C35 !important;
    position: relative;
}

.btn-booking:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 8px 30px rgba(255, 108, 53, 0.7), 0 4px 12px rgba(255, 108, 53, 0.5) !important;
    background: #ff7a45 !important;
    border-color: #ff7a45 !important;
    cursor: pointer !important;
}

.btn-booking:active {
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 968px) {
    .header-contact {
        gap: 15px;
    }
    
    .contact-item {
        padding: 10px 14px;
    }
}

@media (max-width: 768px) {
    .header-content {
        padding: 15px 0;
        flex-direction: column;
        gap: 20px;
        text-align: center;
        align-items: center;
        justify-content: center;
    }
    
    .header-logo {
        justify-content: center;
        width: 100%;
    }
    
    .logo-link {
        justify-content: center;
    }
    
    .header-cta {
        justify-content: center;
        width: 100%;
    }
    
    .header-contact {
        gap: 10px;
    }
    
    .logo-icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    .logo-name {
        font-size: 20px;
    }
    
    .logo-tagline {
        font-size: 11px;
    }
    
    .contact-item {
        padding: 8px 12px;
    }
    
    .btn-booking {
        padding: 12px 18px;
        font-size: 13px;
    }
}

@media (max-width: 600px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        align-items: center;
        justify-content: center;
    }
    
    .header-logo {
        justify-content: center;
        width: 100%;
    }
    
    .logo-link {
        justify-content: center;
    }
    
    .header-cta {
        justify-content: center;
        width: 100%;
    }
    
    .header-contact {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .contact-item {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .btn-booking {
        width: 100%;
        max-width: 250px;
        padding: 16px 24px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .header .container {
        padding: 0 15px;
    }
    
    .header-content {
        padding: 12px 0;
        flex-direction: column;
        gap: 12px;
        text-align: center;
        align-items: center;
        justify-content: center;
    }
    
    .header-logo {
        justify-content: center;
        width: 100%;
    }
    
    .logo-link {
        justify-content: center;
    }
    
    .header-cta {
        justify-content: center;
        width: 100%;
    }
    
    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .logo-name {
        font-size: 18px;
    }
    
    .logo-tagline {
        font-size: 10px;
    }
    
    .contact-item {
        padding: 8px 12px;
    }
    
    .contact-phone,
    .contact-time {
        font-size: 13px;
    }
    
    .contact-label {
        font-size: 10px;
    }
    
    .btn-booking {
        padding: 14px 20px;
        font-size: 14px;
    }
}

/* ===== BOOTSTRAP СОВМЕСТИМОСТЬ ===== */

/* Переопределение Bootstrap navbar для нашего дизайна */
.header.navbar {
    background: linear-gradient(135deg, #2A2D2C 1000%, #2A2D2C 100%, #2A2D2C 100%) !important;
    border: none !important;
    padding: 0.75rem 0 !important;
}

.header .container {
    max-width: 1200px;
    padding: 0 2rem;
}

/* Стили для navbar-brand */
.header-logo .navbar-brand {
    color: #ffffff !important;
    font-weight: 700;
    font-size: 1.5rem;
}

.header-logo .navbar-brand:hover {
    color: #ffffff !important;
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.1);
}

/* Стили для кнопки */
.header-cta .btn-primary {
    background: #FF6C35 !important;
    color: #ffffff !important;
    border: 1px solid #FF6C35 !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 108, 53, 0.4) !important;
}

.header-cta .btn-primary:hover {
    background: #ff7a45 !important;
    border-color: #ff7a45 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 108, 53, 0.6) !important;
}

/* Адаптивность для Bootstrap */
@media (max-width: 768px) {
    .header .container {
        padding: 0 1rem;
    }
    
    .header-contact {
        display: none !important;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        align-items: center;
        justify-content: center;
    }
    
    .header-logo {
        justify-content: center;
        width: 100%;
    }
    
    .logo-link {
        justify-content: center;
    }
    
    .header-cta {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .header .container {
        padding: 0 0.75rem;
    }
}