﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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: 16px;
        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 — IMAGE UNDER NAVBAR
---------------------------------------------------------- */
.hero {
    position: relative;
    height: 720px;
    margin-top: 70px; /* below navbar */
    background: url('../Content/Images/mojservis1.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 100px;
    overflow: hidden;
}

    /* GRADIENT + translucent overlay */
    .hero::before {
        content: "";
        position: absolute;
        inset: 0;
        /* final translucent gradient */
        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; /* start invisible */
        animation: heroFade 2s ease forwards;
        animation-delay: 0.5s; /* wait before fading in */
    }

@keyframes heroFade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* LEFT TABS WRAPPER — fade in */
.hero-tabs {
    position: absolute;
    left: 60px;
    top: 50%;
    transform: translateY(-50%) translateX(-30px);
    opacity: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 3;
    transition: all 1s ease;
}

    /* TABS APPEAR */
    .hero-tabs.show-tabs {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }

/* EACH TAB */
.hero-tab {
    background: rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(18px);
    padding: 20px 26px;
    border-radius: 16px;
    color: #ffffff;
    font-size: 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: 12px;
    opacity: 0;
    transform: translateX(-25px);
    animation: tabFadeIn 1s forwards;
}

.tab-icon {
    font-size: 26px;
    opacity: 0.9;
}

.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);
}

/* STAGGER ANIMATIONS */
.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;
}

/* APPEAR ANIMATION */
@keyframes tabFadeIn {
    from {
        opacity: 0;
        transform: translateX(-35px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.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 for tab fade */
@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: 700px;
    padding: 20px;
}

    .hero-content h1 {
        font-size: 70px;
        font-weight: 700;
    }

    .hero-content p {
        font-size: 22px;
        margin-top: 12px;
    }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
    .hero-tabs {
        left: 20px;
    }

    .hero-tab {
        font-size: 18px;
    }
}

@media (max-width: 600px) {
    .hero {
        flex-direction: column;
        padding-left: 0;
    }

    .hero-tabs {
        position: static;
        transform: none;
        flex-direction: row;
        overflow-x: auto;
    }
}



.brand-banner {
    width: 100%;
    padding: 25px 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: 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 {
    background: #1f1f1f;
    color: #e0e0e0;
    padding: 60px 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;
}

/* LOGO BLOCK */
.footer-logo img {
    height: 90px;
    object-fit: contain;
    filter: brightness(1);
}

/* COLUMNS */
.footer-info,
.footer-hours {
    min-width: 240px;
}

    .footer-info h3,
    .footer-hours h3 {
        color: #ffffff;
        font-size: 22px;
        margin-bottom: 12px;
        font-weight: 600;
    }

    .footer-info p,
    .footer-hours p {
        margin: 6px 0;
        font-size: 16px;
        color: #d0d0d0;
    }

.highlight {
    color: #2c6ff8;
}

/* ===============================
   FOOTER MAP STYLING
================================*/
#footerMap {
    width: 100%;
    height: 260px;
    margin: 40px auto 0 auto;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    max-width: 1300px;
}

/* ===============================
   FOOTER BOTTOM COPYRIGHT
================================*/
.footer-bottom {
    text-align: center;
    margin-top: 35px;
    font-size: 15px;
    color: #bbbbbb;
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 20px;
}

/* ===============================
   RESPONSIVE FOOTER
================================*/
@media (max-width: 900px) {

    footer {
        padding: 50px 5% 20px 5%;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-logo img {
        height: 80px;
    }

    #footerMap {
        width: 100%;
        height: 260px;
        margin-top: 25px;
        border-radius: 12px;
        overflow: hidden;
    }
}

@media (max-width: 600px) {

    .footer-info h3,
    .footer-hours h3 {
        font-size: 20px;
    }

    .footer-info p,
    .footer-hours p {
        font-size: 15px;
    }
}
/* ---------------------------------------------------------
   RESPONSIVE DESIGN
---------------------------------------------------------- */
@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-content h1 {
        font-size: 42px;
    }
}
/* COLLAPSIBLE BOX INSIDE GLASS BOX */
.collapse-section {
    margin-top: 20px;
}

.collapse-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 22px;
    font-weight: 700;
    cursor: pointer;
    padding: 10px 0;
    color: #fff;
}

.collapse-icon {
    font-size: 26px;
    font-weight: 700;
    transition: .25s ease;
}

.collapse-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    font-size: 16px;
    margin-top: 5px;
    color: blue;
    transition: max-height .35s ease, opacity .35s ease;
}

/* when opened */
.collapse-section.open .collapse-content {
    max-height: 500px; /* enough space */
    opacity: 1;
}

.collapse-section.open .collapse-icon {
    transform: rotate(180deg);
}
.form-scroll {
    max-height: 480px; /* choose your visible form height */
    overflow-y: auto;
    padding-right: 12px; /* prevent text cutoff */
}

    /* Nice scrollbar */
    .form-scroll::-webkit-scrollbar {
        width: 10px;
    }

    .form-scroll::-webkit-scrollbar-track {
        background: rgba(255,255,255,0.15);
        border-radius: 10px;
    }

    .form-scroll::-webkit-scrollbar-thumb {
        background: rgba(255,255,255,0.45);
        border-radius: 10px;
    }

        .form-scroll::-webkit-scrollbar-thumb:hover {
            background: rgba(255,255,255,0.65);
        }