/* Styles for the entire body */
body {
    margin: 0;
    padding: 0;
    height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    background-color: #e2e2e2;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url('https://bing.com/th?id=OHR.AvilaSpain_EN-US3559491003_1920x1080.jpg&rf=LaDigue_1920x1080.jpg&pid=hp');
    /* Center the background image */
    overflow: hidden;
    /* To make it non-scrollable */
    display: flex;
    justify-content: center;
    /* Horizontal centering */
    align-items: center;
    /* Vertical centering */
}

/* Styles for the search form */
form {
    display: flex;
    align-items: center;
}

/* Styles for the search input bar */
#search-bar {
    width: 500px;
    /* Increased width since we removed padding */
    height: 50px;
    border-radius: 25px 0 0 25px;
    padding: 0 20px;
    /* Removed padding */
    border: none;
    border-right: none;
    outline: none;
    font-size: 1.5em;
    box-sizing: border-box;
}

/* Styles for the search button */
#search-btn {
    height: 50px;
    /* Ensure the button has the same height as the input field */
    border-radius: 0 25px 25px 0;
    border: none;
    background-color: #0078d4;
    color: white;
    padding: 0 20px;
    /* Padding only for left and right sides */
    font-size: 1.5em;
    cursor: pointer;
    outline: none;
    transition: background-color 0.3s;
    box-sizing: border-box;
    /* Ensure border and padding don't interfere with the size */
}

#search-btn:hover {
    background-color: #0053a6;
}

/* Styles for the links at the bottom */
.footer-links {
    position: fixed;
    bottom: 10px;
    width: 100%;
    text-align: center;
    font-size: 14px;
}

.footer-links a {
    color: black;
    text-decoration: none;
    margin: 0 10px;
    text-shadow: -0.5px 0 #e2e2e2, 0 0.5px #e2e2e2, 0.5px 0 #e2e2e2, 0 -0.5px #e2e2e2;
}

.footer-links a:hover {
    text-decoration: underline;
}

#search-icon {
    height: 40px;
    /* Change this to match your desired size */
    margin-right: 10px;
}

form {
    position: relative;
    /* Added this to make the absolute positioning of suggestions-list relative to the form */
    display: flex;
    align-items: center;
}

#suggestions-list {
    list-style-type: none;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 50px;
    left: 50px;
    width: 500px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 25px 25px;
    display: none;
    background-color: #fff;
    z-index: 1;
}

#suggestions-list li {
    padding: 10px 20px;
    cursor: pointer;
}

#suggestions-list li.hover {
    background-color: #d1d1d1;
}

#suggestions-list li:last-child.hover {
    border-radius: 0 0 25px 25px;
}

#suggestions-list.active {
    display: block;
}

#search-bar.showing-suggestions {
    border-radius: 25px 0 0 0;
}

/* Contact Modal */
.contact-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background: #fefefe;
    margin: 10% auto;
    padding: 30px 40px;
    border: 1px solid #888;
    border-radius: 10px;
    width: 80%;
    max-width: 500px;
    position: relative;
}

.close-btn {
    position: absolute;
    right: 20px;
    top: 10px;
    font: bold 28px sans-serif;
    cursor: pointer;
}

.close-btn:hover {
    color: #0078d4
}

/* Form Styles */
#contactForm {
    display: block !important;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
    margin-bottom: 8px;
}

#contactForm button {
    background: #0078d4;
    color: white;
    padding: 12px 24px;
    border: 0;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    transition: background 0.3s;
}

#contactForm button:hover {
    background: #0053a6
}