html {
    background-color: #FFF5F5;
    background-image: url(../img/backround.png);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

body {
    background-color: #FFE6E6;
    width: 90%;
    max-width: 1200px;
    margin: auto;
    margin-top: 20px;
    padding: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.back-button {
    background-color: #600502;
    color: #FFF5F5 !important;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    font-size: 1em;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(96, 5, 2, 0.2);

    /* remove old positioning */
    left: auto;
    margin: 0 auto 20px;
    text-align: center;
    margin-top: -20px; /* pulls it up into the white area */
}

.back-button:hover {
    background-color: #8A0804;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(96, 5, 2, 0.3);
}

.back-button i {
    font-size: 18px;
}

/* Navigation */
#navBar {
    margin-bottom: 50px;
    background-color: rgba(255, 245, 245, 0.9);
    border-radius: 10px;
    padding: 10px;

    
}

.navLogo2 {
    display: block;
    margin: auto;
    width: 10%;
    min-width: 50px;
    max-width: 100px;
    height: auto;
    transition: transform 0.3s ease;
}

.navLogo2:hover {
    transform: scale(1.1);
}

/* Contact Form */
h1 {
    color: #600502;
    text-align: center;
    margin: 20px 0;
}

.contact-container {
    max-width: 700px;
    margin: 30px auto;
    padding: 35px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(96, 5, 2, 0.2);
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    color: #600502;
    margin-bottom: 5px;
    font-weight: bold;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid rgba(96, 5, 2, 0.2);
    border-radius: 5px;
    font-size: 1em;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    outline: none;
    border-color: #600502;
}

button {
    background-color: #600502;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1.1em;
    display: block;
    margin: 20px auto 0;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover {
    background-color: #8a0804;
    transform: translateY(-2px);
}

/* Footer */
footer {
    margin-top: auto;
    padding: 20px;
    background-color: #FFF5F5;
    border-radius: 10px;
    box-shadow: 0 -2px 4px rgba(96, 5, 2, 0.1);
    text-align: center;
}

.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
}

.footer .social-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.social-link {
    color: #600502;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
    background-color: rgba(255, 230, 230, 0.5);
    min-width: 120px;
}

.social-link:hover {
    background-color: #600502;
    color: #FFF5F5;
    transform: translateY(-2px);
}

.social-link i {
    font-size: 24px;
}

.footer p {
    margin: 15px 0 0;
    color: #2A2A2A;
}

/* Responsive Footer */
@media (max-width: 480px) {
    .footer {
        flex-direction: column;
        text-align: center;
    }
    
    .footer a {
        width: 100%;
        justify-content: center;
    }
}

/* Media Queries */
@media screen and (max-width: 768px) {
    body {
        width: 95%;
        padding: 15px;
    }

    .contact-container {
        margin: 20px 15px;
        padding: 25px;
    }
}

@media screen and (max-width: 480px) {
    body {
        width: 100%;
        padding: 10px;
    }

    .contact-container {
        padding: 20px;
    }

    button {
        width: 100%;
    }
}