/**
 * Hero Section Styles
 * 
 * @package Artur_Developer
 */

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--color-bg-primary);
    position: relative;
    overflow: hidden;
}

.hero-main {
    flex: 1;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.hero-text {
    max-width: 550px;
}

/* Hero Greeting */
.hero-greeting {
    display: inline-block;
    font-size: var(--text-base);
    font-weight: 500;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-md);
}

/* Hero Title */
.hero-title {
    margin-bottom: var(--spacing-lg);
    text-transform: uppercase;
}

.hero-title .line {
    display: block;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    color: #fff;
    letter-spacing: -0.02em;
}

.hero-title .highlight {
    color: var(--color-primary);
}

/* Hero Description */
.hero-description {
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-xl);
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

/* Hero Image with Circle Frame */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
}

.hero-circle-frame {
    position: relative;
    width: 380px;
    height: 380px;
}

.hero-circle-bg {
    position: absolute;
    inset: 0;
    background: var(--color-primary);
    border-radius: 50%;
    z-index: 0;
}

.hero-avatar {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    border-radius: 50%;
}

.hero-avatar-placeholder {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-bg-tertiary) 0%, var(--color-bg-card) 100%);
    border-radius: 50%;
}

/* Floating Badges */
.hero-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-full);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    font-size: var(--text-sm);
    font-weight: 500;
    color: #fff;
    z-index: 10;
    animation: float 3s ease-in-out infinite;
}

.badge-icon {
    font-size: var(--text-base);
}

.badge-text {
    white-space: nowrap;
}

.badge-top {
    top: 20px;
    right: 10%;
    animation-delay: 0s;
}

.badge-right {
    top: 50%;
    right: -10px;
    transform: translateY(-50%);
    animation: floatRight 3s ease-in-out infinite;
    animation-delay: 0.5s;
}

.badge-bottom {
    bottom: 40px;
    left: 10%;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes floatRight {
    0%, 100% { transform: translateY(-50%); }
    50% { transform: translateY(calc(-50% - 10px)); }
}

/* ==========================================================================
   Skills Marquee
   ========================================================================== */

.skills-marquee {
    background: #0A0A0A;
    padding: var(--spacing-md) 0;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    width: 200%; /* две одинаковые группы по 50% каждая */
    animation: marquee 22s linear infinite;
    will-change: transform;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
    flex: 0 0 50%; /* каждая группа занимает половину трека */
}

.marquee-item {
    font-size: var(--text-sm);
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

.marquee-dot {
    color: var(--color-primary);
    font-size: var(--text-sm);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
