/* GENERAL */
* {
    font-weight: 300;
}
section h2 {
    font-size: 30px;
    margin-bottom: 30px;
}
@keyframes fadeout {
    to {
        box-shadow: 4px 4px 5px 1px #a1a1a1;
    }
}
.top-shadow {
    width: 100%;
    height: 50px;
    position: fixed;
    top: 0;
    left: 0;
    background: linear-gradient(180deg, rgba(4, 4, 4, 0.1) 0%, rgba(0, 0, 0, 0.07) 60%, rgba(255, 255, 255, 0.04) 100%);
    z-index: 999;
}

/* HEADER ANIMATION */
.blaze-header {
    transform: translateY(-20px);
    opacity: 0;
    animation: top_down 1.2s forwards;
}
@keyframes top_down {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* SLIDES */
.slider {
    width: 100%;
    height: 800px;
    overflow: hidden;
    padding: 40px;
    box-sizing: border-box;
    position: relative;
    margin-bottom: 20px;
}
.slider .slides {
    position: relative;
    width: 100%;
    height: 100%;
}
.slider .slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 35% 65%;
    text-decoration: none;
    pointer-events: none;
    z-index: 0;

    /* start fully hidden */
    clip-path: inset(0 100% 0 0);
}

.slider .slide.active {
    pointer-events: auto;
    z-index: 2; /* above previous slide */
    animation: revealSlide 1s ease forwards;
}

@keyframes revealSlide {
    from {
        clip-path: inset(0 100% 0 0);
    }
    to {
        clip-path: inset(0 0 0 0);
    }
}

/* REMOVE these if present */
.slider .slide {
    opacity: 1;
}
.slider .slide.active {
    opacity: 1;
}

.slider .content-frame {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 20px;
    cursor: default;
}
.slider .content-frame h2 {
    font-size: 40px;
    font-weight: 300;
    color: #000;
}
.slider .content-frame p {
    font-size: 16px;
    line-height: 1.7;
    color: #444;
}
.slider .image {
    position: relative;
    overflow: hidden;
    box-shadow: 4px 4px 5px 1px #a1a1a1;
}
.slider .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.slider .content-frame h2,
.slider .content-frame p {
    opacity: 0;
    transform: translateX(40px);
}
.slider .slide.active .content-frame h2 {
    animation: textIn 0.8s ease forwards;
}
.slider .slide.active .content-frame p {
    animation: textIn 1s ease forwards;
}
@keyframes textIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
.slider .navigation {
    position: absolute;
    bottom: 100px;
    left: 20%;
    display: flex;
    gap: 12px;
    z-index: 99;
}
.slider .navigation .dot {
    width: 28px;
    height: 3px;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.3);
    transition:
        transform 0.25s ease,
        background 0.25s ease;
}
.slider .navigation .dot.active {
    background: #000;
}
@media screen and (max-width: 1100px) {
    .slider {
        height: 600px;
    }
}
@media screen and (max-width: 1000px) {
    .slider .slide {
        grid-template-columns: 45% 55%;
    }
    .slider {
        height: 500px;
    }
}
@media screen and (max-width: 800px) {
    .slider .slide .content-frame {
        grid-area: content_frame;
    }
    .slider .slide .image {
        grid-area: image;
        margin-bottom: 20px;
    }
    .slider .slide {
        grid-template-columns: unset;
        grid-template-areas:
            "image"
            "content_frame";
    }
    .slider .navigation {
        bottom: 0;
        left: unset;
        right: 50px;
    }
    .slider {
        height: 700px;
    }
}
@media screen and (max-width: 500px) {
    .slider {
        padding: 0;
        height: 630px;
    }
    .slider .content-frame {
        display: block;
    }
}

/* ANNOUNCEMENTS */
.announcements {
    padding: 40px 0;
}
.announcements ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 50px;
}
.announcements ul li {
    width: 32%;
    box-sizing: border-box;
    margin: 0 2% 40px 0;
}
.announcements ul li:nth-of-type(3n + 0) {
    margin-right: 0;
}
.announcements ul li a {
    color: #000;
    font-weight: 400;
    text-decoration: none;
    position: relative;
    display: block;
    padding-right: 25px;
    box-sizing: border-box;
}
.announcements ul li a::after {
    content: " ";
    display: block;
    width: 8px;
    height: 8px;
    border-top: 2px solid #444;
    border-right: 2px solid #444;
    position: absolute;
    top: 50%;
    right: 2px;
    margin-top: -4px;
    transform: rotate(45deg) skew(8deg, 8deg);
}
.announcements ul li a:hover {
    opacity: 0.8;
}
@media screen and (max-width: 1000px) {
    .announcements ul li {
        width: 48%;
    }
    .announcements ul li:nth-of-type(2n + 0) {
        margin-right: 0;
    }
    .announcements ul li:nth-of-type(3n + 0) {
        margin-right: 4%;
    }
}
@media screen and (max-width: 800px) {
    .announcements ul li {
        width: 100%;
    }
    .announcements ul li,
    .announcements ul li:nth-of-type(3n + 0) {
        margin-right: 0;
    }
}
@media screen and (max-width: 500px) {
    .announcements ul {
        margin-bottom: 0;
    }
}

