* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.6;
}

/* ===== COLORS ===== PRIMARNE BOJE*/
:root {
    --primary: #1a2b4a;
    --secondary: #1976d2;
    --accent: #42a5f5;
    --light: #f8f9fa;
    --dark: #0d1b2a;
    --gray: #6c757d;
}

/* ===== HEADER ===== */
.top-bar {
    background: var(--dark);
    color: #fff;
    padding: 10px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar a {
    color: #fff;
    text-decoration: none;
    margin-right: 20px;
    transition: color 0.3s;
}

.top-bar a:hover {
    color: var(--secondary);
}

.top-bar i {
    margin-right: 8px;
    color: var(--secondary);
}

header {
    background: #fff;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-main {
    padding: 15px 0;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
}

.logo span {
    color: var(--secondary);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 500;
    transition: color 0.3s;
    font-size: 15px;
}

nav a:hover {
    color: var(--secondary);
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary);
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(13, 27, 42, 0.7), rgba(13, 27, 42, 0.8)), url('../img/hero.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-content {
    color: #fff;
    max-width: 700px;
}

.hero-badge {
    display: inline-block;
    background: var(--secondary);
    color: #fff;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease;
}

.hero h1 {
    font-size: clamp(36px, 6vw, 60px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--secondary);
    color: #fff;
}

.btn-primary:hover {
    background: #1565c0;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(25, 118, 210, 0.4);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-outline:hover {
    background: #fff;
    color: var(--primary);
}

/* ===== SECTIONS ===== */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header span {
    color: var(--secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
}

.section-header h2 {
    font-size: clamp(28px, 4vw, 42px);
    color: var(--primary);
    margin-top: 10px;
}

/* ===== ABOUT ===== */
.about {
    background: var(--light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.about-image .experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--secondary);
    color: #fff;
    padding: 25px 35px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(25, 118, 210, 0.4);
}

.experience-badge .number {
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
}

.experience-badge span {
    font-size: 14px;
    opacity: 0.9;
}

.about-content h2 {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 20px;
}

.about-content p {
    color: var(--gray);
    margin-bottom: 15px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 30px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-feature i {
    color: var(--secondary);
    font-size: 20px;
}

/* ===== SERVICES ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border: 1px solid #eee;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.service-card .icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.service-card .icon i {
    font-size: 32px;
    color: #fff;
}

.service-card h3 {
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--gray);
    font-size: 15px;
}

/* ===== PROCESS ===== */
.process {
    background: var(--primary);
    color: #fff;
}

.process .section-header h2 {
    color: #fff;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.process-step {
    text-align: center;
    position: relative;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 40px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: rgba(255,255,255,0.2);
}

.process-step:last-child::after {
    display: none;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 800;
    margin: 0 auto 25px;
    position: relative;
    z-index: 1;
}

.process-step h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.process-step p {
    opacity: 0.8;
    font-size: 14px;
}

/* ===== GALLERY ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 27, 42, 0.8), transparent);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.gallery-item .overlay span {
    color: #fff;
    font-weight: 500;
}

/* ===== WHY US ===== */
.why-us {
    background: var(--light);
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-content h2 {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 30px;
}

.why-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.why-item .icon {
    width: 60px;
    height: 60px;
    background: var(--secondary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.why-item .icon i {
    font-size: 24px;
    color: #fff;
}

.why-item h4 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 5px;
}

.why-item p {
    color: var(--gray);
    font-size: 14px;
}

.why-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

/* ===== CONTACT ===== */
.contact {
    background: linear-gradient(rgba(13, 27, 42, 0.9), rgba(13, 27, 42, 0.95)), url('../img/van_fullloaded.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
}

.contact .section-header h2 {
    color: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.contact-info p {
    opacity: 0.8;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-item .icon {
    width: 50px;
    height: 50px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item .icon i {
    font-size: 20px;
}

.contact-item h4 {
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 5px;
    font-weight: 400;
}

.contact-item a,
.contact-item span {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
}

.contact-item a:hover {
    color: var(--secondary);
}

.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
}

.contact-form h3 {
    color: var(--primary);
    font-size: 24px;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-family: inherit;
    font-size: 15px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form .btn {
    width: 100%;
    justify-content: center;
}

/* ===== CTA ===== */
.cta {
    background: var(--secondary);
    padding: 60px 0;
    text-align: center;
    color: #fff;
}

.cta h2 {
    font-size: clamp(24px, 4vw, 36px);
    margin-bottom: 10px;
}

.cta p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 25px;
}

.cta .btn-outline {
    border-color: #fff;
}

.cta .btn-outline:hover {
    background: #fff;
    color: var(--secondary);
}

/* ===== FOOTER ===== */
footer {
    background: var(--dark);
    color: #fff;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about .logo {
    color: #fff;
    margin-bottom: 20px;
    display: inline-block;
}

.footer-about p {
    opacity: 0.7;
    margin-bottom: 20px;
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--secondary);
}

.footer-links h4 {
    font-size: 18px;
    margin-bottom: 25px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--secondary);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    opacity: 0.7;
    font-size: 14px;
}

/* ===== GALLERY LIGHTBOX ===== */
.gallery-item {
    cursor: pointer;
}

.gallery-zoom-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 28px;
    color: #fff;
    opacity: 0.9;
}

.gallery-wrapper {
    position: relative;
}

.gallery-nav {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--secondary);
    border: none;
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    z-index: 10;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: background 0.3s;
}

.gallery-nav:hover {
    background: #1565c0;
}

.gallery-prev { left: -22px; }
.gallery-next { right: -22px; }

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.93);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 85vw;
    text-align: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
}

.lightbox-caption {
    color: #fff;
    font-size: 16px;
    margin-top: 15px;
    font-weight: 500;
}

.lightbox-counter {
    color: rgba(255,255,255,0.55);
    font-size: 13px;
    margin-top: 6px;
}

.lightbox-close {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    background: rgba(255,255,255,0.3);
}

.lightbox-prev,
.lightbox-next {
    background: rgba(255,255,255,0.12);
    border: none;
    color: #fff;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin: 0 25px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--secondary);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .about-grid,
    .why-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-image .experience-badge {
        right: 20px;
        bottom: -20px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-step::after {
        display: none;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top-bar .container {
        justify-content: center;
        text-align: center;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        gap: 15px;
    }

    nav ul.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        background-attachment: scroll;
        background-image: linear-gradient(rgba(13, 27, 42, 0.7), rgba(13, 27, 42, 0.8)), url('../img/hero-mobil.png');
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* ===== MOBILE GALLERY CAROUSEL ===== */
@media (max-width: 768px) {
    .gallery-nav {
        display: flex;
    }

    .gallery-grid {
        display: flex;
        overflow-x: scroll;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        gap: 0;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .gallery-grid::-webkit-scrollbar {
        display: none;
    }

    .gallery-item {
        flex: 0 0 100%;
        scroll-snap-align: center;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 16px;
        margin: 0 8px;
    }
}
