* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Montserrat, Arial;
}

body {
    background: #e9c8a8;
}

.overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 98;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.menu-toggle:checked ~ .overlay {
    opacity: 1;
    pointer-events: auto;
}

.leftSection {
    display: flex;
    align-items: center;
    margin-left: 15px;
}

.logo {
    display: flex;
    align-items: center;
    width: 160px;
}

.rightSection {
    display: flex;
    align-items: center;
    margin-right: 30px;
    justify-content: space-between;
}

.hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    z-index: 101;
}

.header {
    display: flex;
    height: 60px;
    border-bottom: 1px solid;
    border-color: #e9c8a8;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    background-color: #e9c8a8;
    z-index: 100;
}

.nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    padding: 0 20px;
    background-color: #f5f5f5;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: right 0.4s ease;
    padding-top: 70px;
    box-shadow: -2px 0 5px rgba(0,0,0,0.1);
    z-index: 99;
}

li, a {
    margin: 10px;
    padding: 9px;
    border: none;
    font-family: Montserrat, Arial;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    color: #ff8205ff;
    background-color: #e9c8a8;
    border-radius: 20px;
    transition: opacity 0.15s;   
}

.nav-links li {
    width: 100%;
    list-style: none;
}

.nav-links li a {
    display: block;
    width: 100%;
    padding: 15px 0;
    font-size: 18px;
    background-color: #e9c8a8;
    transition: all 0.3s ease 0s;
    box-sizing: border-box;
    border-radius: 20px;
}

.nav-links li a:hover {
    color: #9e662e;
    opacity: 0.8px;
}

.menu-toggle {
    display: none;
}

.menu-icon {
    color: #ff6600;
}

.close-icon {
    display: none;
    color: #ff6600;
}

.menu-toggle:checked + .hamburger .close-icon {
    display: block;
}

.menu-toggle:not(:checked) + .hamburger .close-icon {
    display: none;
}

/* Kad je otvoren meni */
.menu-toggle:checked ~ nav .nav-links {
    max-height: 100%;
    right: 0;
}

/* Mijenjamo ikone kad je otvoreno */
.menu-toggle:checked + .hamburger .menu-icon {
    display: none;
}

.menu-toggle:checked + .hamburger .close-icon {
    display: block;
    color: #ff6600;
}

nav {
    width: 100%;
}

.offers {
    position: relative;
    width: 100%;
    padding: 40px 100px;
    border-radius: 10px;
}

.offers .title {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Montserrat, Arial;
    font-size: 30px;
    text-decoration: none;
    color: #ff8205ff;
    margin-left: 50px;
    margin-top: 15px;
    margin-bottom: 25px;
    padding: 15px;
}

.container {
    position: relative;
    display: grid;
    width: 100%;
    background: #f5f5f5;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.box {
    position: relative;
    display: flex;
    flex-direction: row;
    gap: 100px;
}


.info-text {
    font-size: 19px;
    line-height: 1.6;
    color: #333;
}
  
.info-text h3 {
    font-size: 24px;
    color: #f97316;
    font-weight: 600;
    margin-bottom: 12px;
}

.form {
    grid-area: form;
    width: 100%;
}

.container h3 {
    color: #ff8205ff;
    font-weight: 600;
    font-size: 1.5em;
    margin-bottom: 25px;
    text-align: left;
}

.formBox {
    position: relative;
    width: 100%;
}

.formBox .row50 {
    display: flex;
    gap: 20px;
}

.inputBox {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
    width: 50%;
}

.inputBox textarea {
    padding: 10px;
    font-size: 1.1em;
    outline: none;
    border: 1px solid gray;
    resize: none;
    min-height: 220px;
    margin-bottom: 10px;
}

.formBox .row100 .inputBox {
    width: 100%;
}

.inputBox span {
    color: #9e662e;
    margin-top: 10px;
    margin-bottom: 5px;
    font-weight: 500;
}

.inputBox input {
    padding: 10px;
    font-size: 1.1em;
    outline: none;
    border: 1px solid gray;
}

.inputBox input[type="submit"]{
    background: #ff8205ff;
    color: #fff;
    border: none;
    font-size: 1.1em;
    font-weight: 500;
    cursor: pointer;
    padding: 14px 15px;
}

.inputBox input[type="submit"]:hover {
    background: #9e662e;
}

.inputBox ::placeholder {
    color: #999;
    font-size: 0.8em;
}

.infoBox p {
    display: inline;
}

.selectBox {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
    width: 50%;
}

.selectBox span {
    color: #9e662e;
    margin-top: 10px;
    margin-bottom: 5px;
    font-weight: 500;
}

.selectBox select {
    padding: 10px;
    font-size: 1.1em;
    outline: none;
    border: 1px solid gray;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.site-footer {
    background-color: #e9c8a8;
    color: #9e662e;
    text-align: center;
    padding: 20px 10px;
    font-size: 0.95em;
    border-top: 1px solid #d6b68e;
    margin-top: 60px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.site-footer .footer-content {
    max-width: 1200px;
    width: 100%;
}

.site-footer .footer-content p {
    margin: 5px 0;
}

@media (max-width: 768px) {
    body {
        background: #e9c8a8;
    }

    .offers {
        padding: 20px;
    }

    .box {
        flex-direction: column;
    }

    .formBox .row50 {
        display: flex;
        gap: 0;
        flex-direction: column;
    }

    .inputBox {
        width: 100%;
    }
}