/* style_kontakt.css */

       * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        body {
            font-family: Arial, sans-serif;
            font-size: 16px;
            background-color: #f5f5dc;
            line-height: 1;
        }
        
        /* === ВЕРХНЯЯ ПОЛОСА === */
        .top-bar {
            height: 8px;
            background-color: #d4c9a8;
            width: 100%;
        }
        
        /* === ШАПКА САЙТА === */
        .header {
            padding: 10px 5% 5px;
            background-color: #f5f5dc;
            position: relative;
        }
        .header-content {
            display: flex;
            flex-direction: column;
            width: 100%;
        }
        .logo-container {
            width: 100%;
            margin-bottom: 15px;
            position: relative;
        }
        .logo-img {
            width: 100%;
            height: auto;
            display: block;
            border-radius: 8px;
            object-fit: cover;
        }
        
        /* === МЕНЮ === */
        .menu-toggle {
            display: none;
            background: none;
            border: none;
            font-size: 24px;
            cursor: pointer;
            position: absolute;
            top: 50%;
            right: 0;
            transform: translateY(-50%);
            z-index: 10;
        }
        .menu-container {
            width: 100%;
            position: relative;
        }
        .menu {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-around;
            width: 100%;
            gap: 10px;
        }
        .menu a {
            text-decoration: none;
            color: #333;
            font-size: 18px;
            padding: 8px 12px;
            transition: all 0.2s ease;
            text-transform: capitalize;
            white-space: nowrap;
        }
        .menu a:hover {
            color: #666;
            border: 2px solid #722F37;
            border-radius: 5px;
        }
        
        /* === ОСНОВНОЕ СОДЕРЖИМОЕ === */
        .main-content {
            padding: 0 5%;
        }
        .content-row {
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin-bottom: 10px;
        }
        
        /* === БЛОК КОНТАКТОВ === */
        .image-container {
            width: 100%;
            aspect-ratio: 1/1;
            position: relative;
            padding: 20px;
            background-color: #f5f5dc;
            font-family: Arial, sans-serif;
            color: #333;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }
        .image-container::after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            width: calc(100% - 3px);
            height: calc(100% - 3px);
            border-bottom: 3px solid #8B4513;
            border-right: 3px solid #8B4513;
            pointer-events: none;
            border-radius: 0 0 8px 0;
        }
        .contact-title {
            color: #722F37;
            margin-bottom: 30px;
            font-size: 2em;
            text-align: center;
        }
        .contact-text {
            font-size: 1.5em;
            font-weight: bold;
        }
        .contact-item {
            display: flex;
            margin-bottom: 15px;
            align-items: center;
        }
        .contact-icon {
            width: 30px;
            height: 32px;
            margin-right: 12px;
        }
        
        /* === ИСПРАВЛЕНИЕ: ИКОНКИ КОПИРОВАНИЯ НА ОДНОЙ СТРОКЕ === */
        .contact-phone-email-container {
            display: flex;
            align-items: center;
            flex-wrap: nowrap;
            position: relative;
        }
        .contact-link {
            color: #333;
            text-decoration: none;
            white-space: nowrap;
            margin-right: 8px;
        }
        .contact-link:hover {
            text-decoration: none;
        }
        .copy-icon {
            width: 18px;
            height: 18px;
            cursor: pointer;
            flex-shrink: 0;
            position: relative;
        }
        .copy-icon:hover::after {
            content: 'kopieren';
            position: absolute;
            top: -20px;
            left: 50%;
            transform: translateX(-50%);
            background: #333;
            color: white;
            padding: 2px 5px;
            border-radius: 3px;
            font-size: 12px;
            white-space: nowrap;
        }
        /* Стили для всплывающего окна "kopiert" - изменены по вашему запросу */
        .copy-message {
            position: absolute;
            top: -25px;
            left: 50%;
            transform: translateX(-50%);
            background: #000;
            color: #fff;
            padding: 2px 8px;
            border-radius: 3px;
            font-size: 12px;
            white-space: nowrap;
            opacity: 0;
            transition: opacity 0.3s ease;
            pointer-events: none;
        }
        .copy-message.show {
            opacity: 1;
        }
        
        /* === КАРТЫ === */
        .maps-container {
            display: flex;
            flex-direction: column;
            gap: 10px;
            width: 100%;
        }
        .map-wrapper {
            width: 100%;
            aspect-ratio: 1/1;
            border-radius: 8px;
            overflow: hidden;
            position: relative;
        }
        .map-wrapper iframe {
            width: 100%;
            height: 100%;
            border: none;
        }
        .map-wrapper::after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            width: calc(100% - 3px);
            height: calc(100% - 3px);
            border-bottom: 3px solid #8B4513;
            border-right: 3px solid #8B4513;
            pointer-events: none;
            border-radius: 0 0 8px 0;
        }
        
        /* === ПЛИТКИ === */
        .tiles {
            display: flex;
            flex-wrap: wrap;
            padding: 0 5%;
            gap: 10px;
            justify-content: center;
        }
        .tile {
            width: calc(50% - 5px);
        }
        .tile-content {
            text-align: center;
            padding: 5px;
            transition: all 0.1s ease;
        }
        .tile img {
            width: 100%;
            height: auto;
            border-radius: 5px;
            display: block;
        }
        .tile a {
            text-decoration: none;
            color: #333;
            display: block;
        }
        .tile a:hover .tile-content {
            border: 3px solid #722F37;
            border-radius: 5px;
        }
        
        /* === ПОДВАЛ === */
        .footer {
            background-color: #f5f5dc;
            padding: 20px 5%;
            text-align: center;
            font-family: 'Times New Roman', serif;
            border-top: 1px solid #d4c9a8;
            margin-top: 20px;
        }
        .footer a {
            color: #333;
            text-decoration: none;
            transition: all 0.1s ease;
        }
        .footer a:hover {
            border-bottom: 2px solid #d4c9a8;
        }
        
        /* === АДАПТИВНОСТЬ === */
        @media (min-width: 992px) {
            .header-content {
                flex-direction: row;
                align-items: center;
                gap: 15px;
            }
            .logo-container {
                width: calc(33.33% - 7.5px);
                margin-bottom: 0;
                display: flex;
                align-items: center;
            }
            .menu-container {
                width: calc(66.66% - 7.5px);
                display: flex;
                align-items: center;
            }
            .menu {
                justify-content: space-between;
            }
            .content-row {
                flex-direction: row;
                align-items: stretch;
            }
            .image-container {
                width: calc(33.33% - 7.5px);
            }
            .maps-container {
                width: calc(66.66% - 7.5px);
                flex-direction: row;
                flex-wrap: wrap;
            }
            .map-wrapper {
                width: calc(50% - 5px);
            }
            .tile {
                width: calc(25% - 7.5px);
            }
        }
        @media (max-width: 991px) {
            .menu {
                display: none;
                flex-direction: column;
                margin-top: 15px;
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                background-color: #f5f5dc;
                z-index: 1000;
                padding: 10px 5%;
                box-shadow: 0 5px 10px rgba(0,0,0,0.1);
            }
            .menu.active {
                display: flex;
            }
            .menu-toggle {
                display: block;
            }
            .logo-container {
                padding-right: 40px;
            }
            
            /* Добавлен оверлей для закрытия меню при клике вне его */
            .menu-overlay {
                display: none;
                position: fixed;
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
                background: transparent;
                z-index: 999;
            }
            .menu-overlay.active {
                display: block;
            }
        }
