/* ==========================
    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;
}

.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 */
}

/* ==========================
Hero Section - عرض النص على اليسار
========================== */
.hero {
    background: url("https://www.engage.veented.com/shop-dark/wp-content/uploads/sites/42/2017/08/full-4.jpg") no-repeat center top/cover;
    position: relative;
    height: 100vh;
}

.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

/* تغيير مكان النص من اليمين الي اليسار */
.hero-content {
    position: absolute;
    left: 50px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    text-align: left;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 76px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
}

.hero-content .btn {
    background-color: white;
    border: none;
    color: #000;
    padding: 15px 28px;
    font-size: 15px;
    letter-spacing: 0.2px;
    font-weight: 600;
    text-transform: uppercase;
    transition: background-color 0.3s;
}

.hero-content .btn:hover {
    background-color: #ccc;
}

/* ==========================
    Learn About Us Sections
 ========================== */


.learn-section h2,
.learn-section h3 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 30px;
}

.learn-section p {
    font-size: 18px;
    line-height: 1.6;
    color: #999;
}

.learn-text {
    margin-bottom: 30px;
}

.img-container {
    position: relative;
    margin-bottom: 20px;
    overflow: hidden;
}

.img-container img {
    width: 100%;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    display: block;
}

.img-rating-overlay {
    position: absolute;
    top: 5px;
    left: 5px;
    color: #555;
    padding: 3px 5px;
    border-radius: 3px;
    font-size: 19px;
    z-index: 2;
}

.img-caption {
    background: #2a2a2a;
    padding: 5px;
    text-align: left;
    text-indent: 10px;
    border-radius: 0 0 8px 8px;
    margin-top: -20px;
    z-index: 2;
    position: relative;
}

/* ==========================
    Overlay for Hover Animation (تطبيق على قسم Learn About Us و Best Sellers)
========================== */
.product-card {
    position: relative;
    overflow: hidden;
}

.hover-overlay .view-details {
    position: absolute;
    text-transform: capitalize;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #2a2a2a;
    opacity: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    z-index: 3;
    transform: translateY(20%);
    -webkit-transform: translateY(20%);
    -moz-transform: translateY(20%);
    -ms-transform: translateY(20%);
    -o-transform: translateY(20%);
}

.img-container:hover .view-details,
.product-card:hover .view-details {
    opacity: 1;
    transform: translateY(0);
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
}

.view-details:hover {
    background-color: #1DA1F2;
}

.hover-overlay .add-cart {
    position: absolute;
    text-transform: capitalize;
    bottom: 0;
    right: 0;
    width: 50%;
    background: #2a2a2a;
    opacity: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    z-index: 20;
    transform: translateY(150%);
    -webkit-transform: translateY(150%);
    -moz-transform: translateY(150%);
    -ms-transform: translateY(150%);
    -o-transform: translateY(150%);
}

.add-cart a {
    color: #777;
}



.img-container:hover .add-cart,
.product-card:hover .add-cart {
    opacity: 1;
    transform: translateY(250%);
    -webkit-transform: translateY(250%);
    -moz-transform: translateY(250%);
    -ms-transform: translateY(250%);
    -o-transform: translateY(250%);
}

/* عند تمرير المؤشر يظهر الـ hover */
.add-cart:hover a {
    color: #555;
}







/* ==========================
    Best Sellers Section
========================== */
.best-sellers {
    background-color: #1c1c1c;
    padding: 60px 0;
}

.best-sellers h2 {
    text-align: center;
    font-size: 36px;

    margin-bottom: 30px;
}

.best-sellers p.description {
    text-align: center;
    font-size: 18px;
    width: 50%;
    margin: auto;
    color: #606060;
    margin-bottom: 40px;
}

.best-sellers .product-card {
    background-color: #2a2a2a;
    border: none;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
    text-align: center;
    position: relative;
}

.best-sellers .product-card:hover {
    transform: translateY(-5px);
}

.best-sellers .product-card img {
    width: 100%;
    display: block;
}

.best-sellers .product-card .stars {
    position: absolute;
    top: 10px;
    left: 10px;
    color: #555;
    font-size: 15px;
    z-index: 2;
}

.best-sellers .product-card h5 {
    font-size: 20px;
    margin: 10px 0 5px;
    color: #fff;
}

.best-sellers .product-card p.price {
    font-size: 18px;
    color: #555;
    margin-bottom: 10px;
}

.card-body {
    text-align: left !important;
}

.sale-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(231, 76, 60, 0.9);
    color: #fff;
    padding: 5px 10px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 4px;
    z-index: 2;
}

/* ==========================
    Why Our Store Section
========================== */
.why-store {
    padding: 60px 0;
}

.why-store h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 30px;
}

.why-store p.description {
    text-align: center;
    font-size: 18px;
    margin-bottom: 40px;
    width: 50%;
    margin: auto;
    color: #606060;
}

.why-store .store-features .feature-card {
    background-color: #1c1c1c;
    border: none;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s;
    height: 100%;
}

.why-store .store-features .feature-card:hover {
    transform: translateY(-5px);
}

.why-store .store-features .feature-card h5 {
    font-size: 20px;
    margin-bottom: 10px;
}

.why-store .store-features .feature-card p {
    font-size: 16px;
    line-height: 1.4;
    color: #606060;
}

/* ==========================
    Feeling Convinced Section
 ========================== */
.convinced-section {
    background-color: #1c1c1c;
    height: 450px;
    padding: 60px 0;
    text-align: center;
    background-image: url("ghaba.jpg");
    background-repeat: no-repeat;
    background-size: cover;
}

.convinced-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.convinced-section p {
    font-size: 18px;
    margin-bottom: 30px;
}

.convinced-section .btn-visit {
    background-color: transparent;
    border: solid 2px;
    color: white;
    padding: 12px 30px;
    font-size: 18px;
    transition: background-color 0.3s;
}

.convinced-section .btn-visit:hover {
    background-color: white;
    border: none;
    color: #000;
}

/* ==========================
        Footer
 ========================== */
.footer {
    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;
}