/* Основные настройки */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    height: 100vh;
    background: url('img/background.jpg') center/cover no-repeat fixed;
    position: relative;
}

/* Настраиваемый overlay - легко изменить цвет, прозрачность и угол */
/* body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(106, 90, 205, 0.7) 0%, 
        rgba(72, 61, 139, 0.8) 100%
    );
    z-index: -1;
} */

/* Для изменения overlay просто замените значения выше:
   - Измените углы: 135deg на любой другой (0deg, 45deg, 90deg, 180deg и т.д.)
   - Измените цвета: rgba(R, G, B, прозрачность)
   - Примеры:
     Синий: rgba(30, 144, 255, 0.7)
     Зеленый: rgba(34, 139, 34, 0.7)
     Красный: rgba(220, 20, 60, 0.7)
     Черный: rgba(0, 0, 0, 0.5)
*/

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.card {
    background: rgba(255, 255, 255, 0.55);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);    
    -webkit-backdrop-filter: blur(7px);
    backdrop-filter: blur(7px);
    max-width: 400px;
    width: 100%;
}

.profile-photo {
    margin-bottom: 25px;
}

.profile-photo img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.profile-info h1 {
    font-size: 28px;
    color: #111;
    margin-bottom: 20px;
    font-weight: 600;
}

.profile-info div {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    color: #313131;
    font-size: 16px;
}

.profile-info i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.role i { color: #4CAF50; }
.description i { color: #2196F3; }
.location i { color: #FF5722; }

/* Стиль для ссылки TRVL */
.role a {
    color: inherit;
    text-decoration: underline;
}

.role a:hover {
    color: inherit;
    text-decoration: underline;
}

.buttons {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    color: white;
    position: relative;
    overflow: hidden;
}

.btn i {
    margin-right: 12px;
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Цвета кнопок */
.email { background: linear-gradient(135deg, #EA4335, #D33B2C); }
.linkedin { background: linear-gradient(135deg, #0077B5, #005885); }
.whatsapp { background: linear-gradient(135deg, #25D366, #1DA851); }
.telegram { background: linear-gradient(135deg, #0088CC, #006699); }
.instagram { background: linear-gradient(135deg, #E4405F, #C13584, #833AB4); }
.contact { background: linear-gradient(135deg, #6B73FF, #9B59B6); }

/* Адаптивность */
@media (max-width: 480px) {
    .card {
        padding: 30px 20px;
        margin: 0;
    }
    
    .profile-info h1 {
        font-size: 24px;
    }
    
    .profile-info div {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .btn {
        padding: 12px 15px;
        font-size: 14px;
    }
}

/* Анимация появления */
.card {
    animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}