/* Minimalisticki stil - Google inspiracija */
* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
}
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    color: #202124;
}


.search-container {
    width: 100%;
    max-width: 600px;
    text-align: center;
    padding: 80px 20px 20px 20px; /* 80px odozgo spušta logo na bezbednu udaljenost */
    margin: 0 auto; /* Centriranje vodoravno */
    flex: 1 0 auto; /* Gura footer na dno */
}

h1 {
    font-size: 72px; /* Malo smanjeno sa 80px radi stabilnosti */
    margin: 0 0 25px 0;
    letter-spacing: -2px;
    color: #4285F4;
    font-weight: bold;
}

h1 span {
    color: #EA4335;
}

.search-box {
    display: flex;
    align-items: center;
    border: 1px solid #dfe1e5;
    border-radius: 24px;
    padding: 6px 20px;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.search-box:hover, .search-box:focus-within {
    box-shadow: 0 1px 6px rgba(32,33,36,0.28);
    border-color: rgba(223,225,229,0);
}

input[type="text"] {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    height: 34px;
    background: transparent;
}

select {
    border: none;
    background: none;
    outline: none;
    color: #70757a;
    font-size: 14px;
    cursor: pointer;
    border-left: 1px solid #dfe1e5;
    margin-left: 10px;
    padding-left: 10px;
}

.buttons {
    margin-top: 30px;
}

.btn {
    background-color: #f8f9fa;
    border: 1px solid #f8f9fa;
    border-radius: 4px;
    color: #3c4043;
    font-size: 14px;
    margin: 5px;
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.15s;
    user-select: none;
}

.btn:hover {
    border: 1px solid #dadce0;
    box-shadow: 0 1px 1px rgba(0,0,0,0.1);
    color: #202124;
}

/* Stil za kartice majstora koje cemo kasnije generisati */
.master-card {
    border-bottom: 1px solid #ebebeb;
    padding: 15px;
    text-align: left;
    margin-top: 10px;
}



.master-card {
    border: 1px solid #dfe1e5;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    text-align: left;
    transition: background 0.2s;
}

.master-card:hover {
    background-color: #f8f9fa;
    border-color: #dadce0;
}


.card-header { display: flex; justify-content: space-between; align-items: center; }
.rating { color: #f4b400; font-weight: bold; }
.card-sub { font-size: 14px; color: #70757a; margin-bottom: 8px; }
.card-footer { display: flex; justify-content: space-between; align-items: center; }
.phone { font-weight: bold; color: #34a853; font-size: 18px; }
.badge-hitno { 
    background: #ea4335; 
    color: #fff; 
    font-size: 10px; 
    padding: 2px 6px; 
    border-radius: 4px; 
    text-transform: uppercase; 
}
.no-results { color: #70757a; margin-top: 20px; }

.master-name {
    text-decoration: none;
    color: #1a0dab; /* Google link plava */
    font-size: 18px;
}
.master-name:hover {
    text-decoration: underline;
}
.phone-link {
    text-decoration: none;
    color: #34a853;
    font-weight: bold;
}


/* Sticky Footer Stil */


.search-container, .profile-card {
    flex: 1 0 auto; /* Gura footer na dno */
}
footer {
    flex-shrink: 0;
    width: 100%;
    background-color: #f8f9fa;
    border-top: 1px solid #dfe1e5;
    padding: 20px 0;
    margin-top: 40px;
}
.footer-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    font-size: 13px;
    color: #70757a;
}
.footer-links a {
    color: #70757a;
    text-decoration: none;
    margin-left: 15px;
}
.footer-links a:hover {
    text-decoration: underline;
    color: #202124;
}
@media (max-width: 600px) {
    .footer-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    .footer-links a {
        margin: 0 8px;
    }
}


