/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Bar */
.top-bar {
    background: #003366;
    color: #fff;
    padding: 10px 0;
    font-size: 0.9em;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info span {
    margin-right: 20px;
}

.language-switcher select {
    background: transparent;
    color: #fff;
    border: none;
    padding: 5px;
}

/* Header */
header {
    padding: 20px 0;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.5em;
    font-weight: 700;
    color: #003366;
    text-decoration: none;
}

.logo span {
    color: #ff6600;
}

nav ul {
    display: flex;
    gap: 30px;
}

nav a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #ff6600;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('assets/hero-bg.jpg') center/cover;
    color: #fff;
    text-align: center;
    padding: 150px 0;
}

.hero h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 40px;
}

/* Contact Page - Hero Section */
.contact-hero {
    position: relative;
    min-height: 600px;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                url('assets/contact-bg.jpg') center/cover;
    display: flex;
    align-items: center;
    color: #fff;
    padding: 100px 0;
}

.contact-hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Затемнение */
}

.contact-hero .container {
    position: relative;
    z-index: 2;
}

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 10px;
    max-width: 500px;
    margin: auto;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.contact-form-wrapper.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Форма */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.95);
}

.contact-form button {
    background: #ff6600;
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s;
}

.contact-form button:hover {
    background: #e65c00;
}

/* Адаптивность */
@media (max-width: 768px) {
    .contact-hero {
        padding: 50px 0;
    }
    .contact-form-wrapper {
        padding: 15px;
    }
}

/* Секция с картой */
.map-section {
    padding: 80px 0;
    background: #f9f9f9;
}

.map-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #003366;
}

iframe {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/parallax-background.jpg'); /* Замени на нужное изображение */
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    z-index: -1;
}

/* Секция "About Us" с фоновым изображением */
.hero-about {
    background-image: url('assets/about.jpg'); /* Путь к изображению */
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    height: 50vh; /* Высота секции */
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 20px;
}

.hero-about h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.hero-about p {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .hero-about {
        height: 40vh; /* Уменьшаем высоту на мобильных устройствах */
    }

    .hero-about h1 {
        font-size: 2rem;
    }

    .hero-about p {
        font-size: 1rem;
    }
}

.testimonials {
    background: #f9f9f9;
    padding: 50px 0;
    text-align: center;
}

.testimonials h2 {
    font-size: 2.5rem;
    color: #003366;
    margin-bottom: 40px;
}

.testimonial {
    background: #fff;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial p {
    font-size: 1.2rem;
    color: #555;
}

.testimonial span {
    display: block;
    margin-top: 10px;
    font-weight: bold;
    color: #003366;
}

.about-box {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.about-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.about-box i {
    font-size: 2.5rem;
    color: #ff6600;
    margin-bottom: 15px;
}

.about-box h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #003366;
}

.about-box ul {
    list-style: none;
    padding: 0;
}

.about-box ul li {
    font-size: 1.1rem;
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-box ul li i {
    margin-right: 10px;
    color: #ff6600;
}