/* public/styles.css */

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

/* RTL Support */
[dir="rtl"] {
    direction: rtl;
}

[dir="rtl"] .language-selector {
    float: left;
}

[dir="rtl"] header nav ul {
    flex-direction: row-reverse;
}

[dir="rtl"] header nav ul li {
    margin-left: 0;
    margin-right: 20px;
}

/* Body and HTML Styles */
html, body {
    background-color: #121212; /* Dark gray background */
    color: #FFFFFF; /* Light text */
    font-family: 'Eurostile', sans-serif;
    line-height: 1.6;
    height: 100%;
    width: 100%;
}

/* Language Selector Styles */
.language-selector {
    position: relative;
    display: inline-block;
    margin: 10px 20px;
    float: right;
}

.language-btn {
    background-color: transparent;
    border: none;
    color: #FFFFFF;
    font-size: 1em;
    cursor: pointer;
}

.language-btn:hover {
    color: #FFBF00;
}

.language-dropdown {
    display: none;
    position: absolute;
    background-color: #1F1F1F;
    min-width: 120px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.language-option {
    color: #FFFFFF;
    padding: 8px 12px;
    text-decoration: none;
    display: block;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 1em;
    cursor: pointer;
}

.language-option:hover {
    background-color: #FFBF00;
}

.language-selector:hover .language-dropdown {
    display: block;
}

/* Navigation Styles */
header {
    background-color: #1F1F1F; /* Dark background */
    padding: 20px;
}

header nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header .logo img {
    width: 50px;
    height: 50px;
}

header nav ul {
    list-style: none;
    display: flex;
}

header nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    color: #FFFFFF; /* White text for contrast */
    text-decoration: none;
    font-size: 1.1em;
}

header nav ul li a:hover {
    color: #FFBF00; /* Highlight color on hover */
}

/* Hero Section Styles */
.hero {
    text-align: center;
    padding: 60px 20px;
    background-color: #1A1A1A; /* Dark background */
}

.hero h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 40px;
}

.hero img {
    max-width: 100%;
    height: auto;
    margin-top: 20px;
}

/* Carousel Styles */
.carousel {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 20px;
    gap: 20px;
    justify-content: center; /* Center the carousel items */
}

.carousel::-webkit-scrollbar {
    display: none; /* Hide scrollbar for better aesthetics */
}

.carousel-item {
    min-width: 250px; /* Increased width for better visibility */
    background-color: #1F1F1F; /* Dark background */
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5); /* Dark shadow */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.carousel-item img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    border-radius: 32px; /* 32px corner radius */
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.8); /* White shadow */
    margin-bottom: 15px;
    background-color: transparent; /* Transparent background */
}

/* Centering Sections */
#games, #apps {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    background-color: #121212; /* Dark gray background */
    margin: 20px 0;
}

#games h2, #apps h2 {
    margin-bottom: 30px;
    font-size: 2em;
    color: #FFFFFF; /* White text for contrast */
}

/* About, Team & Contact Sections */
#about, #team, #contact {
    padding: 40px 20px;
    text-align: center;
    background-color: #1A1A1A;
}

#about h2, #team h2, #contact h2 {
    margin-bottom: 20px;
    font-size: 2em;
    color: #FFFFFF;
}

/* Team Section */
#team {
    background-color: #121212;
}

.team-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 10px;
}

.team-card {
    background-color: #1F1F1F;
    padding: 30px 40px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 250px;
    max-width: 300px;
}

.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #FFBF00;
    margin-bottom: 16px;
}

.team-card .name {
    font-size: 1.3em;
    color: #FFFFFF;
    margin-bottom: 6px;
}

.team-card .role {
    font-size: 1em;
    color: #AAAAAA;
    margin-bottom: 18px;
}

.linkedin-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: #0A66C2;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.95em;
    transition: background-color 0.3s ease;
}

.linkedin-btn:hover {
    background-color: #004182;
}

/* Footer Styles */
footer {
    background-color: #333333;
    color: #ffffff;
    text-align: center;
    padding: 20px;
}

.footer-links {
    margin-top: 10px;
}

.footer-link {
    color: #ffffff;
    text-decoration: none;
    margin: 0 10px;
}

.footer-link:hover {
    text-decoration: underline;
}

/* WhatsApp Button */
.whatsapp-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #25D366;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.whatsapp-btn:hover {
    background-color: #1DA851;
}

/* Responsive Design */
@media (max-width: 768px) {
    .carousel {
        flex-direction: column;
        align-items: center;
    }
    .carousel-item {
        min-width: 80%;
    }
    .team-grid {
        flex-direction: column;
        align-items: center;
    }
    .team-card {
        min-width: 80%;
    }
}
