:root {
    --blue: #000000;
    --black: #000000;
    --yellow: #edcb5b;
    --white: #ffffff;
    --lightgray: #5697ca;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Assistant, Arial;
    direction: rtl;
}

body {
    background-color: var(--white);
    color: #1a1a1a;
    scroll-behavior: smooth;
}

a {
    color: #1a1a1a;
    text-decoration: none;
}

header {
    padding: 20px 40px;
    display: flex;
    justify-content: right;
    align-items: center;
    border-bottom: 1px solid #e2e2e2;
    background-color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    max-width: 1400px;
    margin: 0 auto;
}

nav {
    width: 100%;
    text-align: center;
}

nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
    justify-content: center;
}

nav li {
    box-shadow: 0 8px 20px rgb(234, 234, 234);
    padding: 10px;
}

nav li:hover {
    box-shadow: 0 8px 20px rgb(237, 214, 180);
}

nav a {
    position: relative;
    text-decoration: none;
    color: var(--blue);
    font-weight: 600;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--yellow);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

.carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 40px;
    background: var(--lightgray);
}

.carousel img {
    height: 240px;
    flex: 0 0 auto;
    border-radius: 16px;
    scroll-snap-align: start;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.carousel img:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.about {
    padding: 60px 20px;
    background-color: #f1f1f1;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.2s;
    max-width: 1400px;
    margin: 0 auto;
    border-right: 6px solid white;
    border-left: 6px solid white;
}

.products {
    background-color: #f1f1f1;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.2s;
    max-width: 1400px;
    margin: 0 auto;
    border-right: 6px solid white;
    border-left: 6px solid white;
}

.flex-colors {
    display: flex;
    gap: 10px;
    margin: 20px 10px;
}

.about h2 {
    color: var(--lightgray);
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.about p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.8;
    max-width: 800px;
    margin-inline: auto;
}

.about a {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--yellow);
    color: var(--black);
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.about a:hover {
    background-color: var(--black);
    color: #fff;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {

    .desktop_header {
        display: none;
    }

    .layer_inner div {
        flex-direction: column;
    }

    .carousel-img {
        border-right: 0 !important;
        border-left: 0 !important;
    }

    .hero-carousel {
        height: 170px !important;
    }

    .layer-card {
        padding: 10px !important;
    }

    .layer-card img {
        max-height: 100px;
    }

    .about img {
        max-width: 200px;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .carousel {
        padding: 20px;
    }

    .carousel img {
        height: 180px;
    }

    .layer-card a {
        font-size: 20px !important;
    }

    .layer-card img {
        max-height: 150px !important;
    }

    .flex-colors {
        width: fit-content;
        margin: 20px auto;
    }

    .product-container {
        flex-direction: column-reverse;
        padding: 10px !important;
    }

    .product-gallery .thumbnails {
        flex-wrap: wrap;
        justify-content: center !important;
        max-width: 280px;
        margin: 10px auto !important;
    }

    .product-gallery .main-image img {
        max-width: 280px;
        justify-content: center;
    }

    .product-info {
        text-align: center !important;
    }

    .color-label {
        margin: 0 auto;
        display: block;
    }

    .product-info ul li {
        font-size: 15px !important;
        list-style: none;
    }

    .product-page {
        padding: 0 !important;
        border: 0 !important;
    }

    .main-image {
        display: flex;
        justify-content: center !important;
    }

    .gk61 {
    width: 100% !important;
    margin: 0 auto !important;
    height: 500px !important;
    border: 0 !important;
}

    .gk61 p {
        padding: 30px !important;
        font-size: 16px !important;
    }

    .gk61-3 {
    height: 660px !important;
    border: 0 !important;
    padding: 30px !important;
    font-weight: bold;
    text-align: center !important;
    font-size: 14px !important;
    }

    .gk61-2 {
        flex-direction: column;
    }

    .gk61-2 h2:first-child {
        width: 85% !important;
    }

    .gk61-2-p {
        padding-top: 0px !important;
        padding-bottom: 0px !important;
    }

    .gk61 p {
        color: black !important;
    }


}

.hero-carousel {
    height: 500px;
    background-color: #5697ca;
    overflow: hidden;
    display: block;
}

.carousel-inner {
    height: 100%;
    position: relative;
}

.carousel-img {
    display: block;
    position: absolute;
    top: 0;
    width: 100%;
    max-width: 1400px;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 1;
    left: 50%;
    transform: translateX(-50%);
    border-right: 6px solid white;
    border-left: 6px solid white;
}

.carousel-img.active {
    opacity: 1;
    z-index: 2;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(237, 203, 91, 0.85); /* צהוב חצי שקוף */
    color: black;
    border: none;
    padding: 10px 18px;
    cursor: pointer;
    font-size: 2rem;
    border-radius: 50px;
    z-index: 10;
    transition: background-color 0.3s ease;
}

.carousel-arrow:hover {
    background-color: rgba(237, 203, 91, 1);
}

.carousel-arrow.left {
    right: auto;
    left: 20px;
}

.carousel-arrow.right {
    left: auto;
    right: 20px;
}

@media (max-width: 768px) {
    .hero-carousel {
        height: 260px;
    }

    .carousel-arrow {
        font-size: 1.5rem;
        padding: 8px 14px;
    }
}

.has-mega-menu {
    position: relative;
}

.mega-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: -100px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    border-radius: 8px;
    gap: 60px;
    z-index: 999;
    min-width: 950px;
    animation: fadeIn 0.3s ease;
    justify-content: right;
    text-align: right;
}

.mega-menu h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--lightgray);
    width: fit-content;
}

