/* ==========================
    Global Styles
========================== */
body {
    background-color: #121212;
    color: #fff;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

a {
    color: white;
    text-decoration: none;
}



/* ==========================
    Scroll & Load Animation
========================== */
.animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================
        Navbar 
 ========================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: #101010;
    padding: 15px;
    height: 100px;
}

.navbar-brand {
    font-size: 24px;
    font-weight: bold;
}

.navbar-nav .nav-link {
    font-size: 16px;
    margin-right: 15px;
}

.navbar .nav-icons {
    display: flex;
    align-items: center;
}

.navbar .nav-icons i {
    font-size: 20px;
    margin-left: 15px;
    cursor: pointer;
    color: white;
}

.scrolled {
    background-color: #000;
    /* اللون الجديد بعد الـ scroll */
}



nav {
    height: 60px;
    display: flex;
    align-items: center;
}

header {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 0;
    margin-top: 100px;
}

nav a {
    color: #bbb;
    text-decoration: none;
}

nav a:hover {
    color: #ddd;
}

.alert {
    display: none;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #dff0d8;
    color: #3c763d;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #b2dba1;
    width: 80%;
    text-align: center;
    z-index: 1000;
}

main {
    display: flex;
    justify-content: center;
    align-items: center;
}

.product {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    align-items: center;
}

.product-image {
    position: relative;
    flex: 1;
    max-width: 500px;
}

.product-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}



.zoom-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.8);
    padding: 5px;
    border-radius: 50%;
    cursor: pointer;
}

.product-details {
    flex: 1;
}

.price {
    font-size: 1.5em;
    color: #ffcc00;
}

.cart-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

input[type="number"] {
    width: 50px;
    padding: 5px;
}

button {
    background-color: #ffcc00;
    border: none;
    padding: 10px;
    cursor: pointer;
}

.category span {
    font-weight: bold;
}

.tabs {
    display: flex;
    border-bottom: 2px solid #333;
}

.tab {
    padding: 10px 20px;
    cursor: pointer;
    background-color: #222;
    color: #bbb;
    border: none;
    outline: none;
    transition: 0.3s;
}

.tab.active {
    background-color: #3498db;
    color: #fff;
    font-weight: bold;
}

.tab-content {
    display: none;
    padding: 20px;
}

.tab-content.active {
    display: block;
}

/* ==========================
        Footer
 ========================== */
.footer {
    margin-top: 100px;
    background-color: #111;
    padding: 40px 0;
    color: #797979;
}

.footer h5 {
    color: #fff;
    margin-bottom: 20px;
}



.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
    border-bottom: 1px solid #333;
}



.footer ul li:last-child {
    border-bottom: none;
}

.footer .opening-hours li::before {
    content: "›";
    position: absolute;
    left: 0;
    font-size: 16px;
    top: 0;
}

.footer a {
    text-decoration: none;
    color: #797979 !important;
}



.footer-icons a i {
    font-size: 18px;
    cursor: pointer;
    transition: color 0.3s, transform 0.3s, background-color 0.3s;
    color: #555;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
    display: inline-block
}

.footer-icons a i.fa-facebook-f:hover {
    color: #fff;
    background-color: #1877F2;
}

.footer-icons a i.fa-google-plus-g:hover {
    color: #fff;
    background-color: #DB4437;
}

.footer-icons a i.fa-linkedin-in:hover {
    color: #fff;
    background-color: #0A66C2;
}

.footer-icons a i.fa-twitter:hover {
    color: #fff;
    background-color: #1DA1F2;
}

.product-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    margin-right: 10px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stars {
    color: #33a8e8;
}

.mapp {
    background-image: url(map.png);
    background-repeat: no-repeat;
    background-size: contain;
}

/* ==========================
    Settings Icon & Color Panel
========================== */
.settings-icon {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    bottom: 20px;
    right: 10px;
    font-size: 24px;
    color: #555;
    width: 40px;
    height: 40px;
    border: #555 solid;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2000;
}

.settings-icon:hover {
    color: white;
    border-color: white;
}

.color-panel {
    position: fixed;
    bottom: 60px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    padding: 10px;
    border-radius: 8px;
    z-index: 2000;
    display: flex;
    gap: 5px;
    display: none;
}

.color-option {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #fff;
}

/* ==========================
    Scroll Up Icon
 ========================== */
.scroll-up-icon {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    bottom: 20px;
    right: 60px;
    font-size: 24px;
    color: #555;
    width: 40px;
    height: 40px;
    border: #555 solid;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2000;
}

.scroll-up-icon:hover {
    color: white;
    border-color: white;
}