/** @format */

@font-face {
    font-family: "Roboto";
    src: url("/assets/Roboto-Light.woff2") format("woff2");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Roboto";
    src: url("/assets/Roboto-Bold.woff2") format("woff2");
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Roboto";
    src: url("/assets/Roboto-Regular.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

* {
    font-family: "Roboto", sans-serif;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-light, 0 2px 10px rgba(0, 0, 0, 0.1));
    padding-top: 12px;
    padding-bottom: 12px;
    transition: all 0.3s ease;
}

/* Transparent navbar for pages with data-transparent-navbar */
body[data-transparent-navbar] .navbar {
    background-color: transparent;
    backdrop-filter: none;
    box-shadow: none;
}

body[data-transparent-navbar] .navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: none;
    /* border-bottom: 1px solid rgba(0, 0, 0, 0.08); */
}

/* Navbar link styles */
body[data-transparent-navbar] .navbar-nav .nav-link {
    color: white;
}

body[data-transparent-navbar] .navbar.scrolled .navbar-nav .nav-link {
    color: #334155;
}

body[data-transparent-navbar] .cart-icon {
    color: white;
}

body[data-transparent-navbar] .navbar.scrolled .cart-icon {
    color: #334155;
}

/* Custom Mobile Menu Toggler */
.custom-toggler {
    border: none;
    background: none;
    padding: 0.5rem;
    border-radius: 8px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
}

.custom-toggler:focus {
    outline: none;
}

/* Hamburger Icon */
.hamburger {
    width: 24px;
    height: 18px;
    position: relative;
    transform: rotate(0deg);
    transition: 0.5s ease-in-out;
    cursor: pointer;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: #0f172a;
    border-radius: 2px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: 0.25s ease-in-out;
}

.hamburger span:nth-child(1) {
    top: 0px;
}

.hamburger span:nth-child(2) {
    top: 8px;
}

.hamburger span:nth-child(3) {
    top: 16px;
}

/* Mobile Offcanvas Styles */
.offcanvas {
    background: linear-gradient(135deg, #ffffff 0%, #f8faf9 100%);
    border-left: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    width: 100%;
}

.offcanvas-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.offcanvas-title img {
    height: 40px;
    width: auto;
}

.btn-close {
    opacity: 1;
    transition: opacity 0.2s ease;
    filter: invert(0);
    margin: 0;
    padding: 0;
}

.btn-close:hover {
    opacity: 0.7;
}

.offcanvas-body {
    padding: 1.5rem;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    padding: 1rem;
    color: #334155;
    text-decoration: none;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
    margin-bottom: 0.5rem;
}

.mobile-nav-link:hover {
    background: rgba(48, 79, 254, 0.08);
    color: #0f172a;
}

.mobile-nav-link i {
    margin-right: 0.75rem;
    width: 20px;
}

.mobile-cart-section {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 1.5rem;
}

.mobile-cart-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: white;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.mobile-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.2);
    color: white;
}

.nav-link {
    font-weight: 500;
    font-size: 14px;
    color: #64748b !important;
    transition: all 0.2s ease;
    padding: 6px 12px !important;
    border-radius: 6px;
}

.nav-link:hover {
    color: #0f172a !important;
    background: rgba(255, 255, 255, 0.6);
}

h5 {
    font-size: 16px;
}

.get-in-touch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 26px;
    border-radius: 999px;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    transition:
        transform 0.18s ease-out,
        opacity 0.18s ease-out;
    cursor: pointer;
}

.get-in-touch:hover {
    transform: translateY(-1px);
    opacity: 0.9;
}

.get-in-touch-reverse {
    font-weight: 500;
    padding: 8px 16px;
    background-color: #304ffe;
    border-radius: 5px;
    border: none;
    color: white;
    font-size: 14px;
}

h1.naslov {
    font-weight: bold;
    font-size: 64px;
}

/* HERO LANDING (header only) */

.hero-landing {
    position: relative;
    min-height: 100vh;
    padding: 96px 0 72px;
    overflow: hidden;
    background: #ffffff;
    display: flex;
    align-items: center;
}

.hero-landing::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(48, 79, 254, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(48, 79, 254, 0.07) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle 420px at 15% 25%,
            rgba(48, 79, 254, 0.25),
            transparent 70%
        ),
        radial-gradient(
            circle 380px at 85% 15%,
            rgba(99, 102, 241, 0.2),
            transparent 65%
        ),
        radial-gradient(
            circle 340px at 80% 85%,
            rgba(147, 51, 234, 0.18),
            transparent 60%
        );
    filter: blur(40px);
    pointer-events: none;
    z-index: 0;
}

@media (max-width: 575.98px) {
    .hero-gradient {
        background:
            radial-gradient(
                circle 420px at 15% 25%,
                rgba(48, 79, 254, 0.15),
                transparent 70%
            ),
            radial-gradient(
                circle 380px at 85% 15%,
                rgba(99, 102, 241, 0.1),
                transparent 65%
            ),
            radial-gradient(
                circle 340px at 80% 85%,
                rgba(147, 51, 234, 0.1),
                transparent 60%
            );
    }
}

