@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
  background: url('/Gallery-Facilities/Reception_2.webp') no-repeat center center fixed;
  background-size: cover;
}

h2 {
    margin-top: 20px;
    text-align: center;
    font-size: 2em;
}

/* ===== FORM STYLES ===== */
form {
    max-width: 600px;  /* Controls the inner width of the form elements */
    margin: 0;         /* Keep the form flush in its container */
    display: flex;
    flex-direction: column;
}

form select {
    padding: 10px;
    margin-top: 5px;
    width: 100%;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 1em;
}


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

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

form input[type="date"] {
    cursor: pointer;
}

form button[type="submit"] {
    width: 80%;
    padding: 12px 10px;
    font-size: 1em;
    display: block;
    margin: 20px auto;  /* Center the button in the form column */
    background-color: #f8c146;
    border: none;
    color: #333;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form button[type="submit"]:hover {
    background-color: #4d87ce;
}

/* ===== CONTACT SECTION LAYOUT ===== */
.contact-section {
    /* Center the section and control its maximum width */
    max-width: 1200px;
    margin: 40px auto;  /* Adjust top/bottom margin as you like */
    display: flex;
    gap: 20px;          /* Controls the space between the two columns */
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;    /* Wrap on smaller screens */
    padding: 0 20px;    /* Optional horizontal padding */
}

/* Contact Form Column */
.contact-form-container {
    width: 45%;         /* Fixed percentage so columns stay side by side */
    min-width: 300px;   /* Prevents the container from getting too narrow */
    background: rgba(255, 255, 255, 0.8); /* Semi-transparent white background */
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    padding: 20px;
}

/* Info Column: Contains both banner info and file links */
.info-column {
    width: 45%;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Hotel Info Column */
.banner-info-container {
    background-color: rgba(240, 240, 240, 0.8);
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    padding: 20px;
}

/* Headings in each column: left-aligned, no extra top margin */
.contact-form-container h2,
.banner-info-container h2 {
    text-align: center;
    margin-top: 0;
    margin-bottom: 20px; /* adds a bit of spacing under the heading */
    font-size: 2em;
}

.contact-info-list {
    list-style-type: disc; /* default bullet, or use circle, square, etc. */
    margin: 10px 0;
    padding-left: 25px;    /* indent the list items */
}

.contact-info-list li {
    margin-bottom: 30px;
    font-size: 1.2em;
    font-style: italic;
}

/* File Container Buttons */
.file-container {
    display: flex;
    flex-direction: column;
    justify-content: center; /* centers vertically */
    align-items: center;     /* centers horizontally */
    gap: 12px;
    margin-top: 0px;
    background-color: rgba(240, 240, 240, 0.8);
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    padding: 20px;
}

.file-container a {
    width: 85%;
    display: block;
    padding: 15px 30px;
    font-size: 1.2em;
    text-decoration: none;
    text-align: center;
    justify-content: center;
    background-color: #f8c146;
    color: #333;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.file-container a:hover {
    background-color: #4d87ce;
}

.file-container h2 {
	margin-top: 0px;
    text-align: center;
    font-size: 2em;
}

/* Container for country code and phone number */
.input-row {
    display: flex;
    gap: 10px;
    align-items: center;  /* Center inputs vertically */
}

/* Each field wrapper takes full available width, but limit the first (country code) */
.input-row .input-group {
    flex: 1;
}

.input-row .input-group:first-child {
    max-width: 150px;  /* Adjust as needed */
}

/* Style the inputs similarly to other fields */
.input-row input {
    padding: 10px;
    width: 100%;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 1em;
}

.rate-limit-notification {
  background-color: #f8d7da;
  color: #721c24;
  padding: 10px;
  border: 1px solid #f5c6cb;
  border-radius: 5px;
  text-align: center;
  margin-bottom: 20px;
}

@media (max-width: 768px){
	main{
		width: 100%;
	}
	
	.contact-section{
		margin-top: 10px;
	}
	
	.contact-section, .contact-form-container, .info-column{
		width: 100%;
	}
	
	form button[type="submit"] {
		width: 90%;
		font-size: 1.1em;
	}
	
	.contact-info-list li {
    	margin-bottom: 20px;
	}
}