/*
Theme Name: YourBestOptions.com
Author: Aldo Quevedo
Version: 1.0
*/

:root {
    --mainColor: #FE7296;
    --mainDarkColor: #D52653;
    --secondaryColor: #EB25AF;
    --secondaryDarkColor: #881666;
    --darkColor: #222420;
    --lightColor: #F9F9FB;
}

body {
    font-family: "Open Sans", sans-serif;
    color: var(--darkColor);
    font-size: 16px;
    overflow-x: hidden;
    width: 100dvw;
}

a {
    font-size: 16px;
    text-decoration: none;
    color: var(--darkColor);
    font-weight: bold;
}

h1,
h2,
h3,
h4 {
    font-family: "Orbitron", sans-serif;
    font-weight: 900;
}

h1 {
    font-size: 52px;
}

h2 {
    font-size: 46px;
}

h3 {
    font-size: 28px;
}

h4 {
    font-size: 20px;
}

.icon {
    width: 40px;
    height: 40px;
    background-color: var(--darkColor);
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask: url("./assets/icons/search.svg") no-repeat center;
    mask: url("./assets/icons/search.svg") no-repeat center;
}

.h2-line {
    position: relative;
}

.h2-line::after {
    position: absolute;
    content: '──────────';
    top: -30px;
    left: 0;
    font-size: 42px;
    font-weight: bolder;
    color: var(--mainColor);
}

.secondary .h2-line::after {
    color: var(--secondaryColor);
}

header {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 20px;
    width: 100%;
    transition:
        background .3s ease,
        transform .3s ease;
}

header .container {
    background: rgb(48 47 47 / 72%);
    backdrop-filter: saturate(180%) blur(18px);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    padding: 6px 12px;
    transition:
        background .3s ease,
        border .3s ease,
        box-shadow .3s ease,
        backdrop-filter .3s ease;
}

header ul {
    display: flex;
    align-items: center;
    padding-left: 5px;
    gap: 10px;
    margin: 0;
}

header li {
    list-style: none;
    padding: 6px 14px;
    border-radius: 4px;
    transition:
        background .25s ease,
        color .25s ease,
        transform .25s ease;
}

header li:hover {
    background: rgba(255, 255, 255, 0.08);
}

header li a {
    font-weight: 500;
    font-size: 15px;
    color: white;
    text-decoration: none;
    transition:
        color .25s ease,
        opacity .25s ease;
}

header li a:hover {
    opacity: .8;
}

header li.current_page_item {
    background-color: var(--mainColor);
    box-shadow:
        0 4px 14px rgba(255, 92, 147, 0.35);
}

header li.current_page_item a {
    color: white;
    font-weight: 700;
}

header .header_logo img {
    width: 150px;
    height: auto;
}

header .search input {
    border: 2px solid var(--mainColor);
    padding: 4px 8px;
    max-width: 150px;
    font-size: 14px;
    border-radius: 3px;
    background-color: transparent;
    color: var(--lightColor);
    font-size: 15px;
    outline-color: transparent;
    outline: none;
    width: auto;
}

header .search input:enabled,
header .search input:hover,
header .search input:target {
    border: 2px solid var(--mainColor);
}

header .search input::placeholder {
    opacity: 0.8;
    color: var(--lightColor);
}

header .icon {
    mask-size: cover;
    width: 25px;
    height: 25px;
    background-color: var(--lightColor)
}

header button {
    background-color: transparent;
    border: none;
}

/*Main nav desktop*/
header .main-nav {
    margin: 8px 22px;
    background: rgb(48 47 47 / 72%);
    backdrop-filter: saturate(180%) blur(18px);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    padding: 6px 12px;
    transition:
        background .3s ease,
        border .3s ease,
        box-shadow .3s ease,
        backdrop-filter .3s ease;
}

header .main-nav .icon {
    background-color: var(--lightColor);
}

header #nav-close .icon,
header #nav-open .icon {
    width: 30px;
    height: 30px;
}

