@import url('https://fonts.googleapis.com/css2?family=Orbitron&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bruno+Ace&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Tektur&display=swap');

:root {
    --black: #000000;
    --white: #ffffff;
    --gray: #d1d5db;
    --accent: #ffffff;
    --poppins: "Poppins", sans-serif;
    --orbitron: "Orbitron", sans-serif;
    --brunoace: "Bruno Ace", sans-serif;
    --tektur: "Tektur", sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--poppins);
    /* font-family: var(--orbitron); */
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    color: white;
}

#toggleMusic {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background: black;
    color: #fff;
    outline: none;
    font-size: 1rem;
    border: 2px solid var(--white);
    padding: 2px 4px;
    border-radius: 50% / 10%;
    cursor: pointer;
    transition: all 0.3s ease;
}

#toggleMusic i {
    background: none;
    color: #fff;
}

#toggleMusic:hover {
    background: #fff;
    color: #000;
    transform: scale(1.1);
}

#toggleMusic:hover i {
    color: #000;
}

body {
    width: min(1600px, 100%);
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0 auto;
    position: relative;
    background-color: black;
    align-items: center;
    justify-content: center;
}

body::before {
    width: min(1600px, 100%);
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0 auto;
    content: "";
    position: fixed;
    inset: 0;
    background: url('../img/bg-img/bg-img.jpg') no-repeat center center/contain;
    opacity: 0;
    transform: scale(0.9) translateY(-80px);
    animation: bgDriveIn 2.5s ease-out forwards;
    z-index: -1;
}

@keyframes bgDriveIn {
    0% {
        opacity: 0;
        transform: scale(0.9) translateY(-80px);
        filter: blur(4px);
        /* halki si blur feel, depth jesi */
    }

    60% {
        opacity: 0.6;
        transform: scale(1) translateY(-10px);
        filter: blur(0);
    }

    100% {
        opacity: 0.8;
        transform: scale(1.2) translateY(0);
    }
}

header {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    margin: 0 auto;
    width: min(1600px, 100%);
    padding: 0 min(3%, 22px);
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    /* box-shadow: 0 0px 7px rgb(0, 0, 0); */
    border-bottom: 2px solid transparent;
    transition: border-bottom-color 0.3s ease, transform 0.1s ease;
    z-index: 99999;
}

header.scrolled {
    border-bottom: 2px solid white;
    transform: translateY(0);
}

header .logo {
    position: relative;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 900;
    font-family: var(--orbitron);
    padding: 5px 10px 5px 0;
    display: inline-block;
    color: #fff;
    transition: all 0.1s ease-out;
}

header .logo span {
    font-family: var(--orbitron);
}

header .logo:hover {
    text-shadow: 0 0 5px white;
}

header .logo::before {
    content: '';
    position: absolute;
    height: 2px;
    width: 0;
    background: #fff;
    top: 27%;
    left: 0;
    box-shadow: 0 0 5px white;
    transition: all 0.3s ease-out;
}

header .logo::after {
    content: '';
    position: absolute;
    height: 2px;
    width: 0;
    background: #fff;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    box-shadow: 0 0 5px white;
    transition: all 0.3s ease-out;
}

header .logo span::after {
    content: '';
    position: absolute;
    height: 2px;
    width: 0;
    background: #fff;
    bottom: 25%;
    left: 0;
    box-shadow: 0 0 5px white;
    transition: all 0.3s ease-out;
}

header .logo:hover::before,
header .logo:hover::after,
header .logo:hover span::after {
    width: 25px;
    left: 88%;
    transform: translateX(-100%);
}

.navbar-toggle {
    width: 25px;
    height: 25px;
    display: none;
    justify-content: center;
    align-items: center;
    background: none;
    outline: none;
    border: none;
    color: white;
    border: 2px solid var(--white);
    border-radius: 50% / 10%;
    cursor: pointer;
}

.navbar-toggle i {
    /* line-height: 1.5; */
    margin: 0;
    padding: 4px 0 2px 0;
    outline: none;
    border: none;
    color: white;
    font-size: 1rem;
    transition: transform 0.3s ease-in-out;
}

.navbar-toggle:hover {
    background: var(--white);
}

.navbar-toggle:hover i {
    color: var(--black);
}

.navbar-toggle.active {
    /* transform: rotate(180deg); */
    background: var(--white);
}
.navbar-toggle.active i {
    transform: rotateX(180deg);
    color: var(--black);
}

header ul {
    list-style: none;
    display: flex;
}

header ul li a {
    font-size: clamp(0.8rem, 2vw, 1rem);
    font-weight: 500;
    font-family: var(--orbitron);
    text-decoration: none;
    color: white;
    margin: 0 5px;
    padding: 3px;
    border: 2px solid transparent;
    border-bottom: 2px solid white;
    display: inline-block;
    border-radius: 50% / 10%;
    transition: all 0.3s, transform 0s;
}

