html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #222;
    line-height: 1.6;
    background: #f7f2e8;
}

/* HEADER */
header.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    background: #111;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    color: #fff;
    font-size: 20px;
}

nav a {
    color: #f7f2e8;
    margin-left: 20px;
    text-decoration: none;
    font-weight: bold;
}

nav a:hover {
    color: #f4c10f;
}

/* HERO */
.hero {
    background: url("img/pozadi2.jpg") center / cover no-repeat;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
}

.hero-overlay {
    background: rgba(0,0,0,0.6);
    padding: 40px;
    text-align: center;
    color: #f7f2e8;
    max-width: 800px;
}

/* SECTIONS */
.section {
    padding: 80px 0;
}

.section img {
    width: 100%;
    max-width: 420px;
    height: 260px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.section img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(0,0,0,0.35);
}

.bg-light {
    background: rgba(255,255,255,0.6);
}

.dark {
    background: #111;
    color: #fff;
}

/* CONTAINER */
.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

/* BUTTON */
.button {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background: #f4c10f;
    color: #000;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.button.large {
    font-size: 18px;
}

.button:hover {
    background: #ffd84d;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* IMAGE GRID */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

/* CHECK LIST */
.check-list {
    list-style: none;
    padding: 0;
    margin: 30px auto 0;
    max-width: 320px;
}

.check-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    text-align: left;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #c9a400;
    font-weight: bold;
}

/* ENERGY + BONDS */
.energy,
.bonds {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

/* FOOTER */
footer {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 20px;
}

/* CONTACT EMAIL */
.contact-email {
    color: #f7f2e8;
    text-decoration: none;
    font-weight: bold;
}

.contact-email:hover {
    color: #f4c10f;
    text-shadow: 0 0 8px rgba(244, 193, 15, 0.6);
}

/* RESPONSIVE */
@media (max-width: 768px) {

    .header-inner {
        flex-direction: column;
        align-items: center;
    }

    .logo {
        margin-bottom: 10px;
        font-size: 18px;
        text-align: center;
    }

    nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav a {
        margin: 5px 10px;
    }

    .energy,
    .bonds {
        grid-template-columns: 1fr;
    }

    .hero-overlay {
        padding: 25px;
    }

    .section img {
        height: 220px;
    }
}




