@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Cinzel:wght@400..900&family=Cormorant:ital,wght@0,300..700;1,300..700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,300..700;1,300..700&family=Funnel+Sans:ital,wght@0,300..800;1,300..800&display=swap');

:root {
    --font-base: 16;
    --scale-min: 1.1;
    --scale-max: 1.25;
    --c_h1:#f3f3f3;
    --c_h2:rgb(255, 232, 29);
    --c_h3:rgb(253, 255, 136);
    --c_h5:rgb(187, 214, 255);
    --c_p: #f3f3f3;
    --c_shadow:rgb(0, 0, 0);
    --shadow-size: 0px;
    --c_hover: #6cf8f8;
    --c_icon:#e2c000;
    --c_icon_hover:#ffd900;

    --t_short:150ms;
    --t_medium:250ms;
    --t_long:350ms;

    --selection-bcg: #412315;
    --selection-colour: #ffe600;
}

html::selection,
body::selection {
    background: var(--selection-bcg);
    color: var(--selection-colour);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
overflow-x: hidden;

}

/* General */

h1, h2, h3 {
    line-height: 1.2;
    margin-bottom: 0.5em;
    font-family: "Montserrat", sans-serif;
}

h1 {
    font-weight: 800;
    font-size: clamp(2rem, 13vw, 12rem);
/*    letter-spacing: -0.02em; */
    color: var(--c_h1);
}

h2 {
    font-weight: 700;
    font-size: clamp(1.3rem, 1.2rem + 1.5vw, 2.5rem);
    letter-spacing: 0.03em;
    color: var(--c_h2);
}

h3 {
    font-weight: 500;
    font-size: clamp(1.25rem, 1.1rem + 1vw, 2.3rem);
    color: var(--c_h3);
    letter-spacing: 0.02em;
}

h5 {
    color: var(--c_h5);
}

p {
    font-weight: 300;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(1rem, 0.9rem + 0.5vw, 1.8rem);
    line-height: 1.6;
    margin-bottom: 1em;
    color: var(--c_p);
}

.glow {

}

.letter {
    display: inline-block;
}

/* NAVBAR */

.navbar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    position: fixed;
    top: 0;
    z-index: 2;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.logo {
    width: 50px;
    height: 50px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 35px;
}

.nav-links a {
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--c_p);
    font-size: 1.3rem;
    position: relative;
    transition: 0.3s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -5px;
    width: 100%;
    height: 2px;
    background: var(--c_hover);
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.nav-links a:hover {
    color: var(--c_hover);
}

.nav-links a:hover::after {
    transform: translateX(-50%) scaleX(1);
}

@media (max-width: 1200px) {
    .hamburger {
        opacity: 1 !important;
        cursor: pointer;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        padding-top: 80px;
        padding-left: 12px;
        padding-right: 12px;
        height: 100vh;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(10px);
        transition: 0.4s ease;
        text-align: center;
    }

    .nav-links.active {
        right: 0;
    }
}

.hamburger {
    width: 35px;
    height: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0;
    z-index: 3;
}

.hamburger span {
    width: 100%;
    height: 4px;
    background: var(--c_p);
    border-radius: 3px;
    transition: 0.4s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(12px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
    transform: translateY(-12px) rotate(-45deg);
}

.hamburger:hover {
    transition: 300ms ease;
    color: var(--c_hover);
}

/* HERO */

.hero {
    position: relative;
    height: 100vh;

    background: url("Img/bcg1.jpeg") center / cover no-repeat;

    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        rgba(60, 40, 20, 0.6) 0%,
        rgba(60, 40, 20, 0.35) 20%,
        rgba(60, 40, 20, 0.35) 80%,
        rgba(60, 40, 20, 0.8) 100%
    );

    animation: heroPulse 6s ease-in-out infinite;

    z-index: 0;
}

.hero > * {
    position: relative;
    z-index: 1;
}

@keyframes heroPulse {
    0%, 100% {
        opacity: 0.75;
    }
    50% {
        opacity: 1;
    }
}

/* ABOUT */

.about, .studio-contact {
    background:
        linear-gradient(
            rgba(60, 40, 20, 0.6) 0%,
            rgba(60, 40, 20, 0.35) 20%,
            rgba(60, 40, 20, 0.35) 80%,
            rgba(60, 40, 20, 0.6) 100%
        ),
        url("Img/bcg2.jpg") center / cover no-repeat;
}

.social-icons i img {
    width: clamp(1.5rem, 12vw, 4.5rem);
    color: var(--c_icon);
    transition: var(--t_short);
    font-size: clamp(1.5rem, 12vw, 4.5rem);
}

