﻿body {
    font-family: "Segoe UI", Arial, sans-serif;
    scroll-behavior: smooth;
}

/* ===== NAVBAR ===== */
.navbar {
    background: rgba(0,0,0,0.85);
}

.navbar-brand, .nav-link {
    color: #fff !important;
}

    .nav-link.active {
        text-decoration: underline;
        font-weight: 600;
    }

/* ===== SECTIONS ===== */
section {
    min-height: 100vh;
    padding-top: 86px;
    padding-bottom: 40px;
}

/* ===== HERO ===== */
#home {
    background: linear-gradient(rgba(0,0,0,.6), rgba(0,0,0,.6)), url('/images/distributor-login.png') no-repeat center center;
    background-size: cover;
    color: #fff;
    line-height: 0; /* prevents inline-image spacing */
}

/* ===== LOGIN CARD ===== */
.login-card {
    max-width: 420px;
    width: 100%;
    border-radius: 24px;
    /* Black → Dark Green gradient */
    background: linear-gradient( 145deg, #020617 0%, /* near-black */
    #064e3b 100% /* dark green */
    );
    backdrop-filter: blur(8px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.6), inset 0 0 0 1px rgba(255,255,255,0.08);
    padding: 20px;
    color: #e5e7eb; /* light text for contrast */
}

/* ===== LOGIN GRADIENT BACKGROUND ===== */
#login {
    position: relative;
    background: linear-gradient(135deg, #0f766e 0%, #1f2937 50%, #020617 100%);
    overflow: hidden;
}

    /* diagonal line pattern overlay */
    #login::before {
        content: "";
        position: absolute;
        inset: 0;
        background: repeating-linear-gradient( 135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.05) 1px, transparent 1px, transparent 10px );
        z-index: 1;
    }

    /* glow accent lines */
    #login::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, transparent 40%, rgba(34,197,94,0.25), transparent 60%), linear-gradient(180deg, transparent 35%, rgba(34,197,94,0.18), transparent 65%);
        z-index: 1;
    }

    /* keep content above background */
    #login .container {
        position: relative;
        z-index: 2;
    }

@keyframes moveLines {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 200px 200px;
    }
}

#login::before {
    animation: moveLines 20s linear infinite;
}

/* ===== WELCOME BANNER ===== */
#welcome-message {
    position: fixed;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    background: #111827;
    color: #fff;
    padding: 6px 18px;
    border-radius: 999px;
    font-size: 13px;
    z-index: 2000;
    display: none;
}

/* ===== CONTACT PARALLAX SECTION ===== */
.contact-section {
    position: relative;
    min-height: 100vh;
    background-image: url('/images/bg-contact.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* parallax */
    overflow: hidden;
}

    /* dark overlay */
    .contact-section::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.55);
        z-index: 1;
    }

/* content above overlay */
.contact-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    background: rgba(0,0,0,0.45);
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(6px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.5);
    transform-style: preserve-3d;
    transition: transform 0.2s ease;
}

@keyframes float3d {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0);
    }
}

.contact-content {
    animation: float3d 12s ease-in-out infinite;
}