header ul li a:hover {
    border: 2px solid white;
    border-radius: 50% / 10%;
}

header ul li a:active {
    border: 2px solid transparent;
    border-bottom: 2px solid #ddd;
    color: #ddd;
    transform: translateY(1px);
    transition: all 0s;
}

/* ===== Main CSS ===== */
.hero {
    min-height: calc(100vh - 70px);
    min-height: calc(100dvh - 70px);
    width: 100%;
    max-width: 900px;
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* margin-top: -30px; */
    margin: 0 auto;
    padding: 3rem min(3%, 22px);
    padding-top: 5rem;
    cursor: default;
}

.hero h1 {
    font-size: clamp(1.5rem, 6vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-family: var(--orbitron);
}

.hero h1 span {
    font-weight: 500;
    color: var(--white);
    font-family: var(--orbitron);
}

.hero p {
    font-size: 1rem;
    font-weight: 500;
    color: var(--white);
    font-size: clamp(0.8rem, 2vw, 1rem);
    line-height: 1.3;
    margin-bottom: 1.5rem;
    opacity: 0;
    font-family: var(--tektur);
    transform: translateX(-50px);
    animation: slideIn 1s ease forwards;
}

.hero .btns {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero .btn {
    padding: 0.5rem 1rem;
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
    text-decoration: none;
    font-size: clamp(0.7rem, 2vw, 1rem);
    font-weight: 600;
    /* border-radius: 50% / 10%; */
    font-family: var(--orbitron);
    opacity: 1;
    transition: all 0.3s ease;
}

.hero .btn:hover {
    background: var(--white);
    color: var(--black);
}

.hero .btn:active {
    transform: translateY(1px);
    opacity: .8;
    transition: all 0s ease;
}

.hero .btn-secondary {
    border-color: var(--white);
    color: var(--black);
    background: var(--white);
}

.hero .btn-secondary:hover {
    color: var(--black);
}

.hero .btn-secondary:active {
    opacity: .8;
    transition: all 0s ease;
}

.fade-section>* {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideIn 1s ease forwards;
}

.fade-section>*:nth-child(1) {
    animation-delay: 0.2s;
}

.fade-section>*:nth-child(2) {
    animation-delay: 0.4s;
}

.fade-section>*:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes slideIn {
    to {
        opacity: 1;
        /* transform: translateX(0); */
        transform: scaleY(1.3) translateX(0);
    }
}

/* .scroll-animate>* {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.scroll-animate.show>* {
    opacity: 1;
    transform: translateY(0);
} */

/* .scroll-animate > * {
  opacity: 0;
  transform: translateY(40px) rotateX(10deg);
  transform-origin: top;
  transition: all 0.8s cubic-bezier(0.25, 0.1, 0.25, 1.4);
}

.scroll-animate.show > * {
  opacity: 1;
  transform: translateY(0) rotateX(0);
} */

/* .scroll-animate > * {
  opacity: 0;
  transform: translateX(-60px);
  transition: all 0.9s ease-out;
}

.scroll-animate.show > * {
  opacity: 1;
  transform: translateX(0);
} */

.scroll-animate>* {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: all 0.9s ease-out;
}

.scroll-animate.show>* {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.scroll-animate.show>*:nth-child(1) {
    transition-delay: 0.2s;
}

.scroll-animate.show>*:nth-child(2) {
    transition-delay: 0.4s;
}

.scroll-animate.show>*:nth-child(3) {
    transition-delay: 0.6s;
}

.scroll-animate.show>*:nth-child(4) {
    transition-delay: 0.8s;
}

.center {
    padding: 4rem 2rem;
    text-align: center;
    padding: 3rem min(3%, 22px);
    cursor: default;
}

/* Categories Section */
.categories {
    /* padding-top: 3.5rem; */
    padding-bottom: 150px;
}

.categories h2 {
    font-weight: 600;
    transform: scaleY(1.3);
    font-family: var(--orbitron);
    margin-bottom: 1rem;
}

.category-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-items: stretch;
    gap: 2rem;
}

.card {
    flex: 1 1 320px;
    max-width: 370px;
    /* min-height: 190px; */
    height: auto;
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform .3s ease, background .3s ease;
}

.card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.card:active {
    transform: translateY(0px);
    transition: transform 0s;
}

.card h3 {
    font-size: 1.4rem;
    color: var(--white);
    text-shadow: 0 0 2px black, 0 0 2px black;
    transform: scaleY(1.1);
    font-family: var(--orbitron);
}

.card p {
    margin-top: 0.5rem;
    color: var(--gray);
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    font-family: var(--tektur);
}

/* About Section */
.about {
    background: rgba(255, 255, 255, 0.02);
    padding-bottom: 200px;
}

.about h2 {
    font-size: 2.2rem;
    font-weight: 600;
    transform: scaleY(1.3);
    font-family: var(--orbitron);
}

.about h2::after {
    display: none;
}

.about p {
    max-width: 750px;
    margin: auto;
    color: var(--gray);
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    transform: scaleY(1.3);
    font-family: var(--tektur);
}

/* Contact Form */
.contact-container {
    background: rgba(255, 255, 255, 0.05);
    padding-top: 2.5rem;
}

.contact-container h2 {
    font-size: 2rem;
    font-weight: 600;
    transform: scaleY(1.3);
    font-family: var(--orbitron);
}

.contact-container p {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    font-family: var(--tektur);
}

.contact-form {
    max-width: 600px;
    margin: 1rem auto 0;
    display: flex;
    flex-direction: column;
}

.contact-form span,
.contact-form span a {
    color: var(--gray);
    margin: 0.5rem;
    font-size: clamp(0.7rem, 2vw, 0.9rem);
    transform: scaleY(1.2);
    font-family: var(--tektur);
}

.contact-form input,
.contact-form textarea {
    max-width: 100%;
    padding: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    margin-bottom: 1.5rem;
    transform: scaleY(1.2);
    font-family: var(--tektur);
}

.contact-form input:nth-child(1) {
    margin-bottom: 1rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--gray);
}

.contact-form .c-button {
    padding: 0.5rem;
    border: none;
    background: var(--white);
    color: var(--black);
    border-radius: 8px;
    cursor: pointer;
    transition: .3s;
}

.contact-form .c-button span {
    display: block;
    font-weight: 700;
    color: var(--black);
    transform: scaleY(1.2);
    font-family: var(--orbitron);
}

.contact-form .c-button:hover {
    opacity: .8;
}

.contact-form .c-button:active {
    transform: translateY(1px);
    transition: all 0s ease;
}

/* Login Form */
.login-container {
    padding-top: 2.5rem;
    min-height: calc(100vh - 70px);
    min-height: calc(100dvh - 70px);
    width: 100%;
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0 auto;
    padding: 3rem min(15%, 32px);
    padding-top: 5rem;
    cursor: default;
}

.login-container div {
    max-width: 370px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0 auto;
    padding: 2rem min(5%, 32px);
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    cursor: default;
}

.login-container div:hover,
.login-container div:active,
.login-container div:target,
.login-container div:focus,
.login-container div:focus-within {
    border: 1px solid var(--white);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
    transition: all 0.2s;
}

.login-container h2 {
    font-size: 2rem;
    font-weight: 600;
    transform: scaleY(1.3);
    font-family: var(--orbitron);
    color: var(--white);
    letter-spacing: 1px;
}

.login-container p {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    font-family: var(--tektur);
    color: var(--gray);
}

.login-form {
    /* width: 350px; */
    width: 100%;
    max-width: 100%;
    margin: 0.5rem auto 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-form input {
    width: 100%;
    padding: 0.5rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    margin-bottom: 1rem;
    transform: scaleY(1.1);
    font-family: var(--tektur);
    font-size: 1.2rem;
    text-align: center;
    outline: none;
    transition: 0.3s;
}

.login-form input:focus {
    border-color: var(--white);
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.5);
}

.login-form input::placeholder {
    color: var(--gray);
}

.login-form .c-button {
    width: 100%;
    padding: 0.2rem 0.2rem 0.7rem 0.2rem;
    border: none;
    background: linear-gradient(180deg, #ffffff 70%, #aaa);
    color: var(--black);
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s ease;
}

.login-form .c-button span {
    display: block;
    font-weight: 700;
    font-size: 1.2rem;
    transform: scaleY(1.2);
    font-family: var(--orbitron);
    color: var(--black);
    text-transform: uppercase;
}

.login-form .c-button:hover {
    opacity: 0.9;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}

.login-form .c-button:active {
    transform: translateY(1px);
    transition: all 0s ease;
}

.login-form span {
    color: var(--gray);
    font-size: clamp(0.75rem, 2vw, 0.9rem);
    transform: scaleY(1.1);
    font-family: var(--tektur);
    margin-top: 0.5rem;
}

.login-form span a {
    color: var(--white);
    text-decoration: none;
    transition: 0.3s;
}

.login-form span a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.08);
    border-top: 2px solid white;
    font-family: var(--orbitron);
    cursor: default;
}

footer p {
    color: var(--white);
    font-size: clamp(0.7rem, 2vw, 0.9rem);
    letter-spacing: 1px;
    transform: scaleY(1.2);
    font-family: var(--orbitron);
}