/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    color: #f0f8ff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Заголовок */
.header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 700;
    background: linear-gradient(90deg, #00c9ff, #92fe9d);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 10px;
}

.header h1 i {
    margin-right: 15px;
    color: #00c9ff;
}

.subtitle {
    font-size: 1.2rem;
    color: #a0d2ff;
    font-weight: 300;
    letter-spacing: 1px;
}

/* Основное содержимое */
.main-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.image-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.image-frame {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    transition: transform 0.3s ease;
    max-width: 900px;
    width: 100%;
}

.image-frame:hover {
    transform: translateY(-5px);
}

.main-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
    max-height: 600px;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 20px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-frame:hover .image-overlay {
    opacity: 1;
}

.image-caption {
    text-align: center;
    max-width: 800px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border-left: 4px solid #00c9ff;
}

.image-caption h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: #92fe9d;
}

.image-caption h2 i {
    margin-right: 10px;
    color: #00c9ff;
}

.caption-text {
    font-size: 1.1rem;
    color: #d1e8ff;
    margin-bottom: 20px;
}

.image-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 20px;
}

.image-info p {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: #a0d2ff;
    background: rgba(0, 201, 255, 0.1);
    padding: 8px 15px;
    border-radius: 20px;
}

.image-info i {
    color: #92fe9d;
}

/* Описание проекта */
.description {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 15px;
    margin-top: 20px;
    border-right: 4px solid #92fe9d;
}

.description h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #00c9ff;
}

.description h3 i {
    margin-right: 10px;
}

.description p {
    font-size: 1.1rem;
    color: #d1e8ff;
}

/* Подвал */
.footer {
    margin-top: 50px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-content p {
    margin-bottom: 10px;
    color: #a0d2ff;
    font-size: 0.95rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: #00c9ff;
    transform: translateY(-5px);
    color: #0f2027;
}

/* Адаптивность */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }
    
    .image-caption h2 {
        font-size: 1.8rem;
    }
    
    .image-info {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .social-icons {
        flex-wrap: wrap;
    }
    
    .container {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.6rem;
    }
    
    .image-caption h2 {
        font-size: 1.5rem;
    }
    
    .image-caption, .description {
        padding: 15px;
    }
}

/* Анимация загрузки */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.header, .image-container, .description, .footer {
    animation: fadeIn 0.8s ease forwards;
}

.image-container {
    animation-delay: 0.2s;
}

.description {
    animation-delay: 0.4s;
}

.footer {
    animation-delay: 0.6s;
}