/* General Body Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
    color: #333;
    line-height: 1.6;
}

/* Header and Navigation */
header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1rem 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.5rem;
    font-weight: bold;
    color: #632695;
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: #632695;
}

.lang-switcher {
    margin-left: 2rem;
}

.lang-switcher a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    margin: 0 0.25rem;
}

.lang-switcher a.lang-active {
    color: #632695;
    text-decoration: underline;
}

.hamburger {
    display: none;
    cursor: pointer;
}

    .hamburger div {
        width: 25px;
        height: 3px;
        background-color: #333;
        margin: 5px 0;
        transition: 0.4s;
    }

/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

thead {
    background-color: #632695;
    color: #fff;
}

th, td {
    padding: 1rem;
    text-align: left;
    border: 1px solid #ddd;
}

tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

tbody tr:hover {
    background-color: #f1f1f1;
}

/* Code Block Styles */
pre {
    background-color: #2d2d2d;
    color: #f8f8f2;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 2rem 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

code {
    font-family: "Fira Code", "Courier New", monospace;
    font-size: 0.95rem;
}

/* Inline code */
:not(pre) > code {
    background-color: #e7e7e7;
    color: #333;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
}

img {
    max-width: 100%;
    height: auto;
}

/* Hero Section */
#hero {
    background: linear-gradient(rgba(99, 38, 149, 0.7), rgba(181, 38, 123, 0.7)), url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 8rem 1rem;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    background: linear-gradient(-99deg, #b5267b 0%, #632695 99%);
    color: #fff;
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 22px;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background: linear-gradient(-99deg, #a0206a 0%, #501d7a 99%);
}

/* General Section Styling */
main section {
    padding: 4rem 5%;
    border-bottom: 1px solid #ddd;
}

main section:last-child {
    border-bottom: none;
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #632695;
}

/* Contact Form */
#contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #632695;
    box-shadow: 0 0 5px rgba(99, 38, 149, 0.5);
}

#form-status {
    margin-top: 1rem;
    text-align: center;
    font-weight: 500;
}

/* Footer */
footer {
    background: linear-gradient(-99deg, #b5267b 0%, #632695 99%);
    color: #fff;
    text-align: center;
    padding: 2rem 5%;
}

/* Responsive Navigation */
@media screen and (max-width: 1200px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 70px;
        left: 0;
        background-color: #fff;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .lang-switcher {
        display: none;
    }

    .lang-switcher.active {
        display: flex;
        flex-direction: row;
        justify-content: center;
        box-shadow: none;
        margin-top: 1rem;
    }

    .nav-links li {
        text-align: center;
        margin: 1rem 0;
    }

    .lang-switcher {
        top: auto;
        position: relative;
        flex-direction: row;
        justify-content: center;
        box-shadow: none;
        margin-top: 1rem;
    }

    .hamburger {
        display: block;
    }
}