/* PRODUCTS */
.products {
    margin-bottom: 70px;
}
.products nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}
.products nav h2 {
    margin-bottom: 0;
}
.products nav ul {
    display: flex;
    justify-content: space-between;
}
.products nav ul li {
    padding: 0 20px;
}
.products nav ul li span {
    cursor: pointer;
    position: relative;
}
.products nav ul li span.selected {
    font-weight: 400;
}
.products nav ul li span.selected::after {
    content: " ";
    background-color: #000;
    display: block;
    width: 100%;
    height: 1px;
    position: absolute;
    bottom: -10px;
}
.products nav ul li:last-of-type {
    padding-right: 0;
}
.products .category {
    margin-bottom: 20px;
}
.products .category h3 {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 15px;
}
.products .category h3 small {
    font-size: 12px;
}
.products .category ul {
    display: flex;
    flex-wrap: wrap;
}
.products .category ul li {
    width: 31%;
    margin-right: 3.5%;
    margin-bottom: 40px;
}
.products .category ul li:nth-of-type(3n + 0) {
    margin-right: 0;
}
.products .category ul li a {
    text-decoration: none;
}
.products .category ul li a img {
    width: 100%;
    margin-bottom: 5px;
}
.products .category ul li a:hover img {
    animation: fadeout 1s forwards;
}
.products .category ul li h4 {
    color: #000;
    font-size: 25px;
}
@media screen and (max-width: 1300px) {
    .products .category ul li h4 {
        font-size: 21px;
    }
}
@media screen and (max-width: 1100px) {
    .products .category ul li {
        width: 48%;
        margin-right: 4%;
    }
    .products .category ul li:nth-of-type(2n + 0) {
        margin-right: 0;
    }
    .products .category ul li:nth-of-type(3n + 0) {
        margin-right: 4%;
    }
}
@media screen and (max-width: 700px) {
    .products .category ul li {
        width: 100%;
        margin-right: 0;
    }
    .products .category ul li:nth-of-type(3n + 0) {
        margin-right: 0;
    }
    .products nav {
        display: block;
    }
    .products nav ul li:first-of-type {
        padding-left: 0;
    }
    .products nav h2 {
        margin-bottom: 20px;
    }
    .products nav ul {
        margin-bottom: 60px;
    }
}
@media screen and (max-width: 500px) {
    .products {
        margin-bottom: 0;
    }
    .products nav ul li span {
        font-size: 13px;
    }
    .products nav ul li {
        padding: 0 10px;
    }
    .products .category ul li h4 {
        font-size: 18px;
    }
}

/* =========================================================
   COMPANY SECTION
   ========================================================= */

/* GENERAL LAYOUT */
.company .history,
.company .dealers,
.company .location {
    display: grid;
    grid-template-columns: 6.5fr 3.5fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 120px;

    /* critical for grid overflow control */
    min-width: 0;
}

/* ---------------------------------------------------------
   IMAGE / SLIDER – LARGE COLUMN
   --------------------------------------------------------- */
.company .history img,
.company .dealers img,
.company .location .slider {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    display: block;
}

/* ---------------------------------------------------------
   TEXT – SMALL COLUMN
   --------------------------------------------------------- */
.company .history .description,
.company .dealers .description,
.company .location .description {
    grid-column: 2;
}

/* ---------------------------------------------------------
   HISTORY
   image (70%) | text (30%)
   --------------------------------------------------------- */
.company .history img {
    grid-column: 1;
}

/* ---------------------------------------------------------
   DEALERS
   text (30%) | image (70%)
   --------------------------------------------------------- */
.company .dealers {
    grid-template-columns: 3.5fr 6.5fr;
}

.company .dealers .description {
    grid-column: 1;
}

.company .dealers img {
    grid-column: 2;
}

/* ---------------------------------------------------------
   TEXT STYLES
   --------------------------------------------------------- */
.company .description h3 {
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 20px;
}

.company .description p {
    font-size: 16px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 30px;
}

.company .description a {
    position: relative;
    display: inline-block;
    text-decoration: none;
    color: #000;
    font-weight: 400;
    border: 1px solid #000;
    padding: 10px 15px;
    overflow: hidden;
    transition: color 0.7s ease;
}

/* background fill */
.company .description a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: #000;
    z-index: -1;
    transition: width 0.7s ease;
}

/* hover */
.company .description a:hover {
    color: #fff;
}

.company .description a:hover::before {
    width: 100%;
}

/* ---------------------------------------------------------
   DEALERS – BUTTONS
   --------------------------------------------------------- */
.company .dealers .buttons {
    display: flex;
    gap: 30px;
}

/* =========================================================
   LOCATION – SLIDER
   ========================================================= */
.company .location .slider {
    grid-column: 1;
    position: relative;
    width: 100%;
    height: 600px;
    padding: 0;
    margin: 0;
}

