/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

/* Header */
header {
    background-color: #1a1a1a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .logo {
    color: #fff;
    font-size: 32px;
    font-weight: bold;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

header .logo:hover {
    transform: scale(1.03);
}

header .logo span {
    color: #e50914; /* Accent Red */
}

nav {
    display: flex;
    align-items: center;
}

nav a {
    color: #fff;
    text-decoration: none;
    margin-left: 20px;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #e50914;
}

/* Language Switcher Button in Nav Bar */
.lang-toggle-nav {
    background: transparent;
    color: #fff;
    border: 1px solid #e50914;
    padding: 5px 10px;
    margin-left: 20px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 13px;
    transition: all 0.3s ease;
}

.lang-toggle-nav:hover {
    background-color: #e50914;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), url('backfroundindexpage.png') no-repeat center center/cover;
    height: 75vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}

/* --- CHANGED BACK TO PURE WHITE --- */
.hero h1 {
    font-size: 46px;
    margin-bottom: 15px;
    font-weight: 700;
    color: #ffffff; /* Pure White */
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 800px;
    color: #ddd;
}

.btn {
    display: inline-block;
    background-color: #e50914;
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.btn:hover {
    background-color: #b20710;
}

/* Services Section */
.services {
    padding: 60px 10%;
    text-align: center;
}

.services h2 {
    font-size: 36px;
    margin-bottom: 40px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border-top: 4px solid #e50914;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    margin-bottom: 15px;
    color: #1a1a1a;
}

/* Contact Section */
.contact {
    background-color: #1a1a1a;
    color: #fff;
    padding: 60px 10%;
    text-align: center;
}

.contact h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.contact-info {
    margin-top: 30px;
    font-size: 18px;
}

.contact-info p {
    margin: 12px 0;
}

/* Footer */
footer {
    background-color: #111;
    color: #777;
    text-align: center;
    padding: 20px;
    font-size: 14px;
}

/* --- LANGUAGE SELECTION MODAL POPUP --- */
.lang-modal {
    display: flex; 
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.lang-modal-content {
    background-color: #1f1f1f;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    color: #fff;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid #333;
}

.lang-modal-content h2 {
    font-size: 22px;
    margin-bottom: 15px;
}

.lang-modal-content p {
    color: #aaa;
    margin-bottom: 30px;
    font-size: 15px;
}

.lang-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.lang-buttons .btn {
    min-width: 130px;
    font-size: 16px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    header { padding: 12px 5% !important; }
    .hero { height: 60vh; }
    .hero h1 { font-size: 22px; }
    .hero p { font-size: 13px; margin-bottom: 20px; }
    .btn { padding: 10px 22px; font-size: 0.9rem; }
    .services { padding: 40px 5%; }
    .services h2 { font-size: 1.5rem; margin-bottom: 25px; }
    .service-grid { grid-template-columns: 1fr; gap: 20px; }
    .contact { padding: 40px 5%; }
    .contact h2 { font-size: 1.5rem; }
    .contact-info { font-size: 13px; }
    .lang-modal-content { padding: 25px; margin: 10px; }
    .lang-buttons { flex-direction: column; align-items: center; }
}
