@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

html {
    scroll-behavior: smooth;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding-top: 80px;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

* {
    scroll-margin: 80px;
    font-size: 1rem;
}

div, section {
    margin-bottom: 60px;
}

.toolbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    box-sizing: border-box;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.toolbar img {
    display: block;
    height: 50px;
    width: auto;
}

.toolbar a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 8px 10px;
    border-radius: 4px;
    transition: background 0.3s, color 0.3s;
}

.toolbar a:hover {
    background: #f0f0f0;
}

.toolbar .lang img {
    display: block;
    box-shadow: 4px 6px 15px rgba(0,0,0,0.1);
    height: 30px;
    width: auto;
}

.banner > img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}

.banner {
    margin-bottom: 0;
}

#services h2, #location h2, .open h2, #contact h2 {
    text-align: center;
    margin-bottom: 20px;
}

#services ul {
    max-width: 600px;
    margin: 0 auto;
    padding-left: 20px;
}

#location iframe {
    width: 100%;
    max-width: 800px;
    height: 400px;
    border: 0;
    display: block;
    margin: 0 auto;
}

.open {
    text-align: center;
}

#contact {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
}

#contact > h2 {
    align-self: center;
}

.form-group {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 0.85rem;
    color: #444;
}

input, textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #333;
}

.submit-btn {
    background-color: #333;
    color: white;
    padding: 14px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    transition: background 0.3s;
}

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

.thanks {
    background: #f9f9f9;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.thanks h1 {
    margin-bottom: 15px;
}

.thanks p {
    margin-bottom: 25px;
    color: #555;
}

#back {
    align-self: center;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    border: 2px solid #333;
    border-radius: 6px;
    transition: background 0.3s, color 0.3s;
}

#back:hover {
    background: #333;
    color: #fff;
}

/* Mobile responsive */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
        font-size: 15px;
    }

    .toolbar {
        height: 60px;
        padding: 0 12px;
    }

    .toolbar img {
        height: 40px;
    }

    .toolbar a {
        font-size: 0.75rem;
        padding: 6px 8px;
    }

    .toolbar .lang img {
        height: 24px;
    }

    div, section {
        margin-bottom: 40px;
    }

    #services ul {
        padding-left: 16px;
    }

    #location iframe {
        height: 250px;
    }

    #contact {
        padding: 20px;
    }

    #contact > h2, .thanks h1 {
        font-size: 1.3rem;
    }

    input, textarea {
        padding: 10px;
        font-size: 16px; /* prevents zoom on iOS */
    }

    .submit-btn {
        padding: 12px;
        font-size: 0.95rem;
    }

    #contact > h2 {
        text-align: left;
    }

    .open h2 {
        font-size: 1.2rem;
    }

    .open h4 {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 60px;
        font-size: 14px;
    }

    .toolbar {
        height: 50px;
        padding: 0 10px;
    }

    .toolbar img {
        height: 35px;
    }

    .toolbar a {
        font-size: 0.7rem;
        padding: 4px 6px;
    }

    .toolbar .lang img {
        height: 20px;
    }

    div, section {
        margin-bottom: 30px;
    }

    #services ul {
        font-size: 0.9rem;
    }

    #location iframe {
        height: 200px;
    }

    #contact {
        padding: 16px;
    }

    .form-group label {
        font-size: 0.8rem;
    }

    .thanks {
        padding: 30px 20px;
    }
}
