:root {
    --hero-btn: #7a6f3e;

    --primary-red: #c5a06b;

    --btn-hover: #a07840;

    --dark-blue: #2a1f14;

    --darker-blue: #1a1209;

    --light-blue: #5c3d22;

    --light-gray: #1e1509;

    --light-gray2: #c49e6d;

    --text-color: #e8d5b0;

    --white: #f5efe6;

    --main-bg: #1e1509;

    --darker: #2a1f14;

    --dark: #1e1509;

    --border: #3d2e1a;

}

[data-theme="light"] {
    --hero-btn: #7a6f3e;

    --primary-red: #a07840;

    --btn-hover: #7a5c2e;

    --dark-blue: #f5efe6;

    --darker-blue: #ede3d4;

    --light-blue: #d4bfa0;

    --light-gray: #faf6f0;

    --light-gray2: #463724;

    --text-color: #2a1f14;

    --white: #000000;

    --main-bg: #fdf8f2;

    --darker: #2a1f14;

    --dark: #ede3d4;

    --border: #d4bfa0;

}

::-webkit-scrollbar {width: 0.8vmax;}
::-webkit-scrollbar-track {background: var(--main-bg); border-radius: 20%;}
::-webkit-scrollbar-thumb {background: var(--light-gray2); border-radius: 10%;}
::-webkit-scrollbar-thumb:hover {background: var(--light-blue);}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: background-color 1s;
}

body {
    font-family: Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    padding-bottom: 64px;
    background-color: var(--main-bg);
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}


.about-us-section,.product-page-section{flex-grow: 1;}



.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--primary-red);
}

ul {
    list-style: none;
}

/* Utility Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 15px;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--darker-blue);
    border: 2px solid var(--primary-red);
}


.btn-primary:hover {
    background-color: var(--btn-hover);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
}

.btn-secondary:hover {
    background-color: var(--primary-red);
    color: var(--darker-blue);
}

/* ---------------------------------- */
/* 1. Header & Navigation (Mobile First) */
/* ---------------------------------- */

.main-header {
    background: var(--main-bg);
    padding: 15px 0;
    border-bottom: 1px solid #4a3520;

    position: fixed; 
    width: 100%;     
    z-index: 1000;
    height: 110px;
    border-bottom: 6px solid var(--light-gray2);
}

.theme-toggle { background: transparent; border: 1px solid var(--border); border-radius: 0.8vmin; padding: 0.45em 0.6vw; cursor: pointer; color: var(--text); display: flex; align-items: center; transition: all 0.25s; flex-shrink: 0; }
.theme-toggle svg{width: 1.5vw;}
.theme-toggle:hover { border-color: var(--primary); color: var(--primary); }
.icon-moon { display: none; }
.icon-sun  { display: block; }
[data-theme="light"] .icon-sun  { display: none; }
[data-theme="light"] .icon-moon { display: block; }

.nav-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.logo {
    max-width: 128px;
    font-size: 32px;
    font-weight: 900;
    color: var(--primary-red);
}


nav ul {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 10px 0;
}

nav ul li a {
    color: var(--white);
    padding: 10px 0;
    font-size: 16px;
    font-weight: 500;
    display: block;
}

nav ul li a.active {
    color: var(--primary-red);
    font-weight: bold;
}



/* ---------------------------------- */
/* 1.1. Mobile Sidebar (Off-Canvas Menu) */
/* ---------------------------------- */

#sidebar-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1001;
    display: none;
    cursor: pointer;
    transition: opacity 0.5s;
}

.theme-toggle{
    display: block
}

.mobile-sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1002;
    right: 0;
    background-color: var(--dark-blue); 
    overflow-x: hidden;
    padding-top: 60px;
    transition: 0.5s;
    direction: rtl;
}

.mobile-sidebar a {
    padding: 15px 20px 15px 20px;
    text-decoration: none;
    font-size: 18px;
    color: var(--white);
    display: block;
    transition: 0.3s;
    text-align: right;
    border-bottom: 1px solid var(--darker-blue);
}

.mobile-sidebar a:hover {
    color: var(--primary-red);
    background-color: var(--darker-blue);
}

