/* MUD Software Website Styles */

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(to bottom right, #808080, #4169E1);
}

/* Header Styles */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #4169E1;
}

.company-name {
    font-size: 28px;
    font-weight: bold;
    color: #333;
}

nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

nav a {
    text-decoration: none;
    color: #333;
    padding: 10px 20px;
    margin: 0 5px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
    font-weight: 500;
}

nav a:hover {
    background-color: #4169E1;
    color: white;
}

nav a.active {
    background-color: #4169E1;
    color: white;
}

/* Main Content */
main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px;
}

.content-box {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    max-width: 800px;
    width: 100%;
}

.content-box h1 {
    color: #4169E1;
    margin-bottom: 30px;
    font-size: 36px;
}

.content-box p {
    color: #333;
    line-height: 1.8;
    font-size: 18px;
    margin-bottom: 20px;
}

.content-box a {
    color: #4169E1;
    text-decoration: none;
    font-weight: bold;
}

.content-box a:hover {
    text-decoration: underline;
}

/* Buttons for ADAC Page */
.button-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.converter-button {
    background-color: #4169E1;
    color: white;
    padding: 20px 40px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.converter-button:hover {
    background-color: #315ba1;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.converter-button:active {
    transform: translateY(0);
}

/* Contact Form */
.contact-form {
    margin-top: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    background-color: #4169E1;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: #315ba1;
}

/* Footer Styles */
footer {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 20px 50px;
    text-align: left;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

footer p {
    color: #333;
    font-size: 14px;
}

footer a {
    color: #4169E1;
    text-decoration: none;
    font-weight: bold;
}

footer a:hover {
    text-decoration: underline;
}
