/* ==========================================================================
   Homepage — Cover, AboutUs (tarot), Totolotek, Meaning (astro)
   Migrated from Cover.vue, AboutUs.vue, Totolotek.vue, Meaning.vue
   ========================================================================== */

/* --- Cover --- */
.cover {
    position: relative;
    background-color: #21212C;
    color: #ABABB5;
    padding-bottom: 100px;
    min-height: 700px;
}

.cover::before {
    pointer-events: none;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #21212c;
    background-image: url("../img/bg-ewd-pattern.png");
    background-position: bottom center;
    background-size: cover;
    opacity: 0.15;
}

.cover__wrapper {
    display: grid;
    grid-template-columns: 1fr 48%;
    align-items: center;
}

.cover__heading-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-right: 20px;
    position: relative;
    z-index: 1;
}

.cover__heading--secondary {
    font-size: 17px;
    color: var(--color--primary);
    text-transform: uppercase;
}

.cover__heading--primary {
    color: #fff;
    font-size: 60px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0;
}

.cover__cta {
    font-size: 20px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: #FFFFFF;
    background-color: #EC4400;
    box-shadow: 0px 10px 20px 0px rgba(255, 84, 84, 0.24);
    padding: 20px 50px;
    width: max-content;
    transition: .3s all ease-in-out;
    display: inline-block;
}

.cover__cta:hover,
.cover__cta:focus {
    background-color: #C93D03;
    color: #fff;
}

.cover__img-wrapper {
    background-image: url("../img/circle-bg-tarot.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    max-width: 100%;
    position: relative;
    z-index: 1;
}

.cover__img {
    animation: bounce-out-down 12s ease infinite;
}

@media (max-width: 1060px) {
    .cover { padding: 50px 0; min-height: auto; }
    .cover__wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .cover__heading-wrapper { align-items: center; padding-right: 0; }
    .cover__heading { text-align: center; }
    .cover__heading--primary { font-size: 36px; }
    .cover__description { text-align: center; }
    .cover__img-wrapper { padding-top: 40px; max-width: 400px; }
}

/* --- AboutUs (tarot section) --- */
.tarot {
    position: relative;
    background-color: #EEEBE6;
    color: #181828;
    padding: 100px 0;
}

.tarot::before {
    pointer-events: none;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: url("../img/bg-content-section-astro.png");
    background-position: bottom center;
    background-size: cover;
    opacity: 0.2;
}

.tarot__wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6rem;
    position: relative;
    z-index: 1;
}