header #nav-close .icon {
    -webkit-mask: url("./assets/icons/close.svg") no-repeat center;
    mask: url("./assets/icons/close.svg") no-repeat center;
    mask-size: cover;
    width: 23px;
    height: 23px;
}

header #nav-open .icon {
    -webkit-mask: url("./assets/icons/bars.svg") no-repeat center;
    mask: url("./assets/icons/bars.svg") no-repeat center;
    mask-size: cover;
    width: 23px;
    height: 23px;
}

header #nav-mobile {
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease;
    position: fixed;
    top: -26px;
    left: -23px;
    right: 0;
    bottom: 0;
    z-index: 10;
    background-color: white;
    height: 100dvh;
    width: 100dvw;
}

header #nav-mobile.open {
    max-height: 100dvh;
}

header #nav-mobile .icon {
    background-color: var(--darkColor);
}

header #nav-mobile li {
    color: var(--darkColor);
    margin: 0 auto 0 0;
}

header #nav-mobile .search input::placeholder {
    color: var(--darkColor);
    opacity: 0.7;
}

header #nav-mobile .search input {
    color: var(--darkColor);
}

header #nav-open {
    display: flex;
}

header #nav-close {
    display: none;
}

/* ===== SCROLLED VERSION ===== */
header.scrolled {
    top: 0px;
}

.scrolled #nav-mobile {
    top: -9px;
}

.general-button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 18px;
    font-size: 16px;
    border: none;
    border-radius: 2px;
    background: linear-gradient(135deg,
            #ff2bbf 0%,
            #8d0f79 100%);
    color: white;
    font-weight: 400;
    font-family: sans-serif;
    cursor: pointer;
    box-shadow:
        0 12px 18px rgba(0, 0, 0, 0.18),
        0 4px 8px rgba(0, 0, 0, 0.12);
    transition: 0.25s ease;
    transform: translateY(-10px);
}


.carousel-section .general-button {
    background: linear-gradient(135deg,
            var(--mainColor) 0%,
            var(--mainDarkColor) 100%);
}

.carousel-card {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    display: flex;
    height: 500px;
    box-shadow: 0 0 7px 2px rgba(120, 119, 119, 0.46);
}

.carousel-card .carousel-card_bk {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 105%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    transition: all 0.4s ease;
}

.carousel-card .carousel-card_gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 105%;
    z-index: 0;
    background: #1c0513;
    background: linear-gradient(0deg, rgb(0, 0, 0) 0%, rgba(45, 2, 35, 0.832) 50%, rgba(156, 21, 118, 0.117) 76%, rgba(226, 36, 169, 0.023) 100%);
    z-index: 1;
}

.carousel-card .carousel-card_container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
    padding: 16px;
}

.carousel-card .carousel-card_author-picture {
    width: 35px;
    height: 35px;
    border-radius: 50%;
}

.carousel-card {
    color: var(--lightColor);
}

.carousel-card .carousel-card_line {
    color: var(--mainColor);
    font-weight: bold;
    font-size: 32px;
    margin: -12px auto 16px auto;
}

