/*
 * Immaxia.ro theme on top of Bootstrap 5.3
 * Copyright 2025-2026 Frontline softworks <https://www.frontline.ro>
 */

/* Fonts: Raleway variable (self-hosted) */
@font-face {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url(../fonts/raleway-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url(../fonts/raleway-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Tokens */
:root {
    --im-green: #a4cd39;
    --im-green-rgb: 164, 205, 57;
    --im-navy: #010c16;
    --im-navy-75: rgba(1, 12, 22, .75);
    --im-panel: rgba(0, 0, 0, .85);
    --im-pattern: url(../img/bg_pattern.png);
    --im-nav-height: 60px;
    --im-gap: min(100px, 12vh);

    --bs-body-font-family: 'Raleway', sans-serif;
    --bs-body-font-size: 1rem;
    --bs-body-line-height: 1.5;
    --bs-body-color: #fff;
    --bs-body-bg: #000;
    --bs-link-color: var(--im-green);
    --bs-link-color-rgb: var(--im-green-rgb);
    --bs-link-hover-color: #fff;
    --bs-link-hover-color-rgb: 255, 255, 255;
    --bs-border-radius: 0;
    --bs-emphasis-color: #fff;
    --bs-heading-color: inherit;
}

/* Base */
body {
    background: #000 var(--im-pattern) repeat;
    -webkit-font-smoothing: antialiased;
    text-size-adjust: 100%;
}
a {
    text-decoration: none;
    transition: color .2s ease-in, background-color .2s ease-in, border-color .2s ease-in;
}
h2 {
    font-size: 48px;
    line-height: 50px;
    font-weight: 100;
}
.text-green {
    color: var(--im-green);
}
.icon {
    width: 1em;
    height: 1em;
    vertical-align: -.125em;
}
.icon-lg {
    width: 28px;
    height: 28px;
}
@media (min-width: 1400px) {
    .container {
        max-width: 1230px;
    }
}

/* Parallax: fixed backgrounds only where they work (desktop, non-touch) */
.parallax {
    background-attachment: scroll;
}
@media (min-width: 992px) and (hover: hover) {
    .parallax {
        background-attachment: fixed;
    }
}

/* Buttons */
.btn {
    --bs-btn-border-radius: 0;
    --bs-btn-border-width: 2px;
    --bs-btn-padding-x: 15px;
    --bs-btn-padding-y: 10px;
    --bs-btn-font-size: 14px;
    --bs-btn-font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .75px;
    text-shadow: none;
}
.btn-outline-green {
    --bs-btn-color: var(--im-green);
    --bs-btn-border-color: var(--im-green);
    --bs-btn-hover-color: var(--im-navy);
    --bs-btn-hover-bg: var(--im-green);
    --bs-btn-hover-border-color: var(--im-green);
    --bs-btn-active-color: var(--im-navy);
    --bs-btn-active-bg: var(--im-green);
    --bs-btn-active-border-color: var(--im-green);
    --bs-btn-focus-shadow-rgb: var(--im-green-rgb);
}
.btn-outline-navy {
    --bs-btn-color: var(--im-navy);
    --bs-btn-border-color: var(--im-navy);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--im-navy);
    --bs-btn-hover-border-color: var(--im-navy);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--im-navy);
    --bs-btn-active-border-color: var(--im-navy);
    --bs-btn-focus-shadow-rgb: 1, 12, 22;
}

/* Navbar */
.site-nav {
    --bs-navbar-padding-y: 0;
    --bs-navbar-color: rgba(255, 255, 255, .9);
    --bs-navbar-hover-color: var(--im-green);
    --bs-navbar-active-color: var(--im-green);
    --bs-navbar-nav-link-padding-x: 20px;
    min-height: var(--im-nav-height);
    background: var(--im-navy-75);
}
.site-nav .navbar-brand {
    padding: 10px 0;
}
.site-nav .navbar-brand img {
    display: block;
    width: 275px;
    max-width: 100%;
    height: auto;
}
.site-nav .nav-link {
    font-size: 20px;
    line-height: 45px;
    padding-top: 7px;
    padding-bottom: 8px;
}
.site-nav .nav-link.active {
    box-shadow: inset 0 -1px 0 var(--im-green);
}
.site-nav .dropdown-toggle::after {
    border-top-color: rgba(255, 255, 255, .75);
    vertical-align: .2em;
}
.site-nav .dropdown-toggle:hover::after,
.site-nav .dropdown-toggle.show::after,
.site-nav .dropdown-toggle.active::after {
    border-top-color: rgba(var(--im-green-rgb), .75);
}
.navbar-toggler {
    padding: 6px 12px;
    border: 0;
    border-radius: 0;
    background: var(--im-green);
    color: var(--im-navy);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .75px;
    text-transform: uppercase;
}
.navbar-toggler:focus {
    box-shadow: 0 0 0 2px #fff;
}

/* Products dropdown */
.site-nav .dropdown-menu {
    --bs-dropdown-bg: var(--im-green);
    --bs-dropdown-border-width: 0;
    --bs-dropdown-border-radius: 0;
    --bs-dropdown-padding-y: 0;
    --bs-dropdown-spacer: 0;
    --bs-dropdown-link-color: var(--im-navy);
    --bs-dropdown-link-hover-color: var(--im-green);
    --bs-dropdown-link-active-color: var(--im-green);
    --bs-dropdown-link-active-bg: #000;
    min-width: 240px;
}
.site-nav .dropdown-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    font-size: 21px;
    font-weight: 700;
}
.site-nav .dropdown-item:hover,
.site-nav .dropdown-item:focus,
.site-nav .dropdown-item.active {
    background: #000 var(--im-pattern) repeat;
}
.dropdown-thumb {
    width: 99px;
    height: 99px;
    border: 2px solid #fff;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, .25);
    transition: border-color .2s ease-in;
}
.dropdown-item:hover .dropdown-thumb,
.dropdown-item:focus .dropdown-thumb,
.dropdown-item.active .dropdown-thumb {
    border-color: var(--im-green);
}

