
:root {
    --primary: #2d3748;
    --accent: #3498db; /* Элегантный синий */
    --light-bg: #f7fafc;
    --card-bg: rgba(255, 255, 255, 0.75);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    margin-top: 80px; 
    background-color: var(--light-bg);
    color: var(--primary);
    overflow-x: hidden;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 4%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.8);
    z-index: 1000;
    transition: var(--transition);
}

.logo-img {
    box-shadow: 0 0 17px #1e9299;
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 50%;
}

.logo {
    font-size: 40px;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 3px 3px 4px rgba(0, 0, 0, 0.3);
}

.logo span {
    color: var(--accent);
}

.nav a {
    margin: 5px 5px;
    text-decoration: none;
    color: var(--primary);
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav a:hover::after {
    width: 100%;
}

.lang-switcher {
    display: flex;
    gap: 5px;
}

.lang-btn {
    background: transparent;
    border: 1px solid rgba(0,0,0,0.1);
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 4px;
    font-weight: 600;
    font-size: 12px;
    transition: var(--transition);
}

.lang-btn.active, .lang-btn:hover {
    background: var(--primary);
    color: #fff;
}

.hero-img {
     box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.3);
     display: block;
     margin: 0 auto 20px auto; 
     width: 440px;
     height: 440px;
     object-fit: cover;
     border-radius: 50%;
}   

.hero {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 7%;
    position: relative;
    padding-top: 70px;   /* Отступ сверху */
    padding-bottom: 20px; /* Отступ снизу */
    overflow: hidden;
}

.hero-bg { 
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('img/hb.jpg') center/cover no-repeat;
    filter: blur(1px); 
    transform: scale(1.05);
    /* Убрали плавный transition, чтобы скрипт JS параллакса не лагал при движении мыши */
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.4) 60%, rgba(255,255,255,0) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    background: var(--card-bg);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.6);
    animation: fadeInUp 1s ease-out forwards;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(to right, #1e293b, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 3px 3px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.6;
    margin-bottom: 30px;
    padding: 20px 20px;
}

.hero-list {
    list-style: none;
    padding-left: 20px;
}

.hero-list li {
    font-size: 18px;
    margin-bottom: 12px;
    position: relative;
}

.hero-list li::before {
    content: "✓";
    color: var(--accent);
    font-weight: bold;
    position: absolute;
    left: -20px;
}

.btn-wow { 
    display: inline-block;
    padding: 15px 35px;
    background: linear-gradient(135deg, #1a202c 25%, #3498db 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    box-shadow: 3px 3px 4px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    align-items: center; 
    margin-bottom: 60px;
}

.btn-wow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 25%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
}

.btn-wow:hover::before {
    left: 150%;
    transition: left 0.8s ease-in-out;
}

.btn-wow:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.15);
}
.rotating-image {
     position: absolute;
     bottom: 10px; /* Отступ от нижнего края блока */
     right: 10px;  /* Отступ от правого края блока */
     width: 82px;   /* Ширина картинки */
     height: 82px;  /* Высота картинки */
     border-radius: 50%; 
     opacity: 0.6;
     animation: spin 4s linear infinite; 
}

      /* Описание анимации вращения на 360 градусов */
      @keyframes spin {
      0% {
      transform: rotate(0deg);
}
      100% {
      transform: rotate(360deg);
}
}

.footer {
    background: linear-gradient(to top, #f7fafc, #fff); 
    padding: 50px 8% 20px 8%;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info h3, .footer-socials h3 {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
}

.footer-info p {
    margin-bottom: 12px;
    font-size: 16px;
}

.footer-info a {
    font-weight: 500;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-info a:hover {
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    padding: 10px 20px;
    background: var(--light-bg);
    text-decoration: none;
    color: var(--primary);
    border-radius: 8px;
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.1);
}

.social-icon:hover {
    background: linear-gradient(135deg, #1a202c 25%, #3498db 100%);
    color: #fff;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.05);
    font-size: 14px;
    color: #545b5e;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .header {
        display: flex;
        flex-direction: row;
    }

    .logo {
        font-size: 24px; 
    }
    .logo-img {
        width: 60px;
        height: 60px;
    }
    .nav { 
        display: flex;
        flex-direction: column; 
        gap: 7px;
    } 
    .hero-img {
     box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.3);
     display: block;
     margin: 0 auto 20px auto; 
     width: 310px;
     height: 310px;
     object-fit: cover;
     border-radius: 50%;
    } 
  
    .hero-list {
    margin-bottom: 80px;
    }

    .hero {
     display: flex;
     padding: 0 3%; 
     height: auto;
     padding-top: 30px;
     padding-bottom: 40px;
    }

    .hero-content {
     text-align: center;
     padding: 10px;  
    }

    .hero-content h1 { 
     font-size: 40px; 
    }
    .footer-grid { 
     flex-direction: column; 
     gap: 20px;
    }
}
