body {
            font-family: 'Tajawal', sans-serif;
            background-color: #f8f9fa;
            transition: background-color 0.3s, color 0.3s;
        }
                
        .navy-bg {
            background-color: #1d3585;
        }
        
        .gold-text {
            color: #ffd700;
        }
        
        .gold-bg {
            background-color: #ffd700;
        }
        
        .navy-text {
            color: #1d3585; 
        }
        
        .product-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        }
        
        .fade-in {
            animation: fadeIn 1s ease-in;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        
        .section-title {
            position: relative;
            display: inline-block;
        }
        
        .section-title:after {
            content: '';
            position: absolute;
            width: 50%;
            height: 3px;
            bottom: -5px;
            right: 25%;
            background-color: #ffd700;
        }
        
        .color-swatch {
            width: 25px;
            height: 25px;
            border-radius: 50%;
            display: inline-block;
            margin-left: 5px;
            border: 1px solid #ddd;
            cursor: pointer;
            transition: transform 0.2s;
        }
        
        .color-swatch:hover {
            transform: scale(1.2);
        }
        
        .color-swatch.active {
            transform: scale(1.2);
            box-shadow: 0 0 0 2px #ffd700;
        }
        
        .logo-text {
            font-weight: 900;
        }
        
        .logo-top {
            color: white;
        }
        
        .logo-one {
            color: #ffd700;
        }
        
        #home {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        img {
            max-width: 100%;
            height: auto;
            transition: transform 0.3s ease;  
        }

        img:hover {
            transform: scale(1.05);  
        }

        .h-12 {
            height: 3rem;
        }
        .h-24 {
            height: 6rem;
        }
        .h-32 {
            height: 8rem;
        }

        .video-background {
            position: absolute;
            width: 100%;
            height: 100%;
            z-index: -20; 
        }

        .video-background video {
            width: 100%;
            height: 100%;
            object-fit: cover; 
        }

        .overlay {
            background: rgba(0, 0, 0, 0.607); 
        }

        .content {
            position: relative;
            z-index: 10; 
            color: white; 
        }

        #hero {
            position: relative;
            height: 100vh;
            min-height: 600px;
        }

        video {
            pointer-events: none;
            transform: translateZ(0);
            backface-visibility: hidden;
        }

         .color-btn {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            border: 2px solid transparent;
            margin: 0 5px;
            cursor: pointer;
            transition: all 0.3s;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

        .color-btn:hover {
            transform: scale(1.1);
        }

        .color-btn.active {
            border-color: #ffd700;
            box-shadow: 0 0 5px rgba(255, 215, 0, 0.7);
        }

        .product-main-image {
            transition: opacity 0.3s ease;
        }

        .fade-out {
            opacity: 0;
        }

        .color-options {
            display: flex;
            justify-content: center;
            margin-top: 10px;
        }

        @media screen and (max-width: 768px) {
            .topone-f {
                flex-wrap: wrap;
                justify-self: center;
            }
        }

         @media screen and (max-width: 426px) {
            .content {
                margin-top: 5rem;
            }
        }

        .weblixity {
            color: #80ff72;
            text-decoration: none;
            font-weight: bold;
        }

        /* DELETED: Media query for theme toggle */

.slider {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    overflow: hidden;
    background: rgb(255, 252, 92);
    border-radius: 15px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(7.4px);
    -webkit-backdrop-filter: blur(7.4px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    margin-bottom: 30px;
}



.slider-items {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: scrolling 20s linear infinite;

}

@keyframes scrolling {

    0% {
        transform: translateX(50%);
    }

    100% {
        transform: translateX(-20%);
    }
}

.slider-items img {
    width: 17rem;
    margin: 20px;
}

/* Responsive Google Maps styles */
.map-wrapper {
    position: relative;
    width: 100%;
    background: #e5e7eb;
}
.map-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
}
.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.map-actions {
    background: transparent;
}
.open-maps-btn {
    display: inline-block;
    background: #1d3585;
    color: #fff;
    padding: 0.5rem 0.9rem;
    border-radius: 0.5rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.08s;
}
.open-maps-btn:hover {
    background: #153063;
    transform: translateY(-2px);
}

@media screen and (max-width: 640px) {
    .map-container { padding-bottom: 66%; }
    .open-maps-btn { padding: 0.5rem 0.7rem; font-size: 0.95rem; }
}

/* ===== إطار صورة المنتج: الصورة كاملة بالنص + نسخة مكبّرة ومموّهة منها كخلفية ===== */
.img-frame {
    position: relative;
    height: 16rem;
    overflow: hidden;
    isolation: isolate;
    background: #0f1f55;
}
.img-frame .img-blur {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(22px) brightness(0.9);
    transform: scale(1.3);          /* يخفي حواف البلور */
    z-index: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.img-frame .product-main-image {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
