/* Fonts */
@font-face {
    font-family: 'Archivo Black';
    src: url('fonts/ArchivoBlack-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Antonio';
    src: url('fonts/Antonio-Regular.ttf') format('truetype');
}

/* Reset & Base */
body,
html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Antonio', sans-serif;
    color: white;
    background-color: #111;
    /* Dark background fallback */
    overflow-x: hidden;
}

/* Navigation */
.top-nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-sizing: border-box;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent);
}

.nav-links {
    font-family: 'Archivo Black', sans-serif;
    font-size: 1rem;
    /* Reduced from 1.2rem */
    text-transform: uppercase;
}

.nav-links a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
}

.nav-links a:hover {
    text-decoration: underline;
}

.lang-switch {
    font-family: 'Archivo Black', sans-serif;
    font-size: 1rem;
    /* Reduced from 1.2rem */
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 10px;
    border-radius: 5px;
}

.lang-switch span.active {
    color: #fff;
    text-decoration: underline;
}

.lang-switch span:not(.active) {
    color: #888;
}

/* Fixed Logo */
.fixed-logo {
    position: fixed;
    top: 100px;
    /* Moved down slightly to avoid nav overlap */
    left: 40px;
    width: 120px;
    z-index: 1000;
}

.fixed-logo img {
    width: 100%;
    height: auto;
}

/* Background Layer */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/navyisland_page_background.jpg');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

/* Content Layer */
.content-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 20vh;
}

.content-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10vh;
    padding: 0 40px;
}

.text-column {
    width: 45%;
}

.image-column {
    width: 45%;
    margin-top: 50px;
    /* Slightly lower */
}

.text-block {
    margin-bottom: 0;
    padding: 20px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.image-wrapper {
    background: rgba(0, 0, 0, 0.7);
    padding: 10px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;
}

h1,
h2 {
    font-family: 'Archivo Black', sans-serif;
    font-size: 2rem;
    /* Reduced from 4rem */
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 20px;
    text-align: left;
    line-height: 1;
}

p {
    font-family: 'Antonio', sans-serif;
    font-size: 1.2rem;
    /* Reduced from 1.5rem */
    line-height: 1.6;
    text-align: justify;
}

.spacer {
    height: 50vh;
}

.devlog-image {
    max-width: 60%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

/* Contact Form */
.contact-form {
    margin-top: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-family: 'Archivo Black', sans-serif;
    margin-bottom: 5px;
    color: #ddd;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #444;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    font-family: 'Antonio', sans-serif;
    font-size: 1rem;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #888;
    background: rgba(0, 0, 0, 0.7);
}

#send-mail-btn {
    padding: 10px 20px;
    background-color: #fff;
    color: #000;
    border: none;
    border-radius: 5px;
    font-family: 'Archivo Black', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

#send-mail-btn:hover {
    background-color: #ccc;
}