
@import url('https://fonts.googleapis.com/css2?family=Lateef:wght@200;300;400;500;600;700;800&display=swap');


* {
    font-family: 'Lateef', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

:root {
    --bg: #0f0f0f;
    --card: #1a1a1a;
    --text: #ffffff;
    --muted: #aaaaaa;
    --accent: #c9a657;
}

header {
    background-color: #0a0a0a; /* أسود فخم */
    width: 100%;
    position: fixed;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 200px;
    border-bottom: 1px solid rgba(255,255,255,0.08); /* خط خفيف زي Shopify */
}

/* اللوجو */
.logo {
    color: #e5e5e5; /* أبيض مش ناصع */
    text-decoration: none;
    font-size: 1.6em;
    font-weight: 700;
    letter-spacing: 1px;
}

/* القائمة */
.navigation ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

/* اللينكات */
.navigation a {
    color: #aaa; /* رمادي شيك */
    font-weight: 500;
    font-size: 0.95em;
    text-decoration: none;
    position: relative;
    transition: 0.3s;
}

/* Hover زي الصورة الأولى */
.navigation a:hover {
    color: #ffffff;
}

/* خط تحت اللينك عند hover */
.navigation a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background-color: var(--accent); /* دهبي */
    transition: 0.3s;
}

.navigation a:hover::after {
    width: 100%;
}

/* الهامبرغر */
.hamburger {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: #e5e5e5;
    background: none;
    border: none;
}
/* تعديل القائمة للأجهزة الصغيرة */
@media (max-width: 768px) {
    .hamburger {
        display: block;
        position: absolute;
        top: 15px;
        right: 20px;
        z-index: 1000;
    }

    .navigation {
        position: fixed;
        top: 0;
        left: -100%;
        width: 60%;
        height: 100%;
        background: rgba(0, 0, 0, 0.9);
        padding-top: 60px;
        transition: 0.3s ease-in-out;
    }

    .navigation ul {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .navigation a {
        font-size: 1.5em;
        display: block;
        padding: 15px;
    }

    /* عندما يتم فتح القائمة */
    .navigation.active {
        left: 0;
    }
}


.main {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    min-height: 100vh;
    background: url(img/tree.jpg) no-repeat;
    background-size: cover;
    background-position: center;
}

/* Dark Overlay أقوى زي الصورة 1 */
.main::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.85),
        rgba(0,0,0,0.6)
    );
    z-index: 0;
}

/* جعل المحتوى فوق الطبقة */
.main * {
    position: relative;
    z-index: 1;
}


/* السطر الصغير */
.main h2 {
    font-size: 1.5em;
    color: var(--muted);
}

.main h2 span {
    font-size: 5em;
    color: var(--text);
}

.main h3 {
    font-size: 1.8em;
    color: var(--muted);
}

/* الوصف */
.main p {
    color: #999; /* رمادي هادي */
    font-size: 1em;
}

.main-btn{
    font-size: 1.1em;
    background: var(--muted);
    color: rgb(5, 5, 5);
    font-weight: 700;
    font-weight: 600;
    line-height: 1.8em;
    text-decoration: none;
    display: inline-block;
    padding: 0.9375em 2.1875em;
    letter-spacing: 1px;
    border-radius: 15px;
    margin-bottom: 40px;
    transition: 0.7s ease;
}

.main-btn:hover{
    background: var(--card);
    transform: scale(1.1);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px; /* مسافة ثابتة بين الأيقونات */
    margin-top: 20px;
    padding-right: 0; /* تأكد إن مفيش بادنج قديم */
}

.social-icons a {
    padding: 0; /* صفر البادنج القديم */
    font-size: 1.7em;
    color: white;
}

.title{
    display: flex;
    justify-content: center;
    font-size: 2.2em;
    color: var(--text);
    font-weight: 800;
    margin-bottom: 30px;
}

.content{
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
}

/* =========================
   Bundle Section
========================= */

.scroll-btn{
    display: inline-block;
    margin-bottom: 15px;
    padding: 10px 20px;
    background: var(--accent);
    color: black;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: 0.3s;
}

.scroll-btn:hover{
    transform: scale(1.05);
    background: #e0b85c;
}