.tarot__img-wrapper {
    width: 56.69%;
    background-image: url("../img/window-23.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 10;
    position: relative;
}

.tarot__img {
    animation: bounce-out-down 12s ease infinite;
}

.tarot__content-wrapper {
    width: 43.31%;
}

.tarot__heading--secondary {
    margin-bottom: 20px;
    font-size: 17px;
    color: #D5846E;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.4;
}

.tarot__heading--primary {
    font-size: 46px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.tarot__description {
    color: #4F4F4F;
    font-size: 16px;
    margin-bottom: 30px;
}

.tarot__cta {
    display: inline-block;
    font-size: 20px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: #FFFFFF;
    background-color: #EC4400;
    box-shadow: 0px 10px 20px 0px rgba(255, 84, 84, 0.24);
    padding: 20px 50px;
    width: max-content;
    transition: .3s all ease-in-out;
}

.tarot__cta:hover,
.tarot__cta:focus {
    background-color: #C93D03;
    color: #fff;
}

@media (max-width: 1024px) {
    .tarot { padding: 50px 0; }
    .tarot__wrapper { gap: 3rem; }
    .tarot__heading--primary { font-size: 23px; }
}

@media (max-width: 768px) {
    .tarot__wrapper { flex-direction: column-reverse; }
    .tarot__content-wrapper,
    .tarot__img-wrapper { width: 100%; }
    .tarot__heading,
    .tarot__description { text-align: center; }
    .tarot__cta { margin: 0 auto; }
}

@media (max-width: 450px) {
    .tarot__heading--primary { font-size: 20px; }
}

/* --- Totolotek --- */
.totolotek {
    position: relative;
    background-color: #21212C;
    color: #ABABB5;
    padding: 100px 0;
}

.totolotek::before {
    pointer-events: none;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #21212c;
    background-image: url("../img/bg-dark.png");
    background-position: bottom right;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.15;
}

.totolotek__container {
    position: relative;
    z-index: 1;
}

.totolotek__heading--secondary {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    color: #B4975D;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.totolotek__heading--secondary img {
    max-width: 42px;
}

.totolotek__heading--primary {
    text-align: center;
    font-size: 46px;
    line-height: 1.3;
    color: #fff;
}

.totolotek__primaryDescription {
    text-align: center;
    font-size: 16px;
    margin-bottom: 80px;
    margin-top: 23px;
    color: #fff;
    max-width: 70%;
    margin-left: auto;
    margin-right: auto;
}

.totolotek__grid {
    display: flex;
    gap: 2rem;
    margin-bottom: 7rem;
}

.totolotek__grid-item {
    flex: 1;
    border: 1px solid #2D2D3C;
    border-radius: 5px;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    text-align: center;
    transition: .3s all ease-in-out;
}

.totolotek__grid-item:hover {
    background: #2D2D3C;
    color: inherit;
}

.totolotek__img-wrapper {
    max-width: 75%;
    margin: 0 auto;
    min-height: 370px;
}

.totolotek__img {
    object-fit: contain;
}

.totolotek__title {
    font-size: 24px;
    color: #fff;
}

.totolotek__description {
    margin: 1rem 0 2rem;
    color: #fff;
}

/* Zodiac swiper */
.zodiak-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

@media (max-width: 1024px) {
    .totolotek { padding: 50px 0; }
    .totolotek::before { background-size: contain; }
    .totolotek__grid { flex-direction: column; margin-bottom: 4rem; }
    .totolotek__primaryDescription { margin-bottom: 40px; }
    .totolotek__img-wrapper { min-height: 200px; max-width: 160px; }
    .totolotek__grid-item { padding: 1rem; gap: 2rem; }
    .totolotek__description { margin: 0; }
}

@media (max-width: 768px) {
    .totolotek__heading--primary { font-size: 23px; margin-top: 20px; }
    .totolotek__primaryDescription { max-width: 100%; }
    .totolotek__description { margin-bottom: 0; }
    .slide-img { height: 84px; }
}

@media (max-width: 450px) {
    .totolotek__heading--primary { font-size: 20px; }
}

/* --- Meaning (astro section) --- */
.astro {
    position: relative;
    background-color: #EEEBE6;
    color: #181828;
    padding: 100px 0;
}

.astro::before {
    pointer-events: none;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: url("../img/bg-content-section-astro.png");
    background-position: bottom center;
    background-size: cover;
    opacity: 0.2;
}

.astro__wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6rem;
    position: relative;
    z-index: 1;
}

.astro__img-wrapper {
    width: 56.69%;
    background-image: url("../img/window-23.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 10;
    position: relative;
}

.astro__img {
    animation: bounce-out-down 12s ease infinite;
}

.astro__content-wrapper {
    width: 43.31%;
}

.astro__heading--secondary {
    margin-bottom: 20px;
    font-size: 17px;
    color: #D5846E;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.4;
}

.astro__heading--primary {
    font-size: 46px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.astro__description {
    color: #4F4F4F;
    font-size: 16px;
    margin-bottom: 30px;
}

.astro__cta {
    display: inline-block;
    font-size: 20px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: #FFFFFF;
    background-color: #EC4400;
    box-shadow: 0px 10px 20px 0px rgba(255, 84, 84, 0.24);
    padding: 20px 50px;
    width: max-content;
    transition: .3s all ease-in-out;
}

.astro__cta:hover,
.astro__cta:focus {
    background-color: #C93D03;
    color: #fff;
}

@media (max-width: 1024px) {
    .astro { padding: 50px 0; }
    .astro__wrapper { gap: 3rem; }
    .astro__heading--primary { font-size: 23px; }
}

@media (max-width: 960px) {
    .astro__wrapper { flex-direction: column-reverse; }
    .astro__content-wrapper,
    .astro__img-wrapper { width: 100%; }
    .astro__heading,
    .astro__description { text-align: center; }
    .astro__cta { margin: 0 auto; font-size: 14px; }
}

@media (max-width: 450px) {
    .astro__heading--primary { font-size: 20px; }
}
