/* ============================================
   HERO SECTION - Dark Theme with Cake
   ============================================ */

.hero {
    min-height: 100vh;
    background: url('../images/hero-bg.jpg') center center / cover no-repeat, linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 120px 0 60px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero__inner {
    position: relative;
    z-index: 2;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 0 100px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hero__content-side {
    color: white;
    position: relative;
    z-index: 4;
    max-width: 700px;
    text-align: left;
    margin-right: 100px;
}

.hero__title {
    margin-bottom: 32px;
}

.hero__title-main {
    display: block;
    font-family: var(--font-accent);
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 8px;
}

.hero__title-sub {
    display: block;
    font-family: var(--font-accent);
    font-size: 56px;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: 0.02em;
    font-style: italic;
    color: #C99A7B;
}

.hero__subtitle {
    font-family: var(--font-main);
    font-size: 20px;
    font-weight: 300;
    line-height: 1.6;
    color: #d4a574;
    margin-bottom: 24px;
    max-width: 500px;
}

.hero__stats {
    margin-bottom: 32px;
}

.hero__stat-item {
    font-size: 16px;
    color: #999;
    margin-bottom: 8px;
}

.hero__btn {
    display: inline-block;
    position: relative;
    padding: 20px 50px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 40px;
    margin-left: 80px;
    transition: all 0.3s ease;
    overflow: visible;
}

.hero__btn-bg {
    position: absolute;
    top: 50%;
    left: 100%; 
    transform: translate(-50%, -50%);
    width: 250%;
    height: 150%;
    z-index: 1;
    transition: all 0.3s ease;
    pointer-events: none;
}

.hero__btn-bg path,
.hero__btn-bg polygon {
    fill: #C99A7B;
}

.hero__btn-text {
    position: relative;
    z-index: 2;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero__btn:hover .hero__btn-bg {
    transform: translate(-50%, -50%) scale(1.05);
    filter: brightness(1.1);
}

.hero__btn:hover {
    transform: translateY(-2px);
}

/* Badge with Brush Stroke */
.hero__badge {
    position: relative;
    display: inline-block;
    margin-bottom: 32px;
    max-width: 450px;
}

.hero__badge-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110%;
    height: 120%;
    z-index: 1;
    opacity: 0.9;
}

.hero__badge-text {
    position: relative;
    z-index: 2;
    display: block;
    padding: 16px 24px;
    color: white;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    line-height: 1.4;
}


.hero__social {
    display: flex;
    gap: 16px;
    margin-left: 130px;
}

.hero__social-link {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2D2A28;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero__social-link:hover {
    background: #C99A7B;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(201, 154, 123, 0.4);
}

.hero__social-link svg {
    width: 24px;
    height: 24px;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero {
        background-size: cover;
        background-position: center center;
    }
    
    .hero__inner {
        padding: 0 32px;
        justify-content: center;
    }
    
    .hero__content-side {
        margin-right: 0;
        margin-left: 0;
        text-align: center;
        max-width: 600px;
    }
    
    .hero__title-main,
    .hero__title-sub {
        font-size: 42px;
    }
    
    .hero__subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero__btn {
        margin-left: 0;
    }
    
    .hero__social {
        margin-left: 0;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 100vh !important;
        min-height: 100dvh !important; /* Динамическая высота viewport для мобильных */
        height: 100vh;
        height: 100dvh;
        padding: 80px 0 40px;
        background-size: 250%; /* Увеличен размер фона */
        background-position: center center;
    }
    
    .hero__inner {
        padding: 0 20px;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero__content-side {
        text-align: center;
    }
    
    .hero__title-main,
    .hero__title-sub {
        font-size: 32px;
    }
    
    .hero__subtitle {
        font-size: 16px;
        max-width: 100%;
    }
    
    .hero__btn {
        margin-left: 0;
        padding: 18px 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
        max-width: 280px;
    }
    
    .hero__btn-bg {
        width: 180%;
        height: 140%;
        left: 80%; /* Сдвинут вправо на 80% */
        transform: translate(-50%, -50%);
    }
    
    .hero__btn:hover .hero__btn-bg {
        transform: translate(-50%, -50%) scale(1.05);
    }
    
    .hero__badge {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero__social {
        margin-left: 0;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 100vh !important;
        min-height: 100dvh !important; /* Динамическая высота viewport для мобильных */
        height: 100vh;
        height: 100dvh;
        background-size: 300%; /* Увеличен размер фона для маленьких экранов */
    }
    
    .hero__title-main,
    .hero__title-sub {
        font-size: 28px;
    }
    
    .hero__btn {
        padding: 16px 32px;
        font-size: 16px;
        max-width: 260px;
    }
    
    .hero__btn-bg {
        width: 160%;
        height: 130%;
    }
}
