/* RESETIMI BAZË */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #faf9f6; /* NDRYSHIMI 1: Ngjyre kremi (jo e bardhe borë) */
    color: #2a2a2a; /* Gri e erret, jo e zeze totale (me e bute per syte) */
    font-family: 'Lato', sans-serif;
}

/* FONTET KLASIKE */
h1, h2, h3, .logo {
    font-family: 'Playfair Display', serif;
}

/* NAVBAR PA KORNIZA */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 8%;
    background-color: transparent; /* E tejdukshme */
}

.logo {
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: -1px; /* I afron shkronjat pak per stil */
    font-style: italic; /* E ben logon te duket si firme piktori */
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: #2a2a2a;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 400;
    position: relative;
}

/* Vijë e vogël poshtë kur kalon mausin te menuja */
.nav-links a::after {
    content: '';
    display: block;
    width: 0;
    height: 1px;
    background: #000;
    transition: width .3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* HERO SECTION - KETU ËSHTË NDRYSHIMI MADHOR */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 8%; /* Pak me pak hapesire lart */
    min-height: 85vh;
}

.hero-text {
    flex: 1;
    padding-right: 60px;
}

.hero-text h1 {
    font-size: 4.5rem; /* Shkrim gjigand */
    line-height: 1;
    margin-bottom: 40px;
    font-weight: 400;
}

/* Fjalët kyçe me stil Italic */
.hero-text h1 span {
    font-style: italic;
    font-weight: 300;
}

.hero-details .date {
    font-size: 0.75rem;
    letter-spacing: 3px;
    color: #888;
    margin-bottom: 25px;
    text-transform: uppercase;
    border-left: 2px solid #2a2a2a; /* Një vizë e vogël estetike majtas */
    padding-left: 15px;
}

.btn-minimal {
    text-decoration: none;
    background-color: #2a2a2a; /* Buton i mbushur */
    color: #fff;
    padding: 15px 40px;
    border-radius: 50px; /* Buton i rrumbullakosur totalisht */
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.3s;
    display: inline-block;
}

.btn-minimal:hover {
    transform: translateY(-5px); /* Ngrihet pak lart kur e prek */
    background-color: #000;
}

/* NDRYSHIMI 2: FOTOJA ME HARK (ARCH SHAPE) */
.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 600px; /* Lartesi fikse */
    object-fit: cover;
    /* Kjo bën magjinë: Rrumbullakos vetëm pjesën e sipërme */
    border-radius: 300px 300px 0 0; 
    box-shadow: 20px 20px 0px rgba(0,0,0,0.05); /* Hije solide estetike */
}

/* EXHIBITIONS */
.exhibitions {
    padding: 120px 8%;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 80px;
    font-weight: 400;
    text-align: center;
    font-style: italic;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* Karta e pikturës */
.art-card {
    text-align: left; /* Teksti majtas, jo ne mes */
    cursor: pointer;
}

/* NDRYSHIMI 3: EFEKTI ZOOM TE FOTOT */
.art-card .img-wrapper {
    overflow: hidden; /* Qe fotoja mos dali jashte kornizes kur zmadhohet */
    margin-bottom: 20px;
}

.art-card img {
    width: 100%;
    height: 350px; /* Pikturat pak me te gjata vertikalisht */
    object-fit: cover;
    transition: transform 0.6s ease; /* Levizje e bute */
    display: block;
}

.art-card:hover img {
    transform: scale(1.1); /* Zmadhohet pak kur i kalon mausin */
}

.art-card h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-weight: 500;
}

.art-card p {
    font-size: 0.9rem;
    color: #666;
    font-family: 'Lato', sans-serif;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 50px 0;
    border-top: 1px solid #ddd;
    margin-top: 50px;
    font-size: 0.9rem;
    color: #888;
}

/* TABLET DHE CELULAR */
@media (max-width: 768px) {
    .hero-section {
        flex-direction: column-reverse; /* Fotoja del lart në celular, teksti poshtë */
        padding: 40px 5%;
        text-align: center;
    }

    .hero-text {
        padding-right: 0;
        margin-top: 40px;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .hero-image img {
        height: 400px;
        border-radius: 200px 200px 0 0; /* Hark pak me i vogel ne celular */
    }

    .grid-container {
        grid-template-columns: 1fr; /* 1 kolone ne celular */
    }
}

/* STILI PER MENUNE MOBILE */
.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .line {
    width: 25px;
    height: 2px;
    background-color: #333;
    margin: 5px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .hamburger {
        display: block; /* Shfaq hamburgerin vetem ne celular */
        z-index: 100;
    }

    .nav-links {
        position: fixed;
        background: #faf9f6;
        height: 100vh;
        width: 100%;
        top: 0;
        left: 0;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(100%); /* E fsheh menune djathtas */
        transition: transform 0.5s ease-in;
        z-index: 90;
    }

    /* Kur klikojme, klasa 'active' e sjell menune ne ekran */
    .nav-links.active {
        transform: translateX(0%);
    }

    .nav-links a {
        font-size: 1.5rem; /* Shkronja te medha ne celular */
    }
}

/* KONTAKTI NE HOME PAGE */
.contact-section {
    padding: 100px 8%;
    background-color: #f4f3f0; /* Pak me e erret se sfondi kryesor per kontrast */
    text-align: center;
}

.contact-container {
    max-width: 600px; /* E ngushtojme qe te duket elegante ne mes */
    margin: 0 auto;
}

.contact-subtitle {
    font-family: 'Lato', sans-serif;
    color: #666;
    margin-bottom: 40px;
    font-size: 1rem;
    margin-top: -60px; /* E afron pak me titullin lart */
}

/* INPUTET E FORMES */
.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input, 
.contact-form textarea {
    width: 100%;
    padding: 15px;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #ccc; /* Vetem vize poshte, shume minimaliste */
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

/* Kur klikon te fusha, viza behet e zeze */
.contact-form input:focus, 
.contact-form textarea:focus {
    border-bottom: 1px solid #2a2a2a;
}

/* Butoni Send */
.btn-contact {
    margin-top: 20px;
    width: 100%; /* Butoni sa gjithe gjeresia */
    border: none;
    cursor: pointer;
    background-color: #2a2a2a;
}