@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&family=Montserrat:wght@400;600;700&family=Open+Sans:wght@300;400;600&display=swap');

/* =========================
   GLOBAL
========================= */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    background: #f5f5f5;
    color: #111;
    line-height: 1.6;
}

/* =========================
   TYPOGRAPHY
========================= */

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    margin: 0 0 10px 0;
}

/* =========================
   HEADER (CLEAN PRO)
========================= */

.header {
    background: #111;
    color: white;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* BRAND + LOGO */
.brand-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    margin: 0;
    color: white;
}

.logo-mini {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

/* NAV */
nav a {
    color: white;
    margin: 0 12px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s;
}

nav a:hover {
    color: #f0a500;
}

/* =========================
   HERO (FIXED CONTRAST)
========================= */

.hero {
    position: relative;
    background: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c') center/cover no-repeat;
    text-align: center;
    padding: 100px 20px;
    color: white;
}

/* DARK OVERLAY */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.65);
    z-index: 0;
}

.hero * {
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-size: 38px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.hero p {
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
    max-width: 800px;
    margin: 10px auto;
}

/* =========================
   BUTTON
========================= */

.btn {
    display: inline-block;
    padding: 12px 22px;
    margin: 10px;
    background: #f0a500;
    color: black;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.25s;
}

.btn:hover {
    background: #cf8500;
    transform: translateY(-2px);
}

/* =========================
   SECTIONS
========================= */

section {
    padding: 40px 20px;
    max-width: 1000px;
    margin: auto;
}

/* =========================
   LISTE
========================= */

ul {
    background: white;
    padding: 20px;
    border-radius: 10px;
    list-style: none;
}

ul li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

ul li:last-child {
    border-bottom: none;
}

/* =========================
   GALLERY
========================= */

.gallery, .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.gallery img,
.gallery-grid img {
    width: 100%;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.gallery img:hover,
.gallery-grid img:hover {
    transform: scale(1.05);
    filter: brightness(0.9);
}

/* =========================
   CONTACT
========================= */

.contact-container {
    text-align: center;
}

.contact-box {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 30px;
}

.contact-info,
.contact-form {
    background: white;
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

/* =========================
   MODAL (GALERIJA)
========================= */

#modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#modal img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

.close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

.arrow {
    position: absolute;
    top: 50%;
    font-size: 55px;
    color: white;
    cursor: pointer;
    transform: translateY(-50%);
    user-select: none;
}

.left { left: 20px; }
.right { right: 20px; }

.arrow:hover,
.close:hover {
    color: #f0a500;
}

/* =========================
   FOOTER
========================= */

footer {
    background: #111;
    color: white;
    text-align: center;
    padding: 15px;
    margin-top: 30px;
}

/* =========================
   MOBILE FIX
========================= */

@media (max-width: 768px) {

    .header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .hero h2 {
        font-size: 28px;
    }

    .contact-box {
        flex-direction: column;
        align-items: center;
    }
}