/* Font imports */
@font-face {
    font-family: Montserrat-Medium;
    src: url(/assets/fonts/Montserrat-Medium.woff2);
}

@font-face {
    font-family: Montserrat-SemiBold;
    src: url(/assets/fonts/Montserrat-SemiBold.woff2);
}

/* Global styles */
html, body {
    margin: 0;
    padding: 0;
    font-family: Montserrat-Medium, sans-serif;
    color: #4B4B4A;
    height: 100%;
    background: linear-gradient(135deg, #004E59 0%, #00898A 100%);
}

body {
    display: flex;
    flex-direction: column;
}

/* Header */
header {
    background-color: #004E59;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: start;
    width: 100%;
    padding: 0 20px; /* Added padding for the left and right spacing */
    box-sizing: border-box;
}

.header-left {
    display: flex;
    align-items: center;
}

.logo img.nav-logo {
    height: 40px;
    margin-right: 10px;
}

.site-name {
    font-size: 1.5em;
    color: #FFFFFF;
    font-family: Montserrat-SemiBold, sans-serif;
    line-height: 1;
    white-space: nowrap; /* Prevents the site name from wrapping onto a new line */
}

/* Main content layout */
main {
    max-width: 1200px;
    margin: 5em auto 2em;
    padding: 0 2em;
    flex-grow: 1;
}

.home-choice h1 {
    text-align: center;
    font-size: 2.5em;
    color: #FFFFFF;
    margin-bottom: 2em;
}

.robot-options {
    display: flex;
    justify-content: center;
    gap: 2em;
    margin-bottom: 3em;
}

.robot-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    padding: 2em;
    width: 300px;
    text-align: center;
    text-decoration: none;
    color: #004E59;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.robot-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.robot-logo {
    width: 100px;
    height: auto;
    margin-bottom: 1em;
}

.robot-card h2 {
    font-size: 1.5em;
    margin-bottom: 1em;
}

.robot-card p {
    font-size: 1em;
    color: #4B4B4A;
}

/* Footer */
footer {
    background-color: #004E59;
    color: #FFFFFF;
    padding: 1.5em 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    padding: 0 2em;
}

.footer-logos {
    display: flex;
    align-items: center;
    gap: 1em;
}

.footer-logos a {
    color: #FFFFFF; /* Ensures the United Robotics Group link is white */
    text-decoration: none;
}

.footer-logos img {
    height: 40px;
}

footer p {
    font-size: 0.875em;
    margin: 0;
}

.footer-legal a {
    font-size: 0.7em;
    color: #FFFFFF;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer-legal a:hover {
    opacity: 0.8;
}

.footer-legal .separator {
    color: rgba(255, 255, 255, 0.5);
}