/* ============================================
   PROSTOBAU COMPLETE STYLES
   Полные стили в стиле prostobau.de
   ============================================ */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

/* ============================================
   HEADER STYLES
   ============================================ */

.header.prostobau-style {
    background-color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    width: 100% !important;
    border-bottom: 1px solid #e5e7eb !important;
}

.header.prostobau-style .header-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    gap: 24px;
}

/* Logo Styles */
.header.prostobau-style .logo {
    flex-shrink: 0 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-width: 140px !important;
}

.header.prostobau-style .logo-link {
    display: block !important;
    transition: opacity 0.3s ease !important;
    visibility: visible !important;
    opacity: 1 !important;
    text-decoration: none !important;
}

.header.prostobau-style .logo-image {
    max-height: 40px !important;
    width: auto !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    object-fit: contain !important;
    background: transparent !important;
    border: none !important;
    max-width: 150px !important;
}

.header.prostobau-style .logo-text {
    color: #FF6B35 !important;
    font-weight: bold !important;
    font-size: 24px !important;
    text-decoration: none !important;
    display: none !important;
}

.header.prostobau-style .logo-link:hover {
    opacity: 0.8;
}

/* Main Navigation */
.header.prostobau-style .main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.header.prostobau-style .nav-list {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.header.prostobau-style .nav-item {
    position: relative;
}

.header.prostobau-style .nav-link {
    display: block;
    padding: 12px 16px;
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    border-radius: 6px;
    position: relative;
}

.header.prostobau-style .nav-link:hover {
    color: #FF6B35;
    background-color: #f3f4f6;
}

.header.prostobau-style .nav-link.active {
    color: #FF6B35;
    font-weight: 600;
}

.header.prostobau-style .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 2px;
    background-color: #FF6B35;
    border-radius: 1px;
}

/* Header Actions */
.header.prostobau-style .header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

/* Contact Button */
.header.prostobau-style .btn-contact {
    background-color: #FF6B35;
    color: white;
    border: 2px solid #FF6B35;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.header.prostobau-style .btn-contact:hover {
    background-color: transparent;
    color: #FF6B35;
    text-decoration: none;
}

/* Mobile Menu Toggle */
.header.prostobau-style .mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.header.prostobau-style .hamburger-line {
    width: 100%;
    height: 3px;
    background-color: #374151;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.header.prostobau-style .mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.header.prostobau-style .mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.header.prostobau-style .mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation */
.header.prostobau-style .mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: white;
    box-shadow: 4px 0 12px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    transition: left 0.3s ease;
    overflow-y: auto;
}

.header.prostobau-style .mobile-nav.active {
    left: 0;
}

.header.prostobau-style .mobile-nav-content {
    padding: 0;
    padding-bottom: 80px;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.header.prostobau-style .mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e5e7eb;
    background-color: #f8f9fa;
}

.header.prostobau-style .mobile-logo-img {
    height: 32px;
    width: auto;
}

.header.prostobau-style .mobile-nav-close {
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-size: 18px;
}

.header.prostobau-style .mobile-nav-close:hover {
    background-color: #e5e7eb;
    color: #374151;
}

.header.prostobau-style .mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.header.prostobau-style .mobile-user-section {
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 20px;
    border-top: 1px solid #e5e7eb;
}

.header.prostobau-style .mobile-section-title {
    padding: 16px 24px 12px;
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.header.prostobau-style .mobile-user-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.header.prostobau-style .mobile-nav-item {
    border-bottom: 1px solid #f3f4f6;
}

.header.prostobau-style .mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.2s ease;
}

.header.prostobau-style .mobile-nav-link:hover {
    background-color: #f3f4f6;
    color: #FF6B35;
}

.header.prostobau-style .mobile-nav-link i {
    color: #6b7280;
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.header.prostobau-style .mobile-nav-link:hover i {
    color: #FF6B35;
}

/* Mobile languages removed - now in header */

/* Prevent body scroll when mobile menu is open */
body.mobile-menu-open {
    overflow: hidden;
}

/* Language Dropdown */
.header.prostobau-style .language-dropdown {
    position: relative;
    display: inline-block;
}

.header.prostobau-style .lang-dropdown-btn {
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    min-width: 70px;
    justify-content: space-between;
}

.header.prostobau-style .lang-dropdown-btn:hover {
    background-color: #e5e7eb;
    border-color: #d1d5db;
}

.header.prostobau-style .lang-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 160px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    margin-top: 4px;
}

.header.prostobau-style .lang-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header.prostobau-style .lang-dropdown-item {
    display: block;
    padding: 10px 16px;
    color: #374151;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f3f4f6;
}

.header.prostobau-style .lang-dropdown-item:last-child {
    border-bottom: none;
}

.header.prostobau-style .lang-dropdown-item:hover {
    background-color: #f3f4f6;
    color: #FF6B35;
}

.header.prostobau-style .lang-dropdown-item.active {
    background-color: #fff5f0;
    color: #FF6B35;
    font-weight: 600;
}

