﻿/* ======================================================
   AVYX – GLOBAL BRAND & SYSTEM STYLES
   ====================================================== */

:root {
    /* Brand (OptiLoad / Avyx identity) */
    --brand-dark: #2c3e50;
    --brand-mid: #3A5066;
    --brand-border: #3F5873;
    /* System UI (Bootstrap dark) */
    --system-dark: #212529;
    /* Layout */
    --brand-bg: #f4f6f9;
    /* Semantic */
    --primary: #0d6efd;
    --success: #198754;
}

/* ------------------------------------------------------
   Base
   ------------------------------------------------------ */

html, body {
    margin: 0;
    padding: 0;
    background: var(--brand-bg);
    color: #212529;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ------------------------------------------------------
   Topbar
   ------------------------------------------------------ */

.topbar {
    padding: 16px 24px;
}

.topbar-dark {
    background: var(--brand-dark); /* #2C3E50 */
    color: #ffffff;
}


    .topbar-dark a {
        color: #ffffff;
        opacity: 0.9;
        text-decoration: none;
    }

        .topbar-dark a:hover {
            opacity: 1;
        }

/* ------------------------------------------------------
   Branding
   ------------------------------------------------------ */

.brand-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Logo container */
.brand-logo {
    flex-shrink: 0; /* 🔑 prevents logo from shrinking or overlapping */
    display: flex;
    align-items: center;
}

    /* Logo image itself */
    .brand-logo img {
        height: 40px; /* matches what you want */
        width: auto;
        display: block;
    }

.brand-tagline {
    font-size: 0.9rem;
    opacity: 0.75;
}

/* ------------------------------------------------------
   Hero / System Sections
   ------------------------------------------------------ */

.hero-home {
    background-image: url("/images/backgrounds/background.jpg");
}

.hero-optiload {
    background-image: url("/images/backgrounds/OptiLoad.png");
}
.hero-spm {
    background-image: url("/images/backgrounds/SPM.png");
}

/* ------------------------------------------------------
   Hero Sections (with overlay)
   ------------------------------------------------------ */

.hero {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
}

    .hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(44, 62, 80, 0.75); /* #2C3E50 overlay */
    }

    .hero > * {
        position: relative;
        z-index: 1;
    }


.system-section {
    background: var(--system-dark);
    color: #ffffff;
}

/* ------------------------------------------------------
   Content
   ------------------------------------------------------ */

.section-title {
    font-weight: 700;
    color: var(--brand-dark);
}

/* ------------------------------------------------------
   Product Cards
   ------------------------------------------------------ */

.product-card {
    border: none;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

    .product-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 28px rgba(0,0,0,0.1);
    }

.product-logo {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: #f1f3f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--brand-dark);
}

/* ------------------------------------------------------
   Footer
   ------------------------------------------------------ */

footer {
    background: #ffffff;
}

/* ------------------------------------------------------
   Buttons
   ------------------------------------------------------ */

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-success {
    background-color: var(--success);
    border-color: var(--success);
}

/* ------------------------------------------------------
   OptiLoad Screenshot Carousel
   ------------------------------------------------------ */

.optiload-carousel {
    max-width: 900px; /* 🔑 keeps it sane */
    margin: 0 auto;
}
/* ----------------------------------------
   OptiLoad Screenshots (NO carousel)
---------------------------------------- */

.optiload-shot {
    width: 100%;
    border-radius: 18px;
    background: #ffffff;
    padding: 10px;
    box-shadow: 0 30px 70px rgba(0,0,0,0.25);
}
.optiload-expand {
    cursor: pointer;
}

/* ----------------------------------------
   Fullscreen Image Modal
---------------------------------------- */

.modal-image {
    max-width: 95vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    margin: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.6);
}

.modal-content {
    background: rgba(0,0,0,0.92);
}