.hero-inner {
    position: relative;
    max-width: 1080px;
    text-align: center;
    z-index: 1;
}

.hero-rating {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    margin-bottom: 24px;
    border-radius: 999px;
    background: linear-gradient(
        135deg,
        rgba(48, 79, 254, 0.08),
        rgba(99, 102, 241, 0.06)
    );
    border: 1px solid rgba(48, 79, 254, 0.15);
    font-size: 13px;
    font-weight: 600;
    color: #304ffe;
    box-shadow: 0 2px 12px rgba(48, 79, 254, 0.08);
}

.hero-heading {
    font-size: 64px;
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #111827;
}

.hero-heading span {
    font-style: italic;
    color: #2563eb;
}

.hero-cta-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.hero-cta-main {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 26px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 20px 45px rgba(37, 99, 235, 0.35);
    transition:
        transform 0.18s ease-out,
        box-shadow 0.18s ease-out;
}

.hero-cta-main:hover {
    transform: translateY(-1px);
    box-shadow: 0 22px 55px rgba(37, 99, 235, 0.4);
}

.hero-trust {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 28px;
    font-size: 13px;
    color: #6b7280;
}

.hero-trust-label {
    font-weight: 600;
}

.hero-trust-dot {
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background: #9ca3af;
}

.hero-trust-marquee {
    gap: 16px;
}

.hero-trust-track {
    display: flex;
    align-items: center;
    gap: 32px;
    max-width: 800px;
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%
    );

    @media (max-width: 575.98px) {
        gap: 24px;
        width: 95%;
    }
}

@media (max-width: 1199.98px) {
    .hero-trust-track {
        display: inline-flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
}

.hero-trust-logo img {
    height: 48px;
    width: auto;
    opacity: 0.85;
    filter: grayscale(100%);
    transition:
        opacity 0.15s ease-out,
        filter 0.15s ease-out;

    @media (max-width: 575.98px) {
        height: 32px;
    }
}

.hero-trust-logo:hover img {
    opacity: 1;
    filter: grayscale(0%);
}

@media (max-width: 991.98px) {
    .hero-landing {
        padding: 72px 0 56px;
    }

    .hero-heading {
        font-size: 40px;
    }
}

@media (max-width: 575.98px) {
    .hero-landing {
        padding: 56px 0 40px;
    }

    .hero-heading {
        font-size: 32px;
    }

    .hero-trust-track {
        gap: 24px;
    }
}

h2.podnaslov {
    font-weight: bold;
    font-size: 3rem;
}

p.podnaslov {
    font-size: 48px !important;
    font-weight: bold !important;
}

span.podnaslov-span {
    font-weight: bold;
    font-size: 3rem;
    color: #304ffe;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.hero-image {
    width: 90%;
    border-radius: 16px;
    object-fit: cover;
    max-height: 380px;
}

.container-hero-image {
    margin-top: 70px;
}

.mt-150 {
    margin-top: 150px;
}

.services-header {
    text-align: center;
    margin-top: 150px;
    margin-bottom: 80px;
}

.services-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}

.services-subtitle {
    font-size: 40px;
    font-weight: 600;
    font-style: italic;
    color: #304ffe;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    margin: 0;
}

.usluga {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8faf9 100%);
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.usluga:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    border-color: rgba(48, 79, 254, 0.2);
}

.usluga img {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    object-fit: cover;
    margin-bottom: 1rem;
}

.usluga h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.usluga p {
    font-size: 0.9375rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.projects-section {
    margin-top: 150px;
    margin-bottom: 150px;
}

.projects-header {
    text-align: center;
    margin-bottom: 60px;
}

.projects-badge {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(
        135deg,
        rgba(147, 51, 234, 0.1),
        rgba(59, 130, 246, 0.1)
    );
    border: 1px solid rgba(147, 51, 234, 0.2);
    border-radius: 999px;
    color: #7c3aed;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.projects-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
}

.projects-subtitle {
    font-size: 1.125rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

.projects-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto 60px;
    position: relative;
    z-index: 1;
}

.stat-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card-1 {
    background: linear-gradient(
        135deg,
        rgba(147, 51, 234, 0.15),
        rgba(126, 34, 206, 0.1)
    );
    border-color: rgba(147, 51, 234, 0.3);
}

.stat-card-1:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 40px rgba(147, 51, 234, 0.3);
}

.stat-card-2 {
    background: linear-gradient(
        135deg,
        rgba(59, 130, 246, 0.15),
        rgba(37, 99, 235, 0.1)
    );
    border-color: rgba(59, 130, 246, 0.3);
}

.stat-card-2:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.3);
}

