/*
Theme Name:     Videeco X
Theme URI:      https://videeco.com/
Description:    Astra child theme.
Author:         Videeco
Author URI:     https://videeco.com/niccolo-perazza/
Template:       astra
Version:        0.1.2
*/

/* ========================================
   HEADER — Laniera Biellese
   ======================================== */

.laniera-header {
    background-color: #1a1a1a;
    position: sticky;
    top: 0;
    z-index: 999;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.laniera-header.scrolled {
    background-color: rgba(26, 26, 26, 0.97);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.laniera-header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 64px;
    max-width: 1440px;
    margin: 0 auto;
}

.laniera-header__left {
    display: flex;
    align-items: center;
    gap: 24px;
}

/* Logo */
.laniera-header__logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.laniera-header__logo-img {
    height: 54px;
    width: auto;
}

.laniera-header__site-name {
    color: white;
    font-size: 20px;
    font-weight: 700;
    font-family: "Inter", sans-serif;
}

/* Navigation */
.laniera-header__menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.laniera-header__menu li {
    margin: 0;
    padding: 0;
}

.laniera-header__menu li a {
    color: white;
    font-family: "Inter", sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.laniera-header__menu li a:hover {
    opacity: 0.7;
}

/* CTA Button */
.laniera-header__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    background-color: white;
    color: #0a0806;
    border: 1px solid white;
    border-radius: 6px;
    font-family: "Inter", sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.6;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    flex-shrink: 0;
}

.laniera-header__cta:hover {
    background-color: transparent;
    color: white;
    transform: translateY(-1px);
}

/* Burger button */
.laniera-header__burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.laniera-header__burger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: white;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.laniera-header__burger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.laniera-header__burger.active span:nth-child(2) {
    opacity: 0;
}

.laniera-header__burger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.laniera-header__mobile-menu {
    background-color: #1a1a1a;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
    padding: 0 64px;
}

.laniera-header__mobile-menu.open {
    max-height: 400px;
    padding: 16px 64px 24px;
}

.laniera-header__mobile-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.laniera-header__mobile-list li a {
    color: white;
    font-family: "Inter", sans-serif;
    font-size: 20px;
    font-weight: 400;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.laniera-header__mobile-list li a:hover {
    opacity: 0.7;
}

.laniera-header__cta--mobile {
    margin-top: 16px;
    width: fit-content;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 767.98px) {
    .laniera-header__container {
        padding: 10px 20px;
    }

    .laniera-header__logo-img {
        height: 40px;
    }

    .laniera-header__mobile-menu {
        padding: 0 20px;
    }

    .laniera-header__mobile-menu.open {
        padding: 16px 20px 24px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .laniera-header__container {
        padding: 12px 32px;
    }

    .laniera-header__menu {
        gap: 20px;
    }

    .laniera-header__menu li a,
    .laniera-header__cta {
        font-size: 16px;
    }
}

/* Hide default Astra header elements */
.ast-main-header-wrap,
.ast-above-header-wrap {
    display: none !important;
}