@media (min-width: 992px) {
    .site-nav .dropdown-menu::before {
        content: '';
        position: absolute;
        top: -6px;
        left: 20px;
        border: 6px solid transparent;
        border-top: 0;
        border-bottom-color: var(--im-green);
    }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
    .site-nav .dropdown-menu::before {
        left: auto;
        right: 20px;
    }
}

/* Mobile menu: solid background, full-width items */
@media (max-width: 991.98px) {
    .site-nav .navbar-brand img {
        width: 150px;
    }
    .site-nav .navbar-collapse {
        max-height: calc(100svh - var(--im-nav-height));
        overflow-y: auto;
        margin: 0 calc(var(--bs-gutter-x) * -.5);
        padding: 10px calc(var(--bs-gutter-x) * .5) 15px;
        background: var(--im-navy);
    }
    .site-nav .nav-link {
        padding: 10px;
        line-height: 30px;
        border-top: 1px solid rgba(255, 255, 255, .08);
    }
    .site-nav .nav-link.active,
    .site-nav .nav-link:hover,
    .site-nav .nav-link:focus,
    .site-nav .nav-link.show {
        background: var(--im-green);
        color: var(--im-navy);
        box-shadow: none;
    }
    .site-nav .dropdown-menu.show {
        display: flex;
        flex-wrap: wrap;
    }
    .site-nav .dropdown-menu > li {
        width: 50%;
    }
    .site-nav .dropdown-item {
        padding: 10px;
        font-size: 18px;
    }
    .dropdown-thumb {
        width: 50px;
        height: 50px;
    }
}

/* Home: carousel */
.hero,
.hero .carousel-item {
    height: 100svh;
    min-height: 480px;
}
.hero .slide {
    position: absolute;
    inset: 0;
    background-color: #000;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.hero .slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--im-pattern) repeat;
}
.slide-1 {
    background-image: url(../img/slider/city-lights-4.jpg);
    background-image: image-set(url(../img/slider/city-lights-4.webp) type('image/webp'), url(../img/slider/city-lights-4.jpg) type('image/jpeg'));
}
.slide-2 {
    background-image: url(../img/slider/city-lights-3.jpg);
    background-image: image-set(url(../img/slider/city-lights-3.webp) type('image/webp'), url(../img/slider/city-lights-3.jpg) type('image/jpeg'));
}
.slide-3 {
    background-image: url(../img/slider/slide-3.jpg);
    background-image: image-set(url(../img/slider/slide-3.webp) type('image/webp'), url(../img/slider/slide-3.jpg) type('image/jpeg'));
}
.hero .carousel-caption {
    z-index: 10;
    left: auto;
    right: 60px;
    bottom: 150px;
    padding: 30px 0;
    text-align: right;
    font-size: 150px;
    font-weight: 800;
    line-height: 1;
    color: rgba(255, 255, 255, .75);
}
.hero .carousel-control-prev,
.hero .carousel-control-next,
.hero .carousel-control-pause {
    z-index: 11;
    top: auto;
    left: auto;
    bottom: 60px;
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, .5);
    color: rgba(255, 255, 255, .35);
    opacity: 1;
}
.hero .carousel-control-pause {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    transition: background-color .2s ease-in, color .2s ease-in;
}
.hero .carousel-control-pause[hidden] {
    display: none;
}
.hero .carousel-control-prev:hover,
.hero .carousel-control-next:hover,
.hero .carousel-control-pause:hover,
.hero .carousel-control-prev:focus,
.hero .carousel-control-next:focus,
.hero .carousel-control-pause:focus {
    background: rgba(0, 0, 0, .65);
    color: rgba(255, 255, 255, .5);
}
.hero .carousel-control-pause {
    right: 182px;
}
.hero .carousel-control-prev {
    right: 121px;
}
.hero .carousel-control-next {
    right: 60px;
}
.hero.is-paused .icon-pause,
.hero:not(.is-paused) .icon-play {
    display: none;
}