.mega-menu a {
    display: block;
    color: var(--blue);
    margin-bottom: 6px;
    text-decoration: none;
    font-weight: normal;
    transition: color 0.3s ease;
    width: fit-content;
}

.mega-menu a:hover {
    color: var(--yellow);
}

.mega-menu .mega-image img {
    width: 180px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

nav li.has-mega-menu:hover .mega-menu {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.layer {
    height: fit-content;
    background-color: #5697ca;
    display: block;
    padding: 30px;
    width: 100%;
    text-align: center;
}

.about img {
    width: 400px;
    margin: 10px;
}

.layer h2 {
    color: var(--white);
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.layer p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.8;
    max-width: 800px;
    margin-inline: auto;
}

.layer a {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--yellow);
    color: var(--black);
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.layer a:hover {
    background-color: var(--yellow);
    color: #000;
}

.layer_inner {
    max-width: 1400px;
    margin: 0 auto;
}

.layer_inner div {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    margin: 50px auto;
}

.layer-card {
    width: 100%;
    background: rgba(255, 255, 255, 0.55);
    padding: 30px;0
}

.layer-card img {
    width: 100%;
    max-height: 250px;
    object-fit: cover;
    border: 6px solid white;
}

.layer-card a {
    color: black;
    background: none !important;
    font-size: 25px;
}

.layer-card h2 {

}

.layer-card h3 {
    font-size: 20px;
    font-weight: 400;
}

.product-page {
    padding: 0px 30px;
    width: 100%;
    margin: 0 auto;
    background-color: #5697ca;
}

.product-container {
    display: flex;
    max-width: 1400px;
    flex-wrap: wrap;
    gap: 40px;
    background: #ececec;
    padding: 40px;
    margin: 0 auto;
    border-right: 6px solid white;
    border-left: 6px solid white;
}

.product-gallery {
    flex: 1;
    min-width: 300px;
}

.product-gallery .main-image img {
    width: 100%;
    border: 6px solid white;
    border-radius: 10px;
    object-fit: cover;
    max-height: 600px;
}

.product-gallery .thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    justify-content: right;
}

.product-gallery .thumbnails img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    border: 4px solid white;
    transition: transform 0.2s ease;
    border-radius: 8px;
}

.product-gallery .thumbnails img:hover {
    transform: scale(1.05);
    border-color: var(--yellow);
}

.product-info {
    flex: 1;
    min-width: 300px;
}

.product-info h1 {
    font-size: 2rem;
    color: var(--lightgray);
    margin-bottom: 20px;
}

.product-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.gk {
    background-color: #5697ca;
    display: block;
    width: 100%;
    text-align: center;
    height: fit-content;
    background-size: cover;
}

.gk61 {
    background: url(images/2025M11645_S.JPG) center center;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    height: 660px;
    border: 6px solid white;
}

.gk61-2 {
    background: rgba(0, 0, 0, 0.73);
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    border-right: 6px solid white;
    border-left: 6px solid white;
    display: flex;
    justify-content: center;
}

.gk61-3 {
    background: url(images/11DS.jpg) center left;
    background-size: cover;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    height: 999px;
    border: 6px solid white;
    padding: 100px;
    font-weight: bold;
    text-align: right;
    color: white;
    text-shadow: -1px 1px 8px rgba(0,0,0,1);
}

.gk61-3 h2 {
    font-weight: bolder;
    font-size: 30px;
}

.gk61-3 div {
    margin: 10px;
    font-weight: bold;
    font-size: 22px;
}

.gk61 p {
    font-size: 25px;
    color: white;
    padding: 80px;
    max-width: 950px;
    margin: 0 auto;
}

