:root {
    --primary-color: #00ffff; /* Cyan */
    --secondary-color: #ff00ff; /* Magenta */
    --text-color: #ffffff;
    --bg-overlay: rgba(0, 0, 0, 0.6);
    --glass-bg: rgba(20, 20, 20, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-image: url('../assets/images/background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Dark Overlay for better text readability */
.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-overlay);
    z-index: -1;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-color);
    text-shadow: 0 0 10px var(--primary-color);
}

.logo .highlight {
    color: var(--primary-color);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links li a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.3s ease;
    text-transform: uppercase;
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links li a:hover {
    color: var(--primary-color);
}

.nav-links li a:hover::after {
    width: 100%;
}

.btn-lang {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: bold;
    transition: all 0.3s ease;
    margin-left: 20px;
}

.btn-lang:hover {
    background: var(--primary-color);
    color: #000;
    box-shadow: 0 0 10px var(--primary-color);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.line {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
}

/* Main Content */
main {
    padding-top: 80px; /* Space for fixed header */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
    padding-bottom: 4rem;
}

section {
    width: 80%;
    max-width: 1000px;
    padding: 3rem;
    border-radius: 15px;
    margin: 2rem 0;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

h1, h2, h3 {
    font-family: var(--font-heading);
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--primary-color);
}

h1 {
    font-size: 3rem;
    text-shadow: 0 0 15px var(--primary-color);
}

h2 {
    font-size: 2.5rem;
    border-bottom: 2px solid var(--secondary-color);
    display: inline-block;
    padding-bottom: 0.5rem;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    text-align: center;
    color: #ddd;
}

/* Specific Section Styles */
.hero-section {
    text-align: center;
    margin-top: 10vh;
    padding: 5rem 3rem;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: bold;
    border-radius: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 1.5rem;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.6);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid transparent;
}

.service-item:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.1);
}

.service-item h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.contact-info {
    text-align: center;
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
}

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

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.8);
    color: #888;
    margin-top: auto;
    width: 100%;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    nav {
        position: relative;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        background: rgba(0, 0, 0, 0.95);
        height: 100vh;
        width: 100%;
        top: 0;
        left: 0; /* Changed for better centering logic in JS or CSS */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(100%);
        transition: transform 0.4s ease-in-out;
        z-index: 999; /* Behind hamburger */
    }

    .nav-links.active {
        transform: translateX(0%);
    }

    .nav-links li {
        opacity: 0;
    }

    /* Animation for links */
    .nav-links.active li {
        animation: navLinkFade 0.5s ease forwards 0.3s;
    }

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

    section {
        width: 90%;
        padding: 2rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }
}

/* Hamburger Animation */
.hamburger.toggle .line:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}
.hamburger.toggle .line:nth-child(2) {
    opacity: 0;
}
.hamburger.toggle .line:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}
