/* =================================
   VIZAG JAMHUB - GLOBAL STYLES
================================= */


/* =================================
   GLOBAL RESET
================================= */

* {

    margin: 0;
    padding: 0;

    box-sizing: border-box;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

}


body {

    color: white;

    line-height: 1.6;
    font-size: 18px;

    overflow-x: hidden;

    background: #050713;

    min-height: 100vh;

    display: flex;
    flex-direction: column;

}

/* =================================
   VIDEO OVERLAY
================================= */

body::after {

    content: "";

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    pointer-events: none;

    background:
        radial-gradient(
            circle,
            transparent 35%,
            rgba(0, 0, 0, 0.82) 100%
        );

    z-index: 1;

}


/* =================================
   GLOBAL CINEMATIC VIDEO
================================= */

#bg-video {

    position: fixed;

    top: 0;
    left: 0;

    width: 100vw;
    height: 100vh;

    object-fit: cover;

    z-index: -3;

    opacity: 1;

    filter:
        brightness(0.60)
        blur(7px);

    pointer-events: none;

    transform: scale(1.05);

}

/* =================================
   INVISIBLE VIDEO STABILIZER
================================= */

#overlay-video {

    position: fixed;

    top: 0;
    left: 0;

    width: 100vw;
    height: 100vh;

    z-index: -2;

    pointer-events: none;

    opacity: 0;

}


/* ==========================================================
   FULLSCREEN NAVIGATION
========================================================== */


/* =================================
   HEADER
================================= */

/*
   No visible navbar.

   Header only contains:
   - hamburger
   - fullscreen navigation overlay
*/

header {

    position: static;

    width: 0;
    height: 0;

    margin: 0;
    padding: 0;

    background: transparent;

    border: none;
    box-shadow: none;

}


/* =================================
   HAMBURGER
================================= */

.menu-toggle {

    position: fixed;

    top: 25px;
    left: 25px;

    z-index: 10001;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    padding: 0;

    color: white;

    font-size: 24px;
    line-height: 1;

    cursor: pointer;

    background:
        rgba(10, 10, 10, 0.30);

    border:
        1px solid rgba(255, 255, 255, 0.20);

    border-radius: 50%;

    backdrop-filter:
        blur(14px)
        saturate(150%);

    -webkit-backdrop-filter:
        blur(14px)
        saturate(150%);

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.20),
        inset 0 1px 0 rgba(255, 255, 255, 0.10);

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease,
        opacity 0.25s ease;

}


.menu-toggle:hover {

    border-color:
        rgba(0, 212, 255, 0.80);

    box-shadow:
        0 0 10px rgba(0, 212, 255, 0.40),
        0 0 25px rgba(0, 212, 255, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);

    transform:
        scale(1.05);

}


/* HIDE HAMBURGER WHILE MENU IS OPEN */

body.menu-open .menu-toggle {

    opacity: 0;

    pointer-events: none;

}


/* =================================
   FULLSCREEN FROSTED GLASS MENU
================================= */

.nav-overlay {

    position: fixed;

    inset: 0;

    z-index: 10000;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 100vw;
    height: 100vh;

    /*
       IMPORTANT:

       Keep this background transparent enough
       for backdrop-filter to show the website
       through the glass.
    */

    background:
        linear-gradient(
            135deg,
            rgba(10, 10, 10, 0.48),
            rgba(20, 20, 20, 0.30)
        );

    /*
       FROSTED GLASS EFFECT
    */

    backdrop-filter:
        blur(24px)
        saturate(145%);

    -webkit-backdrop-filter:
        blur(24px)
        saturate(145%);

    /*
       Subtle glass highlight
    */

    box-shadow:
        inset 0 1px 0
        rgba(255, 255, 255, 0.08);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition:
        opacity 0.35s ease,
        visibility 0.35s ease;

}


/* =================================
   MENU OPEN
================================= */

.nav-overlay.active {

    opacity: 1;

    visibility: visible;

    pointer-events: auto;

}


/* =================================
   CLOSE BUTTON
================================= */

.menu-close {

    position: absolute;

    top: 25px;
    right: 25px;

    z-index: 10002;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    padding: 0;

    color: white;

    font-size: 27px;
    line-height: 1;

    cursor: pointer;

    /*
       Small frosted glass circle
    */

    background:
        rgba(255, 255, 255, 0.06);

    border:
        1px solid rgba(255, 255, 255, 0.22);

    border-radius: 50%;

    backdrop-filter:
        blur(12px)
        saturate(150%);

    -webkit-backdrop-filter:
        blur(12px)
        saturate(150%);

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.10);

    transition:
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;

}


.menu-close:hover {

    color:
        #00d4ff;

    border-color:
        rgba(0, 212, 255, 0.80);

    transform:
        rotate(90deg);

    box-shadow:
        0 0 10px rgba(0, 212, 255, 0.35),
        0 0 25px rgba(0, 212, 255, 0.15);

}


/* =================================
   NAVIGATION CONTAINER
================================= */

.nav-overlay nav {

    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;

    background: transparent;

    border: none;
    box-shadow: none;

}


/* =================================
   NAVIGATION LINKS
================================= */

.nav-links {

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 22px;

    margin: 0;
    padding: 0;

    list-style: none;

}


/* =================================
   NAVIGATION ITEMS
================================= */

.nav-links li {

    margin: 0;
    padding: 0;

}


/* =================================
   NAVIGATION LINK TEXT
================================= */

.nav-links a {

    display: inline-block;

    color: white;

    font-size: 30px;
    font-weight: 500;

    text-align: center;

    text-decoration: none;

    transition:
        color 0.25s ease,
        transform 0.25s ease,
        text-shadow 0.25s ease,
        opacity 0.25s ease;

}


