* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #0d0f12; /* Globoka mat sivo-črna (Ozadje studia, kjer les zasije) */
    color: #f3f4f6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Računalniško generirana digitalna mrežica v kodi (0% upočasnitve za Google) */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem;
    background-image: linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px), 
                      linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* ==========================================================================
   2. UNIFICIRANA GLAVA IN ČISTI NAVIGACIJSKI MENI (ZA VSE STRANI)
   ========================================================================== */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
    padding-bottom: 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #4ade80, #b48a6d); /* Tehno kiber-zelena v barvo lesa */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

/* POPRAVLJENO: Čisti stil povezav brez kakršnih koli avtomatskih ikon v CSS-u */
.nav-link {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem; /* Razmik med ikono in tekstom */
    transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: #ffffff;
}

/* Gumb / preklopnik jezikov */
.lang-switch {
    border: 1px solid #374151;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    background: transparent;
    color: #b48a6d;
    transition: all 0.2s ease;
}

.lang-switch:hover {
    border-color: #ffffff;
    color: #ffffff;
}
.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr; /* Tekst levo ima več prostora */
    gap: 5rem;
    align-items: start;
    max-width: 1000px;
    margin: auto;
    width: 100%;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(180, 138, 109, 0.1);
    border: 1px solid rgba(180, 138, 109, 0.2);
    color: #b48a6d; /* Naravna, topla tobak rjava barva lesa */
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -1px;
    color: #ffffff;
}

h1 span {
    color: #b48a6d; /* Beseda LES ali posebne besede zasijejo */
}

p {
    font-size: 1.15rem;
    color: #9ca3af;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Seznami dejavnosti */
.work-list {
    list-style: none;
    margin: 2rem 0;
    padding-left: 0;
}

.work-list li {
    font-size: 1.1rem;
    color: #d1d5db;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.work-list li strong {
    color: #b48a6d;
}

/* Okvirji za velike slike v o-nas ali indexu */
.hero-image-wrapper {
    width: 100%;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #1e222b;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   4. ČISTA FAQ STRUKTURA (STRAN: FAQ)
   ========================================================================== */
.faq-clean-container {
    max-width: 800px;
    margin: auto;
    width: 100%;
    padding: 2rem 0;
}

.faq-item {
    border-bottom: 1px solid #1e222b;
    padding: 2.5rem 0;
}

.faq-title-text {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    line-height: 1.3;
}

.faq-answer-static p {
    color: #9ca3af;
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}
.gallery-container {
    max-width: 1000px;
    margin: auto;
    width: 100%;
    padding: 2rem 0;
}

.gallery-intro {
    color: #9ca3af;
    font-size: 1.15rem;
    margin-bottom: 3rem;
    max-width: 800px;
    line-height: 1.6;
}

/* Prilagodljiva odzivna mreža za slike */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    justify-content: center;
}

/* Okvirji za slike, stisnjeni točno na 280x280 po AI pravilih */
.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #1e222b;
    width: 280px;
    height: 280px;
    margin: 0 auto;
    cursor: pointer;
    background-color: #050608; /* Črno ozadje za zapolnitev praznih robov pomanjšane slike */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    transition: border-color 0.2s ease;
}

.gallery-item:hover {
    border-color: #b48a6d;
}

/* REŠITEV PROTI OBREZOVANJU: Slika se pomanjša in se cela stisne v kvadrat */
.gallery-item img, .faq-thumb-container img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Nujno: prepreči rezanje robov in ohrani originalno obliko */
    padding: 6px;
}

/* Kontejner za male slike znotraj tekstovnih polj (v FAQ ali O nas) */
.faq-thumb-container {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.faq-thumb-container img {
    border-radius: 8px;
    border: 1px solid #1e222b;
    max-width: 280px;
    max-height: 280px;
}

/* FULLSCREEN PRESTIŽNI MODAL ZA LISTANJE ČEZ CEL ECKAN */
.lightbox-modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background-color: rgba(5, 6, 8, 0.98);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border: none;
    outline: none;
}

/* Gumb za zapiranje (X) desno zgoraj */
.close-lightbox {
    position: absolute;
    top: 1.5rem; right: 1.5rem;
    color: #ffffff;
    font-size: 3.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    font-weight: 300;
}

.close-lightbox:hover {
    color: #b48a6d;
}

/* ==========================================================================
   6. SODOBNI KONTAKTNI OBRAZCI (STRAN: KONTAKT)
   ========================================================================== */
.contact-form {
    width: 100%;
    margin-top: 2rem;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.2rem;
    background: #b48a6d;
    color: #0d0f12;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: transform 0.2s ease, background 0.2s ease;
    box-shadow: 0 4px 20px rgba(180, 138, 109, 0.15);
}

.cta-btn:hover {
    transform: translateY(-2px);
    background: #c5A085;
}

.hero-footer {
    text-align: center;
    color: #4b5563;
    font-size: 0.85rem;
    padding-top: 4rem;
}

/* ==========================================================================
   7. STROGI RESPONSIVE ZA MOBITELE IN TABLICE
   ========================================================================== */
@media (max-width: 1024px) {
    header {
        max-width: 100%;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr; /* Na telefonih gre vse v en stolpec spodaj */
        text-align: center;
        gap: 3rem;
    }
    
    h1 {
        font-size: 2.4rem;
        text-align: center;
    }
    
    .badge {
        display: block;
        width: max-content;
        margin: 0 auto 1.5rem auto;
    }
    
    .hero-image-wrapper {
        height: 350px;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .faq-clean-container, .gallery-container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .faq-thumb-container {
        flex-direction: column; /* Male slikice gredo na mobitelu ena pod drugo */
        align-items: center;
    }
    
    nav {
        display: none; /* Skrije meni na mobitelih za mobilno hamburger izvedbo */
    }
}