.mobile-sidebar .closebtn {
    position: absolute;
    top: 0;
    left: 25px;
    font-size: 36px;
    margin-left: 50px;
    border-bottom: none;
}

.sidebar-contact {
    padding: 20px;
    margin-top: 30px;
}

.sidebar-contact h4 {
    color: var(--light-gray2);
    margin-bottom: 15px;
    font-size: 16px;
    text-align: right;
}

.sidebar-contact a {
    border-bottom: none;
    padding: 10px 0;
    color: var(--light-gray2);
    font-size: 16px;
}


.sidebar-dropdown .dropdown-toggle {
    position: relative;
    cursor: pointer;
}

.sidebar-dropdown-content {
    display: none;
    background-color: #0f0905;
    padding-right: 20px;
}

.sidebar-dropdown-content a {
    font-size: 16px;
    padding: 10px 20px;
    color: #c4a97a;
}

.sidebar-dropdown .dropdown-icon {
    position: absolute;
    left: 20px;
    transition: transform 0.3s ease;
}

.sidebar-dropdown.active .dropdown-icon {
    transform: rotate(180deg);
}


.sidebar-open {
    filter: brightness(0.7);
    transition: filter 0.5s;
}

.thumbnail-strip {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100px;
    height: 50vh;
    overflow-y: scroll;
}

.lightbox-thumbnail-strip {
    padding-left: 3vh;
    padding-right: 3vh;
    width: 70vh;
    overflow-x: scroll;
}

@media (max-width: 719px) {
.lightbox-thumbnail-strip {
    padding-left: 3vh;
    padding-right: 3vh;
    width: 50vh;
    overflow-x: scroll;
}

    .thumbnail-strip {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 60vw;
    height: 40vh;
    overflow-y: scroll;
}
    body.nav-open {
        overflow: hidden;
    }
}



/* ---------------------------------- */
/* 2. Hero Section */
/* ---------------------------------- */
.hero-section {
    padding-top: 64px;
    background: linear-gradient(rgba(196, 154, 108, 0.25), rgba(40, 30, 20, 0.6)), url('img/preview-cycle/1.png') no-repeat center center/cover;
    height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
}

[data-theme="dark"] .hero-section{
    filter: sepia(60%) saturate(110%) hue-rotate(330deg) brightness(100%) contrast(100%);
}

.hero-image-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    background-size: cover;
    background-position: center center;
    
    transition: opacity 1.5s ease-in-out; 
    
    opacity: 0; 
    
    z-index: 1; 
}

.hero-btn{
    background-color: var(--hero-btn);
    border: 0px;
    color: white;
    filter: sepia(0%) saturate(200%) hue-rotate(50deg) brightness(130%) contrast(110%);
}


.hero-content {
    position: relative;
    z-index: 1;
    height: 245px;
}

  .hero-content img{
        width: auto;
        height: 64px;
    }

.hero-content p {
    font-size: 14px;
    letter-spacing: 3px;
    font-weight: 300;
    color: var(--primary-red);
}

.hero-content h1 {
    font-size: 12vw;
    font-weight: 900;
    margin: -10px 0;
    line-height: 1;
    color: var(--white);
}

.hero-content .os {
    color: var(--primary-red);
    font-weight: 900;
    font-size: 8vw;
    position: relative;
    top: -3vw;
    display: inline-block;
}

