/* Общие стили */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    background-size: 200% 200%;
    animation: gradientBG 10s ease infinite;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Шапка */
header {
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header h1 {
    margin: 0;
    text-align: center;
    font-size: 2.5em;
}

nav ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #ffdd57;
}

/* Основной контент */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: url('images/college.jpg') no-repeat center center/cover;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h2 {
    font-size: 3em;
    margin: 0;
    color: #fff;
    animation: slideInLeft 1s ease forwards;
}

.hero p {
    font-size: 1.5em;
    margin-top: 10px;
    color: #fff;
    animation: slideInRight 1s ease forwards;
}

.about, .contact {
    padding: 60px 0;
    background-color: rgba(255, 255, 255, 0.9);
    margin: 20px 0;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.about h2, .contact h2 {
    text-align: center;
    margin-bottom: 20px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.contact-form input, .contact-form textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}

.contact-form button {
    padding: 10px;
    background-color: #ffdd57;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #ffc107;
}

/* Участники совета */
.members {
    padding: 100px 0 20px;
    text-align: center;
}

.members h2 {
    font-size: 2.5em;
    color: #fff;
    margin-bottom: 40px;
}

.member-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.member-card {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    padding: 20px;
    width: 250px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.member-photo {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    object-fit: cover;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.member-card:hover .member-photo {
    transform: scale(1.1);
}

.member-card h3 {
    margin: 10px 0;
    color: #333;
}

.member-card p {
    margin: 5px 0;
    color: #555;
}

/* Досье */
.dossier {
    position: absolute;
    bottom: -100%;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: bottom 0.5s ease, opacity 0.5s ease;
}

.member-card:hover .dossier {
    bottom: 0;
    opacity: 1;
}

.dossier p {
    margin: 5px 0;
    color: #333;
}

/* Подвал */
footer {
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    text-align: center;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    bottom: 0;
    z-index: 1000;
}

/* Анимации */
.fade-in {
    opacity: 0;
    animation: fadeIn 1.5s ease forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-100%);
    animation: slideInLeft 1s ease forwards;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    opacity: 0;
    transform: translateX(100%);
    animation: slideInRight 1s ease forwards;
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Медиа-запросы для адаптации */
@media (max-width: 1200px) {
    .hero h2 {
        font-size: 2.5em;
    }

    .hero p {
        font-size: 1.2em;
    }

    .member-card {
        width: 220px;
    }
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }

    .hero h2 {
        font-size: 2em;
    }

    .hero p {
        font-size: 1em;
    }

    .member-list {
        flex-direction: column;
        align-items: center;
    }

    .member-card {
        width: 80%;
    }

    .contact-form {
        width: 90%;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.5em;
    }

    nav ul li {
        display: block;
        margin: 10px 0;
    }

    .hero h2 {
        font-size: 1.5em;
    }

    .hero p {
        font-size: 0.9em;
    }

    .member-card {
        width: 100%;
    }

    .contact-form input, .contact-form textarea {
        font-size: 0.9em;
    }

    .contact-form button {
        font-size: 0.9em;
    }
}

/* Стили для страницы контактов */
.contacts {
    padding: 100px 0 20px;
    text-align: center;
}

.contacts h2 {
    font-size: 2.5em;
    color: #fff;
    margin-bottom: 40px;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.contact-details {
    flex: 1;
    text-align: left;
}

.contact-details h3 {
    margin-top: 0;
    color: #333;
}

.contact-details p {
    margin: 10px 0;
    color: #555;
}

.contact-map {
    flex: 1;
    min-width: 300px;
    border-radius: 10px;
    overflow: hidden;
}
.slide-in-left {
margin-top: 100px;
}

/* Адаптация для мобильных устройств */
@media (max-width: 768px) {
    .contact-info {
        flex-direction: column;
    }

    .contact-details, .contact-map {
        width: 100%;
    }
}

/* Стили для Swiper */
.swiper-container {
    width: 100%;
    height: 100%;
    padding: 20px 0;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    padding: 100px;
    margin: 0 10px;
}

.swiper-button-next, .swiper-button-prev {
    color: #ffdd57;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    color: #ffc107;
}

/* Адаптация для мобильных устройств */
@media (max-width: 768px) {
    .swiper-slide {
        width: 80%;
        margin: 0 auto;
    }
}


/* Стили для страницы поступления */
.admission {
    padding: 100px 0 20px;
    text-align: center;
}

.admission h2 {
    font-size: 2.5em;
    color: #fff;
    margin-bottom: 40px;
}

.admission-info {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: left;
}

.admission-info h3 {
    margin-top: 0;
    color: #333;
}

.admission-info ul {
    list-style-type: disc;
    padding-left: 20px;
    color: #555;
}

.admission-info ul li {
    margin: 10px 0;
}

.admission-info p {
    margin: 10px 0;
    color: #555;
}

/* Адаптация для мобильных устройств */
@media (max-width: 768px) {
    .admission-info {
        padding: 15px;
    }

    .admission h2 {
        font-size: 2em;
    }
}


/* Стили для страницы досье */
.member-dossier {
    padding: 100px 0 20px;
    text-align: center;
   
    
}

.member-dossier h2 {
    font-size: 2.5em;
    color: #fff;
    margin-bottom: 40px;
}

.dossier-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
   
}

.dossier-photo {
    border-radius: 50%;
    width: 200px;
    height: 200px;
    object-fit: cover;
}

.dossier-info {
    text-align: left;
    max-width: 500px;
}

.dossier-info h3 {
    margin-top: 0;
    color: #333;
}

.dossier-info p {
    margin: 10px 0;
    color: #555;
}

/* Адаптация для мобильных устройств */
@media (max-width: 768px) {
    .dossier-content {
        flex-direction: column;
        align-items: center;
    }

    .dossier-info {
        text-align: center;
    }
}

/* Стили для страницы "О колледже" */
.about-hero {
    background: url('about-bg.jpg') no-repeat center center/cover;
    color: #fff;
    padding: 100px 20px;
    text-align: center;
}

.about-hero h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.about-hero p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

.about-info {
    padding: 50px 20px;
    text-align: center;
    background-color: #fff;
}

.about-info h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.about-info p {
    font-size: 16px;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.gallery {
    padding: 50px 20px;
    text-align: center;
    background-color: #f4f4f4;
}

.gallery h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 0 20px;
}

.gallery-container img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.gallery-container img:hover {
    transform: scale(1.05);
}

.video-section {
    padding: 50px 20px;
    text-align: center;
    background-color: #fff;
}

.video-section h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
}

.video-container iframe {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    box-shadow: 0 4p
}

/* Стили для страницы входа */
.login-main {
    padding-top: 100px; /* Учитываем высоту фиксированной шапки */
    min-height: calc(100vh - 160px); /* Вычитаем высоту шапки и подвала */
}

.login-section {
    background: url('college.jpg') no-repeat center center/cover;
    padding: 60px 20px;
    text-align: center;
    color: #fff;
}

.login-container {
    max-width: 400px;
    margin: 0 auto;
    padding: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.login-container h2 {
    color: #333;
    margin-bottom: 30px;
    font-size: 28px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group input {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.8);
}

.btn-login {
    width: 100%;
    padding: 15px;
    background-color: #2c3e50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.btn-login:hover {
    background-color: #1a252f;
}

.error-message {
    color: #e74c3c;
    margin-top: 15px;
    font-weight: bold;
}

/* Адаптивность */
@media (max-width: 768px) {
    .login-container {
        padding: 30px 20px;
        width: 90%;
    }
    
    .login-section {
        padding: 40px 10px;
    }
}