.bundle-card{
    background: linear-gradient(145deg, #151515, #1c1c1c);
    border: 1px solid rgba(201,166,87,0.2);
    padding: 30px;
    border-radius: 20px;
    margin: 40px auto;
    max-width: 500px;
    text-align: center;
    color: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.bundle-tag{
    color: var(--accent);
    font-weight: bold;
    margin-bottom: 10px;
}

.bundle-card select{
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    background: #111;
    color: white;
    border: 1px solid #333;
    border-radius: 10px;
}

.bundle-prices{
    margin-top: 15px;
}

.old-price{
    text-decoration: line-through;
    color: #888;
    margin-right: 10px;
}

.new-price{
    color: var(--accent);
    font-size: 1.4em;
    font-weight: bold;
}

.bundle-btn{
    margin-top: 15px;
    width: 100%;
    padding: 12px;
    background: var(--accent);
    border: none;
    border-radius: 12px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.bundle-btn:hover{
    transform: scale(1.05);
}

/* responsive */

@media (max-width: 768px){

    .bundle-content{

        padding: 50px 25px;
    }

    .bundle-content h2{

        font-size: 2.8em;
    }

    .bundle-text{

        font-size: 1.2em;
    }

    .old-price{

        font-size: 1.5em;
    }

    .new-price{

        font-size: 2.2em;
    }

    .bundle-btn{

        width: 100%;
    }
}

.card{
    width: 21.25em;
    margin: 20px;
    background-color: var(--card);
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(1 1 1 / 15%);
    overflow: hidden;
    transition: 0.7s ease;
    padding: 25px;
    background: var(--card)
}

.card:hover{
    transform: scale(1.1);
}

.icon {
    font-size: 8em;
    color: var(--text);
    text-align: center;
}
.info{
    text-align: center;
}

.info h3{
    color: var(--text);
    font-size: 2em;
    font-weight: 700;
    margin: 10px;
}

.sale-badge {
    position: center;
    top: 10px;
    left: 10px;
    background-color: red;
    color: white;
    padding: 5px 10px;
    font-weight: bold;
    border-radius: 5px;
    font-size: 14px;
    z-index: 10;
    display: block;}

    .discount-tag {
    background-color: red;
    color: white;
    font-size: 13px;
    font-weight: bold;
    padding: 3px 8px;
    margin-left: 10px;
    border-radius: 5px;
    vertical-align: middle;
}


.products {
    padding: 80px 150px;
    text-align: center;
}

.products .title {
    font-size: 2.5em;
    color: var(--text);
    font-weight: 800;
    margin-bottom: 40px;
}

.products .content {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

/* ✅ جعل الكارت بالكامل مربع */
.product {
    background: var(--card);
    border-radius: 10px;
    padding: 20px;
    width: 300px;
    height: 100%; /* يجعل الكارت يأخذ حجم الصورة */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: 0.4s ease-in-out;
    text-align: center;
    color: var(--text);
}

.product:hover {
    transform: translateY(-10px);
}

/* ✅ جعل الصورة مربعة تمامًا */
.image-container {
    width: 100%;
    aspect-ratio: 1 / 1; /* ✅ يضمن أن الصورة تكون مربعة تلقائيًا */
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f7f7f7;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* ✅ يجعل الصورة تملأ المربع بالكامل */
}

.product h3 {
    font-size: 1.4em;
    color: var(--text);
    font-weight: 700;
    margin: 10px 0;
}

.product p {
    font-size: 0.95em;
    color: rgb(202, 200, 200);
    margin-bottom: 10px;
}

/* Dropdown Styling */
.product label {
    display: block;
    font-weight: 600;
    margin: 10px 0 5px;
}

.product select {
    width: 100%;
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ccc;
    background: #fff;
    cursor: pointer;
    font-size: 1em;
}

/* Add to Cart Button */
.add-to-cart , .go-to-cart {
    background-color: var(--muted);
    color: white;
    padding: 10px 15px;
    font-size: 1.1em;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 15px;
    transition: 0.4s;
    width: 100%;
}

.add-to-cart:hover , .go-to-cart:hover {
    background-color: var(--card);
}

/* ✅ تحسين العرض على الهواتف المحمولة */
@media (max-width: 768px) {
    .products {
        padding: 50px 20px;
    }

    .products .title {
        font-size: 2em;
    }

    .products .content {
        flex-direction: column;
        align-items: center;
    }

    .product {
        width: 100%;
        max-width: 350px;
    }

    .image-container {
        aspect-ratio: 1 / 1; /* يضمن أن الصورة تبقى مربعة حتى في الشاشات الصغيرة */
    }

    .product h3 {
        font-size: 1.2em;
    }

    .add-to-cart {
        font-size: 1em;
        padding: 8px 12px;
    }
}

/* ======= Responsive Design ======= */
@media (max-width: 1024px) {
    header {
        padding: 10px 50px;
    }

    section {
        padding: 50px;
    }

    .products .content {
        flex-direction: column;
        align-items: center;
    }

    .product {
        width: 90%;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }

    .navigation ul {
        flex-direction: column;
        gap: 10px;
    }

    .main {
        padding: 50px 30px;
        text-align: center;
    }

    .main h2 span {
        font-size: 2.5em;
    }

    .products .content {
        gap: 15px;
    }
}

.image-container {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    border-radius: 10px;
}

.image-container .images {
    display: flex;
    width: 300%;
    transition: transform 0.5s ease-in-out;
}

.image-container img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

/* إخفاء أزرار الـ radio */
input[type="radio"] {
    display: none;
}

/* تحريك الصور عند اختيار كل زر */
#img1-1:checked ~ .images {
    transform: translateX(0%);
}

#img1-2:checked ~ .images {
    transform: translateX(-33.33%);
}

#img1-3:checked ~ .images {
    transform: translateX(-66.66%);
}

/* تحسين تصميم أزرار التبديل بين الصور */
.image-container {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-container img {
    width: 100%;
    height: 130%;
    object-fit: cover;
    transition: opacity 0.5s ease-in-out;
}

/* أزرار تغيير الصور */
.image-container .prev,
.image-container .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 50%;
    transition: 0.3s;
}

.image-container .prev {
    left: 10px;
}

.image-container .next {
    right: 10px;
}

.image-container .prev:hover,
.image-container .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}



