/* Общие стили */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #FFFFFF;
    color: #333;
    line-height: 1.6;
}

/* Хедер */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #0097DD;
    color: #FFFFFF;
    padding: 15px 30px;
}

header .logo {
    font-size: 1.5em;
    font-weight: bold;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

header nav a {
    text-decoration: none;
    color: #FFFFFF;
    font-weight: bold;
    transition: opacity 0.3s;
}

header nav a:hover {
    opacity: 0.8;
}

/* Hero */
.hero {
    text-align: center;
    padding: 80px 20px;
    background-color: #f7f7f7;
}

.hero-logo img {
    width: 120px;         /* размер логотипа */
    height: auto;
    margin-bottom: 20px;  /* отступ от заголовка */
}


.hero h1 {
    font-size: 2.5em;
    color: #0097DD;
}

.hero p {
    font-size: 1.2em;
}

/* About, Privacy, Contact */
.about, .privacy, .contact {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
}

.about h2, .privacy h2, .contact h2, .team h2 {
    color: #0097DD;
    margin-bottom: 20px;
}

/* Team Section */
/* Контейнер с авторами */
/* Блок команды */
.team {
    background: #f7f7f7;
    padding: 60px 20px;
    text-align: center;
}

.team h2 {
    color: #0097DD;
    margin-bottom: 40px;
    font-size: 2em;
}

/* Контейнер */
.team-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 900px;
    margin: 0 auto;
}

/* Карточка */
.profile-card {
    display: flex;
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    align-items: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Фото */
.profile-photo img {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    object-fit: cover;
    margin-right: 20px;
}

/* Текст */
.profile-info {
    text-align: left;
}

.profile-info h3 {
    margin: 0;
    font-size: 1.2em;
    color: #333;
    font-weight: bold;
}

.profile-info .role {
    display: block;
    margin: 5px 0 10px;
    color: #0097DD;
    font-weight: bold;
}

.profile-info p {
    margin: 10px 0;
    font-size: 0.95em;
    color: #444;
}

/* Соцсети */
.social-links {
    margin-top: 10px;
}

.social-links a {
    display: inline-block;
    width: 32px;
    height: 32px;
    background: #0097DD;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    line-height: 32px;
    text-align: center;
    border-radius: 6px; /* квадратные кнопки с лёгким скруглением */
    transition: background 0.3s ease, transform 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    background: #007bb5;
    transform: scale(1.1);
}


/* Галерея приложений */
.apps {
    max-width: 1500px;
    margin: 40px auto;
    padding: 20px;
    text-align: center;
}

.apps h2 {
    color: #0097DD;
    margin-bottom: 20px;
}

.apps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.app-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.app-card img {
    width: 100%;
    height: auto;
    display: block;
}

.contact {
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
    background: #f7f7f7;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.contact h2 {
    color: #0097DD;
    margin-bottom: 20px;
    text-align: center;
}

.contact form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact label {
    font-weight: bold;
    color: #333;
    text-align: left;
}

.contact input,
.contact textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1em;
}

.contact button {
    background: #0097DD;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact button:hover {
    background: #007bb5;
}

#status {
    margin-top: 15px;
    font-size: 0.95em;
    color: #333;
}

/* Footer */
footer {
    text-align: center;
    background: #0097DD;
    color: #FFFFFF;
    padding: 15px;
    margin-top: 40px;
}



/* 📱 Mobile styles */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }

    header nav ul {
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
    }

    .hero {
        padding: 50px 15px;
    }

    .hero h1 {
        font-size: 1.8em;
    }

    .hero p {
        font-size: 1em;
    }

    /* Team cards */
    .profile-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .profile-photo img {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .profile-info {
        text-align: center;
    }

    /* Contact form */
    .contact {
        padding: 20px 15px;
    }

    .contact form {
        gap: 12px;
    }

    .contact input,
    .contact textarea {
        font-size: 1em;
    }

    .contact button {
        width: 100%;
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5em;
    }

    .team h2,
    .about h2,
    .privacy h2,
    .contact h2 {
        font-size: 1.3em;
    }

    .profile-card {
        padding: 15px;
    }

    .contact {
        margin: 20px auto;
    }
}