.social-icons i img:hover {
    transition: var(--t_medium);
    transform: scale(1.15);
    color: var(--c_icon_hover);
}

/* PROFESSIONs */

    /* CLASS BUTTONS */

.prof-content {
    position: relative;

    background: url(Img/bcg3.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    border-top: 3px solid black;
    border-bottom: 3px solid black;

}

.prof-content::before {
    content: "";
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.5);

    clip-path: polygon(
        0% 0%,
        38% 0%,
        35% 50%,
        38% 100%,
        0% 100%
    );

    z-index: 1;
    pointer-events: none;
}

.prof-content::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);

    clip-path: polygon(
        100% 0%,
        62% 0%,
        65% 50%,
        62% 100%,
        100% 100%
    );

    z-index: 1;
    pointer-events: none;
}

.prof-content {
    position: relative;
    z-index: 0;
}

.prof-content > * {
    position: relative;
    z-index: 2;
}

@media (max-width: 991.98px) {
    .prof-content::before,
    .prof-content::after {
        display: none;
    }
}

.prof-text{
    
}

.Professions{
    background:
        linear-gradient(
            rgba(60, 40, 20, 0.8) 0%,
            rgba(60, 40, 20, 0.9) 100%
        ),
        url("Img/bcg2.jpg") center / cover no-repeat;
}

.class-btn {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    cursor: pointer;
    object-fit: cover;
    border: 3px solid transparent;
    transition: 0.3s;
}

.class-btn:hover,
.class-btn.active {
    border: 3px solid var(--c_h2);
    transform: scale(1.1);
}

/* HERO IMAGE */
.prof-hero {
    position: relative;
    overflow: hidden;
}

.hero-img {
    max-height: 600px;
    object-fit: contain;
}

/* ABILITIES */
.ability {
    position: relative;
    cursor: pointer;
}

.ability img {
    border-radius: 10px;
}

/* TOOLTIP */
.tooltip-box {
    position: absolute;
    top: 65%;
    right: 110%;
    transform: translateY(-50%);
    width: clamp(150px, 40vw, 500px);
    background: rgba(0, 0, 0, 0.6);
    padding: 10px;
    border-radius: 8px;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    z-index: 3;
    
}

.ability:hover .tooltip-box {
    opacity: 1;
    transform: translateY(-50%) translateX(-5px);
}

@media (max-width: 991.98px) {
    .tooltip-box {
        top: 110%;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: 90%;
    }

    .ability:hover .tooltip-box {
        opacity: 1;
        transform: translateX(-50%) translateY(5px);
    }
}

/* CONTACTS */

.studio-contact{

}

.studio-contact .row{
    perspective: 1000px;
}

.social-icons i {
    color: var(--c_icon);
    transition: var(--t_short);
    font-size: clamp(1.5rem, 12vw, 4.5rem);
}

.social-icons i:hover {
    transition: var(--t_medium);
    transform: scale(1.15);
    color: var(--c_icon_hover);
}

.long-gradient {
    background: linear-gradient(
        to bottom,
        #001936 0%,
        #0063d4 50%,
        #0077ff 80%,
        #0063d4 100%
    );
}

/* FOOTER */
footer{
    font-size: 1.5rem;
}


/* Fades */

/* BASE FADE */
.fade {
    opacity: 0;
    transform: translate(0, 0);
    transition: opacity var(--t_medium) ease, transform var(--t_medium) ease;
}

/* ACTIVE STATE */
.fade.show {
    opacity: 1;
    transform: translate(0, 0);
}

/* DIRECTIONS */
.fade-left   { transform: translateX(-20px); }
.fade-right  { transform: translateX(20px); }
.fade-up     { transform: translateY(20px); }
.fade-down   { transform: translateY(-20px); }

/* DISTANCES (modifiers) */
.fade-short  { --fade-distance: 20px; }
.fade-medium { --fade-distance: 50px; }
.fade-long   { --fade-distance: 100px; }

/* Apply distance dynamically */
.fade-left   { transform: translateX(calc(-1 * var(--fade-distance, 20px))); }
.fade-right  { transform: translateX(var(--fade-distance, 20px)); }
.fade-up     { transform: translateY(var(--fade-distance, 20px)); }
.fade-down   { transform: translateY(calc(-1 * var(--fade-distance, 20px))); }

/* SPEED modifiers */
.fade-fast   { transition-duration: var(--t_short); }
.fade-slow   { transition-duration: var(--t_long); }