/* ---------- Base ---------- */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #f5f5f3;
    color: #222;
    font-family: "Lato", sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.main {
    max-width: 1200px;
    margin: 60px auto;
    padding: 60px;
    background: white;
}

.header {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #ddd;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.header-content img {
    width: 120px;
    height: auto;
}

h1 {
    margin: 0;
    font-size: 55px;
    letter-spacing: -1px;
    font-family: "Lato", sans-serif;
    font-weight: 700;
}

img {
    max-width: 100%;
    height: auto;
}


h3 {
    margin: 0 0 25px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
}

h2 {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
}

.button-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: #494949;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.2s ease;
}

.button-link:hover {
    background-color: #2c2c2c;
}

/* Form container */
.contact-container {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 1200px;
}

.contact-container h2 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333333;
    font-size: 18px;
    font-weight: bold;
}

/* Form groups */
.form-group {
    margin-bottom: 20px;
}

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

/* Input fields */
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

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

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

/* Submit button */
.submit-btn {
    background-color: #007BFF;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    width: 100%;
    transition: background-color 0.3s ease;
}

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

/* ---------- Mobile ---------- */
/* Not tested if works, included if necessary */
@media (max-width: 600px) {

    .main {
        margin: 0;
        padding: 35px 25px;
    }

    .header {
        flex-direction: column;
    }

    .contact {
        align-items: flex-start;
    }

    h1 {
        font-size: 34px;
    }

    .entry-header {
        flex-direction: column;
        gap: 2px;
    }

    footer {
        flex-direction: column;
        gap: 15px;
    }
}
