:root {
    --primary: #1e3a5f;
    --accent: #5a7d9a;
    --grey-logo: #7b7b7b;
    --light-grey: #f4f7f9;
    --medium-grey: #cfd8dc;
    --dark: #0a1118;
    --text: #333333;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background-color: #fff;
}

/* Kontejner */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* NAVIGACIJA */
nav {
    height: 90px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--light-grey);
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 75px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-btn {
    padding: 10px 24px;
    border-radius: 6px;
}

.lang-switch {
    font-size: 0.85rem;
    border-left: 1px solid var(--medium-grey);
    padding-left: 15px;
    display: flex;
    gap: 8px;
}

.lang-switch a {
    color: var(--grey-logo);
}

.lang-switch .active {
    color: var(--accent);
    font-weight: 700;
}

/* HERO */
.hero {
    padding: 60px 0;
    background: linear-gradient(135deg, #ffffff 50%, var(--light-grey) 50%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero h1 {
    font-size: 3.2rem;
    line-height: 1.2;
    color: var(--primary);
    font-weight: 600;
}

.accent {
    color: var(--accent);
}

.hero p {
    margin: 24px 0 32px 0;
    font-size: 1.15rem;
    color: #555;
}

.hero-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

/* DUGMAD */
.btn-primary {
    background: var(--primary);
    color: white !important;
    padding: 14px 32px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: inline-block;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(30, 58, 95, 0.2);
}

.btn-primary:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(90, 125, 154, 0.3);
}

/* ABOUT SECTION */
.about {
    padding: 100px 0;
    background: #ffffff;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.about-text h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.about-text p {
    color: #555;
    font-size: 1.05rem;
    margin-bottom: 15px;
    line-height: 1.7;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-card {
    background: var(--light-grey);
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--accent);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.95rem;
    color: var(--grey-logo);
    font-weight: 600;
}

/* SERVICES */
.services {
    padding: 100px 0;
    background: var(--light-grey);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.2rem;
    color: var(--primary);
    position: relative;
}

.services-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
}

.card {
    background: white;
    padding: 35px 25px;
    text-align: center;
    border-radius: 8px;
    transition: var(--transition);
    flex: 1 1 280px;
    max-width: 360px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.card h3 {
    color: var(--primary);
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.card p {
    color: #666;
    font-size: 0.95rem;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

/* PROJECTS / GALLERY */
.projects {
    padding: 100px 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
}

.project-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--light-grey);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.project-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.project-img-container {
    width: 100%;
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    overflow: hidden;
    padding: 10px;
}

.project-img-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.project-item:hover img {
    transform: scale(1.04);
}

.project-info {
    padding: 20px;
    background: white;
    border-top: 1px solid var(--light-grey);
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.project-info h4 {
    color: var(--primary);
    font-size: 1.05rem;
    font-weight: 600;
}

/* PROCESS */
.process {
    padding: 90px 0;
    background: var(--primary);
    color: white;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.step span {
    font-size: 3.5rem;
    font-weight: 700;
    opacity: 0.3;
    display: block;
    margin-bottom: 10px;
    color: var(--accent);
}

.step h3 {
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.step p {
    opacity: 0.85;
    font-size: 0.95rem;
}

/* CTA */
.process-cta {
    background: #162c48;
    text-align: center;
    padding: 50px 0;
}

/* CONTACT */
.contact {
    padding: 100px 0;
    background: var(--light-grey);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    background: white;
    padding: 50px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.contact-info h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.contact-info p {
    color: #555;
    margin-bottom: 30px;
}

.details p {
    margin-bottom: 10px;
    font-size: 1rem;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--medium-grey);
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(90, 125, 154, 0.2);
}

/* FOOTER */
footer {
    background: var(--dark);
    color: #888;
    padding: 35px 20px;
    text-align: center;
    font-size: 0.9rem;
}

/* RESPONSIVNOST */
@media (max-width: 992px) {
    .hero {
        background: var(--white);
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 30px;
    }
}

@media (max-width: 768px) {
    nav {
        height: auto;
        padding: 15px 0;
    }

    .nav-wrapper {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* DIRECT EMAIL SECTION STYLES */
.direct-email-wrapper {
    grid-template-columns: 1fr !important;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.email-btn {
    margin-top: 25px;
    font-size: 1.1rem;
    padding: 16px 40px;
}