/* ---------------------------------- */
/* 3. Services Section (Mobile: Stacked) */
/* ---------------------------------- */
.services-section {
    padding: 32px 0;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.services-grid {
    max-width: 512px;
    margin: 0 auto;
    padding: 0 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.service-card {
    background-color: var(--light-gray);
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    flex: 1;
    position: relative;
    z-index: 5;
    border: 1px solid #4a3520;
}

.service-card h3 {
    color: var(--primary-red);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.service-card-title img{
    filter: sepia(90%) saturate(200%) hue-rotate(330deg) brightness(85%) contrast(110%);
    max-width: 64px;
    max-height: 64px;
}


/* ---------------------------------- */
/* 4. News Section (Mobile: Stacked) */
/* ---------------------------------- */
.news-section {
    text-align: center;
    padding: 40px 0;
    background: var(--dark-blue);
}


.news-section h2,.services-section h2, .catalog h2{
    align-self: center;
    color: var(--white);
    text-transform: uppercase;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-red);
    display: inline-block;
    padding-bottom: 5px;
}


.news-grid {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        flex-direction: row;
        gap: 20px;
        margin-bottom: 32px;
    }

.news-item {
    flex: 1;
    padding: 12px;
    min-height: 150px;
    max-width: 210px;
    border-radius:3px;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-color: #3d2e1e;
    border: 1px solid #5c3d22;
}


.news-item:hover {
        background-color: var(--light-blue);
        cursor: pointer;
        max-width: 215px;
        transition: all 0.2s ease-in-out;
    }

.news-item h4 {
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;

}

.news-item img {filter: sepia(20%) saturate(150%) hue-rotate(330deg) brightness(85%) contrast(110%);}

.main-news-item img {filter: sepia(50%) saturate(150%) hue-rotate(330deg) brightness(85%) contrast(110%);}


/* ---------------------------------- */
/* 5. Clients Section */
/* ---------------------------------- */
.clients-section {
    display: none;
    background: var(--light-gray);
    padding: 50px 0;
    text-align: center;
    border-top: 1px solid #4a3520;
}

.clients-section h3 {
    color: var(--primary-red);
    margin-bottom: 10px;
}

.clients-section p {
    color: var(--text-color);
    margin-bottom: 30px;
}

.client-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    margin: 30px auto;
    padding: 50px;
}

.client-logos {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 10px 0;
    gap: 30px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    width: 90%;
}

.client-logos::-webkit-scrollbar {
    display: none;
}

.logo-box {
    flex: 0 0 auto;
    width: 128px;
    height: 86px;
    background: var(--dark-blue);
    border: 1px solid #5c3d22;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    filter: grayscale(0%);
}

.logo-box:hover {
    width: 200px;
    height: 86px;
    border-color: var(--primary-red);
}


.logo-box.active {
    width: 128px;
    height: 86px;
}

.logo-box img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    opacity: 1;
    transition: all 0.3s ease;
}


.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--white);
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 20px;
    border-radius: 50%;
    z-index: 10;
    transition: background-color 0.3s ease;
}

.carousel-arrow:hover {
    background-color: rgba(0, 0, 0, 0.7);
}


.prev-arrow {
    background-color: transparent;
    margin-left: 8px;
    left: 0;
}

.prev-arrow img,.next-arrow img{
    max-width: 32px;
}


.next-arrow {
    background-color: transparent;
    margin-right: 8px;
    right: 0;
}


/* ---------------------------------- */
/* 6. Contact & Map Section */
/* ---------------------------------- */
.contact-map-section {
    background: var(--darker-blue);
    padding-top: 50px;
    padding-bottom: 30px;
    position: relative;
    clip-path: polygon(0 5%, 100% 0, 100% 100%, 0 100%);
    margin-top: -10px;
    z-index: 0;
    border-top: 3px solid var(--primary-red);
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: var(--white);
    padding-top: 60px;
}


/* --- Base Footer Styling (Mobile First) --- */

.site-footer {
    background-color: var(--dark-blue);
    color: #c4a97a; 
    padding: 30px 20px 0;
    text-align: right; 
}

.site-footer a {
    color: #a08050;
    text-decoration: none;
    transition: color 0.3s;
}

.site-footer a:hover {
    color: var(--primary-red); 
}

/* --- Grid Layout for Columns (Mobile: Forced Stacked 1 Column) --- */

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    direction: rtl;
    gap: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--light-gray2);
    color: var(--light-gray2);
}

.footer-col:last-child {
    border-bottom: none;
}

.footer-col h4 {
    font-size: 16px;
    text-transform: uppercase;
    margin-bottom: 15px;
    font-weight: bold;
}

.footer-col ul {
    list-style: none;
    padding-right: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
    font-size: 14px;
}

.footer-col-info h5 {
    font-size: 14px;
    margin-top: 10px;
    margin-bottom: 5px;
}

.footer-col-info p {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 10px;
    color: var(--text-color);
}

