:root {
    --primary-color: #f49819;
    --secondary-color: #000000;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --dark-gray: #333333;
}

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

body {
    font-family: 'Cairo', 'Poppins', sans-serif;
    background-color: var(--white);
    color: var(--secondary-color);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

.language-switcher {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 100;
    display: flex;
    gap: 5px;
}

.language-switcher button {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--secondary-color);
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-switcher button.active {
    background-color: var(--primary-color);
    color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 10;
}

header {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    padding-top: 40px;
}

.logo img {
    max-width: 200px;
    height: auto;
}

main {
    text-align: center;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    margin-bottom: 50px;
}

.content {
    display: none;
}

.content.active {
    display: block;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: 700;
}

.tagline {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
    font-weight: 600;
}

.description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.countdown-container {
    margin-bottom: 40px;
}

.countdown-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
    font-weight: 600;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.countdown-value {
    font-size: 2.5rem;
    font-weight: 700;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 10px;
    padding: 15px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(244, 152, 25, 0.3);
}

.countdown-label {
    margin-top: 10px;
    font-size: 1rem;
    color: var(--secondary-color);
    font-weight: 500;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.icon {
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.icon:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.contact {
    margin-top: 30px;
    font-size: 1.1rem;
}

.contact a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact a:hover {
    text-decoration: underline;
}

.image-gallery {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    display: flex;
    overflow: hidden;
}

.gallery-image {
    flex: 1;
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    transition: all 0.5s ease;
}

.gallery-image:hover {
    opacity: 0.3;
}

/* RTL specific styles */
html[dir="rtl"] .language-switcher {
    right: auto;
    left: 20px;
}

/* Responsive styles */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1.5rem;
    }
    
    .countdown {
        flex-wrap: wrap;
    }
    
    .countdown-item {
        min-width: 70px;
    }
    
    .countdown-value {
        font-size: 2rem;
        width: 70px;
        height: 70px;
    }
    
    .image-gallery {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    .description {
        font-size: 1rem;
    }
    
    .countdown-item {
        min-width: 60px;
    }
    
    .countdown-value {
        font-size: 1.5rem;
        width: 60px;
        height: 60px;
        padding: 10px;
    }
    
    .countdown-label {
        font-size: 0.8rem;
    }
    
    .icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}