/* Home: sections */
.intro {
    padding: 30px 15px;
    background: var(--im-green);
    color: var(--im-navy);
    text-align: center;
}
.intro h2 {
    text-shadow: 1px 1px 1px rgba(255, 255, 255, .35);
}
.intro .btn,
.concept-section .btn {
    margin: 20px 0 10px;
}
.concept-section,
.products-section {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 100svh;
    background-color: #000;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
    text-shadow: 1px 1px 1px #000;
}
.concept-section {
    background-image: url(../img/concept.jpg);
    background-image: image-set(url(../img/concept.webp) type('image/webp'), url(../img/concept.jpg) type('image/jpeg'));
}
.concept-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--im-pattern) repeat;
}
.concept-section > .container {
    position: relative;
}
.products-section {
    padding: 30px 0;
    background-image: url(../img/slider/city-lights-4.jpg);
    background-image: image-set(url(../img/slider/city-lights-4.webp) type('image/webp'), url(../img/slider/city-lights-4.jpg) type('image/jpeg'));
}
.products-section h2 {
    font-weight: 400;
}
.products-section h2 strong {
    font-weight: 700;
}
.product-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 360px;
    max-width: 100%;
    height: 360px;
    margin: 100px auto;
    border: 1px solid var(--im-green);
    background: rgba(0, 0, 0, .15) var(--im-pattern) repeat;
}
.product-box img {
    width: auto;
    max-height: 300px;
}
.product-box h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
}
.products-tagline {
    padding: 20px;
    background: var(--im-navy-75);
}
.products-tagline h2 {
    margin: 0;
    font-weight: 100;
}

/* Scroll-in animations (enabled by app.js on desktop only) */
.js-reveal .reveal-left,
.js-reveal .reveal-right {
    transition: transform .35s, opacity .35s;
}
.js-reveal .reveal-section:not(.is-visible) .reveal-left,
.js-reveal .reveal-section:not(.is-visible) .reveal-right {
    opacity: 0;
}
.js-reveal .reveal-section:not(.is-visible) .reveal-left {
    transform: translateX(-80px);
}
.js-reveal .reveal-section:not(.is-visible) .reveal-right {
    transform: translateX(80px);
}
.js-reveal .reveal-section.is-visible .reveal-left {
    transition-delay: .3s;
}
.js-reveal .reveal-section.is-visible .reveal-right {
    transition-delay: .5s;
}

/* Inner pages */
.page-main {
    padding: var(--im-gap) 0;
    background: #000 url(../img/city-lights-5.jpg) center top / cover no-repeat;
    background-image: image-set(url(../img/city-lights-5.webp) type('image/webp'), url(../img/city-lights-5.jpg) type('image/jpeg'));
    text-shadow: 1px 1px 1px #000;
}
.page-panel {
    margin-top: var(--im-gap);
    margin-bottom: var(--im-gap);
    padding: 30px;
    background: var(--im-panel) var(--im-pattern) repeat;
}
.page-panel:last-child {
    margin-bottom: 0;
}
.page-header {
    margin: 20px 0 60px;
    padding-bottom: 9px;
    border-bottom: 1px solid var(--im-green);
    color: var(--im-green);
}
.page-header h1,
.page-header h2 {
    margin: 0;
    font-size: 40px;
    line-height: 1.2;
    font-weight: 100;
    text-transform: uppercase;
}
.about-columns img {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 30px;
}
.quotes blockquote {
    margin: 0 0 20px;
    padding: 0 0 0 15px;
    border-left: 1px solid var(--im-green);
}
.sketch img {
    background: #fff;
}
.side-figure img {
    display: block;
    width: 100%;
    height: auto;
}
@media (max-width: 767.98px) {
    .side-figure img {
        max-width: 320px;
        margin: 10px auto 0;
    }
}

