@import url('https://fonts.googleapis.com/css2?family=El+Messiri:wght@500&display=swap');

:root {
    --bg-primary: #3876BF;
    --bg-secondary: #4D4C7D;
    --bg-red: #D80032;
    --bg-dark: #352F44;
    --bg-warn: #FBDA61;
    --bg-gradient: linear-gradient(45deg, #FBDA61 0%, #FF5ACD 100%);
    --bg-success: #25D366;
}
/* الشعار */
.logo {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.logo img {
    width: 200px;       /* حجم ثابت على الشاشات الكبيرة */
    height: auto;
    border-radius: 0;
    box-shadow: none;
    background: none;
    display: block;
    transition: transform 0.3s ease;
}

/* للجوال */
@media (max-width: 480px) {
    .logo img {
        width: 80%;     /* عرض نسبي على الشاشات الصغيرة */
        max-width: 150px;
    }
}

.logo img:hover {
    transform: scale(1.05); /* تكبير خفيف عند المرور */
}
* {
    font-family: 'El Messiri', sans-serif;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    margin: unset;
    padding: unset;
}

body {
    background-image: url('https://images.unsplash.com/photo-1709660274780-d089327578d0?q=80&w=870&auto=format&fit=crop');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

/* ✅ طبقة شفافة فوق الخلفية */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: -1;
}

main {
    width: 100%;
    height: 100%;
    display: flex;
    flex-flow: column wrap;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

#wrapper {
    width: 100%;
    max-width: 500px;
    text-align: center;
}

h2.title {
    font-weight: bold;
    color: #fff;
    letter-spacing: 0.5px;
    font-size: 1.8rem;
}

p.subtitle {
    font-weight: bold;
    color: #fff;
    font-size: 1.2rem;
    margin-top: 10px;
    letter-spacing: 0.3px;
}

/* ✅ روابط التواصل */
#soc-med-links {
    display: flex;
    flex-flow: row wrap;
    column-gap: 8px;
    row-gap: 12px;
    justify-content: center;
    margin-top: 20px;
}

#soc-med-links .soc-med-links-item {
    box-shadow: 0px 3px 6px #0000003a;
    background-color: #fff;
    border-radius: 2rem;
    transition: all .3s ease-in-out;
    display: flex;
    align-items: center;
}

#soc-med-links .soc-med-links-item a {
    text-decoration: none;
    color: #352F44;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

#soc-med-links .soc-med-links-item .soc-med-links-item-icon {
    height: 50px;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e8e8e8;
    background-color: #fff;
    border-radius: 50%;
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

/* ✅ النص المخفي يظهر بهدوء */
#soc-med-links .soc-med-links-item .soc-med-links-item-text {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .5px;
    white-space: nowrap;
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

#soc-med-links .soc-med-links-item:hover .soc-med-links-item-text {
    max-width: 120px;
    opacity: 1;
    margin: 5px 10px;
}

/* ✅ تأثير الألوان عند المرور */
#soc-med-links .soc-med-links-item:hover .soc-med-links-item-icon.bg-primary {
    background-color: var(--bg-primary);
    color: #fff;
}
#soc-med-links .soc-med-links-item:hover .soc-med-links-item-icon.bg-secondary {
    background-color: var(--bg-secondary);
    color: #fff;
}
#soc-med-links .soc-med-links-item:hover .soc-med-links-item-icon.bg-dark {
    background-color: var(--bg-dark);
    color: #fff;
}
#soc-med-links .soc-med-links-item:hover .soc-med-links-item-icon.bg-red {
    background-color: var(--bg-red);
    color: #fff;
}
#soc-med-links .soc-med-links-item:hover .soc-med-links-item-icon.bg-gradient {
    background-image: var(--bg-gradient);
    color: #fff;
}
#soc-med-links .soc-med-links-item:hover .soc-med-links-item-icon.bg-success {
    background-color: var(--bg-success);
    color: #fff;
}

/* ✅ موبايل */
@media (max-width: 480px) {
    #soc-med-links .soc-med-links-item .soc-med-links-item-icon {
        height: 40px;
        width: 40px;
        font-size: 1.4rem;
    }
    #soc-med-links .soc-med-links-item .soc-med-links-item-text {
        font-size: 12px;
    }
}

/* ✅ Footer styles */
.footer {
    position: fixed;
    bottom: 0; left: 0;
    width: 100%;
    background-color: rgba(0,0,0,0.7);
    color: white;
    text-align: center;
    padding: 8px 0;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    z-index: 999;
}




