* {
  box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    background-color: white;
    min-height: 100vh;
}

.content {
    flex: 1;
}

.header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: #c6a665;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    z-index: 1000;
}

.navbar {
    max-width: 1400px;
    margin: auto;
    padding: 12px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.navbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-left a {
    text-decoration: none;
    color: black;
}

.logo {
    height: 60px;
}

.brand {
    font-size: 20px;
    font-weight: bold;
    max-width: 350px;
}

.navbar-links {
    display: flex;
    gap: 25px;
}

.navbar-links a {
    text-decoration: none;
    color: black;
    font-size: 18px;
    font-weight: 500;
    transition: 0.2s;
}

.navbar-links a:hover {
    opacity: 0.7;
}


.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.burger span {
    width: 28px;
    height: 3px;
    background: black;
    border-radius: 3px;
    transition: 0.3s;
}


@media (max-width: 900px) {

    .brand {
        font-size: 16px;
        max-width: 200px;
    }

    .burger {
        display: flex;
    }

    .navbar-links {
        position: absolute;
        top: 100%;
        right: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        gap: 18px;
        padding: 20px;
        text-align: center;
        border-top: 1px solid #ddd;
        display: none;
    }

    .navbar-links.active {
        display: flex;
        animation: fadeSlide 0.3s ease forwards;
    }

    @keyframes fadeSlide {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

.burger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


.content {
    padding-top: 130px;
    padding-bottom: 130px;
    padding-left: 30px;
}

.don-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: #487a93;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.don-button:hover {
    background-color: #5e9fbf;
}


form {
    max-width: 450px;
    margin: 100px auto 140px;
    padding: 30px;
    background: #ffffff;
    border: 2px solid #dddddd;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
}

form label {
    font-weight: bold;
    margin-top: 10px;
    display: block;
}

form input,
form textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #cccccc;
    border-radius: 6px;
    font-size: 16px;
    margin-top: 5px;
    margin-bottom: 15px;
    transition: 0.2s;
}

form input:focus,
form textarea:focus {
    border-color: #4a90e2;
    outline: none;
    box-shadow: 0 0 4px rgba(74, 144, 226, 0.4);
}

form textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #cccccc;
    border-radius: 6px;
    font-size: 16px;
    margin-top: 5px;
    margin-bottom: 15px;
    transition: border-color 0.2s, box-shadow 0.2s;
    resize: none;
    overflow: hidden;
    box-sizing: border-box;
}

form textarea:focus {
    border-color: #4a90e2;
    box-shadow: 0 0 4px rgba(74, 144, 226, 0.4);
}

form button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 6px;
    background-color: #000000;
    color: white;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}

form button:hover {
    background-color: #333333;
}

#form-msg {
    font-size: 16px;
    margin-top: 15px;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

#form-msg.show {
    opacity: 1;
    transform: translateY(0);
}

.success {
    color: #28a745;
    font-weight: 600;
}

.error {
    color: #ff0800; 
    font-weight: 600;
}


.footer {
    background: #ccc;
    color: #487a93;
    padding: 20px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: #487a93;
    text-decoration: none;
    font-size: 16px;
    transition: 0.2s;
}

.footer-social a:hover {
    color: #5e9fbf;
}

.footer-phrase p {
    margin: 0;
    text-align: right;
    font-size: 16px;
}

.footer-bottom {
    margin-top: 15px;
    text-align: center;
    font-size: 14px;
    color: #777;
}


@media (max-width: 800px) {
    .footer-top {
        flex-direction: column;
        text-align: center;
    }

    .footer-phrase p {
        text-align: center;
    }
}

