:root {
    --primary: #00ffaa;
    --dark: #020202;
    --glass: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
body { background: var(--dark); color: white; overflow-x: hidden; width: 100%; }

/* --- LOADER & REVEAL --- */
.loader-logo {
    width: 100px; /* Ndrysho këtë vlerë derisa të duket mirë */
    height: auto; /* Ruaj proporcionet */
    display: block;
}
.reveal-overlay {
   position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    background: #ffffff; 
    z-index: 1000;
    display: flex; 
    justify-content: center; 
    align-items: center;
    /* Kjo ngre perden lart në sekondën 1.2s */
    animation: slideUp 1.4s cubic-bezier(0.9, 0, 0.1, 1) forwards 1.2s;
}

.reveal-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    /* Ky animacion e fsheh logon në sekondën e parë (1s) */
    animation: fadeOut 0.5s ease forwards 1s;
}

/* Stili specifik për imazhin e logos */
.loader-logo {
    width: 100px; /* Rregulloje sipas dëshirës */
    height: auto;
}
.loader-img {
    width: 400px !important; /* Kjo vlerë e zvogëlon direkt */
    height: auto;
    display: block;
    opacity: 0; /* E nisim të padukshme */
    
    /* Aplikohet animacioni i hyrjes sapo ngarkohet faqja */
    animation: logoEntrance 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes logoEntrance {
    0% {
        opacity: 0;
        transform: scale(0.7) translateY(10px); /* Vjen nga më e vogël dhe pak më poshtë */
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0); /* Shkon në përmasën normale (100px) */
    }
}

/* Animacionet ekzistuese */
@keyframes slideUp { 
    to { transform: translateY(-100%); } 
}

@keyframes fadeOut { 
    to { 
        opacity: 0; 
        transform: translateY(-20px); 
    } 
}

/* Rregullim për Mobile */
@media (max-width: 600px) {
   .loader-img {
        width: 70px;
    }
	
}


/* --- NAVBAR --- */
.navbar {
    position: fixed; top: 0; width: 100%; z-index: 900;
    padding: 30px 6%;
    transform: translateY(-100%);
    animation: navDown 1.2s cubic-bezier(0.85, 0, 0.15, 1) forwards 1.8s;
}

@keyframes navDown { to { transform: translateY(0); } }

.nav-content {
    display: flex; justify-content: space-between; align-items: center;
    background: rgba(2, 2, 2, 0.5); backdrop-filter: blur(15px);
    padding: 15px 30px; border-radius: 100px;
    border: 1px solid var(--border);
}

/* Stilimi i logos në Navbar */
.nav-logo {
    height: 40px; /* Rregullo lartësinë sipas logos tënde */
    width: auto;  /* Ruhet proporcioni */
    display: block;
    transition: transform 0.3s ease;
}

.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
}

