@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;900&display=swap');

/* Basics */
body {
    font-family: 'Montserrat', sans-serif;
    color: #111;
    overflow-x: hidden;
    padding-top: 150px;    /* إصلاح مشكلة الناف بار اللي بيغطي المحتوى */
}

a { text-decoration: none; }

/* Typography Responsiveness */
.fw-900 { font-weight: 900; }
.ls-2 { letter-spacing: 2px; }

/* حجم العنوان بيصغر ويكبر حسب الشاشة */
.hero-title {
    font-weight: 900;
    font-size: 3.5rem; /* للموبايل */
}
@media (min-width: 992px) {
    .hero-title {
        font-size: 6rem; /* للشاشات الكبيرة */
    }
}

/* Navbar */
.nitro-navbar {
    background: transparent;
    transition: all 0.3s ease;
    padding: 20px 0;
}
.nitro-navbar.scrolled {
    background: #000;
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.bg-black { background-color: #000 !important; }

.nav-link {
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    min-height: 600px;
    background-image: url('hero-bg.jpg'); 
    background-size: cover;
    background-position: center;
    position: relative;
}
.overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}
.z-index-2 { z-index: 2; }

/* --- Product Cards (The Magic Part) --- */
.img-wrapper {
    width: 100%;
    /* النسبة 3:4 تضمن صور مستطيلة مثالية على كل الأجهزة */
    aspect-ratio: 3 / 4; 
    background-color: #f4f4f4;
}

.img-wrapper img {
    transition: transform 0.5s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card { border: none; background: transparent; }
.product-card:hover .img-wrapper img { transform: scale(1.05); }

/* Buttons */
.btn-light { background: #fff; color: #000; border: none; }
.btn-light:hover { background: #f0f0f0; }
.btn-outline-dark:hover { background-color: #000; color: #fff; }

/* --- Shop Page Mobile Tweaks --- */
@media (max-width: 768px) {
    .small-title { font-size: 0.8rem; }
    .small-price { font-size: 0.9rem; }
    .shop-header { padding-top: 2rem !important; padding-bottom: 2rem !important; }
}

/* --- Product Page Specifics --- */
.size-btn {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* شكل الزرار لما تختاره */
.size-btn.selected {
    background-color: #000;
    color: #fff;
    border-color: #000;
}

/* حل مشكلة الصفحات الداخلية */
/* الكود ده بيجبر الناف بار يبقى أسود لو واخد كلاس bg-black */
.nitro-navbar.bg-black {
    background-color: #000 !important;
    position: fixed; /* يفضل ثابت */
}

/* تنسيق الصور المصغرة */
#thumbnails-container .cursor-pointer {
    transition: all 0.2s;
    opacity: 0.6;
}
#thumbnails-container .cursor-pointer:hover {
    opacity: 1;
    border-color: #000 !important; /* برواز أسود لما تقف عليها */
}
