/* =========================
   GLOBAL
========================= */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f5f5;
    color: #222;
}

/* =========================
   HEADER / LANGUAGE
========================= */
header {
    padding: 15px 25px;
    display: flex;
    justify-content: flex-end;
}

.lang-switch a {
    font-size: 22px;
    margin-left: 6px;
    text-decoration: none;
    cursor: pointer;
}

.lang-switch a:hover {
    opacity: 0.7;
}

/* =========================
   MAIN LAYOUT
========================= */
.wrapper {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 30px 40px;
    align-items: flex-start;
}

/* =========================
   GALLERY
========================= */
.gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.gallery img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 14px;
    background: #eee;
    box-shadow: 0 6px 14px rgba(0,0,0,0.15);
    transition: transform 0.2s ease;
}

.gallery img:hover {
    transform: scale(1.03);
}

/* =========================
   FORM
========================= */
.form-box {
    background: white;
    padding: 35px;
    border-radius: 18px;
    max-width: 620px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.form-box h1 {
    margin-top: 0;
    font-size: 32px;
}

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

label {
    display: block;
    margin-top: 14px;
    font-weight: 600;
}

input,
select,
textarea {
    width: 100%;
    margin-top: 6px;
    padding: 10px;
    font-size: 15px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

textarea {
    resize: vertical;
    min-height: 80px;
}

button {
    margin-top: 20px;
    padding: 12px;
    font-size: 16px;
    background: #111;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

button:hover {
    opacity: 0.9;
}

/* =========================
   MESSAGES
========================= */
.success {
    margin-top: 20px;
    color: green;
    font-weight: bold;
}

.error {
    margin-top: 20px;
    color: red;
    font-weight: bold;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 900px) {
    .wrapper {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .gallery {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .gallery img {
        width: 160px;
        height: 160px;
    }

    .form-box {
        padding: 25px;
    }
}
