@import url("styles/section-with-list.css");
@import url("styles/gallery-preview.css");

:root {
    --ink: rgba(255,255,255,.87);
    --bg: #0A0613;
    --primary: #ff00e6;
    --secundary: #22f2fe;

    --gap: 18px;
    --radius: 18px;
}

body {
    font-family: 'Chakra Petch', system-ui, Avenir, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    font-weight: 400;
    color: var(--ink);
    background: var(--bg);
    margin: 0;
    width: 100%;
}

main {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    max-width: 1600px;
}

h1 {
    margin: 0;
    font-size: 75px;
    font-weight: 900;
    padding: 30px 0 60px;
}

h2 {
    margin: 0;
    font-size: 75px;
    font-weight: 900;
    padding-bottom: 60px;
}

h3 {
    margin: 0;
    font-size: 30px;
    font-weight: 900;
    padding-bottom: 20px;
}

h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 900;
    padding-bottom: 30px;
}

p {
    margin: 0;
    font-size: 18px;
    padding-bottom: 30px;
}

p:last-child {
    padding-bottom: 0;
}

section {
    width: 100%;
    padding: 80px;
    box-sizing: border-box;
}

div.list > div:before {
    background-image: url("./static/icons/list-marker-white.svg");
    background-repeat: no-repeat;
    display: inline-block;
    content: " ";
    width: 20px;
    height: 20px;
    margin-right: 12px;
}

/*
    ********************************************
    Elements with secondary color
    ********************************************
 */
.secondary-color {
    color: var(--secundary);
    background: var(--bg);
}

.secondary-color > div.list > div:before {
    background-image: url("./static/icons/list-marker-sec.svg");
}

/*
    ********************************************
    Section with columns
    ********************************************
 */
section.columns {
    display: flex;
    gap: 20px;
}

/*
    ********************************************
    Elements with limited padding
    ********************************************
 */
.limited-padding {
    padding-top: 0;
    padding-bottom: 0;
}

/*
    ********************************************
    Section with single image
    ********************************************
 */
section.single-image {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/*
    ********************************************
    Video Title Slide
    ********************************************
 */
#section-video-title {
    padding: 0;
    width: 100%;
    position: relative;
}

#section-video-title > .video {
    position: absolute;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#section-video-title > .video > img {
    object-fit: cover;
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
}

.title-logo {
    width: 460px;
    max-width: 80%;
    padding: 30px 0 60px;
    filter: invert(1);
}

#section-video-title > .overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0.4;
}

#section-video-title > .content {
    position: relative;
    margin: 0 auto;
    text-align: center;
    padding: 90px 40px 140px;
}

/*
    ********************************************
    Section with corporate logos
    ********************************************
 */
#corpo-logos {
    padding-left: 30px;
    padding-right: 30px;
}

#corpo-logos img {
    width: 33%;
    transition: all 300ms ease-in-out;
}

#corpo-logos img:hover {
    transform: scale(1.1);
}

/*
    ********************************************
    Section with vibes
    ********************************************
 */
#vibe-slide-section {
    display: flex;
    padding: 0;
}

.vibe-slide {
    height: 800px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border: 1px solid #cccccc;
    overflow: hidden;
    position: relative;

    flex: 1;
    transition: all 300ms ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.vibe-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
        rgba(0,0,0,0.2) 0%,
        rgba(0,0,0,0.55) 45%,
        rgba(0,0,0,0.55) 55%,
        rgba(0,0,0,0.3) 100%);
    transition: background 300ms ease-in-out;
    pointer-events: none;
    z-index: 0;
}

.vibe-slide:hover::before {
    background: linear-gradient(to bottom,
        rgba(0,0,0,0.3) 0%,
        rgba(0,0,0,0.7) 45%,
        rgba(0,0,0,0.7) 55%,
        rgba(0,0,0,0.4) 100%);
}

.vibe-slide > h3,
.vibe-slide .onlyHover {
    position: relative;
    z-index: 1;
}

.vibe-slide > h3 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-shadow: 0 2px 12px rgba(0,0,0,0.9);
    opacity: 0.85;
    transition: opacity 300ms ease-in-out;
}

.vibe-slide .onlyHover h3 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-shadow: 0 2px 8px rgba(0,0,0,0.9);
}

.vibe-slide:hover > h3 {
    opacity: 1;
}

.vibe-slide .onlyHover {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: all 300ms ease-in-out;
    opacity: 0;
    margin: 0;
    width: 600px;
}

.vibe-slide:hover .onlyHover {
    opacity: 1;
}

.vibe-slide:hover {
    flex: 2;
}

/* vibe slide backgrounds are set dynamically from the gallery CDN in main.js */

.vibe-slide#hedonizers {
    background-image: url("./static/face-hedonizers.jpg");
}

.vibe-slide#swarm {
    background-image: url("./static/face-swarm.jpg");
}

/*
    ********************************************
    Section with sex
    ********************************************
 */
#section-sex ul {
    margin-bottom: 60px;
}


/*
    ********************************************
    Section with posters
    ********************************************
 */
#posters {
    display: flex;
    padding: 20px;
    gap: 20px;
}

#posters > div {
    flex: 1;
    overflow: hidden;
}

#posters > div > div {
    aspect-ratio: 1920 / 1080;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: all 300ms ease-in-out;
}

#posters > div:hover > div {
    transform: scale(1.1);
}

#posters > div:nth-child(1) > div {
    background-image: url("./static/ad01.jpg");
}

#posters > div:nth-child(2) > div {
    background-image: url("./static/ad02.jpg");
}

#posters > div:nth-child(3) > div {
    background-image: url("./static/ad03.jpg");
}


/*
    ********************************************
    Media
    ********************************************
 */

/*@media only screen and (max-width: 600px) {*/
/*    body {*/
/*        color: red;*/
/*    }*/
/*}*/

/*
    ********************************************
    Language Switcher
    ********************************************
 */
#lang-switcher {
    display: none; /* TODO: remove this line to re-enable the lang switcher */
    position: fixed;
    top: 16px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 4px;
    background: rgba(10, 6, 19, 0.75);
    backdrop-filter: blur(6px);
    border: 1px solid var(--secundary);
    border-radius: var(--radius);
    padding: 4px 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

#lang-switcher a {
    color: var(--ink);
    text-decoration: none;
    opacity: 0.5;
    transition: opacity 200ms ease, color 200ms ease;
}

#lang-switcher a:hover {
    opacity: 1;
}

#lang-switcher a.active {
    color: var(--secundary);
    opacity: 1;
}

#lang-switcher a + a::before {
    content: "|";
    margin-right: 4px;
    color: var(--ink);
    opacity: 0.3;
}

@media only screen and (max-width: 1200px) {
    h1 {
        font-size: 45px;
    }
    h2 {
        font-size: 30px;
    }
    h3 {
        font-size: 18px;
    }
    h4 {
        font-size: 18px;
    }
}

@media only screen and (max-width: 768px) {
    section {
        padding: 40px;
    }
    .columns {
        flex-direction: column;
    }
    #vibe-slide-section {
        flex-direction: column;
    }
    #vibe-slide-section > .vibe-slide {
        min-height: 450px;
    }
    #vibe-slide-section > .vibe-slide:hover {
        flex: 1;
    }
    #vibe-slide-section .onlyHover {
        opacity: 1;
        margin-bottom: 0;
    }
    #posters {
        flex-direction: column;
    }
    #corpo-logos img {
        width: 100%;
    }
}