/* =================================
   NAVIGATION LINK HOVER
================================= */

.nav-links a:hover {

    color:
        #00d4ff;

    transform:
        scale(1.06);

    text-shadow:
        0 0 10px rgba(0, 212, 255, 0.50),
        0 0 25px rgba(0, 212, 255, 0.25);

}


/* =================================
   MENU OPEN STATE
================================= */

/*
   We ONLY prevent scrolling.

   We are NOT manually blurring:
   - sections
   - logo
   - video
   - music notes

   The fullscreen backdrop-filter above
   creates the blur naturally.
*/

body.menu-open {

    overflow: hidden;

}


/* ==========================================================
   FLOATING MUSIC NOTES
========================================================== */

.music-notes {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    pointer-events: none;

    overflow: hidden;

    z-index: -2;

}


/* =================================
   MUSIC NOTES
================================= */

.music-notes span {

    position: absolute;

    bottom: -80px;

    color:
        #00d4ff;

    text-shadow:
        0 0 10px currentColor,
        0 0 20px currentColor,
        0 0 40px currentColor;

    opacity: 0;

    animation:
        floatNotes linear infinite;

}


/* =================================
   MUSIC NOTE POSITIONS + SPEEDS
================================= */

.music-notes span:nth-child(1) {

    left: 8%;

    animation-duration: 12s;
    animation-delay: 0s;

    color: #00d4ff;

}


.music-notes span:nth-child(2) {

    left: 18%;

    animation-duration: 16s;
    animation-delay: 2s;

    color: white;

}


.music-notes span:nth-child(3) {

    left: 28%;

    animation-duration: 14s;
    animation-delay: 1s;

    color: #00d4ff;

}


.music-notes span:nth-child(4) {

    left: 38%;

    animation-duration: 18s;
    animation-delay: 3s;

    color: white;

}


.music-notes span:nth-child(5) {

    left: 48%;

    animation-duration: 15s;
    animation-delay: 0s;

    color: #00d4ff;

}


.music-notes span:nth-child(6) {

    left: 58%;

    animation-duration: 20s;
    animation-delay: 2s;

    color: white;

}


.music-notes span:nth-child(7) {

    left: 68%;

    animation-duration: 13s;
    animation-delay: 1s;

    color: #00d4ff;

}


.music-notes span:nth-child(8) {

    left: 78%;

    animation-duration: 17s;
    animation-delay: 4s;

    color: white;

}


.music-notes span:nth-child(9) {

    left: 88%;

    animation-duration: 15s;
    animation-delay: 0s;

    color: #00d4ff;

}


.music-notes span:nth-child(10) {

    left: 95%;

    animation-duration: 19s;
    animation-delay: 3s;

    color: white;

}


.music-notes span:nth-child(11) {

    left: 52%;

    animation-duration: 21s;
    animation-delay: 5s;

    color: #00d4ff;

}


.music-notes span:nth-child(12) {

    left: 32%;

    animation-duration: 18s;
    animation-delay: 2s;

    color: white;

}


/* =================================
   MUSIC NOTE SIZE VARIATIONS
================================= */

.music-notes span:nth-child(odd) {

    font-size: 22px;

}


.music-notes span:nth-child(even) {

    font-size: 34px;

}


.music-notes span:nth-child(3n) {

    font-size: 44px;

    opacity: 0.7;

}


.music-notes span:nth-child(5n) {

    font-size: 18px;

    opacity: 0.9;

}


/* =================================
   FLOATING MUSIC NOTE ANIMATION
================================= */

@keyframes floatNotes {

    0% {

        transform:
            translateY(0)
            translateX(0)
            rotate(0deg);

        opacity: 0;

    }


    10% {

        opacity: 0.8;

    }


    50% {

        transform:
            translateY(-50vh)
            translateX(25px)
            rotate(10deg);

        opacity: 1;

    }


    100% {

        transform:
            translateY(-120vh)
            translateX(-20px)
            rotate(-10deg);

        opacity: 0;

    }

}


/* ==========================================================
   FLOATING SOCIAL MEDIA
========================================================== */

.floating-social {

    position: fixed;

    bottom: 25px;
    right: 25px;

    display: flex;

    flex-direction: column;

    gap: 15px;

    z-index: 9999;

}


/*
   Instagram and WhatsApp button
   appearance belongs in buttons.css.
*/


/* ==========================================================
   WEBSITE FOOTER
========================================================== */


.site-footer {

    width: 100%;

    margin-top: auto;

    padding:
        30px 20px;

    text-align: center;

    background:
        transparent;

    border-top:
        1px solid rgba(255, 255, 255, 0.15);

}

/* =================================
   FOOTER LINKS CONTAINER
================================= */

.footer-links {

    display: flex;

    justify-content: center;
    align-items: center;

    flex-wrap: wrap;

    gap: 18px;

    margin:
        18px 0;

}


/* =================================
   FOOTER LINKS
================================= */

.footer-links a {

    color:
        #ffffff;

    font-size:
        16px;

    font-weight:
        400;

    text-decoration:
        none;

    transition:
        0.3s;

}


.footer-links span {

    color:
        #ffffff;

    font-size:
        16px;

}


.footer-links a:hover {

    opacity:
        0.75;

}


/* =================================
   FOOTER TEXT
================================= */

.footer-text {

    color:
        #ffffff;

    font-size:
        16px;

    font-weight:
        400;

}


/* =================================
   BROWSER AUTOFILL
================================= */

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {

    -webkit-text-fill-color: white;

    -webkit-box-shadow:
        0 0 0 1000px #151820 inset;

    caret-color: white;

    transition:
        background-color 9999s ease-in-out 0s;

}

