/* RESET I OSNOVNE POSTAVKE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: #f4f5f7; /* Blaga siva pozadina za prezentaciju */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #1a1f26; /* Tamna siva za bolju čitljivost */
}

/* KONTEJNER APLIKACIJE (Oponaša mobilni ekran) */
.app-container {
    width: 100%;
    max-width: 420px; /* Standardna širina mobilnog ekrana */
    height: 100vh;
    max-height: 900px; /* Standardna visina mobilnog ekrana */
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* Na pravim mobitelima makni ograničenja visine i sjene */
@media (max-width: 450px) {
    .app-container {
        /*max-height: 100vh;*/
        box-shadow: none;
    }
}

/* ZAGLAVLJE S LOGOM I JEZICIMA */
.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    z-index: 10;
    background-color: #ffffff;
}

.logo {
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: -0.5px;

}

/*.img-logo{
    max-width: 150px;
}*/

.logo span {
    color: rgb(12, 205, 83); /* Glavna brend boja (zelena) */
}

.lang-selector {
    display: flex;
    gap: 8px;
}

.lang-btn {
    background: none;
    border: 1px solid #0ccd53;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    color: #626d7c;
    transition: all 0.2s ease;
    text-decoration: none;
}

.lang-btn.active {
    background-color: #009537;
    color: #ffffff;
    border-color: #009537;
}

/* GLAVNI SADRŽAJ */
.welcome-screen {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0 20px;
}

/* HERO SLIKA */
.hero-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    position: relative;
    margin-bottom: 24px;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(195, 255, 112, 0) 50%, rgba(34, 185, 0, 0.2) 100%);
    border-radius: 16px;
}

/* TEKST DOBRODOŠLICE */
.welcome-text h1 {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.welcome-text p {
    font-size: 1rem;
    color: #626d7c;
    line-height: 1.5;
    text-align: justify;
}

/* PODNOŽJE I GLAVNI GUMB */
.app-footer {
    padding: 20px;
    background-color: #ffffff;
}

.btn-primary {
    display: block;
    width: 100%;
    background-color: #0ccd53; /* Plava boja za privlačenje pogleda */
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    padding: 16px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.05rem;
    box-shadow: 0px 4px 12px rgba(0, 122, 255, 0.2);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn-primary:active {
    transform: scale(0.98); /* Efekt pritiska na mobitelu */
    background-color: #009537;
}


/* STILOVI ZA GLAVNI IZBORNIK */
.main-menu {
    flex: 1;
    padding: 0 20px;
    overflow-y: auto; /* Omogućuje skrolanje ako ima puno sadržaja */
}

.back-btn {
    text-decoration: none;
    font-size: 1.4rem;
    color: #1a1f26;
    cursor: pointer;
}

.room-number {
    font-size: 0.9rem;
    background-color: #f0f2f5;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
    color: #626d7c;
}

/* WI-FI KARTICA */
.wifi-card {
    background: linear-gradient(135deg, rgb(0, 149, 55), rgb(12, 205, 83));
    color: #ffffff;
    padding: 16px;
    border-radius: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.15);
}

.wifi-label {
    font-size: 1.5rem;
    /*text-transform: uppercase;*/
    letter-spacing: 0.5px;
    opacity: 0.9;
    margin-bottom: 6px;
}

.wifi-data {
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.wifi-icon {
    font-size: 1rem;
}

/* Gumb za kopiranje lozinke */
.copy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #286b38;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    width: 100%;
    margin-top: 15px;
    transition: background-color 0.2s, transform 0.1s;
    -webkit-tap-highlight-color: transparent;
}

.copy-btn:active {
    transform: scale(0.97);
    background-color: #2d8040;
}

/* Ikona unutar gumba */
.copy-btn svg {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    fill: currentColor;
}




/* AKORDEON (MENIJI JEDAN ISPOD DRUGOG) */
.accordion-container {
    display: flex;
    flex-direction: column;
    gap: 12px; /* Razmak između menija */
    margin-bottom: 80px; /* Prostor da donji izbornik ne prekrije sadržaj */
}

.accordion-item {
    background-color: #ffffff;
    border: 1px solid #e1e4e8;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: #1a1f26;
    cursor: pointer;
    transition: background-color 0.2s;
}

.accordion-header:active {
    background-color: #f8f9fa;
}

.accordion-header .arrow {
    font-size: 0.8rem;
    color: #a0aec0;
    transition: transform 0.3s ease;
}

/* Skriveni sadržaj po zadanim postavkama */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 18px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.6;
    background-color: #fafbfc;
}

.accordion-content p {
    margin-bottom: 10px;
}

/* AKTIVNO STANJE (KADA SE OTVORI) */
.accordion-item.active {
    border-color: rgb(12, 205, 83);
    box-shadow: 0 4px 12px rgba(150, 121, 121, 0.03);
}

.accordion-item.active .accordion-header {
    background-color: #fdfdfd;
}

.accordion-item.active .arrow {
    transform: rotate(180deg);
    color: rgb(12, 205, 83);
}

.accordion-item.active .accordion-content {
    max-height: 300px; /* Maksimalna visina do koje se otvara */
    padding: 16px 18px;
    border-top: 1px solid #f0f2f5;
}

.maps-link {
    display: inline-block;
    color: rgb(12, 205, 83);
    text-decoration: none;
    font-weight: 500;
    margin-top: 6px;
    
}

/* FIKSNI DONJI NAVIGACIJSKI MENU */
.bottom-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 65px;
    background-color: #ffffff;
    border-top: 1px solid #e1e4e8;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 20;
    
}

.nav-item {
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1.1rem;
    color: #a0aec0;
    cursor: pointer;
    text-decoration: none;
    
}

.nav-text {
    font-size: 0.65rem;
    font-weight: 500;
    margin-top: 2px;
    
}

.nav-item:hover {
    color: rgb(12, 205, 83);
}

