* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background: #f5f5f5;
    color: #333;
}

/* Header */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
    background-color: #2c3e50;
    position: relative;
    flex-wrap: wrap;
}

header .logo img {
    width: 100px;
}

/* Navigation */
.main-nav {
    display: flex;
    gap: 40px;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-size: 1.5em;
    font-weight: bold;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: #f39c12;
}

/* Language Dropdown */
.language-dropdown {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dropdown-display {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #2c3e50;
    color: white;
    font-weight: bold;
    padding: 5px 15px;
    border-radius: 8px;
    cursor: pointer;
}

.dropdown-display img {
    width: 30px;
    height: 20px;
}

.dropdown-menu {
    position: absolute;
    top: 120%;
    left: 0;
    background: white;
    list-style: none;
    padding: 10px 0;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    display: none; 
    min-width: 100px;
    z-index: 10;
}

.dropdown-menu li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 15px;
    cursor: pointer;
}

.dropdown-menu li img {
    width: 25px;
    height: 15px;
}

.dropdown-menu li:hover {
    background: #f1f1f1;
}

/* Hover dropdown */
.language-dropdown:hover .dropdown-menu {
    display: block;
}

/* Hamburger */
#menu-checkbox {
    display: none;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 4px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}


/* Основной контент */
main {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 95%;
    max-width: 1400px;
    padding: 50px 20px;
}

/* Contact Info */
.contact-info {
    text-align: center;
    background-color: #fff;
    padding: 40px 60px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    margin-top: 50px;
}

.contact-info h1 {
    font-size: 3em;
    color: #2c3e50;
    margin-bottom: 30px;
}

.info-card p {
    font-size: 1.3em;
    margin: 12px 0;
}

.info-card a {
    color: #007BFF;
    text-decoration: none;
}

.info-card a:hover {
    text-decoration: underline;
}

/* Адаптивность */
@media screen and (max-width: 800px) {
    .main-nav {
        position: fixed;
        top: 0;
        left: -250px; /* скрыто слева */
        width: 250px;
        height: 100%;
        flex-direction: column;
        padding: 60px 20px;
        gap: 20px;
        background-color: #2c3e50;
        transition: left 0.3s ease;
        z-index: 100;
    }

    /* Показ меню при нажатии */
    #menu-checkbox:checked ~ .main-nav {
        left: 0;
    }

    .menu-toggle {
        display: flex;
        order: 2;
        margin-left: 10px;
    }

    .language-dropdown {
        order: 1;
        margin-left: auto;
    }

    header {
        flex-wrap: nowrap;
        justify-content: flex-start;
    }
}

@media screen and (max-width: 768px) {
    .main-nav { gap: 20px; }
    .contact-info { padding: 30px 20px; }
    .contact-info h1 { font-size: 2.2em; }
    .info-card p { font-size: 1.1em; }
}