.carousel-card .carousel-card_description {
    font-weight: 300;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.carousel-card .carousel-card_author-name {
    font-weight: 300;
    font-size: 14px;
}

.carousel-card_date {
    color: var(--mainColor);
    font-size: 14px;
}

.carousel-card .carousel-card_bk {
    position: absolute;
}

.swiper-slide-active .carousel-card_bk {
    animation: zoomInOut 16s ease-in-out infinite;
}

.carousel-section.secondary .general-button {
    background: linear-gradient(135deg,
            var(--secondaryColor) 0%,
            var(--secondaryDarkColor) 100%);
}

.carousel-section.secondary .carousel-card .carousel-card_date {
    color: var(--secondaryColor);
}

.carousel-section.secondary .carousel-card .carousel-card_gradient {
    background: #1c0513;
    background: linear-gradient(0deg, rgb(0, 0, 0) 0%, rgba(44, 2, 45, 0.832) 50%, rgba(147, 21, 156, 0.117) 76%, rgba(220, 36, 226, 0.023) 100%);

}

.carousel-section.secondary .carousel-card .carousel-card_line {
    color: var(--secondaryColor);
}


.general-button span {
    text-wrap: nowrap;
}

.general-button:hover {
    transform: translateY(-3px);
    box-shadow:
        0 16px 24px rgba(0, 0, 0, 0.22),
        0 6px 12px rgba(0, 0, 0, 0.15);
}

.general-button .icon {
    width: 20px;
    height: 20px;
    padding: 4px;
    border-radius: 50%;
    border: 2px solid var(--lightColor);
    mask-size: cover;
    background-color: var(--lightColor);
    overflow: visible;
    -webkit-mask: url("./assets/icons/arrow-circle.svg") no-repeat center;
    mask: url("./assets/icons/arrow-circle.svg") no-repeat center;
    mask-size: cover;
    width: 23px;
    height: 23px;
}

.contact-form .form-container {
    padding-right: 100px;
}

.contact-description {
    color: var(--darkColor);
    opacity: .7;
}

.contact-image {
    border-radius: 4px;
    width: 100%;
    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.12),
        0 2px 4px rgba(0, 0, 0, 0.08);
}

.contact-form form p:nth-of-type(4) {
    width: fit-content;
    margin-left: auto;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: none;
    border-bottom: 2px solid rgba(33, 32, 32, 0.202);
    padding: 5px 10px;
    max-height: 96px;
}

.contact-form input[type="submit"] {
    border: none;
    background-color: transparent;
    width: fit-content;
    font-weight: bold;
    margin-top: 26px;
    padding: 6px 24px;
}



footer {
    background-color: var(--darkColor);
    color: var(--lightColor);
    padding: 16px 0;
}

footer h2,
footer h3 {
    background: linear-gradient(90deg, var(--mainColor), var(--mainDarkColor));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

footer a {
    font-weight: 400;
    color: var(--lightColor);
}

footer .line {
    font-size: 14px;
    margin-top: 42px;
    position: relative;
}

footer .line {
    font-size: 14px;
    margin-top: 42px;
    position: relative;
}

footer .line::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: var(--lightColor);
    top: -16px;
    left: 0;
    opacity: 0.5;
}

footer .copyright a {
    font-size: 14px;
    color: var(--mainColor);
    font-style: italic;
}

footer .icon {
    background-color: var(--darkColor);
    mask-size: cover;
    width: 30px;
    height: 30px;
}

footer .contactIcon {
    background-color: var(--mainColor);
    padding: 6px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    box-shadow: 0 0 8px 4px rgba(31, 31, 31, 0.228);
}

footer .contactIcon .icon {
    -webkit-mask: url("./assets/icons/mail.svg") no-repeat center;
    mask: url("./assets/icons/mail.svg") no-repeat center;
    mask-size: cover;
}

footer .logo {
    width: 100%;
}

@media screen and (max-width: 768px) {

    h1 {
        font-size: 34px;
    }

    h2 {
        font-size: 28px;
    }

    h3 {
        font-size: 20px;
    }

    h4 {
        font-size: 18px;
    }

    .general-button .icon {
        display: none;
    }

    .h2-line {
        font-size: 28px;
    }

    .h2-line::after {
        content: '';
        width: 60dvw;
        height: 4px;
        top: -10px;
        background-color: var(--mainColor);
    }

    .secondary .h2-line::after {
        background-color: var(--secondaryColor);
    }

    header li a {
        color: var(--darkColor);
        text-align: start;
    }

    header .icon {
        background-color: var(--darkColor);
    }

    header .search input {
        border: 2px solid var(--mainColor);
        border-radius: 2px;
        padding: 2px 4px;
        max-width: 100%;
        width: 100%;
        margin: 10px 4px 10px 16px;
    }

    header .search {
        margin-top: 14px;
        margin-right: 12px;
    }

    header .main-nav .header_logo img {
        width: 120px;
    }

    .contact-form .form-container {
        padding-right: 12px;
    }

    footer {
        text-align: center;
    }
}