/* ==========================================
   GOOGLE FONTS & BASE RESET
========================================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    --primary: #FF416C;
    --secondary: #E52D27;
    --purple: #652D90;
    --dark: #0f020a;
    --dark-gradient: linear-gradient(135deg, #0f020a 0%, #1a0310 50%, #2d0315 100%);
    --card-bg: rgba(32, 3, 20, 0.6);
    --white: #ffffff;
    --text-muted: #bfa3b1;
    --shadow: 0 15px 40px rgba(0,0,0,.35);
    --radius: 16px;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--dark-gradient);
    color: var(--white);
    overflow-x: hidden;
    min-height: 100vh;
}

img {
    width: 100%;
    display: block;
}

section {
    padding: 120px 8% 80px;
}

/* Seksionet standarde të titujve */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title span {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 700;
    font-size: 14px;
}

.section-title h2 {
    color: var(--white);
    font-size: 3rem;
    margin-top: 12px;
    font-weight: 800;
}

/* ==========================================
   UNIFIED PREMIUM NAVBAR
========================================== */
/* Navbar e fiksuar në krye të faqes */
.main-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: rgba(6, 2, 9, 0.95); /* Ngjyrë e errët e ngjashme me foton */
    backdrop-filter: blur(10px); /* Efekt xhami i turbullt në sfond */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 9999; /* Siguron që navbar të qëndrojë gjithmonë mbi elementet e tjera */
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

/* Kontejneri që mban elementet të rreshtuara dhe të kufizuara në gjerësi max */
.navbar-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

/* --- LOGO STYLING --- */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    height: 65px; /* Rregulloje sipas madhësisë së logos tënde */
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: 'Georgia', serif;
    font-size: 1.8rem;
    font-weight: bold;
    color: #ffffff;
    letter-spacing: 2px;
    line-height: 1;
}

.logo-subtitle {
    font-size: 0.65rem;
    color: #d1c7d4;
    letter-spacing: 3px;
    margin-top: 4px;
    font-weight: 600;
}

/* --- MENUJA (QENDËR) --- */
.nav-menu {
    display: flex;
    gap: 30px; /* Hapësira midis linkeve */
}

.nav-menu a {
    text-decoration: none;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    transition: color 0.3s ease;
    padding: 8px 0;
}

/* Efekti kur kalon miun (Hover) */
.nav-menu a:hover {
    color: #db244f; 
}

/* Linku Aktiv (p.sh. REGISTER) */
.nav-menu a.active {
    color: #db244f;
    border-bottom: 2px solid #db244f;
}

/* --- AKSIONET DHE BUTONAT  --- */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

/* Ikonat Sociale */
.social-icons {
  
    gap: 18px;
    display: inline-flex;
}

.social-icons a {
    color: #ffffff;
    font-size: 1.05rem;
    transition: transform 0.2s ease, color 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    flex-shrink: 0;
}

.social-icons a:hover {
    color: #db244f;
    transform: scale(1.15);
}

/* Butoni JOIN US me Gradient */
.btn-join {
    text-decoration: none;
    background: linear-gradient(135deg, #e63917 0%, #a81c3c 50%, #681875 100%);
    color: #ffffff;
    padding: 10px 24px;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 10px;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(230, 57, 23, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-join:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 57, 23, 0.4);
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1024px) {
    .navbar-container {
        padding: 0 20px;
    }
    .nav-menu {
        gap: 15px;
    }
    .nav-actions {
        gap: 15px;
    }
}

/* ==========================================
   HERO SECTION
========================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    /* Përmirësuar: Overlay më i errët që rrit kontrastin e tekstit dhe nxjerr në pah ngjyrat e logos */
    background: linear-gradient(rgba(12, 3, 9, 0.65), rgba(12, 3, 9, 0.9)), url("media/home.jpeg");
    background-size: cover;
    background-position: center;
    text-align: center;
    padding-top: 125px;
}

.hero-content {
    max-width: 850px; /* Pak më i gjerë që teksti të marrë frymë */
    z-index: 2;
    padding: 0 20px;
}

.hero-subtitle {
    color: #8d093d; /* E bardhë ose gold i lehtë për më shumë klas */
    letter-spacing: 6px;
    font-weight: 800; /* Qëndron bold dhe i fuqishëm */
    text-transform: uppercase;
    font-size: 13px;
    margin-bottom: 1px;
    display: inline-block;
    
    /* Heqim mjegullën e madhe dhe lëmë vetëm një hije të hollë të zezë për kontrast */
    text-shadow: 1px 1px 3px rgba(78, 69, 69, 0.8);
}