.cart-section {
    padding: 120px 20px;
    text-align: center;
}

.cart-content {
    max-width: 800px;
    margin: 0 auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.table-container {
    width: 100%;
    overflow-x: auto;
}

table, th, td {
    border: 1px solid #ccc;
}

th, td {
    padding: 10px;
    text-align: center;
}

.clear-cart {
    margin-top: 20px;
    background-color: red;
    color: white;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
}
/* زر استكمال الشراء - تصميم عصري */
.continue-shopping {
    display: block;  /* جعله في سطر منفصل */
    width: fit-content; /* يناسب المحتوى */
    margin: 20px auto; /* وسط الصفحة مع مسافة مناسبة */
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: white;
    padding: 12px 30px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 50px; /* شكل دائري جميل */
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    text-decoration: none; /* إزالة الخط تحت النص */
    display: flex;
    align-items: center;
    gap: 8px;
}

.continue-shopping:hover {
    background: linear-gradient(45deg, #0056b3, #00408d);
    transform: scale(1.08);
}

.continue-shopping:active {
    background: #003377;
    transform: scale(0.95);
}

.continue-shopping i {
    font-size: 20px;
}



/* =========================
   Coupon Section
========================= */

.coupon-box{
    margin-top: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.coupon-box input{
    width: 260px;
    padding: 14px 18px;

    background: #161616;
    border: 1px solid rgba(255,255,255,0.08);

    border-radius: 14px;

    color: var(--text);

    font-size: 1.1em;

    outline: none;

    transition: 0.3s ease;
}

.coupon-box input::placeholder{
    color: #777;
}

.coupon-box input:focus{
    border-color: var(--accent);

    box-shadow:
        0 0 0 3px rgba(201,166,87,0.15);
}

/* زرار التطبيق */

#apply-coupon{
    background: var(--accent);

    color: #111;

    border: none;

    padding: 14px 24px;

    border-radius: 14px;

    font-size: 1em;
    font-weight: 700;

    cursor: pointer;

    transition: 0.3s ease;
}

#apply-coupon:hover{
    transform: translateY(-2px);

    background: #d8b76b;

    box-shadow:
        0 8px 20px rgba(201,166,87,0.25);
}

/* الرسالة */

#coupon-message{
    margin-top: 12px;

    font-size: 1.1em;

    color: var(--accent);

    font-weight: 600;
}

/* الخصم */

#discount-row{
    margin-top: 10px;

    color: #cfcfcf;

    font-size: 1.05em;
}

#discount-value{
    color: var(--accent);

    font-weight: bold;
}

/* Total Cost تحسين */

