/* الأساسيات */
:root {
    --primary-color: #2e3191;
    --secondary-color: #8bc53f;
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Tajawal', sans-serif;
    /* background-color: var(--light-color); */
    color: var(--dark-color);
    line-height: 1.6;
    direction: rtl;
    background: url('images/oil-background.jpg') no-repeat center center fixed;
    background-size: cover;
    position: relative;
}

/* تراكب داكن شفاف فوق الخلفية */
body::before {
    content: '';
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.9); /* غطاء نصف شفاف */
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* الهيدر */
header {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeIn 1.5s ease-in-out;
}

.logo-container {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border-radius: 50%;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.logo-container:hover {
    transform: scale(1.05);
}

.logo {
    max-width: 100%;
    height: auto;
}

h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.tagline {
    color: var(--secondary-color);
    font-size: 1.2rem;
    font-weight: 500;
}

/* المحتوى الرئيسي */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 2rem 0;
}

.coming-soon {
    margin-bottom: 3rem;
    animation: slideUp 1s ease-in-out;
}

h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.coming-soon p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--gray-color);
}

.animated-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    height: 3rem;
    overflow: hidden;
    position: relative;
}

.animated-text span {
    display: block;
    position: absolute;
    width: 100%;
    opacity: 0;
    animation: rotateWords 12s linear infinite 0s;
}

.animated-text span:nth-child(2) {
    animation-delay: 4s;
}

.animated-text span:nth-child(3) {
    animation-delay: 8s;
}

.about {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    animation: fadeIn 2s ease-in-out;
}

.about h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.about p {
    color: var(--dark-color);
    font-size: 1.1rem;
}

/* الفوتر */
footer {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #eee;
    animation: fadeIn 2.5s ease-in-out;
}

.contact-info {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 500;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-3px);
    color: var(--secondary-color);
}

.contact-item i {
    font-size: 1.2rem;
}

.social-media {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.social-media a {
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.social-media a:hover {
    color: white;
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.copyright {
    color: var(--gray-color);
    font-size: 0.9rem;
}

/* الحركات */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes rotateWords {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    3% {
        opacity: 1;
        transform: translateY(0);
    }
    25% {
        opacity: 1;
        transform: translateY(0);
    }
    28% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 0;
    }
}

/* التجاوب مع أحجام الشاشات */
@media (max-width: 768px) {
    .container {
        padding: 1.5rem;
    }

    h1 {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .coming-soon p, .about p {
        font-size: 1rem;
    }

    .contact-info {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .logo-container {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1rem;
    }

    h1 {
        font-size: 1.8rem;
    }

    .animated-text {
        font-size: 1.5rem;
        height: 2.5rem;
    }

    .about {
        padding: 1.5rem;
    }
}