.hero h1 {
    /* Sugjerim: Font Serif si 'Playfair Display' ose 'Georgia' i jep ndjesi më artistike/akademike */
    font-family: 'Playfair Display', 'Georgia', serif; 
    font-size: 4.8rem; /* Pak më i madh për dominim vizual */
    font-weight: 700;
    line-height: 1.15;
    margin: 20px 0 30px;
    color: #f7f5f2;
    letter-spacing: -1px; /* Efekt modern editorial */
}

.hero h1 span {
    /* Gradienti yt aktual, sigurohu që në HTML të kesh: <span>Home.</span> */
    background: linear-gradient(to right, var(--primary), #d94a31);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 0.9rem;
    color: #ded5da; /* Ngjyrë pak më e pastër për lexueshmëri maksimale */
    line-height: 1.8;
    max-width: 680px;
    margin: 0 auto 50px;
}

/* BUTTONS */
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Që të rreshtohen mirë edhe në celular */
}

.btn {
    
    background: linear-gradient(135deg, #d32e15 0%, #a62246 50%, #701b73 100%);
    color: #ffffff;
    font-family: 'Poppins', sans-serif; /* ose fonti që përdor në web */
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 15px 40px; /* Hapësira e brendshme: lart/poshtë dhe majtas/djathtas */
    border: none;
    border-radius: 50px; /* E bën komplet të rrumbullakosur në anë */
    cursor: pointer;
    box-shadow: 0px 4px 20px rgba(230, 57, 70, 0.3); /* Hije e lehtë */
    transition: transform 0.2s ease, opacity 0.2s ease;
    text-decoration: none;
    display: inline-flex;
}

.btn:hover {
    transform: scale(1.03); 
    opacity: 0.96;
}


.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    border: 2px solid rgba(182, 73, 124, 0.25);
    color: var(--white);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all .35s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
}

.btn-secondary:hover {
    border-color: #a83a7e; /* Në vend të ngjyrës primary, e bardha krijon kontrast më elegant */
    background: rgba(211, 211, 119, 0.1);
    transform: translateY(-4px);
}

/* ==========================================
   ABOUT SECTION
========================================== */
.about {
    background: #0c0208;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 362px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: .45s;
    margin-bottom: 60px;
}

.about-image::after {
    content: "";
    position: absolute;
    width: 140px;
    height: 140px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(135deg, var(--primary), var(--purple));
    border-radius: var(--radius);
    z-index: -1;
}

.about-image img:hover {
    transform: scale(1.02);
}

.about-text {
    background: rgba(182, 59, 87, 0.4);
    border: 1px solid rgba(137, 59, 77, 0.1);
    backdrop-filter: blur(10px);
    color: var(--white);
    padding: 70px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.about-text h3 {
    font-size: 2.3rem;
    font-weight: 800;
    margin-bottom: 25px;
}

.about-text p {
    color: #a5969d;
    line-height: 1.8;
    margin-bottom: 22px;
    font-size: 16px;
}


/* ==========================================
   WHY US / FEATURES (KARTAT)
========================================== */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 65, 108, 0.1);
    backdrop-filter: blur(10px);
    padding: 45px 30px;
    text-align: center;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: .35s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    background: rgba(32, 3, 20, 0.8);
}

.feature-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 14px;
}

/* ==========================================
   CLASSES & TEACHERS & GALLERY
========================================== */
.class-grid, .teacher-grid, .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
}

.class-card, .teacher-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 65, 108, 0.1);
    backdrop-filter: blur(10px);
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: .35s;
}

.class-card:hover, .teacher-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.class-card img, .teacher-card img {
    height: 260px;
    width: 100%;
    object-fit: cover;
}

.teacher-card img {
    height: 320px;
}

.class-content {
    padding: 25px;
}

.class-content h3, .teacher-card h3 {
    margin-bottom: 12px;
    font-size: 22px;
    font-weight: 700;
    text-align: center;
}

.class-content p, .teacher-card p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 14px;
}