.btn-footer {
    display: block;
    padding: 5px 0;
    margin-top: 5px;
    color: var(--primary-red);
    font-size: 13px;
    border: none;
    background: none;
    text-align: right;
}


/* --- Social Links Styling --- */

.social-links {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    margin-top: 15px;
}

.footer-col-social {
    text-align: right;
}

.social-links a {
    width: 36px;
    height: 36px;
    background-color: #4a3520;
    border-radius: 50%;
    color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    transition: background-color 0.3s;
}

.social-links a:hover {
    background-color: var(--primary-red);
}

/* --- Footer Bottom Bar --- */

.footer-bottom-bar {
    background-color: var(--darker-blue);
    padding: 15px 20px;
    text-align: center;
    font-size: 12px;
    margin-bottom: 9vh;
    border-top: 1px solid #4a3520;
    color: #8a6a3a;
 }


/* Mobile Bottom Header */
.mobile-bottom-header {    
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 86px;
    
    background-color: var(--dark-blue);
    border-top: 2px solid var(--primary-red);
    z-index: 1000;
}

.bottom-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 86px;
    padding: 0;
}

.bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    color: #a08050;
    font-size: 10px;
    text-decoration: none;
    padding: 18px 0;
    transition: color 0.2s;
    font-size:small;
}

.bottom-nav .nav-item i {
    font-size: 18px;
    margin-bottom: 3px;
}

.bottom-nav .nav-item.active {
    background-color: var(--light-blue);
    color: var(--white);
    border: 2px solid var(--primary-red);
}

.nav-item img{
    margin-bottom: 5px;
    max-width: 26px;
}

.mobile-bottom-header {
    display: block;
}



/* Base Styles for the Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
    
    background-color: var(--light-blue);
    border-top: 1px solid #4a3520;
}

.nav-dropdown.active .dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
    color: var(--text-color);
}

.dropdown-menu li a:hover {
    background-color: var(--light-gray);
    color: var(--primary-red);
}

.dropdown-menu li a:active {
    background-color: var(--primary-red);
    color: var(--darker-blue);
}

/* ================================== */
/* 7. Fullscreen Lightbox Modal Styles */
/* ================================== */

.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(18,13,7,0.95);
}

.lightbox-content {
    position: relative;
    margin: auto;
    display: block;
    width: 90%;
    max-width: 1000px;
    height: calc(100vh - 100px);
    text-align: center;
}

#lightbox-main-img {
    margin-top: 3vh;
    width: 95%;
    max-height: 85%;
    object-fit: contain;
    cursor:crosshair;
}

.lightbox-close-btn {
    border: 1px solid var(--primary-red);
    background-color: var(--darker-blue);
    position: absolute;
    top: 4vh;
    right: 4vh;
    color: var(--primary-red);
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 2001;
    border-radius: 20%;
    width: 60px;
    text-align: center;
}

.lightbox-close-btn:hover,
.lightbox-close-btn:focus {
    color: var(--white);
    text-decoration: none;
    cursor: pointer;
}

.lightbox-prev, .lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: var(--primary-red);
    font-weight: bold;
    font-size: 2vmax;
    transition: 0.6s ease;
    user-select: none;
    -webkit-user-select: none;
    z-index: 2001;
    border-radius: 20%;
}

.lightbox-prev {
    border: 2px solid var(--primary-red);
    background-color: var(--darker-blue);
    left: 0;
}

.lightbox-next {
    border: 2px solid var(--primary-red);
    background-color: var(--darker-blue);
    right: 0;
}

.lightbox-prev:hover, .lightbox-next:hover {
    background-color: var(--light-blue);
}

.lightbox-thumbnail-strip {
    justify-self: center;
    text-align: center;
    padding: 10px 0;
    overflow-x: auto;
    white-space: nowrap;
}

.lightbox-thumbnail-strip img {
    height: 70px;
    width: 70px;
    margin: 0 5px;
    object-fit: cover;
    opacity: 0.7;
    cursor: pointer;
    transition: opacity 0.3s;
    border: 2px solid transparent;
}

.lightbox-thumbnail-strip img.active,
.lightbox-thumbnail-strip img:hover {
    opacity: 1;
    border-color: var(--primary-red);
}

