html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background: #f4f7f9;
    color: #222;
}

/* ==========================
   HERO (BANNER - POPRAVEK)
   ========================== */

.banner {
    width: 100%;
    height: 60vh;              /* <-- responsive namesto 600px */
    min-height: 320px;
    max-height: 650px;

    background: url('Slike/ribi.jpg') center/cover no-repeat;
    filter: brightness(70%);

    display: flex;
    align-items: flex-end;
}

/* ==========================
   HEADER
   ========================== */

.header {
    position: relative;
    background: rgba(255, 255, 255, 0.92);
    padding: 20px 40px;
    border-bottom: 1px solid #ddd;
}

/* ==========================
   TOP HEADER
   ========================== */

.top {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap; /* <-- KLJUČNO za Android */
}

#logo img {
    height: 140px;
    width: auto;
    border-radius: 8px;
}

#title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #0a4d6c;
}

#kontakt-top {
    margin-left: auto;
    font-size: 20px;
    color: #0a4d6c;
    font-weight: 600;
}

/* ==========================
   NAVIGACIJA
   ========================== */

.meni {
    margin-top: 15px;
    display: flex;
    gap: 25px;
    flex-wrap: wrap; /* <-- pomembno */
}

.meni a {
    text-decoration: none;
    color: #0a4d6c;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 6px;
    transition: 0.3s;
}

.meni a:hover {
    background: #0a4d6c;
    color: white;
}

/* ==========================
   CONTENT (POPRAVEK - NI VEČ MARGIN HACKA)
   ========================== */

.content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px;
    background: #2b8ce7;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    line-height: 1.7;
}

/* BOX */
.box {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

/* ==========================
   GUMB
   ========================== */

.gumb {
    display: inline-block;
    background: #0a4d6c;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.gumb:hover {
    background: #06608a;
    transform: translateY(-2px);
}

/* ==========================
   FOOTER
   ========================== */

footer {
    background: #0a4d6c;
    color: #eee;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ==========================
   RESPONSIVE
   ========================== */

@media screen and (max-width: 768px) {

    .banner {
        height: 40vh;
    }

    .top {
        flex-direction: column;
        text-align: center;
    }

    #kontakt-top {
        margin-left: 0;
        text-align: center;
        font-size: 16px;
    }

    .meni {
        flex-direction: column;
        gap: 10px;
    }

    .content {
        padding: 15px;
    }

    iframe {
        width: 100% !important;
        height: 300px !important;
    }

    footer {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

@media screen and (max-width: 480px) {

    #logo img {
        height: 90px;
    }

    #title {
        font-size: 1.5rem;
    }

    .content {
        padding: 10px;
    }

    iframe {
        height: 220px !important;
    }
}