/* Contact Button */
.header.prostobau-style .btn-contact {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8A65 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(255, 107, 53, 0.2);
}

.header.prostobau-style .btn-contact:hover {
    background: linear-gradient(135deg, #E55A2B 0%, #FF6B35 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(255, 107, 53, 0.3);
}

/* ============================================
   HERO SECTION STYLES
   ============================================ */

.hero-modern {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.5), rgba(52, 73, 94, 0.6)),
                url('/prostobau_hero_bg.jpg') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content-modern {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    padding: 0 20px;
}

.hero-title-modern {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-highlight {
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle-modern {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   FOOTER STYLES
   ============================================ */

.footer.prostobau-style {
    background-color: #1f2937;
    color: #e5e7eb;
    padding: 60px 0 20px;
}

.footer.prostobau-style .footer-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 32px;
}

.footer.prostobau-style .footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer.prostobau-style .footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer.prostobau-style .footer-logo-image {
    height: 40px;
    width: auto;
}

.footer.prostobau-style .footer-logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #FF6B35;
}

.footer.prostobau-style .footer-description {
    margin-bottom: 24px;
    line-height: 1.6;
    color: #9ca3af;
}

.footer.prostobau-style .footer-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #ffffff;
}

.footer.prostobau-style .footer-links {
    list-style: none;
}

.footer.prostobau-style .footer-links li {
    margin-bottom: 8px;
}

.footer.prostobau-style .footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer.prostobau-style .footer-links a:hover {
    color: #FF6B35;
}

.footer.prostobau-style .footer-social {
    display: flex;
    gap: 12px;
}

.footer.prostobau-style .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #374151;
    color: #e5e7eb;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer.prostobau-style .social-link:hover {
    background-color: #FF6B35;
    color: white;
    transform: translateY(-2px);
}

.footer.prostobau-style .footer-contact p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: #9ca3af;
}

.footer.prostobau-style .footer-contact i {
    color: #FF6B35;
    width: 16px;
}

.footer.prostobau-style .footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 20px;
}

.footer.prostobau-style .footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer.prostobau-style .footer-copyright {
    color: #9ca3af;
}

.footer.prostobau-style .footer-legal {
    display: flex;
    gap: 24px;
}

.footer.prostobau-style .footer-legal a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer.prostobau-style .footer-legal a:hover {
    color: #FF6B35;
}

/* ============================================
   CONTACT MODAL STYLES
   ============================================ */

.contact-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.contact-modal-content {
    background-color: white;
    border-radius: 12px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.contact-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 24px 16px;
    border-bottom: 1px solid #e5e7eb;
}

.contact-modal-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: #374151;
    margin: 0;
}

.contact-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #6b7280;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.contact-modal-close:hover {
    background-color: #f3f4f6;
    color: #374151;
}

.contact-modal-body {
    padding: 24px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #374151;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FF6B35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.btn-send {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8A65 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: center;
}

.btn-send:hover {
    background: linear-gradient(135deg, #E55A2B 0%, #FF6B35 100%);
    transform: translateY(-1px);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .header.prostobau-style .header-container {
        padding: 0 16px;
        height: 70px;
    }
    
    .header.prostobau-style .main-nav {
        display: none;
    }
    
    .header.prostobau-style .logo-image {
        max-height: 40px;
    }
    
    .hero-title-modern {
        font-size: 2.2rem;
    }
    
    .hero-subtitle-modern {
        font-size: 1.1rem;
    }
    
    .footer.prostobau-style .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer.prostobau-style .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .header.prostobau-style .header-container {
        padding: 0 12px;
        gap: 12px;
    }
    
    .hero-title-modern {
        font-size: 1.8rem;
    }
    
    .contact-modal-content {
        margin: 10px;
        max-height: 95vh;
    }
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    /* Show mobile menu toggle, hide desktop nav */
    .header.prostobau-style .mobile-menu-toggle {
        display: flex;
    }
    
    .header.prostobau-style .main-nav {
        display: none;
    }
    
    .header.prostobau-style .header-container {
        padding: 0 16px;
        height: 70px;
    }
    
    /* Hide desktop contact button on mobile */
    .header.prostobau-style .btn-contact {
        display: none;
    }
    
    /* Compact language dropdown on mobile */
    .header.prostobau-style .lang-dropdown-btn {
        padding: 6px 10px;
        font-size: 12px;
        min-width: 60px;
    }
    
    .header.prostobau-style .lang-dropdown-menu {
        min-width: 140px;
    }
}

@media (max-width: 480px) {
    .header.prostobau-style .header-container {
        padding: 0 12px;
        height: 65px;
    }
    
    .header.prostobau-style .btn-contact {
        padding: 5px 10px;
        font-size: 12px;
    }
    
    .header.prostobau-style .mobile-nav {
        width: 100%;
        left: -100%;
    }
    
    .header.prostobau-style .mobile-nav.active {
        left: 0;
    }
}