@media only screen and (max-width: 720px) {

    .lightbox-content {
        width: 100%;
        height: 100%;
        padding-top: 0;
        max-width: 100%;
    }
    .lightbox-modal {
        padding-top: 0;
    }
    .lightbox-prev, .lightbox-next {
        top: 40%;
    }
}


@media (min-width: 720px) {
.catalog{
    display: flex;
    flex-direction: column;
    text-align: center;
    padding-top: 128px;
    padding-bottom: 118px;
}


    .news-item:hover {
        background-color: var(--light-blue);
        cursor: pointer;
        max-width: 340px;
        transition: all 0.2s ease-in-out;
    }


    .news-item {
        background-color: var(--light-gray);
        cursor: pointer;
        max-width: 320px;
        transition: all 0.2s ease-in-out;
    }

    .mobile-header{
        display: none;
    }
    
    .nav-dropdown:hover .dropdown-menu {
        display: block;
    }

    .dropdown-menu {
        position: absolute;
        right: 0;
        top: 100%;
        min-width: 250px;
        z-index: 1050;
        background-color: var(--dark-blue);
        box-shadow: 0 5px 15px rgba(0,0,0,0.4);
        border: 1px solid #4a3520;
    }
    
    .dropdown-menu li a {
        padding: 10px 15px;
        color: var(--text-color);
        white-space: nowrap;
    }


    .mobile-bottom-header {
        display: none;
    }
    
    body {
        padding-bottom: 0;
    }
    
    nav {
        display: block;
        width: auto;
        order: 0; 
    }

    nav ul {
        flex-direction: row;
    }

    nav ul li a {
        padding: 0 15px;
    }

    .mobile_more{
        display: none;
    }


    .hero-content img{
        width: auto;
        height: 128px;
    }

    .hero-content h1{
        font-size: 15vw;
        margin: -30px 0;
    }

    .hero-content .os {
        font-size: 10vw;
        top: -5vw;
    }

    .services-section {
        padding: 32px 0;
    }


.service-card .btn-fingerprint {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.service-card:hover .btn-fingerprint {
    opacity: 1;
}


.services-section h2{display: none;}

.service-card {
    max-height: 148px;
    min-width: 203px;
    max-width: 512px;
    padding-top: 16px;
    margin: 10px;
    text-align: center;
    cursor: pointer;
}

.service-card-title{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-top: -8px;
}

.service-card-title img{
    margin-right: 16px;
    max-width: 64px;
    max-height: 64px;
}


.service-card:hover {
    transform: translateY(-15px);
    transition: all 0.2s ease-in-out;
    border-color: var(--primary-red);
}


    .services-grid {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        max-width: 1400px;
        flex-direction: row;
        margin-top: -8vh;
    }


    
    .news-section {
        margin-top: -48px;
        padding: 80px 0;
    }

.news-grid {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        flex-direction: row;
        margin-bottom: 0px;
    }

    .news-item h4 {
        font-size: 16px;
    }



.logo-box {
    width: 312px;
    height: 128px;
    filter: grayscale(50%);
}

.logo-box:hover {
    width: 380px;
    height: 180px;
    filter: grayscale(0%);
    border-color: var(--primary-red);
}


.logo-box img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    opacity: 0.7;
    transition: all 0.3s ease;
}


.logo-box img:hover {
    opacity: 1;
}


.logo-box.active {
    width: 300px;
    height: 126px;
    transition: all 0.3s ease-in-out; 
}

.logo-box.active img {
    filter: grayscale(0%); 
    opacity: 1; 
    transition: all 0.3s ease-in-out; 
}

.next-arrow{margin-right: 32px;}
.prev-arrow{margin-left: 32px;}



    .site-footer {
        background-color: var(--dark);
        padding: 60px 0 0;
    }

    .footer-grid {
        grid-template-columns: repeat(4, minmax(150px, 1fr)); 
        gap: 128px;
        padding-bottom: 40px;
        border-bottom: none;
    }

    .footer-col {
        display: flex;
        flex-direction: column;
        gap: 8px;
        padding: 0;
        border-bottom: none; 
        width: 250px;
    }


.footer-bottom-bar {
    margin-bottom: 0px;
 }


    .social-links {
        justify-content: flex-end; 
    }

    .mobile-sidebar {
        display: none;
    }



}