.stat-card-3 {
    background: linear-gradient(
        135deg,
        rgba(236, 72, 153, 0.15),
        rgba(219, 39, 119, 0.1)
    );
    border-color: rgba(236, 72, 153, 0.3);
}

.stat-card-3:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 40px rgba(236, 72, 153, 0.3);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-card-1 .stat-number {
    background: linear-gradient(135deg, #9333ea, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-card-2 .stat-number {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-card-3 .stat-number {
    background: linear-gradient(135deg, #ec4899, #db2777);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
}

.projects-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.project-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8faf9 100%);
    border-radius: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
    width: 150px;
    aspect-ratio: 1;

    @media (max-width: 575.98px) {
        padding: 1rem;
    }
}

.project-logo:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.project-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.project-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.pruzeno-usluga {
    padding: 40px;
    background-color: #f9f9f9;
    border-radius: 16px;
}

.pruzeno-usluga-broj {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.pruzeno-usluga p.veliki {
    font-size: 160px;
    font-weight: 800;
}

.pruzeno-usluga p.mali {
    margin-top: -50px;
    font-size: 36px;
    font-weight: 800;
}

.pruzeno-usluga-partneri {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 32px;
}

.pruzeno-usluga-partneri .partner {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    padding: 4px;
    display: inline-block;
    margin: 8px;
}

.pruzeno-usluga-partneri .partner img {
    width: 100%;
    object-fit: cover;
    cursor: pointer;
}

footer {
    background: linear-gradient(135deg, #1e1e20 0%, #2f2c2c 100%);
    padding: 32px;
    color: white;
}

.footer-lista h5 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 16px;
}

.footer-lista ul {
    list-style-type: none;
    padding: 0;
}

.footer-lista ul li {
    margin-bottom: 8px;
    font-weight: 400;
    color: #e2e2e2;
    font-size: 14px;
}

.footer-lista hr {
    border: 1px solid #e2e2e2;
    margin: 16px 0;
}

.trademark {
    font-size: 14px;
    color: gray;
    font-weight: 400;
}

.contact-section {
    max-width: 900px;
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
}

.contact-subtitle {
    font-size: 1.125rem;
    color: #64748b;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

.contact-form {
    background: linear-gradient(135deg, #ffffff 0%, #f8faf9 100%);
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

div.kontakt p {
    font-size: 20px;
    text-align: center;
}

div.kontakt {
    max-width: 950px;
}

.plavi {
    color: #304ffe;
}

div.kontakt button {
    padding: 8px 32px;
    font-size: 20px;
}

/* Remove box shadow and outline from all form elements */
.form-label {
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}

.form-control {
    box-shadow: none !important;
    outline: none !important;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
    background: #ffffff;
}

.form-control[type="text"],
.form-control[type="password"],
.form-control[type="email"] {
    box-shadow: none !important;
    outline: none !important;
}

.form-control[type="textarea"] {
    box-shadow: none !important;
    outline: none !important;
}

.form-control:focus {
    border-color: #304ffe;
    background: #ffffff;
}

textarea {
    box-shadow: none !important;
    outline: none !important;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
    background: #ffffff;
    font-size: 0.9375rem;
}

textarea:focus {
    border-color: #304ffe;
    background: #ffffff;
}

.floating1 {
    animation: floatAnimation1 3s infinite alternate;
}

.floating2 {
    animation: floatAnimation2 4s infinite alternate;
}

.floating3 {
    position: relative;
    animation: floatAnimation3 3s infinite alternate;
}

.floating4 {
    animation: floatAnimation4 5s infinite alternate;
}

@keyframes floatAnimation1 {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes floatAnimation2 {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}

@keyframes floatAnimation3 {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes floatAnimation4 {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* MEDIA QUERIES */

@media (max-width: 1399.98px) {
}

@media (max-width: 1199.98px) {
    h1.naslov {
        font-size: 54px;
    }
}

@media (max-width: 991.98px) {
    h1.naslov {
        font-size: 40px;
    }
}

@media (max-width: 767.98px) {
    h1.naslov {
        font-size: 32px;
    }
}

@media (max-width: 575.98px) {
    h1.naslov {
        font-size: 32px;
    }

    h2.podnaslov {
        font-size: 1.5rem;
    }

    span.podnaslov-span {
        font-size: 1.5rem;
    }

    .services-title {
        font-size: 1.5rem;
    }

    .services-subtitle {
        font-size: 1.5rem;
    }

    .services-header {
        margin-top: 70px;
        margin-bottom: 50px;
    }

    .mt-150 {
        margin-top: 70px;
    }

    .pruzeno-usluga p.mali {
        text-align: center;
    }

    .pruzeno-usluga {
        padding: 0;
    }

    .footer-lista div:first-child {
        margin-top: 0;
    }

    .footer-lista div {
        margin-top: 32px;
    }

    .hero-image {
        height: 180px;
    }

    p.podnaslov {
        font-size: 24px !important;
    }
}
