*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: Arial, Helvetica, sans-serif;
    min-height: 100vh;

    background:
        radial-gradient(circle at top left, #00c6ff, transparent 35%),
        radial-gradient(circle at bottom right, #8b5cf6, transparent 35%),
        #0f172a;

    color: white;
}

/* NavBar */

nav{
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);

    width: 90%;
    max-width: 1400px;
    height: 80px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 0 40px;

    background: rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);

    border: 1px solid rgba(255,255,255,0.15);

    border-radius: 24px;

    box-shadow:
        0 8px 32px rgba(0,0,0,0.25),
        inset 0 1px 0 rgba(255,255,255,0.15);

    z-index: 1000;
}

nav h1{
    color: white;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* MENU */
nav ul{
    display: flex;
    list-style: none;
    gap: 15px;
}

nav ul li a{
    color: white;
    text-decoration: none;

    padding: 12px 18px;
    border-radius: 50px;

    transition: 0.3s;
}

nav ul li a:hover{
    background: rgba(255,255,255,0.12);
}

nav ul li a.active{
    background: rgba(255,255,255,0.12);
}

/* LANGUAGE */
.language{
    display: flex;
    gap: 5px;
    background: rgba(255,255,255,0.08);
    padding: 5px;
    border-radius: 30px;
}

.language button{
    background: transparent;
    border: none;
    color: #d1d5db;
    padding: 10px 14px;
    border-radius: 20px;
    cursor: pointer;
}

.language button.active{
    background: linear-gradient(135deg,#00c6ff,#00a5d3);
    color: white;
}

/* =========================
   HERO
========================= */

.hero{
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero h1{
    font-size: 55px;
}

.hero p{
    color: #cbd5e1;
    margin: 10px 0 20px;
}

.buttons{
    display: flex;
    gap: 15px;
}

.btn{
    padding: 10px 18px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.2);
    text-decoration: none;
    color: white;
    transition: 0.3s;
}

.btn:hover{
    transform: translateY(-2px);
}

.btn.primary{
    background: #38bdf8;
    color: #0f172a;
    border: none;
}

/* =========================
   SECTIONS
========================= */

.section{
    padding: 100px 20px;
    text-align: center;
}

.section h2{
    font-size: 35px;
    margin-bottom: 10px;
}

.section p{
    color: #cbd5e1;
    max-width: 600px;
    margin: auto;
}

.dark{
    background: rgba(255,255,255,0.03);
}

/* GRID */
.grid{
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.card{
    width: 220px;
    padding: 20px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 15px;
    transition: 0.3s;
}

.card:hover{
    transform: translateY(-5px);
    border-color: #38bdf8;
}

/* =========================
   CONTACT FORM
========================= */

.contact-form{
    max-width: 700px;
    margin: 30px auto 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form .row{
    display: flex;
    gap: 15px;
}

.contact-form input,
.contact-form textarea{
    width: 100%;
    padding: 14px 16px;

    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.15);

    background: rgba(255,255,255,0.06);
    color: white;

    outline: none;

    transition: 0.3s;
    font-size: 14px;
}

/* focus efekat */
.contact-form input:focus,
.contact-form textarea:focus{
    border-color: #38bdf8;
    box-shadow: 0 0 10px rgba(56,189,248,0.3);
    transform: translateY(-2px);
}

/* placeholder */
.contact-form input::placeholder,
.contact-form textarea::placeholder{
    color: rgba(255,255,255,0.5);
}

/* button */
.contact-form button{
    padding: 14px;
    border-radius: 12px;
    border: none;

    background: linear-gradient(135deg,#38bdf8,#8b5cf6);
    color: white;

    font-weight: 600;
    cursor: pointer;

    transition: 0.3s;
}

.contact-form button:hover{
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(56,189,248,0.3);
}


/* FOOTER */
footer{
    text-align: center;
    padding: 20px;
    color: #94a3b8;
}

footer span{
    color: #00c6ff
}

/* width */
::-webkit-scrollbar {
  width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
  background: transparent;
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: #38bdf8;
  border-radius: 5px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555; 
}

/* Loader */

#loader{
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at top left, #00c6ff, transparent 35%),
        radial-gradient(circle at bottom right, #8b5cf6, transparent 35%),
        #0f172a;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 25px;

    z-index: 9999;
    transition: 0.6s ease;
}

#loader img{
    width: 90px;
    height: 90px;
    object-fit: contain;
    animation: pulse 1.5s infinite;
}

/* LINE CONTAINER */
.loader-line-container{
    width: 250px;
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 50px;
    overflow: hidden;
}

/* LINE */
#loader-line{
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg,#38bdf8,#8b5cf6);
    border-radius: 50px;
    transition: width 0.2s ease;
}

/* PERCENT */
#loader-percent{
    color: white;
    font-size: 18px;
    font-weight: 600;
}

/* ANIMATION */
@keyframes pulse{
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

/* HIDE */
#loader.hide{
    opacity: 0;
    visibility: hidden;
}

.menu-toggle{
    display: none;
    font-size: 26px;
    color: white;
    cursor: pointer;
}

/* MOBILE */
@media (max-width: 768px){

    nav{
        flex-direction: row;
        height: auto;
        padding: 15px 20px;
    }

    .menu-toggle{
        display: block;
    }

    nav ul{
        position: absolute;
        top: 90px;
        left: 50%;
        transform: translateX(-50%);

        flex-direction: column;
        width: 90%;

        background: rgba(255,255,255,0.08);
        backdrop-filter: blur(20px);

        border-radius: 20px;
        padding: 15px;

        display: none;
    }

    nav ul.show{
        display: flex;
    }

    nav ul li a{
        width: 100%;
        text-align: center;
    }
}