#total-cost{
    margin-top: 25px;

    font-size: 1.4em;

    font-weight: 700;

    color: var(--text);
}

#cost-value{
    color: var(--accent);
}

/* Responsive */

@media (max-width: 768px){

    .coupon-box{
        flex-direction: column;
    }

    .coupon-box input{
        width: 100%;
        max-width: 320px;
    }

    #apply-coupon{
        width: 100%;
        max-width: 320px;
    }
}

.home-page {
    background: #666262;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
    border-radius: 5px;
    transition: 0.3s;
}

.home-page:hover {
    background-color: #302929;
    transform: scale(1.05);
}

.checkout-note{

    background:
    rgba(201,166,87,.08);

    border:
    1px solid rgba(201,166,87,.18);

    color: var(--accent);

    padding: 14px;

    border-radius: 14px;

    margin-bottom: 25px;

    font-size: 1.05em;

    text-align: center;
}

.order-section {
    padding: 80px 150px;
    text-align: center;
}


/* صندوق الإجمالي */
.total-box {
    margin-top: 20px;
    font-size: 18px;
    font-weight: bold;
    color: #302929;
}


/* زر تأكيد الطلب - ستايل جديد */
.submit-order {
    background-color: #666262 !important; /* لون أحمر جذاب */
    color: white !important; /* لون النص */
    font-size: 16px !important;
    font-weight: bold !important;
    padding: 12px 20px !important;
    border: none !important;
    border-radius: 8px !important; /* حواف دائرية */
    cursor: pointer !important;
    transition: all 0.3s ease-in-out !important;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2) !important;
    margin-top: 15px;
}

.submit-order:hover {
    background-color: #302929 !important; /* لون أغمق عند التحويل */
    transform: scale(1.1) !important; /* تكبير بسيط */
}

.submit-order:active {
    background-color: #302929 !important; /* لون داكن عند الضغط */
    transform: scale(0.95) !important; /* تقليل الحجم لمحاكاة الضغط */
}


.content {
    flex: 1; /* يجعل المحتوى يتمدد ليملأ الفراغ فوق الفوتر */
}

.footer {
    width: 100%;
    background: var(--card);
    color: var(--text);
    padding: 10px 20px;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-text {
    display: flex;
    align-items: center;
    gap: 15px; /* مسافة بين النصوص */
}

.footer-title a {
    color: #f0e68c;
    text-decoration: none;
    font-weight: bold;
}


/* منع تداخل الفوتر مع المحتوى */
body{
    background:
    radial-gradient(circle at top,
    #1a1a1a 0%,
    #0f0f0f 45%);

    color: var(--text);

    overflow-x: hidden;
}

.lateef-extralight {
  font-family: "Lateef", serif;
  font-weight: 200;
  font-style: normal;
}

.lateef-light {
  font-family: "Lateef", serif;
  font-weight: 300;
  font-style: normal;
}

.lateef-regular {
  font-family: "Lateef", serif;
  font-weight: 400;
  font-style: normal;
}

.lateef-medium {
  font-family: "Lateef", serif;
  font-weight: 500;
  font-style: normal;
}

.lateef-semibold {
  font-family: "Lateef", serif;
  font-weight: 600;
  font-style: normal;
}

.lateef-bold {
  font-family: "Lateef", serif;
  font-weight: 700;
  font-style: normal;
}

.lateef-extrabold {
  font-family: "Lateef", serif;
  font-weight: 800;
  font-style: normal;
}

.marquee {
  width: 100%;
  background-color: #fff; /* الخلفية البيضاء زي الصورة */
  color: #000; /* النص أسود */
  overflow: hidden; /* إخفاء أي نص خارج البرواز */
  padding: 11px 0;
  white-space: nowrap; /* منع النص من النزول لسطر جديد */
  display: flex;
  align-items: center;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

.marquee-content {
  display: inline-block;
  padding-left: 100%; /* البداية من خارج الشاشة */
  animation: scroll-left 20s linear infinite; /* سرعة الحركة 20 ثانية */
}

.marquee-content span {
  font-family: 'Lateef', 'Poppins', sans-serif; /* الخطوط اللي ظبطناها سوا */
  font-size: 19px;
  font-weight: bold;
  text-transform: uppercase;
}

/* الأنميشن المسؤول عن الحركة */
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%); /* يتحرك نص المسافة عشان التكرار يملأ الفراغ */
  }
}

