* {
    padding: 0;
    margin: 0;
    box-sizing: border-box; 
    font-family: 'Poppins', sans-serif;
}

body {
    background: linear-gradient(#393a43, #63513c);
    height: 100vh;
}

.contaniner {

    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    position: relative;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    margin: auto;
    padding: 20px 0;
}

.logo {
    width: 40px;
}

ul li {
    display: inline-block;
}


ul li a {
    color: bisque;
    text-decoration: none;
    margin: 0 10px;
    border-bottom: 3px solid transparent;
    transition: 0.4s;
}

ul li a:hover {
    transform: scale(1.2);
    border-bottom-color: rgb(125, 113, 81);
    color: rgb(250, 246, 241);
}

.content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    margin: auto;

}

.content .text {
    width: 40%;

}

.content .text h2 {
    font-size: 40px;
    text-transform: uppercase;
    color: rgb(190, 181, 169);
    font-weight: 700;
    letter-spacing: 1px;
}

.content .text p {
    font-size: 18px;
    margin: 20px 0;
    color: blanchedalmond;
    font-weight: 300;
    line-height: 1.6;
}



.content .image {
    width: 30%;
}

.content .image img {
    width: 180px;
    animation: floatUpDown 3s ease-in-out infinite;
}

@keyframes floatUpDown {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}



.icons {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.icons img {
    width: 40px;
    transition: 0.4s;
    cursor: pointer;
}

.icons img:hover {
    transform: scale(1.2);
}

ul li .home {
    background: #8a7258;
    padding: 8px 14px;
    border-radius: 20px;
}

ul li .home:hover {
    background: #f5f2ee;
    color: rgb(241, 167, 76);
}

.content .text a {
    text-decoration: none;
    background: #393a43;
    color: rgb(213, 169, 119);
    padding: 8px 15px;
    border-radius: 20px;
    display: block;
    transition: 0.4s;
    margin: 5px 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.content .text a:hover {
    transform: scale(1.1);
    background: #f5f2ee;

}


/* للشاشات المتوسطة (Tablets) */
@media (max-width: 991px) {
    header, .content {
        width: 90%; 
    }
    .content .text {
        width: 50%;
    }
}

/* للشاشات الصغيرة (Mobile) */
@media (max-width: 768px) {
    body {
        height: auto; 
        overflow-x: hidden;
    }

    header {
        flex-direction: column; 
        gap: 20px;
    }

    ul li a {
        margin: 0 5px;
        font-size: 14px;
    }

    .content {
        flex-direction: column-reverse; 
        text-align: center;
        margin-top: 40px;
    }

    .content .text {
        width: 100%;
        margin-bottom: 50px;
    }

    .content .text h2 {
        font-size: 30px;
    }

    .content .image {
        width: 100%;
        margin-bottom: 30px;
    }

    .content .image img {
        width: 150px; 
    }

    .content .text a {
        margin: 20px auto; 
        width: fit-content;
    }

    .icons {
        position: relative; 
        margin: 30px 0;
        bottom: auto;
        left: auto;
        transform: none;
        display: flex;
        justify-content: center;
        width: 100%;
    }
}

/* للشاشات الصغيرة جداً */
@media (max-width: 480px) {
    ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
}

:root {
    --primary-glow: rgba(213, 169, 119, 0.15);
    --card-border: rgba(255, 255, 255, 0.05);
}

.mega-store {
    position: relative;
    padding: 150px 0;
    background: #050505; /* أسود أعمق */
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}

/* النص العملاق خلف البطاقات */
.giant-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20vw;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.02);
    white-space: nowrap;
    pointer-events: none;
    z-index: 0;
}

.cards-wrapper {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* تصميم البطاقة ككتلة زجاجية صلبة */
.glass-card {
    position: relative;
    width: 320px;
    height: 480px;
    background: linear-gradient(145deg, #0f0f11, #050505);
    border-radius: 40px;
    border: 1px solid var(--card-border);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: border 0.4s ease;
    cursor: pointer;
    perspective: 1000px;
}

.glass-card:hover {
    border-color: rgba(213, 169, 119, 0.4);
}

/* النص الداخلي خلف الهاتف */
.card-bg-text {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 80px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
}

/* وضعية الهاتف فوق كل شيء */
.product-visual {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 280px;
    display: flex;
    justify-content: center;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 2;
}

.product-visual img {
    height: 100%;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.8));
}

.glass-card:hover .product-visual {
    transform: translateX(-50%) translateY(-20px) scale(1.1);
}

/* تفاصيل المنتج */
.product-details {
    position: relative;
    z-index: 3;
}

.tag {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #d5a977;
    margin-bottom: 8px;
    display: block;
}

.product-details h3 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 10px;
}

.product-details p {
    color: #888;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 25px;
}

.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-tag {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
}

/* الزر الدائري العصري */
.cta-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
    cursor: pointer;
}

.cta-circle svg {
    width: 20px;
    fill: #000;
}

.cta-circle:hover {
    background: #d5a977;
    transform: rotate(-45deg);
}

/* Responsive */
@media (max-width: 768px) {
    .glass-card { width: 90%; height: auto; padding-top: 150px; margin-top: 50px; }
    .giant-text { display: none; }
}