/* =====================================
   RESET
===================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    display: block;
}

body {
    font-family: "Segoe UI", "Trebuchet MS", Arial, sans-serif;
    line-height: 1.6;
    background: #f8fbfd;
    color: #3b2d17;
}

/* =====================================
   NAVIGACIJA
===================================== */

header {
    background: rgba(255,255,255,.95);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
}

.topbar {
    max-width: 1200px;
    margin: auto;
    padding: 18px;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 40px;
}

nav a {
    text-decoration: none;
    color: #444;
    font-weight: bold;
    transition: .3s;
}

nav a:hover {
    color: #EC6F27;
}

/* =====================================
   HERO
===================================== */

.hero {
    background:linear-gradient(#98D6EF,#dff4fb);
    text-align: center;
    padding: 70px 20px 90px;
    position: relative;
    overflow: hidden;
}
.wave {
    line-height: 0;
    background: #dff4fb;
    margin-top: -1px;
    margin-bottom: -80px;
    z-index: 20;
    position: relative;
}

.wave svg {

    display: block;
    width: 100%;
    height: 80px;
}

.hero-content {

    max-width: 1100px;
    margin: auto;
}

/* =====================================
   OBLAK OKO LOGA
===================================== */

.hero-logo {

    position: relative;
    display: inline-block;
    margin-bottom: 30px;
}


.hero-logo img {
    max-width: 520px;
    width: 100%;
}

/* ukrasni oblaci u pozadini */

.hero::before {
content: "";

    position: absolute;

    width: 320px;
    height: 170px;

    background-image: url("img/white-cloud.webp");
    background-repeat: no-repeat;
    background-size: contain;

    top: 30px;
    left: 5%;

    opacity: 0.75;

    z-index: 1;
  
 /*   content: "";
    position: absolute;
    width: 220px;
    height: 90px;
    background: rgba(255,255,255,.45);
    border-radius: 50px;
    left: 10%;
    top: 32%;
    filter: blur(2px);*/
}

.hero::after {
  content: "";

    position: absolute;

    width: 180px;
    height: 100px;

    background-image: url("img/white-cloud.webp");
    background-repeat: no-repeat;
    background-size: contain;

    top: 140px;
    right: 8%;

    opacity: 0.6;

    z-index: 1;
 /*   content: "";
    position: absolute;
    width: 300px;
    height: 110px;

    background: rgba(255,255,255,.35);

    border-radius: 60px;

    right: 8%;

    top: 15%;

    filter: blur(2px); */
}

.hero-text {

    font-size: 1.25rem;

    max-width: 720px;

    margin: 0 auto 35px auto;

    color: #3b2d17;
}

.button {

    display: inline-block;

    background: #EC6F27;

    color: white;

    text-decoration: none;

    font-weight: bold;

    padding: 16px 34px;

    border-radius: 40px;

    transition: .3s;

    box-shadow:
        0 5px 0 rgba(0,0,0,.15);
}

.button:hover {

    background: #CD3518;

    transform: translateY(-3px);
}

/* =====================================
   SVIJET
===================================== */

.world-preview {

    background: white;

  text-align: center;

    position: relative;

    z-index: 10;

    padding: 90px 20px 80px;
}

.world-preview h2 {

    color: #EC6F27;

    font-size: 2.2rem;

    margin-bottom: 15px;
}

.world-preview p {

    max-width: 800px;

    margin: 0 auto 30px;
}

.world-preview img {

    width: 100%;

    max-width: 970px;

    margin: auto;

    border-radius: 25px;

    box-shadow:
        0 12px 30px rgba(0,0,0,.15);
}

/* =====================================
   KARTA
===================================== */

.world-map {

    position: relative;

    max-width: 970px;

    margin: 0 auto;
}

.map-image {

    width: 100%;

    border-radius: 20px;

    box-shadow:
        0 10px 25px rgba(0,0,0,.15);
}

/* =====================================
   HOTSPOTS
===================================== */

.hotspot {

    position: absolute;

    width: 90px;
    height: 90px;

    border-radius: 50%;

    background: rgba(255,255,255,0);

    border: 4px solid rgba(255,255,255,0);

    transition: all .25s ease;

    cursor: pointer;
}

.hotspot:hover {

    background: rgba(255,255,255,.25);

    border-color: white;

    transform: scale(1.15);
}

/* =====================================
   POZICIJE LIKOVA
===================================== */

/* Iva */

.iva {
    left: 17%;
    top: 46%;
}

/* Maja */

.maja {
    left: 73%;
    top: 36%;
}

/* Dina */

.dina {
    left: 47%;
    top: 50%;
}

/* Pero */

.pero {
    left: 17%;
    top: 66%;
}

.pero2 {
    left: 81%;
    top: 56%;
}

/* Miro */

.miro {
    left: 36%;
    top: 68%;
}

/* Lila */

.lila {
    left: 46%;
    top: 84%;
}

/* Leo */

.leo {
    left: 77%;
    top: 79%;
}

/* Pino */

.pino {
    left: 5%;
    top: 79%;
}

/* =====================================
   VODIČI
===================================== */

.guides {

    background: #f7fafc;

    padding: 90px 20px;
}

.guides h2 {

    text-align: center;

    color: #EC6F27;

    font-size: 2.2rem;

    margin-bottom: 50px;
}

.guide-grid {

    max-width: 1200px;

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(auto-fit,minmax(260px,1fr));

    gap: 30px;
}

.guide-card {

    background: white;

    border-radius: 25px;

    text-align: center;

    padding: 30px;

    box-shadow:
        0 6px 18px rgba(0,0,0,.08);

    transition: .3s;
}

.guide-card:hover {

    transform: translateY(-6px);
}

.avatar {

    width: 140px;
    height: 140px;

    margin: 0 auto 18px auto;

    border-radius: 50%;

    border: 6px solid #f0f0f0;

    display: flex;

    align-items: center;

    justify-content: center;

    background: white;
}

.avatar img {

    width: 100px;
    height: 100px;

    object-fit: contain;
}

.guide-card h3 {

    font-size: 1.6rem;

    margin-bottom: 8px;
}

.guide-card h4 {

    margin-bottom: 15px;

    color: #555;
}

.guide-card p {

    font-size: .95rem;
}

/* =====================================
   BOJE LIKOVA
===================================== */

.miro {
    border-top: 8px solid #8CBD3F;
}

.maja {
    border-top: 8px solid #BB2D88;
}

.dina {
    border-top: 8px solid #05B0D9;
}

.iva {
    border-top: 8px solid #EC6F27;
}

.lila {
    border-top: 8px solid #BB2D88;
}

.pino {
    border-top: 8px solid #05B0D9;
}

.pero, .pero2 {
    border-top: 8px solid #8CBD3F;
}

.leo {
    border-top: 8px solid #CD3518;
}

/* =====================================
   U PRIPREMI
===================================== */

.coming-soon {

    background: #05B0D9;

    color: white;

    text-align: center;

    padding: 80px 20px;
}

.coming-soon h2 {

    margin-bottom: 20px;
}

.coming-soon p {

    max-width: 900px;

    margin: 0 auto 30px;
}

.status {

    font-weight: bold;

    font-size: 1.05rem;
}

.status span {

    margin: 0 15px;
}

/* =====================================
   PROJEKT
===================================== */

.project {

    padding: 80px 20px;
}

.project-box {

    max-width: 900px;

    margin: auto;

    background: white;

    border-radius: 25px;

    padding: 40px;

    box-shadow:
        0 6px 18px rgba(0,0,0,.08);
}

.project-box h2 {

    color: #EC6F27;

    margin-bottom: 20px;
}

.project-box p {

    margin-bottom: 15px;
}

/* =====================================
   FOOTER
===================================== */

footer {

    background: #CD3518;

    color: white;

    text-align: center;

    padding: 25px;
}

/* =====================================
   MOBITEL
===================================== */

@media (max-width: 768px) {

    nav ul {

        flex-wrap: wrap;
        gap: 15px;
    }

    .cloud {

        padding: 25px;
    }

    .hero-logo img {

        max-width: 320px;
    }

    .hero-text {

        font-size: 1rem;
    }

    .guide-grid {

        grid-template-columns: 1fr;
    }
    .hotspot {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {

    nav ul {

        gap: 10px;

        font-size: 0.9rem;
    }

    .hero {

        padding: 50px 15px 70px;
    }

    .hero-logo img {

        max-width: 280px;
    }

    .hero-text {

        font-size: 0.95rem;

        max-width: 95%;
    }

    .button {

        padding: 14px 24px;

        font-size: 0.95rem;
    }

    .world-preview h2,
    .guides h2,
    .coming-soon h2,
    .project-box h2 {

        font-size: 1.8rem;
    }

    .guide-card {

        padding: 22px;
    }

    .avatar {

        width: 120px;
        height: 120px;
    }

    .avatar img {

        width: 85px;
        height: 85px;
    }

    .guide-card h3 {

        font-size: 1.4rem;
    }

    .guide-card h4 {

        font-size: 1rem;
    }

    .status {

        display: flex;

        flex-direction: column;

        gap: 10px;
    }

    .status span {

        display: none;
    }

    .hotspot {

        width: 45px;
        height: 45px;
    }
}


@media (max-width: 360px) {

    .topbar {

        padding: 12px;
    }

    nav ul {

        gap: 8px;

        font-size: 0.8rem;
    }

    .hero {

        padding: 40px 10px 60px;
    }

    .hero-logo img {

        max-width: 240px;
    }

    .hero-text {

        font-size: 0.9rem;
    }

    .button {

        padding: 12px 20px;

        font-size: 0.85rem;
    }

    .world-preview,
    .guides,
    .coming-soon,
    .project {

        padding-left: 12px;
        padding-right: 12px;
    }

    .world-preview h2,
    .guides h2,
    .coming-soon h2,
    .project-box h2 {

        font-size: 1.5rem;
    }

    .guide-card {

        padding: 18px;
    }

    .avatar {

        width: 100px;
        height: 100px;
    }

    .avatar img {

        width: 70px;
        height: 70px;
    }

    .guide-card h3 {

        font-size: 1.2rem;
    }

    .guide-card h4 {

        font-size: 0.95rem;
    }

    .guide-card p {

        font-size: 0.85rem;
    }

    .project-box {

        padding: 25px;
    }

    .hotspot {

        width: 35px;
        height: 35px;
    }
}

