:root {
    --primary-color: #1a1a1a;
    --secondary-color: #2a2a2a;
    --accent-color: #4a4a4a;
    --text-color: #ffffff;
    --text-secondary: #cccccc;
}

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

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--primary-color);
    color: var(--text-color);
    line-height: 1.6;
}

header {
    position: fixed;
    width: 100%;
    background-color: rgba(26, 26, 26, 0.9);
    padding: 1rem 2rem;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    height: 40px;
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo a {
    display: block;
    transition: transform 0.3s ease;
}

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

.nav-links {
    display: flex;
    gap: 1rem;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.language-switch a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
}

section {
    min-height: 100vh;
    padding: 6rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

@keyframes logoFloat {
    0% {
        transform: scale(0.2);
        opacity: 0.2;
    }
    100% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/Logo_XBX_def_negativ_RGB.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    animation: logoFloat 8s forwards ease-in-out;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%
    );
    transform: rotate(45deg);
    animation: shine 8s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    letter-spacing: 3px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.projects {
    background-color: var(--secondary-color);
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.projects h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--text-color);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background-color: var(--accent-color);
    padding: 2rem;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    width: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1 !important;
    transform: scale(1) !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

.project-card a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.project-card img {
    max-width: 220px;
    max-height: 120px;
    width: auto;
    height: auto;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    margin: 0 auto;
    opacity: 1 !important;
    filter: brightness(0.9);
}

.project-card:hover img {
    transform: scale(1.08);
    filter: brightness(1);
}

.coming-soon {
    color: var(--text-secondary);
    font-style: italic;
    font-size: 1.2rem;
}

.about {
    background-color: var(--primary-color);
    padding: 4rem 2rem;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--text-color);
}

.about h3 {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    font-weight: 300;
    letter-spacing: 1px;
}

.about p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.legal {
    background-color: var(--secondary-color);
}

.legal-content {
    max-width: 800px;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.legal-content ol {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.legal-content li {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.legal-content strong {
    color: var(--text-color);
    font-weight: 600;
}

.legal-content p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

footer {
    padding: 2rem;
    text-align: center;
    background: var(--secondary-color);
}

.services {
    padding: 4rem 2rem;
    background-color: var(--secondary-color);
}

.services-content {
    max-width: 1200px;
    margin: 0 auto;
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-color);
    font-size: 2.5rem;
}

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

.service-card {
    background: var(--accent-color);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

.service-icon {
    font-size: 3rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    color: #007bff;
}

.service-card h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

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

.service-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        margin-bottom: 1rem;
    }
}

.map-container {
    margin-top: 3rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.map-container:hover {
    transform: translateY(-5px);
}

.map-container iframe {
    border-radius: 15px;
    filter: grayscale(50%) contrast(120%);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}

.privacy-notice {
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(255, 0, 0, 0.1);
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.notice-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ff0000;
    animation: slideIn 10s linear infinite;
    white-space: nowrap;
}

.notice-content i {
    font-size: 1.2rem;
}

@keyframes slideIn {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        padding: 1rem;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        margin-top: 1rem;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 0.8rem;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .language-switch {
        margin-top: 1rem;
    }

    .mobile-menu-btn {
        display: block;
        position: absolute;
        top: 1rem;
        right: 1rem;
        background: none;
        border: none;
        color: var(--text-color);
        font-size: 1.5rem;
        cursor: pointer;
    }

    .services-grid {
        grid-template-columns: 1fr;
        padding: 0.5rem;
    }

    .project-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .about-content {
        padding: 1rem;
    }

    .map-container {
        margin: 1rem 0;
    }

    .map-container iframe {
        height: 300px;
    }

    .legal-content {
        padding: 1rem;
    }

    .privacy-notice {
        margin: 1rem 0;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .project-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-icon {
        font-size: 2rem;
    }

    .notice-content {
        font-size: 0.9rem;
    }
}

.contact {
    padding: 4rem 2rem;
    background-color: var(--secondary-color);
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    display: grid;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--accent-color);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: var(--text-color);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff;
}

.submit-btn {
    padding: 1rem 2rem;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: #0056b3;
}

@media (max-width: 768px) {
    .contact-form {
        padding: 1.5rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.6rem;
    }

    .submit-btn {
        padding: 0.8rem 1.5rem;
    }
}

img {
    loading: lazy;
}

@font-face {
    font-family: 'Helvetica Neue';
    font-display: swap;
} 