.teacher-card span {
    color: var(--primary);
    font-weight: 700;
    display: block;
    margin: 8px 0 15px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-grid img {
    height: 280px;
    object-fit: cover;
    border-radius: var(--radius);
    cursor: pointer;
    transition: .35s;
    box-shadow: var(--shadow);
}

.gallery-grid img:hover {
    transform: scale(1.04);
}

/* ==========================================
   CONTACT SECTION
========================================== */
.contact-container {
    max-width: 700px;
    margin: auto;
}

.contact-info {
    background: var(--card-bg);
    border: 1px solid rgba(255, 65, 108, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-info div {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-info div:last-child {
    margin-bottom: 0;
}

.contact-info i {
    width: 55px;
    height: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: var(--white);
    border-radius: 50%;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(255, 65, 108, 0.3);
}

.contact-info h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.contact-info p {
    color: var(--text-muted);
    font-size: 14px;
}

/* ==========================================
   FOOTER
========================================== */
footer {
    margin-top: 80px;
    background: #070105;
    color: var(--white);
    text-align: center;
    padding: 60px 20px;
    border-top: 1px solid rgba(255, 65, 108, 0.05);
}

.footer-content {
    max-width: 900px;
    margin: auto;
}

.footer-content h2 {
    font-weight: 800;
    margin-bottom: 15px;
}

.footer-content p {
    color: var(--text-muted);
    line-height: 1.8;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin: 30px 0;
}

.social-links a {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    text-decoration: none;
    transition: .3s;
}

.social-links a:hover {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 65, 108, 0.4);
}

.copyright {
    margin-top: 35px;
    font-size: .9rem;
    color: rgba(255, 255, 255, 0.3);
}

/* ==========================================
   RESPONSIVE DESIGN (MOBILE & TABLET)
========================================== */
@media(max-width: 992px) {
    .hero {
        padding-top: 130px;
    }
    .hero h1 {
        font-size: 3.2rem;
    }
    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-image img {
        height: 400px;
    }
}

@media(max-width: 768px) {
    .nav-links, .nav-actions .social-icons {
        display: none; /* Msheh elementet shtesë për celularë */
    }
    .menu-btn {
        display: block;
    }
    .section-title h2 {
        font-size: 2.2rem;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .btn{
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100% !important; 
        max-width: 280px; 
        margin: 0 auto;
        text-indent: 0 !important;
    }
     .btn-secondary {
        width: 100%;
        max-width: 280px;
    }
}

@media(max-width: 480px) {
    section {
        padding: 80px 20px 50px;
    }
    .navbar {
        width: 95%;
    }
}

/* --- HAMBURGER MENU PËR HTML TËND --- */

/* Fshihet në kompjuter */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 26px;
    cursor: pointer;
    z-index: 1005;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block; /* Shfaqet vetëm në celular */
    }

    /* Ndryshojmë menunë tënde aktuale që të kthehet në bllok vertikal */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%; /* E fsheh menunë djathtas */
        width: 260px;
        height: 100vh;
        background-color: #110307; /* Përshtatet me ngjyrën tënde të errët */
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
        transition: right 0.3s ease-in-out;
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
    }

    /* Kur menuja hapet */
    .nav-menu.active {
        right: 0;
    }

    .nav-menu a {
        font-size: 18px;
        width: 100%;
        text-align: center;
        padding: 8px 0;
    }

    /* Shfaqim butonin JOIN US vetëm brenda menusë në celular */
    .mobile-only-actions {
        display: block !important;
    }

    /* Fshehim pjesën e djathtë të veprimeve (socials + join us) që të mos përplasen në navbar */
    .nav-actions {
        display: none !important;
    }
}
/* --- STILIMI I IKONAVE TË KONTAKTIT (RRATHE PERFEKTË) --- */

/* Targetojmë div-at brenda bllokut të kontaktit që të rreshtohen bukur */
.contact-info > div {
    display: flex;
    align-items: center;
    gap: 15px;            /* Hapësira midis rrethit të ikonës dhe tekstit */
    margin-bottom: 20px;  /* Distanca vertikale midis rreshtave */
}

/* Stili i rrethit të kuq për ikonat */
.contact-info i {
    background-color: #ff3b5c;   /* Ngjyra jote e kuqe/rozë e ndezur */
    color: #ffffff;              /* Ikona brenda do të jetë e bardhë */
    
    /* Gjerësia dhe lartësia ekzaktesisht të barabarta */
    width: 50px !important;
    height: 50px !important;
    
    /* NDALON shtypjen ose deformimin e rrethit në celular */
    flex-shrink: 0 !important;
    
    /* Krijon rrethin perfekt */
    border-radius: 50% !important;
    
    /* Qendërzon ikonën fiks në mes të rrethit */
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    
    font-size: 18px;             /* Madhësia e vetë ikonës */
    box-shadow: 0 0 15px rgba(255, 59, 92, 0.4); /* Efekt shkëlqimi i lehtë */
}