.gk61-2-p {
    font-size: 20px;
    color: white;
    padding: 30px;
    max-width: 950px;
    display: flex;
    justify-content: right;
    flex-direction: column;
    text-align: right;
}

.gk61-2-3 {
    font-size: 20px;
    color: black;
    padding: 30px;
    max-width: 950px;
    display: flex;
    justify-content: right;
    flex-direction: column;
    text-align: right;
}

.gk61-2-p strong {
    margin: 0;
    display: inline !important;
}

.gk61-2-p h2 {
    font-size: 35px;
    margin: 30px 0;
}


.gk61-2 h2 {
    font-size: 35px;
    margin: 30px;
    display: flex;
    align-items: center;
    background: var(--black);
    color: white;
    justify-content: center;
}

.gk61-2 h2:first-child {
    width: 500px;
}

.product-info ul li {
    font-size: 18px;
    font-weight: 600;
    list-style: none;
}

.mobile-menu-toggle {
    display: none;
    position: absolute;
    right: 20px;
    top: 30px;
    background-color: var(--yellow);
    color: black;
    border: none;
    font-size: 1.8rem;
    padding: 8px 16px;
    border-radius: 8px;
    z-index: 1001;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 75%;
    max-width: 300px;
    height: 100vh;
    background-color: white;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    padding: 40px 20px;
    z-index: 1000;
    animation: slideIn 0.4s ease forwards;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    text-align: right;
}

.mobile-menu li {
    margin-bottom: 20px;
}

.mobile-menu a {
    color: var(--blue);
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: bold;
}

@keyframes slideIn {
    from {
        right: -100%;
    }
    to {
        right: 0;
    }
}

.mobile_header {
    display: none;
}

@media (max-width: 768px) {

    .mobile-submenu a {
        font-size: 15px;
    }

    .mobile_header {
        display: flex;
        justify-content: left;
    }

    .mobile-menu-toggle {
        display: block;
    }

    nav,
    .desktop_header {
        display: none !important;
    }

    .header img {
        height: fit-content !important;
    }
}

.mobile-close {
    position: absolute;
    top: 15px;
    left: 15px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--blue);
    cursor: pointer;
}

.has-mobile-submenu > a {
    position: relative;
}

.mobile-submenu {
    display: none;
    padding-right: 15px;
    padding-top: 10px;
}

.has-mobile-submenu:hover .mobile-submenu {
    display: block;
}

.mobile-submenu h3 {
    color: white;
    background: rgba(0, 0, 0, 0.22);
    padding: 5px;
    margin-bottom: 3px;
}

.mobile-submenu li {
    margin-bottom: 10px;
}

.circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
}

.pad-circle-emot {
    background: url(images/emot_icon.jpg);
    width: 85px;
    height: 85px;
    border-radius: 100%;
    border: 2px solid #fff;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
}

.pad-circle-quantum {
    background: url(images/quan_icon.jpg);
    width: 85px;
    height: 85px;
    border-radius: 100%;
    border: 2px solid #fff;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
}

.pad-circle-nine {
    background: url(images/nine_icon.jpg);
    width: 85px;
    height: 85px;
    border-radius: 100%;
    border: 2px solid #fff;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
}

.mega-column h3 {
    color: #3a3a3a;
    font-weight: bold;
    font-size: 20px;
    margin: 5px 0;
}

.products_title_img {
    background: url(images/2025M11315_S.JPG) center 60%;
    width: 100%;
    height: 300px;
    background-size: cover;
    border-bottom: 6px solid white;
}

.products-flex-container {
    display: flex;
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: right;
}

.filter-line {
    width: 100%;
    background-color: #5697ca;
    border-bottom: 6px solid white;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: 600;
    font-size: 25px;
}

.filter-line-deeper {
    width: 100%;
    background-color: #b8b8b8;
    border-bottom: 6px solid white;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    font-weight: 600;
    font-size: 20px;
}

.product_box {
    width: 33.33%;
    background-color: #f1f1f1;
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-weight: 600;
    font-size: 20px;
    align-items: center;
    padding: 20px;
}

.product_box:hover {
    background-color: rgba(255, 255, 255, 0.57);
}

.product_box:nth-child(even):hover {
    background-color: rgba(255, 255, 255, 0.57);
}

.product_box h2 {
    font-weight: 600;
    font-size: 20px;
    margin: 10px 10px 20px 10px;
}

.product_box:nth-child(even) {
    background-color: #eaeaea;
}

.product_box:nth-child(3n) {
    border-left: 0;
}

.product_box img {
    width: 85%;
    border-radius: 100%;
    margin: 10px;
}

@media (max-width: 768px) {
    .products_title_img {
        height: 150px;
    }

    .product_box {
        width: 50%;
        height: 280px;
    }
}