/* --- GLOBALNE VARIJABLE I KLASE --- */
:root {
    --accent: #e67e22;
    --transition: all 0.4s ease;
}

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    background-color: #f8f9fa;
}

.text-accent { color: var(--accent) !important; }
.bg-accent { background-color: var(--accent) !important; }
.border-accent { border-color: var(--accent) !important; }

/* --- NAVIGACIJA --- */
.navbar-custom {
    padding: 15px 0;
    transition: var(--transition);
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- GRID SISTEM --- */
.grid-main-item, .grid-sub-item {
    position: relative;
    display: block;
    background-size: cover;
    background-position: center;
    text-decoration: none;
    overflow: hidden;
}
.grid-main-item { height: 100vh; min-height: 500px; }
.grid-sub-item { height: 50vh; min-height: 250px; border: 0.5px solid rgba(255,255,255,0.1); }

.grid-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 10% 8%;
    transition: var(--transition);
}
.grid-main-item:hover .grid-overlay, .grid-sub-item:hover .grid-overlay {
    background: rgba(230, 126, 34, 0.4);
}

.grid-title { color: #fff; font-weight: 900; text-transform: uppercase; font-size: clamp(2rem, 5vw, 4rem); line-height: 1; }
.grid-tag { color: var(--accent); text-transform: uppercase; font-weight: 800; font-size: 0.8rem; letter-spacing: 2px; display: block; margin-bottom: 10px; }
.grid-description { color: #ccc; max-width: 400px; margin-top: 15px; }

/* --- KARTICE --- */
.section-padding { padding: 90px 0; }
.card-white {
    background: #ffffff;
    border: 1px solid #dee2e6;
    padding: 40px 30px;
    height: 100%;
    transition: var(--transition);
}
.card-white:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* --- CONTACT CARDS --- */
        .contact-card {
            background: #ffffff;
            border: 1px solid #eee;
            padding: 40px 30px;
            height: 100%;
            transition: var(--transition);
            text-align: center;
        }
        .contact-card:hover {
            border-color: var(--accent);
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
        }
        .contact-icon {
            width: 60px;
            height: 60px;
            background: #f8f9fa;
            color: var(--accent);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            margin-bottom: 20px;
            border-radius: 50%;
        }

        /* --- FORM STYLING --- */
        .form-control-custom {
            border-radius: 0;
            border: 1px solid #dee2e6;
            padding: 12px 15px;
        }
        .form-control-custom:focus {
            border-color: var(--accent);
            box-shadow: none;
        }
        
        /* --- HERO PIVOT --- */
        .hero-mini {
            height: 60vh;
            min-height: 500px;
            background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7)), url('assets/images/pivot-slika-2-1571x1571.webp');
            background-size: cover;
            background-position: center;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding-top: 80px;
        }

        .section-padding { padding: 90px 0; }

        /* --- GALLERY STYLING --- */
        .pivot-img-box {
            position: relative;
            overflow: hidden;
            border: 1px solid #eee;
            height: 450px;
        }
        .pivot-img-box img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition);
        }
        .pivot-img-box:hover img {
            transform: scale(1.05);
        }

        .border-left-accent {
            border-left: 4px solid var(--accent);
            padding-left: 25px;
        }
         /* --- HERO ZA STRANICU PANELI --- */
        .hero-mini-paneli {
            height: 50vh;
            min-height: 400px;
            background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('assets/images/premium-38-816x927.webp');
            background-size: cover;
            background-position: center;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding-top: 80px;
        }

        .section-padding { padding: 90px 0; }

        /* --- KARTICE ZA PANELE --- */
        .panel-card {
            background: #ffffff;
            border: 1px solid #eee;
            transition: var(--transition);
            height: 100%;
            overflow: hidden;
        }
        .panel-card:hover {
            border-color: var(--accent);
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        }
        .panel-img-wrapper {
            height: 350px;
            overflow: hidden;
        }
        .panel-img-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition);
        }
        .panel-card:hover .panel-img-wrapper img {
            transform: scale(1.1);
        }

@media (max-width: 991px) {
    .grid-main-item { height: 60vh; }
    .grid-sub-item { height: 40vh; }
}