.company .location .slides {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.company .location .slides img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;

    opacity: 0;
    transform: scale(1.05);
    transition:
        opacity 0.8s ease,
        transform 1.2s ease;

    max-width: 100%;
    max-height: 100%;
}

.company .location .slides img.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

/* ---------------------------------------------------------
   LOCATION – DOT NAVIGATION
   --------------------------------------------------------- */
.company .location .navigation {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.company .location .navigation .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition:
        transform 0.25s ease,
        background 0.25s ease;
}

.company .location .navigation .dot.active {
    background: #000;
    transform: scale(1.4);
}

/* =========================================================
   ADVANTAGES
   ========================================================= */
.company .advantages {
    margin: 130px 0 50px 0;
    background-color: #f2f2f2;
    padding: 100px 0;
}

.company .advantages ul {
    display: flex;
    justify-content: space-between;
}

.company .advantages li {
    width: 30%;
    text-align: center;
}

.company .advantages li i {
    font-size: 45px;
    display: block;
    margin: 0 auto 20px auto;
    color: #222222;
}

.company .advantages li h3 {
    font-size: 23px;
    font-weight: 400;
    margin-bottom: 10px;
}

.company .advantages li p {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

.company .advantages li a {
    text-decoration: none;
    color: #000;
    font-weight: 400;
    position: relative;
    padding-right: 20px;
}

.company .advantages li a::after {
    content: " ";
    width: 6px;
    height: 6px;
    border-top: 2px solid #444;
    border-right: 2px solid #444;
    position: absolute;
    top: 50%;
    right: 2px;
    transform: translateY(-50%) rotate(45deg);
}
@media screen and (max-width: 1000px) {
    .company .history img,
    .company .dealers img,
    .company .location .slider {
        grid-area: company_image;
    }
    .company .history .description,
    .company .dealers .description,
    .company .location .description {
        grid-area: company_description;
    }
    .company .history,
    .company .dealers,
    .company .location {
        grid-template-areas:
            "company_image company_image"
            "company_description company_description";
    }
}
@media screen and (max-width: 850px) {
    .company .advantages {
        padding: 20px 0;
    }
    .company .advantages ul {
        display: block;
    }
    .company .advantages li {
        width: 100%;
        margin-bottom: 50px;
    }
    .company .advantages li:last-of-type {
        margin-bottom: 0;
    }
    .company .advantages li p br {
        display: none;
    }
}
@media screen and (max-width: 500px) {
    .company .description h3 {
        font-size: 19px;
        font-weight: 400;
    }
    .company .description p {
        font-size: 14px;
    }
    .company .history,
    .company .dealers,
    .company .location {
        margin-bottom: 70px;
        gap: 20px;
    }
    .company .location .slider {
        height: 250px;
    }
    .company .advantages {
        margin-top: 50px;
    }
}

/* NEWS */
.news {
    padding: 80px 0;
    background: #fff;
    margin-bottom: 70px;
}
.news .container {
    position: relative;
}
.news h2 {
    font-size: 32px;
    margin-bottom: 32px;
} /* Viewport */
.news-carousel {
    overflow: hidden;
} /* Track */
.news-track {
    display: flex;
    gap: 32px;
    transition: transform 0.6s ease;
    list-style: none;
    padding: 0;
    margin: 0;
} /* 3 items visible */
.news-item {
    flex: 0 0 calc((100% - 64px) / 3);
}
.news-item a {
    display: block;
    text-decoration: none;
    color: #111;
}
.news-item a:hover img {
    animation: fadeout 0.7s forwards;
}
.news-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    margin-bottom: 16px;
}
.news-item p {
    font-size: 16px;
    min-height: 80px;
    line-height: 1.5;
    margin-bottom: 6px;
}
.news-item span {
    font-size: 14px;
    color: #666;
    display: block;
    text-align: right;
    position: relative;
    padding-right: 20px;
}
.news-item span:after {
    content: " ";
    display: block;
    width: 5px;
    height: 5px;
    border-top: 2px solid #444;
    border-right: 2px solid #444;
    position: absolute;
    top: 50%;
    right: 7px;
    margin-top: -2.5px;
    transform: rotate(45deg) skew(8deg, 8deg);
} /* Navigation */
.news-navigation {
    position: absolute;
    right: 0;
    bottom: -80px;
    display: flex;
    gap: 12px;
}
.news-navigation button {
    width: 48px;
    height: 48px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    font-size: 20px;
    transition:
        background 0.3s ease,
        transform 0.2s ease;
}
.news-navigation button:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
}
.news-navigation button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
} /* Responsive */
@media (max-width: 900px) {
    .news-item {
        flex: 0 0 50%;
    }
}
@media (max-width: 600px) {
    .news-item {
        flex: 0 0 100%;
    }
}
@media screen and (max-width: 500px) {
    .news {
        padding: 0;
        margin-bottom: 120px;
    }
}

/* FADE IN ON SCROLL */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity 0.9s ease,
        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* BANNERS */
.banners {
    margin-bottom: 120px;
}
.banners a {
    display: block;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 40px auto;
}
.banners a img {
    width: 100%;
}