/* Product */
.product-photo {
    width: auto;
    max-width: 100%;
    max-height: 500px;
}
.spec-table {
    width: 100%;
    margin-top: 20px;
    caption-side: top;
}
.spec-table caption {
    padding: 5px 0;
    margin-bottom: 10px;
    border-bottom: 1px dotted var(--im-green);
    color: var(--im-green);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 30px;
    text-transform: uppercase;
    text-shadow: none;
}
.spec-table tr {
    border-bottom: 1px dotted rgba(255, 255, 255, .5);
}
.spec-table tr:hover {
    background: var(--im-green);
    color: #02172e;
    text-shadow: none;
}
.spec-table th,
.spec-table td {
    padding: 8px 10px;
    font-weight: 400;
    vertical-align: middle;
}
.cert-logos {
    max-height: 40px;
    width: auto;
}

/* Certificates */
.certificates {
    display: grid;
    align-items: center;
    gap: 20px 30px;
}
.certificates-grid {
    grid-template-columns: repeat(2, 1fr);
}
.certificates-strip {
    grid-template-columns: repeat(auto-fit, 70px);
    justify-content: center;
}
.certificate img {
    display: block;
    width: 100%;
    height: auto;
    background: #fff;
}
@media (max-width: 575.98px) {
    .certificates-strip {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }
}
@media (min-width: 768px) {
    .certificates-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Legal pages */
.legal h2 {
    margin: 30px 0 10px;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 700;
    color: var(--im-green);
}
.legal hr {
    margin-top: 40px;
}

/* Footer */
.site-footer {
    padding: 60px 15px;
    background: var(--im-navy);
    color: rgba(255, 255, 255, .75);
}
.site-footer h3 {
    margin: 20px 0 10px;
    color: var(--im-green);
    font-size: 24px;
    font-weight: 600;
}
.site-footer a {
    color: rgba(255, 255, 255, .75);
}
.site-footer a:hover,
.site-footer a:focus {
    color: #fff;
}
.site-footer li {
    margin: 10px 0;
}
.site-footer .icon {
    width: 25px;
    color: var(--im-green);
}
.copyrights {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid;
    font-size: 13px;
}
.legal-line span + span::before {
    content: ' · ';
}
.powered-by img {
    width: 20px;
    height: 20px;
    vertical-align: -5px;
}

/* Responsive */
@media (max-width: 991.98px) {
    .hero .carousel-caption {
        bottom: 100px;
        font-size: 100px;
    }
    .hero .carousel-control-prev,
    .hero .carousel-control-next,
    .hero .carousel-control-pause {
        bottom: 30px;
        background: rgba(0, 0, 0, .85);
    }
    .product-box {
        width: 300px;
        height: 300px;
    }
    .product-box img {
        max-height: 250px;
    }
}
@media (max-width: 767.98px) {
    .product-box {
        width: 260px;
        height: 260px;
        margin: 30px auto;
    }
    .product-box img {
        max-height: 200px;
    }
    .product-photo {
        max-height: 320px;
    }
}
@media (max-width: 640px) {
    h2 {
        font-size: 32px;
        line-height: 40px;
    }
    .page-header h1,
    .page-header h2 {
        font-size: 32px;
    }
    .hero .carousel-caption {
        right: 21px;
        bottom: 130px;
        padding: 20px 0;
        font-size: 60px;
    }
    .hero .carousel-control-prev,
    .hero .carousel-control-next,
    .hero .carousel-control-pause {
        bottom: 60px;
    }
    .hero .carousel-control-pause {
        right: 161px;
    }
    .hero .carousel-control-prev {
        right: 91px;
    }
    .hero .carousel-control-next {
        right: 21px;
    }
    .page-main {
        padding: var(--im-nav-height) 0 0;
        background: none;
    }
    .page-main > .page-panel {
        max-width: none;
        margin: 0;
        padding: 30px 20px;
    }
    .page-main > .page-panel + .page-panel {
        border-top: 1px solid rgba(var(--im-green-rgb), .35);
    }
    .spec-table caption {
        font-size: 18px;
        letter-spacing: 1px;
    }
    .spec-table {
        font-size: 14px;
    }
    .site-footer {
        padding: 15px;
    }
}
@media (max-width: 480px) {
    .hero .carousel-caption {
        font-size: 40px;
    }
}
@media (max-width: 399.98px) {
    .spec-table th,
    .spec-table td {
        display: block;
    }
    .spec-table th {
        padding-bottom: 0;
        color: rgba(255, 255, 255, .75);
    }
    .spec-table td {
        padding-top: 2px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .parallax {
        background-attachment: scroll;
    }
}
