/*
Theme Name: Explore Balkan
Version: 1.2
*/

:root {
    --primary: #f7941d;
    --secondary: #78b13f;
    --dark: #2c3e50;
    --white: #ffffff;
}

body { font-family: sans-serif; margin: 0; background: #f9f9f9; }

header { 
    background: var(--white); padding: 15px 5%; display: flex; 
    justify-content: space-between; align-items: center; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); sticky: top; z-index: 1100;
}

.logo { font-weight: 800; color: var(--primary); font-size: 22px; text-transform: uppercase; text-decoration: none; }

#map { height: calc(100vh - 70px); width: 100%; z-index: 10; }

.modal-form {
    position: fixed; z-index: 9999; top: 50%; left: 50%; 
    transform: translate(-50%, -50%); background: var(--white); 
    padding: 30px; border-radius: 20px; box-shadow: 0 15px 50px rgba(0,0,0,0.2);
    display: none; width: 90%; max-width: 400px;
}

input, select, textarea { width: 100%; margin-bottom: 15px; padding: 12px; border: 2px solid #eee; border-radius: 10px; }

.btn-submit { background: var(--primary); color: #fff; border: none; padding: 15px; border-radius: 30px; cursor: pointer; width: 100%; font-weight: bold; }

.star:hover { transform: scale(1.2); transition: 0.2s; }

/* Legenda */
.map-legend {
    background: white; padding: 12px; border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); font-size: 13px;
}
.map-legend div { display: flex; align-items: center; margin-bottom: 5px; }
.map-legend i { width: 12px; height: 12px; border-radius: 50%; margin-right: 8px; display: inline-block; }

.icon-restoran { background: #e74c3c; }
.icon-kafic { background: #f39c12; }
.icon-priroda { background: #2ecc71; }
.icon-plaza { background: #3498db; }
.icon-benzinska { background: #7f8c8d; }

.location-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
}

.filter-bar input, .filter-bar select {
    border: 2px solid #f1f1f1;
    transition: 0.3s;
}

.filter-bar input:focus {
    border-color: var(--primary);
}

/* Sakrij sve tabove po defaultu */
    .tab-pane { 
        display: none; 
    }

    /* Prikaži samo onaj koji ima klasu .active */
    .tab-pane.active { 
        display: block !important; 
        animation: fadeIn 0.4s ease; 
    }

    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    /* Stil za aktivni gumb */
    .tab-link.active { 
        color: var(--primary-orange) !important; 
    }
    .tab-link.active::after { 
        content: ''; 
        position: absolute; 
        bottom: -2px; 
        left: 0; 
        width: 100%; 
        height: 2px; 
        background: var(--primary-orange); 
    }
    
    .mood-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.mood-item {
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 120px;
    text-align: center;
}

.mood-icon {
    width: 80px;
    height: 80px;
    background: #fcfcfc;
    border: 2px solid #eee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.mood-item span {
    font-weight: 700;
    font-size: 14px;
    color: #444;
    display: block;
}

/* Hover efekti - izmjena boja prema tvojoj temi */
.mood-item:hover .mood-icon {
    transform: translateY(-10px);
    border-color: #039be5; /* Tvoja plava */
    background: #fff;
    box-shadow: 0 15px 30px rgba(3, 155, 229, 0.2);
}

.mood-item:nth-child(even):hover .mood-icon {
    border-color: #f7941d; /* Tvoja narančasta */
    box-shadow: 0 15px 30px rgba(247, 148, 29, 0.2);
}

.mood-item:hover span {
    color: #000;
}

