/* --- Global Styles & Variables --- */
:root {
    --primary-color: #0056b3; /* Dark Blue */
    --secondary-color: #007bff; /* Lighter Blue */
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --white-color: #ffffff;
    --font-family: 'Poppins', sans-serif;
    --header-height: 80px;
}

/* --- Resets --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--dark-color);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.0rem;
    font-weight: 600;
}

.bg-light {
    background-color: var(--light-color);
}

/* --- Header & Navigation --- */
.header {
    background-color: var(--white-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.nav-logo img {
    height: 50px; /* Adjust as needed */
}

.nav-logo {
    position: relative; /* Nevojitet për të përdorur 'left' */
    left: 0.4cm; /* Zhvendos logon 1cm djathtas */
    /* Kodi i vjetër */
    margin-left: 0.3rem; /* ~1cm hapësirë majtas */
}

/* Alternativa më profesionale */
.navbar {
    padding: 0 2.0rem; /* Shton hapësirë në të dy anët e header-it */
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-weight: 400; /* Pesha e shkronjave */
    text-transform: uppercase; /* **SHKRONJA TË MËDHA** */
    color: #002D62; /* **NGJYRA BLU E ERRËT** */
    font-size: 0.6rem; /* Rregullim i lehtë i madhësisë */
    transition: color 0.3s ease; /* Tranzicion i butë i ngjyrës */
}

/* Stili për menunë aktive, kur mbahet kursori mbi të, dhe kur fokusohet (për aksesueshmëri) */
.nav-link.active,
.nav-link:hover,
.nav-link:focus {
    color: #000000; /* **NGJYRA E ZEZË** */
}

.nav-link {
    font-weight: 400;
    color: var(--dark-color);
    font-size: 0.7rem;
}

.nav-link.active, .nav-link:hover {
    color: var(--primary-color);
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-right: 15px;
}

.language-switcher img {
    width: 24px;
    height: 16px;
    border-radius: 3px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.language-switcher .lang-link.active img {
     border-color: var(--primary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--dark-color);
    transition: all 0.3s ease-in-out;
}

/* Shtojeni ose modifikojeni këtë brenda media query-t tuaj (p.sh., @media (max-width: 992px)) */
.nav-menu.active {
    /* ... stilet ekzistuese ... */
    display: flex; /* Sigurohuni që është flexbox */
    flex-direction: column; /* E ruan si kolonë */
    align-items: flex-end; /* **Ky është ndryshimi kryesor: Rreshton elementet djathtas** */
    padding-left: 30px; /* Shton pak hapësirë nga skaji i djathtë */
}

.nav-menu.active .nav-item {
    text-align: left; /* Siguron që teksti brenda çdo linku të jetë djathtas */
    width: 100%;
}

/* --- Hero Section --- */
.hero {
    height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white-color);
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero {
    /* Lartësia e reduktuar për desktop */
    height: 75vh; /* Zvogëlohet nga 100vh në 75% të lartësisë së ekranit */
    min-height: 550px; /* Siguron një lartësi minimale në ekrane të gjata */
    display: flex;
    align-items: center;
    /* ... stilet e tjera mbeten të njëjta ... */
}

.hero-content h1 {
    /* Zvogëlim i lehtë i titullit për një pamje më kompakte */
    font-size: 3rem; /* Ishte 3.5rem */
}

.hero-content p {
    font-size: 1.1rem; /* Ishte 1.2rem */
}

/* Për versionin celular */
@media (max-width: 768px) {
    .hero {
        height: 60vh; /* Edhe më kompakt në celular */
        min-height: 450px;
    }
    
    .hero-content h1 {
        font-size: 2rem; /* Titulli përshtatet për ekranin e vogël */
    }
    .nav-logo {
        position: relative; /* Nevojitet për të përdorur 'left' */
        left: 0,3cm; /* Zhvendos logon 1cm djathtas */
    }
}

.btn {
    padding: 12px 28px;
    border-radius: 5px;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--white-color);
}

.btn-secondary {
    background-color: var(--white-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}


/* --- Services Overview --- */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    text-align: center;
    padding: 30px;
    background-color: var(--white-color);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.service-card p {
    margin-bottom: 20px;
}

.learn-more {
    font-weight: 600;
}

/* --- Portfolio --- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.project-card img {
    width: 100%;
    transition: transform 0.4s ease;
}

.project-card:hover img {
    transform: scale(1.1);
}

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--white-color);
    padding: 40px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.project-card:hover .project-info {
    transform: translateY(0);
}

.project-info h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

/* --- Why Choose Us --- */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    text-align: center;
}

.feature-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}


/* --- CTA Banner --- */
.cta-banner {
    background-color: var(--primary-color);
    color: var(--white-color);
    text-align: center;
    padding: 60px 0;
}

.cta-banner h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-banner p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* --- Footer --- */
.footer {
    background-color: var(--dark-color);
    color: #ccc;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-col h4 {
    font-size: 1.2rem;
    color: var(--white-color);
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a, .footer-col p {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--white-color);
    padding-left: 5px;
}
.footer-col p i {
    margin-right: 10px;
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid #555;
    border-radius: 50%;
    color: #ccc;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color);
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: var(--header-height);
        flex-direction: column;
        background-color: var(--white-color);
        width: 100%;
        height: calc(100vh - var(--header-height));
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        gap: 10px;
        padding-top: 10px;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 1rem 0;
    }
    
    .nav-link {
        font-size: 0.8rem;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .grid-4, .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .grid-4, .grid-3, .portfolio-grid, .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }
}