* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    background-image: url(../img/hed.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
.header-line {
    padding-top: 80px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.header-logo img {
    height: 60px;
    filter: brightness(1.2);
    transition: transform 0.3s ease;
}

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

.nav {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.nav-item {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    margin-right: 25px;
    transition: color 0.5s linear;
    position: relative;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #FF7400;
    transition: width 0.3s ease;
}

.nav-item:hover {
    color: #FF7400;
}

.nav-item:hover::after {
    width: 100%;
}

.phone {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.phone-holder {
    display: flex;
    align-items: center;
    gap: 10px;
}

.phone-img img {
    width: 20px;
    height: 20px;
    filter: invert(1);
}

.num {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: color 0.5s linear;
}

.num:hover {
    color: #FF7400;
}

.phone-text {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-top: 5px;
}

.button {
    background-color: #FF7400;
    color: #fff;
    text-decoration: none;
    padding: 14px 18px;
    font-weight: 700;
    border-radius: 5px;
    transition: all 0.3s linear;
    box-shadow: 0 4px 15px rgba(255, 116, 0, 0.3);
}

.button:hover {
    background-color: #c1671d;
    box-shadow: 0 6px 20px rgba(255, 116, 0, 0.5);
    transform: translateY(-2px);
}

/* Основной контент страницы О нас */
.content-wrapper {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 40px;
    margin: 40px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.8s ease-out;
}

/* Page title */
.contact {
    font-family: 'Tinos', serif;
    font-size: 54px;
    text-align: center;
    margin-bottom: 40px;
    color: #D67E35;
    position: relative;
    padding-bottom: 20px;
}

.contact::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #FF7400, transparent);
}

.contact span {
    color: #D67E35;
}

/* Подзаголовок с адресом */
.contact-title {
    font-family: 'Tinos', serif;
    font-size: 30px;
    text-align: center;
    color: #fff;
    margin-bottom: 30px;
    padding: 15px;
    border-radius: 10px;
}

/* Контейнер для карты */
.map-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    border-radius: 15px;
    overflow: hidden;
    border: 3px solid #FF7400;
    box-shadow: 0 10px 30px rgba(255, 116, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.map-container:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(255, 116, 0, 0.5);
}

.map-container iframe {
    width: 100%;
    max-width: 800px;
    height: 450px;
    display: block;
    border: none;
}

/* Дополнительная информация */
.contact-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.info-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    min-width: 200px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: #FF7400;
    background: rgba(255, 116, 0, 0.1);
    box-shadow: 0 10px 30px rgba(255, 116, 0, 0.2);
}

.info-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.info-card h3 {
    font-family: 'Tinos', serif;
    font-size: 20px;
    color: #D67E35;
    margin-bottom: 10px;
}

.info-card p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

.info-card a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-card a:hover {
    color: #FF7400;
}

/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Адаптивность */
@media (max-width: 992px) {
    .contact {
        font-size: 48px;
    }
    
    .contact-title {
        font-size: 26px;
    }
    
    .map-container iframe {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .header-line {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .nav {
        justify-content: center;
    }
    
    .nav-item {
        margin: 0 10px;
    }
    
    .contact {
        font-size: 42px;
    }
    
    .contact-title {
        font-size: 22px;
    }
    
    .content-wrapper {
        padding: 30px 20px;
    }
    
    .map-container iframe {
        height: 350px;
    }
    
    .contact-info {
        gap: 20px;
    }
    
    .info-card {
        min-width: 150px;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    .contact {
        font-size: 32px;
    }
    
    .contact-title {
        font-size: 18px;
    }
    
    .content-wrapper {
        padding: 20px 15px;
    }
    
    .map-container iframe {
        height: 300px;
    }
    
    .contact-info {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .info-card {
        width: 100%;
        max-width: 280px;
    }
    
    .info-icon {
        font-size: 28px;
    }
    
    .info-card h3 {
        font-size: 18px;
    }
    
    .info-card p {
        font-size: 14px;
    }
}

/* Контент-контейнер для центровки (не шапка) */
.container + .container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-bottom: 20px;
}