/* Efekti kur kalon mausin mbi logo */
.nav-logo:hover {
    transform: scale(1.05);
}
.nav-links { display: flex; list-style: none; gap: 30px; align-items: center; }
.nav-links a { color: #aaa; text-decoration: none; font-size: 0.8rem; font-weight: 500; text-transform: uppercase; transition: 0.4s; }
.nav-links a:hover { color: var(--primary); }
.cta-nav { background: var(--primary); color: black !important; padding: 10px 20px; border-radius: 50px; font-weight: 700 !important; }

/* BURGER MENU */
.burger-menu {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.burger-menu span {
    display: block;
    width: 28px;
    height: 2px;
    background: white;
    transition: 0.4s;
}

/* --- HERO SECTION --- */
.hero { 
    height: 100vh; 
    display: flex; 
    align-items: center; 
    padding: 0 8%; 
    position: relative;
    background-image: linear-gradient(rgba(2, 2, 2, 0.6), rgba(2, 2, 2, 0.8)), url('assets/hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hero-inner {
    opacity: 0;
    transform: translateY(40px);
    animation: revealSection 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards 2.2s;
}

.hero-tag { font-size: 0.8rem; text-transform: uppercase; color: var(--primary); letter-spacing: 5px; margin-bottom: 20px; display: block; }
.hero h1 { 
    font-family: 'Syncopate', sans-serif; 
    font-size: clamp(3rem, 10vw, 8rem); 
    line-height: 0.9;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid var(--primary);
    width: 0;
    animation: typing 1.5s steps(20) forwards 2.5s, blink 0.8s infinite, removeBorder 0.1s forwards 4s;
}
.outline { -webkit-text-stroke: 1px white; color: transparent; }
.hero p { max-width: 500px; margin-top: 30px; font-size: 1.1rem; opacity: 0.6; line-height: 1.6; }

.hero-scroll { position: absolute; bottom: 50px; right: 8%; display: flex; align-items: center; gap: 20px; rotate: 90deg; }
.hero-scroll .line { width: 100px; height: 1px; background: var(--primary); }


/* --- ABOUT SECTION --- */
.about-section {
    padding: 120px 6%;
    background: var(--dark);
    display: flex;
    justify-content: center;
}

.about-container {
    max-width: 900px;
    text-align: center;
}

.about-content h2 {
    font-family: 'Syncopate', sans-serif;
    font-size: clamp(1.5rem, 4vw, 2.8rem);
    line-height: 1.2;
    margin-bottom: 30px;
    color: white;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 auto;
}

/* Rregullim për Mobile */
@media (max-width: 900px) {
    .about-section {
        padding: 80px 5%;
    }
    .about-content h2 {
        font-size: 1.8rem;
    }
    .about-content p {
        font-size: 1rem;
    }
}
/* --- BENTO GRID --- */
.bento-grid { 
    display: grid; 
    grid-template-columns: repeat(12, 1fr); 
    grid-auto-rows: 350px; 
    gap: 20px; 
    padding: 100px 6%; 
    opacity: 0;
    transform: translateY(40px);
    animation: revealSection 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.2s;
}

.card { 
    /* Rregullimet për Linkun */
    display: block; 
    text-decoration: none !important; 
    color: #fff !important; /* Detyron ngjyrën e bardhë që të mos dalë blu */
    outline: none;
    
    /* Struktura e Kartës */
    border-radius: 40px; 
    overflow: hidden; 
    position: relative; 
    border: 1px solid var(--border); 
    cursor: pointer;
    
    /* Animacionet e tua origjinale */
    opacity: 0;
    transform: translateY(50px) rotateX(-10deg);
    animation: cardReveal 1s cubic-bezier(0.23, 1, 0.32, 1) forwards;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Sigurohemi që edhe pas klikimit ngjyra të mbetet e bardhë */
.card:visited, .card:active, .card:focus {
    color: #fff !important;
    text-decoration: none !important;
}

/* Për të qenë 100% i sigurt që titujt brenda kartës nuk ndryshojnë */
.card .card-h3, .card p {
    color: #fff !important;
    text-decoration: none !important;
}
/* Shto këtë rregull për të siguruar që titulli nuk bëhet blu (ngjyra default e linkut) */
.card-h3 { 
    color: white; /* Ose çfarëdo ngjyre që ke përdorur më parë */
    font-family: 'Syncopate', sans-serif; 
    font-size: 1.8rem; 
    margin: 10px 0; 
    transition: all 0.3s ease;
}

.card:nth-child(1) { animation-delay: 2.2s; }
.card:nth-child(2) { animation-delay: 2.4s; }
.card:nth-child(3) { animation-delay: 2.6s; }

.grid-large { grid-column: span 8; grid-row: span 2; }
.grid-medium { grid-column: span 4; }
.grid-small { grid-column: span 4; }

/* Backgrounds për kartat */
.card-training { background-image: url('assets/1.png'); background-size: cover; background-position: center; }
.card-web { background-image: url('assets/web.png'); background-size: cover; background-position: center; }
.card-project { background-image: url('assets/photo-1.jpg'); background-size: cover; background-position: center; }

.card-overlay { position: absolute; inset: 0; background: linear-gradient(transparent, rgba(0,0,0,0.8)); transition: 0.5s; }
.card-info { position: absolute; bottom: 40px; left: 40px; z-index: 2; }

.card p { opacity: 0; transform: translateY(10px); transition: 0.5s; font-size: 0.9rem; }

/* Card Hover Efektet */
.card:hover { transform: translateY(-12px) scale(1.02) !important; box-shadow: 0 20px 40px rgba(0, 255, 170, 0.15); border-color: rgba(0, 255, 170, 0.3); }
.card:hover .card-overlay { background: linear-gradient(45deg, rgba(0, 255, 170, 0.1), rgba(0, 0, 0, 0.8)); backdrop-filter: blur(3px); }
.card:hover h3 { color: var(--primary); transform: translateX(10px); }
.card:hover p { opacity: 1 !important; transform: translateY(0) !important; }

/* --- CONTACT SECTION --- */
.contact-section { 
    padding: 150px 6%; 
    opacity: 0;
    transform: translateY(40px);
    animation: revealSection 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.3s;
}
.contact-wrapper { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center; }
.contact-info-text h2 { font-family: 'Syncopate', sans-serif; font-size: 3.5rem; line-height: 1; }
.contact-form-glass { background: var(--glass); border: 1px solid var(--border); padding: 60px; border-radius: 50px; backdrop-filter: blur(20px); }
.input-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.input-group { margin-bottom: 25px; display: flex; flex-direction: column; }
.input-group label { font-size: 0.7rem; color: var(--primary); font-weight: 700; margin-bottom: 10px; }
.input-group input, .input-group textarea { background: rgba(255,255,255,0.05); border: 1px solid var(--border); padding: 15px; border-radius: 12px; color: white; outline: none; }
.submit-btn { width: 100%; padding: 20px; border-radius: 15px; background: var(--primary); font-weight: 800; font-family: 'Syncopate'; cursor: pointer; border: none; overflow: hidden; position: relative; }
.submit-btn::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent); transition: 0.5s; }
.submit-btn:hover::before { left: 100%; }

/* --- FOOTER --- */
.footer { padding: 100px 6% 50px; border-top: 1px solid var(--border); background: linear-gradient(to bottom, var(--dark), #050505); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; opacity: 0; transform: translateY(40px); animation: revealSection 1.2s forwards; }
.footer h4 { font-family: 'Syncopate', sans-serif; font-size: 0.7rem; color: var(--primary); letter-spacing: 3px; margin-bottom: 30px; text-transform: uppercase; }
.footer-links, .footer-social { display: flex; flex-direction: column; gap: 15px; }
.footer a { display: inline-block; color: white; text-decoration: none; opacity: 0.4; font-size: 0.85rem; transition: 0.4s; position: relative; width: fit-content; }
.footer a:hover { opacity: 1; color: var(--primary); transform: translateX(8px); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 40px; border-top: 1px solid var(--border); margin-top: 80px; opacity: 0.4; font-size: 0.75rem; }
.footer-bottom .dot { width: 8px; height: 8px; background: var(--primary); border-radius: 50%; box-shadow: 0 0 15px var(--primary); animation: pulse 2s infinite; }

/* --- KEYFRAMES --- */
@keyframes typing { from { width: 0; } to { width: 100%; } }
@keyframes blink { 50% { border-color: transparent; } }
@keyframes removeBorder { to { border-right: none; } }
@keyframes cardReveal { to { opacity: 1; transform: translateY(0) rotateX(0); } }
@keyframes revealSection { to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.5); opacity: 0.5; } 100% { transform: scale(1); opacity: 1; } }

/* =============================================
   RESPONSIVE (MOBILE)
   ============================================= */
@media (max-width: 900px) {
    html, body { overflow-x: hidden; width: 100%; }

    /* BURGER & NAV */
    .burger-menu {
        display: flex !important;
        position: relative;
        z-index: 2000 !important; /* Më i larti në faqe */
        cursor: pointer;
        padding: 10px; /* E bën zonën e klikimit më të madhe */
    }
	
	.nav-logo {
        height: 35px; /* Pak më e vogël në celular */
    }

    /* Menuja që vjen nga e djathta */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%; 
        width: 100%;
        height: 100vh;
        background: rgba(2, 2, 2, 0.98);
        backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.6s cubic-bezier(0.85, 0, 0.15, 1);
        z-index: 1500; /* Më i ulët se burger-menu (2000) */
    }

    .nav-links.active {
        right: 0 !important;
    }   
    /* Animimi i Burger-it */
    .burger-menu.active span:nth-child(1) { transform: translateY(4px) rotate(45deg); background: var(--primary); }
    .burger-menu.active span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); background: var(--primary); }

    /* HERO RESPONSIVE */
    .hero { 
        height: auto !important; 
        min-height: 0 !important;
        padding-top: 120px !important; 
        padding-bottom: 60px !important; 
        display: flex !important; 
        flex-direction: column; 
        padding-left: 5% !important;
        padding-right: 5% !important;
    }
    .hero-visual { background-attachment: scroll; background-position: 80% center; }
    .hero h1 { font-size: 11vw !important; white-space: normal; width: 100%; border: none; animation: none; display: flex; flex-direction: column; line-height: 1.2; }
    .hero h1 span.outline { display: block !important; margin-top: 10px; }
    .hero-scroll { display: none !important; }
    .hero-inner { transform: none !important; }

    /* BENTO & KARTAT RESPONSIVE */
    .bento-grid { display: flex !important; flex-direction: column !important; gap: 20px !important; padding: 40px 6% !important; }
    .card { width: 100% !important; height: 320px !important; grid-column: auto !important; grid-row: auto !important; }
    .card p { opacity: 0.7 !important; transform: translateY(0) !important; }

    /* KONTAKTI & FOOTER RESPONSIVE */
    .contact-wrapper { grid-template-columns: 1fr; gap: 40px; }
    .contact-info-text h2 { font-size: 2.5rem; }
    .contact-form-glass { padding: 30px 20px; border-radius: 30px; }
    .input-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .footer a { margin: 0 auto; }
    .footer a:hover { transform: translateY(-5px); }
    .footer a::after { left: 50%; transform: translateX(-50%); }
	
	.reveal-overlay {
        /* I japim një lartësi fikse që të mos ndikohet nga shiritat e browser-it */
        height: 100% !important; 
        align-items: center !important;
    }

    .reveal-logo {
        /* KJO E NGJIT LOGON MË LART NË CELULAR */
        /* Nëse do akoma më lart, rrite vlerën psh -80px */
        transform: translateY(-100px) !important; 
    }

    .loader-img {
        width: 80% !important; /* Madhësia në celular */
    }
}