/* style.css - النسخة الاحترافية النهائية لموقع paints-riyadh.com */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 20px 0;
    /* مساحة علوية وسفلية للجوال */
    background: #f0f2f5;
    display: flex;
    flex-direction: column;
    /* لترتيب الروابط فوق الكونتينر */
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* تنسيق الروابط النصية العلوية */
.internal-links {
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
    text-align: center;
    line-height: 2;
}

.internal-links a {
    text-decoration: none;
    color: #444;
    padding: 0 5px;
    transition: 0.3s;
}

.internal-links a:hover {
    color: #e63946;
    text-decoration: underline;
}

.container {
    background: #fff;
    width: 90%;
    max-width: 500px;
    padding: 30px 25px;
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
    border: 1px solid #eee;
}

h1 {
    color: #1a1a1a;
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: 800;
}

h2 {
    color: #444;
    font-size: 20px;
    margin-top: 10px;
    border-bottom: 2px solid #f0f2f5;
    padding-bottom: 10px;
    display: inline-block;
}

p {
    color: #555;
    line-height: 1.8;
    margin: 20px 0;
    font-size: 17px;
}

/* رقم الهاتف مع تأثير النبض Pulse */
.phone-number {
    display: block;
    font-size: 40px;
    color: #e63946;
    text-decoration: none;
    font-weight: 900;
    margin: 25px 0;
    direction: ltr;
    animation: pulse 2s infinite ease-in-out;
}

/* زر الواتساب الاحترافي */
.whatsapp-link {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #25d366;
    color: white !important;
    padding: 18px;
    text-decoration: none;
    border-radius: 15px;
    font-size: 22px;
    font-weight: bold;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(37, 211, 102, 0.3);
}

.whatsapp-link:active {
    transform: scale(0.95);
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
        text-shadow: 0 0 10px rgba(230, 57, 70, 0.2);
    }

    100% {
        transform: scale(1);
    }
}

.footer {
    margin-top: 40px;
    font-size: 13px;
    color: #999;
    border-top: 1px solid #f9f9f9;
    padding-top: 15px;
}

/* القائمة الرئيسية السفلية (Main Nav) */
.main-nav {
    width: 90%;
    max-width: 500px;
    background-color: #1a1a1a;
    padding: 15px 0;
    margin-top: 20px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.main-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 10px;
    margin: 0;
}

.main-nav li {
    margin: 8px 5px;
}

.main-nav a {
    text-decoration: none;
    color: #eee;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 14px;
    transition: 0.3s;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
}

.main-nav a:hover {
    background-color: #e63946;
    color: white;
    transform: translateY(-2px);
}