/**
 * Стили для фото на главной странице
 */

.intro-hero {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}

/* Контейнер фото */
.intro-photo-container {
    flex: 0 0 auto;
    text-align: center;
}

.intro-photo {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--accent-primary);
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 0 60px rgba(78, 205, 196, 0.5),
        0 20px 60px rgba(0, 0, 0, 0.6);
    position: relative;
    animation: photoGlow 4s ease-in-out infinite;
    margin: 0 auto 20px;
}

@keyframes photoGlow {
    0%, 100% {
        box-shadow: 
            0 0 60px rgba(78, 205, 196, 0.5),
            0 20px 60px rgba(0, 0, 0, 0.6);
    }
    50% {
        box-shadow: 
            0 0 80px rgba(78, 205, 196, 0.8),
            0 0 100px rgba(78, 205, 196, 0.4),
            0 20px 60px rgba(0, 0, 0, 0.6);
    }
}

.intro-photo::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-tertiary));
    opacity: 0.3;
    filter: blur(15px);
    z-index: -1;
}

.intro-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.intro-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    opacity: 0.4;
}

.photo-upload-hint {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    background: var(--bg-secondary);
    padding: 12px 20px;
    border-radius: 10px;
    border: 1px dashed var(--border-color);
}

.photo-upload-hint code {
    display: block;
    margin-top: 5px;
    color: var(--accent-primary);
    font-size: 0.8rem;
    font-family: 'Courier New', monospace;
}

/* Контент рядом с фото переопределяется в intro-enhanced.css */

/* Адаптивность */
@media (max-width: 1200px) {
    .intro-hero {
        gap: 60px;
    }
    
    .intro-photo {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 1024px) {
    .intro-hero {
        flex-direction: column;
        gap: 50px;
    }
    
    .intro-content {
        max-width: 100%;
        text-align: center;
        padding: 0 30px;
    }
    
    .intro-journey {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .intro-hero {
        gap: 40px;
    }
    
    .intro-content {
        padding: 0 20px;
    }
    
    .intro-photo {
        width: 220px;
        height: 220px;
        border-width: 3px;
    }
    
    .photo-upload-hint {
        font-size: 0.8rem;
        padding: 10px 15px;
    }
}

@media (max-width: 480px) {
    .intro-hero {
        padding: 0 20px;
        gap: 30px;
    }
    
    .intro-photo {
        width: 180px;
        height: 180px;
    }
    
    .intro-photo-placeholder svg {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 320px) {
    .intro-photo {
        width: 150px;
        height: 150px;
    }
    
    .photo-upload-hint {
        font-size: 0.75rem;
    }
}

/* Большие экраны */
@media (min-width: 2000px) {
    .intro-hero {
        max-width: 2000px;
        gap: 100px;
    }
    
    .intro-photo {
        width: 400px;
        height: 400px;
        border-width: 5px;
    }
    
    .intro-photo-placeholder svg {
        width: 200px;
        height: 200px;
    }
    
    .intro-content {
        max-width: 1000px;
    }
}

@media (min-width: 3000px) {
    .intro-hero {
        max-width: 2800px;
        gap: 120px;
    }
    
    .intro-photo {
        width: 500px;
        height: 500px;
        border-width: 6px;
    }
    
    .intro-content {
        max-width: 1400px;
    }
}

@media (min-width: 5000px) {
    .intro-hero {
        max-width: 4000px;
        gap: 150px;
    }
    
    .intro-photo {
        width: 600px;
        height: 600px;
        border-width: 8px;
    }
    
    .intro-photo-placeholder svg {
        width: 300px;
        height: 300px;
    }
    
    .intro-content {
        max-width: 2000px;
    }
    
    .photo-upload-hint {
        font-size: 1.2rem;
    }
}

@media (min-width: 7000px) {
    .intro-hero {
        max-width: 5500px;
        gap: 200px;
    }
    
    .intro-photo {
        width: 800px;
        height: 800px;
        border-width: 10px;
    }
    
    .intro-content {
        max-width: 3000px;
    }
}