@media (max-width: 1025px) {

        .news-item:hover {
        background-color: var(--light-blue);
        cursor: pointer;
        max-width: 270px;
        transition: all 0.2s ease-in-out;
    }


    .news-item {
        background-color: var(--light-gray);
        cursor: pointer;
        max-width: 260px;
        transition: all 0.2s ease-in-out;
    }

    .logo{
        width: 86px;
        transition: all 0.3s ease;
    }


}


@media (max-width: 1230px) {
    .catalog h2{
        margin-top: 96px;
        margin-left: 210PX;
    }

    .mobile-sidebar {
        display: block;
    }

    .theme-toggle{
    display: none
    }
    
    .theme-toggle-sidebar{display: block;}
    .theme-toggle-sidebar svg{
        width: 32px;
    }

    .nav-bar{
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
    }

    .logo{
        width: 128px;
        transition: all 0.3s ease;
        margin-right: 32px;
    }

.mobile_more{
    display: block;
    font-size: 32px;
    color: var(--primary-red);
}

nav {
    display: none; 
    width: 100%;
    order: 3;
}


}

@media (max-width: 500px){

.lightbox-close-btn {
    font-size: 5vmax;
    width: 6vmax;
}

    .thumbnail-strip {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 150vw;
    height: 50vh;
    overflow-y: scroll;
}    
.lightbox-thumbnail-strip {
    padding-left: 3vh;
    padding-right: 3vh;
    width: 50vh;
    overflow-x: scroll;
}

    .catalog h2{
        margin-top: 96px;
        margin-left: 130PX;
    }

    .product-page-section {
    padding: 40px 0 80px;
    background-color: var(--light-gray);
    }

    .product-details {
        margin-top: 5vh;
    }



}

/* DESKTOP LAYOUT */
@media (min-width: 720px) {


    .catalog h2{
        margin-top: 0px;
        margin-left: 0PX;
    }


.product-page-section {
    padding: 40px 0 80px;
    height: auto;
    min-height: 67vh;
    background-color: var(--light-gray);
}

.product-content-grid {
    margin-top: 86px;
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 40px;
}

}


@media (max-width: 995px) {
.lightbox-thumbnail-strip {
    padding-left: 3vh;
    padding-right: 3vh;
    width: 70vh;
    overflow-x: scroll;
}
    .product-content-grid {
        grid-template-columns: 1fr; 
        gap: 30px;
    }

    .product-page-section {
    padding: 40px 0 80px;
    height: 100%;
    background-color: var(--light-gray);
}
}

.product-page-section {
    padding: 40px 0 80px;
    background-color: var(--light-gray);
}

.product-gallery {
    display: flex;
    flex-direction: row;
    gap: 15px;
}



.thumbnail-strip img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 1px solid #5c3d22;
    cursor: pointer;
    transition: border-color 0.2s;
}

.thumbnail-strip img:hover,
.thumbnail-strip img.active {
    border-color: var(--primary-red);
}

.main-image-box {
    flex-grow: 1;
    border: 1px solid #4a3520;
    padding: 10px;
    background: var(--dark-blue);
    max-height: 500px;
}

#main-product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    cursor: pointer;
}

#product-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--white);
}

.product-category {
    font-size: 1rem;
    color: var(--primary-red);
    margin-bottom: 60px;
}

.product-details {
    padding: 15px;
    background-color: var(--dark-blue);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    text-align: right;
    border: 1px solid #4a3520;
}

#product-description {
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 30px;
    padding: 10px 0;
}

.product-cta {
    display: inline-block;
    width: 100%;
    padding: 15px 25px;
    font-size: 1.1rem;
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
    background-color: #929850;
    color: white;
    transition: background-color 0.2s;
}

.product-cta:hover {
    background-color: #2c8c12;
}


@media (max-width: 450px) {
.hero-section {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.news-item{
    padding: 1vh;
    min-height: 150px;
    max-width: 30vh;
}


.lightbox-thumbnail-strip {
    padding-left: 3vh;
    padding-right: 3vh;
    width: 80vw;
    overflow-x: scroll;
}

}


