﻿/* ===============================
   GLOBAL
================================*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* GLOBAL SCALE – ова е клучно за да изгледа како на 75% */
html {
    font-size: 12px; /* помало од стандардните 16px */
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", sans-serif;
    background: #ffffff;
    color: #333;
}

/* ===============================
   NAVBAR
================================*/
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    z-index: 9999;
    transition: .3s;
}

.scrolled .top-nav {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1300px;
    margin: auto;
    width: 100%;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo img {
    height: 50px;
    object-fit: contain;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 35px;
}

    .nav-links li a {
        text-decoration: none;
        font-size: 1.1rem; /* ~13px */
        font-weight: 600;
        color: #003e80;
        transition: .2s;
    }

        .nav-links li a:hover {
            color: #2c6ff8;
        }

/* Hamburger (mobile) */
.nav-toggle {
    font-size: 28px;
    display: none;
    cursor: pointer;
}

/* ===============================
   HERO SECTION
================================*/
.hero {
    position: relative;
    min-height: 70vh; /* наместо 720px */
    margin-top: 70px; /* под navbar */
    background: url('../Content/Images/mojservis1.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 60px; /* намалено од 100px */
    overflow: hidden;
}

    /* GRADIENT overlay */
    .hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( to bottom right, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.25), rgba(255, 255, 255, 0.10) );
        backdrop-filter: blur(2px);
        opacity: 0;
        animation: heroFade 2s ease forwards;
        animation-delay: 0.5s;
    }

@keyframes heroFade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* LEFT TABS WRAPPER */
.hero-tabs {
    position: absolute;
    left: 60px;
    top: 50%;
    transform: translateY(-50%) translateX(-30px);
    opacity: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 3;
    transition: all 1s ease;
}

    /* show on load */
    .hero-tabs.show-tabs {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }

/* EACH TAB (link) */
.hero-tab {
    background: rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(18px);
    padding: 14px 20px; /* помало од 20/26 */
    border-radius: 16px;
    color: #ffffff;
    font-size: 1.3rem; /* наместо 22px */
    font-weight: 600;
    cursor: pointer;
    transition: 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 6px 22px rgba(0,0,0,0.25), inset 0 0 8px rgba(255,255,255,0.35);
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transform: translateX(-25px);
    animation: tabFadeIn 1s forwards;
    text-decoration: none;
}

    .hero-tab:hover {
        transform: translateX(10px) scale(1.05);
        background: rgba(255, 255, 255, 0.38);
        box-shadow: 0 10px 28px rgba(0,0,0,0.35), inset 0 0 12px rgba(255,255,255,0.55);
    }

.tab-icon {
    font-size: 26px;
    opacity: 0.9;
}

/* stagger animation */
.hero-tab:nth-child(1) {
    animation-delay: 0.2s;
}

.hero-tab:nth-child(2) {
    animation-delay: 0.35s;
}

.hero-tab:nth-child(3) {
    animation-delay: 0.5s;
}

.hero-tab:nth-child(4) {
    animation-delay: 0.65s;
}

.hero-tab:nth-child(5) {
    animation-delay: 0.8s;
}

@keyframes tabFadeIn {
    from {
        opacity: 0;
        transform: translateX(-25px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* CENTERED HERO TEXT */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 650px;
    padding: 20px;
}

    .hero-content h1 {
        font-size: 3.6rem; /* порано 70px – сега ~43px */
        font-weight: 700;
    }

    .hero-content p {
        font-size: 1.3rem; /* порано 22px */
        margin-top: 12px;
        line-height: 1.55;
    }

/* ===============================
   BRAND BANNER
================================*/
.brand-banner {
    width: 100%;
    padding: 20px 0;
    background: #f5f7fa;
    border-top: 1px solid rgba(0,0,0,0.08);
    border-bottom: 1px solid rgba(0,0,0,0.08);
    overflow: hidden;
    margin-top: 20px;
}

.brand-track {
    display: flex;
    gap: 60px;
    align-items: center;
    animation: brandScroll 24s linear infinite;
}

.brand-banner img {
    height: 45px; /* наместо 55px */
    object-fit: contain;
    filter: grayscale(20%) opacity(0.9);
    transition: 0.3s;
}

    .brand-banner img:hover {
        filter: grayscale(0%) opacity(1);
        transform: scale(1.08);
    }

@keyframes brandScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ===============================
   FOOTER
================================*/
footer {
    background: #1f1f1f;
    color: #e0e0e0;
    padding: 50px 5% 25px 5%;
    margin-top: 20px;
}

.footer-container {
    max-width: 1300px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-logo img {
    height: 80px;
    object-fit: contain;
    filter: brightness(1);
}

.footer-info,
.footer-hours {
    min-width: 240px;
}

    .footer-info h3,
    .footer-hours h3 {
        color: #ffffff;
        font-size: 1.6rem;
        margin-bottom: 12px;
        font-weight: 600;
    }

    .footer-info p,
    .footer-hours p {
        margin: 6px 0;
        font-size: 1.1rem;
        color: #d0d0d0;
    }

.highlight {
    color: #2c6ff8;
}

/* FOOTER MAP */
#footerMap {
    width: 100%;
    height: 220px; /* малку помало од 260px */
    margin: 30px auto 0 auto;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    max-width: 1300px;
}

/* COPYRIGHT LINE */
.footer-bottom {
    text-align: center;
    margin-top: 25px;
    font-size: 0.95rem;
    color: #bbbbbb;
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 15px;
}

/* ===============================
   RESPONSIVE
================================*/
@media (max-width: 900px) {

    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        right: 0;
        width: 100%;
        background: rgba(255,255,255,0.95);
        flex-direction: column;
        display: none;
        text-align: center;
        padding: 20px 0;
    }

        .nav-links.open {
            display: flex;
        }

        .nav-links li {
            padding: 12px 0;
        }

    .hero-tabs {
        left: 20px;
    }

    .hero-tab {
        font-size: 1.1rem;
        padding: 12px 16px;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    footer {
        padding: 40px 5% 20px 5%;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-logo img {
        height: 70px;
    }

    #footerMap {
        height: 220px;
        margin-top: 20px;
        border-radius: 12px;
    }
}

@media (max-width: 600px) {

    .hero {
        flex-direction: column;
        padding-left: 0;
    }

    .hero-tabs {
        position: static;
        transform: none;
        flex-direction: row;
        overflow-x: auto;
        padding: 10px 15px;
    }

    .hero-content {
        padding: 20px 15px;
    }

        .hero-content h1 {
            font-size: 2.3rem;
        }

        .hero-content p {
            font-size: 1.05rem;
        }

    .footer-info h3,
    .footer-hours h3 {
        font-size: 1.4rem;
    }

    .footer-info p,
    .footer-hours p {
        font-size: 1rem;
    }
}
