* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px 0 20px;
}

.continer {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.contain {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 0 20px;
}


.containr {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background-color: white;
    color: #333;
    padding: 30px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 3px solid rgb(3, 35, 116);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-icon {
    margin-right: 15px;
    display: flex;
    align-items: center;
}

.logo-icon img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.logo-text span {
    font-size: 22px;
    font-weight: 500;
    color: rgb(3, 35, 116);
    display: block;
    margin-top: 4px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: rgb(3, 35, 116);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 8px 12px;
    border-radius: 4px;
}

nav ul li a:hover {
    background-color: rgba(3, 35, 116, 0.1);
}

/* Telegram Bot Link */
.telegram-link {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #0088cc;
    color: white;
    padding: 12px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.telegram-link:hover {
    background-color: #0077b3;
    transform: translateY(-2px);
}

.telegram-icon {
    font-size: 20px;
}

/* Hero Section */
.hero {
    background: white;
    color: #333;
    text-align: center;
    padding: 100px 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: rgb(3, 35, 116);
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

.btn {
    display: inline-block;
    background-color: rgb(3, 35, 116);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background-color: #021a59;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(3, 35, 116, 0.3);
}

/* Описание над картой в правой колонке */
.map-column .above-map-description {
    background: white;
    padding: 15px 20px;
    text-align: center;
    border-bottom: 1px solid #eee;
    height: 20%;
}

.map-column .above-map-description p {
    font-size: 1rem;
    margin: 0;
    line-height: 1.5;
    color: #333;
}

/* Main Layout */
.main-layout {
    display: flex;
    flex-direction: row;
    min-height: calc(100vh - 600px);
    gap: 10%
}

.content-column {
    flex: 0 0 45%;
    padding: 30px 0 30px 120px;
    height: 100%;
}


.map-column .map-container {
    height: 100%;
    border-left: 3px solid rgb(3, 35, 116);
    padding-left: 10px;
    display: flex;
    flex-direction: column;
}

.map-column {
    flex: 0 0 45%;
    position: sticky;
    padding-bottom: 30px;
    padding-top: 30px;
    padding-right: 120px;
}

.map-column iframe {
    height: 100%;
    width: 100%;
    border: none;
    border-radius: 8px;
}

/* Адаптивность для двухколоночного layout */
@media (max-width: 1024px) {
    .main-layout {
        flex-direction: column;
    }
    
    .map-column .map-container {
        border-left: none;
        border-top: 3px solid rgb(3, 35, 116);
        padding-left: 0;
        padding-top: 10px;
    }
}

#about {
    padding: 0 0 2px 0;
}

#contact {
    padding: 2px 0 0 0;
}

/* Sections */
section {
    padding: 20px 0;
    background-color: white;
    scroll-margin-top: 120px; /* Компенсируем высоту фиксированного header'а */
}

.section-title {
    text-align: center;
    margin-bottom: 10px;
    color: rgb(3, 35, 116);
}

.logo-text {
    font-size: 26px;
}

.section-title h2 {
    font-size: 26px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 0px;
    background-color: #FFD700;
    border-radius: 2px;
}

/* About Section */
.about-content {
    display: block;
}

.text-overlay {
    position: absolute;
    left: -80px;
    top: 60%;
    background: transparent;
    padding: 0;
    width: calc(100% + 80px);
    z-index: 10;
}

.text-overlay .about-text-main {
    margin-bottom: 15px;
}

.text-overlay .about-list {
    margin: 0;
}

.about-text-main {
    font-size: 1rem;
    line-height: 1.8;
    margin: 0;
}

.about-list {
    list-style-type: none;
    padding-left: 0;
    margin: 15px 0 0 0;
}

.about-list li {
    margin-bottom: 3px;
    padding-left: 40px;
    position: relative;
    font-size: 1rem;
    line-height: 1.6;
}

.about-list li:before {
    content: "✓";
    color: rgb(3, 35, 116);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.3rem;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    background: transparent;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.smaller-image {
    max-height: 250px;
    object-fit: contain;
}

/* Адаптивность для about section */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .about-column {
        gap: 20px;
        position: static;
    }
    
    .text-overlay {
        position: static;
        left: 0;
        top: 0;
        transform: none;
        width: 100%;
        margin-top: 20px;
    }
    
    .about-text-main {
        font-size: 1.1rem;
    }
    
    .about-list li {
        font-size: 1rem;
        margin-bottom: 15px;
    }
}

/* Filters */
.filters {
    display: flex;
    gap: 20px;
    margin-bottom: 5px;
    flex-wrap: wrap;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: rgb(3, 35, 116);
}

.filter-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    background: white;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
}

/* Price Section */
.price-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.price-filters {
    flex: 1;
    max-width: 100%;
}

.price-table-container {
    flex: 3;
    overflow-x: auto;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    min-width: 600px;
}

.price-table th {
    background-color: rgb(3, 35, 116);
    color: white;
    padding: 15px;
    text-align: center;
    white-space: nowrap;
}

.price-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    white-space: nowrap;
    text-align: center;
}

.price-table tr:last-child td {
    border-bottom: none;
}

.price-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.price-table tr:hover {
    background-color: #E3F2FD;
}

.price {
    font-weight: 700;
    color: rgb(3, 35, 116);
}

.blue-text {
    color: rgb(3, 35, 116);
}

/* Адаптивность для таблицы */
@media (max-width: 768px) {
    .price-table {
        font-size: 14px;
    }
    
    .price-table th,
    .price-table td {
        padding: 10px 8px;
    }
    
    .price-table-container {
        margin: 0 -20px;
    }
}

/* Contact Section */
.contact {
    background-color: white;
    color: #333;
}

.contact .section-title h2 {
    color: rgb(3, 35, 116);
}

.contact-content {
    display: flex;
    gap: 50px;
}

.contact-info {
    display: flex;
    gap: 40px;
}

.contact-column {
    flex: 1;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
}

.contact-icon {
    font-size: 24px;
    margin-right: 15px;
    color: rgb(3, 35, 116);
}

#contact h3 {
    font-size: 26px;
    margin-bottom: 5px;
    color: rgb(3, 35, 116);
    align-items: center;
    position: relative;
    display: inline-block;
    text-align: center;
}

.contact-text h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: rgb(3, 35, 116);
}

.contact-text a {
    color: rgb(3, 35, 116);
    text-decoration: none;
}

.contact-text a:hover {
    text-decoration: underline;
}

.map-container {
    flex: 1;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}



/* Hero Section */
.hero {
    background: white;
    color: #333;
    text-align: center;
    padding: 40px 0;
}

.hero p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Footer */
footer {
    background-color: #021544;
    color: #E3F2FD;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-column {
    flex: 1;
}

.footer-column h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #E3F2FD;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #FFD700;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #032374;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .content-column {
        padding: 30px 30px 0 30px;
    }
    
    .map-column {
        padding: 30px;
    }

    .main-layout {
        display: flex;
        flex-direction: column;
        min-height: calc(100vh - 600px);
        gap: 10%
    }

    nav ul {
        margin-top: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li {
        margin: 5px 10px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .about-content {
        flex-direction: column;
    }

    .contact-content {
        flex-direction: column;
    }

    .price-content {
        flex-direction: column;
    }

    .price-filters {
        max-width: 100%;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .telegram-link {
        bottom: 10px;
        right: 10px;
        padding: 10px 15px;
        font-size: 14px;
    }

    nav {
        display: none;
    }

    .header-content {
        padding: 0 30px;
    }

    .logo-text {
        font-size: 16px;
    }
    .logo-text span {
        font-size: 16px;
    }
    

}