body { margin: 0; padding: 0px; font-family: Arial, sans-serif; min-height: 100vh; /* Ensures it covers the entire viewport */ background: url('https://media1.thrillophilia.com/filestore/syan611ikyyywjjjyv3684ubczm6_3175e4197867ffa61a3f598de892a2b5.jpg?w=753&h=450&dpr=2.0') no-repeat center center/cover; /* Background image */ background-attachment: fixed; /* Keeps the background fixed */ } /* Default layout for screens wider than 700px */ .container { display: flex; justify-content: flex-start; /* Keep content aligned to the left */ align-items: flex-start; /* Align items at the top of the container */ min-height: 100vh; /* Ensure the container takes at least full height of the viewport */ position: relative; } .text-section { position: sticky; /* Makes the text section stick to the top when scrolling */ top: 0; /* Stick to the top of the container */ z-index: 1; /* Ensure it stays on top of the booking form */ text-align: center; max-width: 45%; padding: 50px 20px 20px 50px; color: black; font-size: 1rem; text-transform: capitalize; flex-grow: 0; /* Prevent this section from stretching */ height: auto; /* Let the height adjust based on content */ } .booking-form { margin-top: 40px; max-width: 600px; padding: 20px; border: 1px solid #ccc; border-radius: 10px; background-color: #fff7f2; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); box-sizing: border-box; flex-grow: 1; /* Allow booking form to grow */ z-index: 0; /* Ensure it stays behind the text section */ margin-bottom: 40px; } /* Responsive styles for screens less than 750px */ @media (max-width: 750px) { .container { flex-direction: column; /* Stack elements vertically */ justify-content: center; align-items: center; height: auto; /* Allow height to be auto when stacked */ padding: 10px; } .text-section { position: static; /* Remove sticky positioning on small screens */ text-align: center; max-width: 100%; /* Allow text section to take full width */ padding: 0 20px; /* Adjust padding for smaller screens */ margin-bottom: 0px; /* Add space between the text section and the form */ } .booking-form { max-width: 100%; /* Make the form take full width */ width: 100%; /* Ensure the form is not too wide on small screens */ margin: 0 auto; /* Center the form */ margin-top: 0px; /* Ensure space above the form */ } } #output{ display: block; text-align: center; background-color: #fff; margin: auto; padding: 20px; margin-top: 50px; } .text-section h1 { font-size: 3rem; /* Adjust the size as needed */ margin: 0 0 20px; } .text-section p { font-size: 1rem; /* Adjust the size as needed */ background-color: #efefef; padding: 10px; border-radius: 10px; } label { display: block; margin: 10px 0 5px; } input[type="text"], input[type="tel"], input[type="number"], input[type="date"], select { -webkit-appearance: none; -moz-appearance: none; appearance: none; width: 100%; padding: 8px; margin-bottom: 15px; border-radius: 5px; border: 1px solid #ddd; box-sizing: border-box; } button { background-color: #008fbf; color: white; padding: 10px; border: none; border-radius: 5px; cursor: pointer; } button:hover { background-color: #085169; } .card { border: 1px solid #ddd; border-radius: 10px; padding: 10px; margin: 10px 0; cursor: pointer; display: flex; align-items: center; box-sizing: border-box; } .card img { width: 165px; border-radius: 5px; margin-right: 10px; } .card.selected { border: 2px solid #007bff; } #carSelection { width: 100%; /* Adjust width of select box */ height: auto; /* Let the height adjust based on size */ } /* Styling options to adjust spacing and padding */ #carSelection option { padding: 5px; width: fit-content; white-space: nowrap; /* Prevent text from wrapping */ } /* You can also add some styles for selected options */ #carSelection option:checked { background-color: #3e8e41; color: white; } #carQuantityFields { margin-top: 10px; width: 100%; box-sizing: border-box; } .form-row { display: flex; flex-wrap: wrap; gap: 0 20px; /* Optional: Adds space between items */ } .form-group { flex: 1 1 calc(50% - 20px); /* Each field will take up 50% of the row minus gap space */ min-width: 150px; /* Ensures fields don’t get too small */ box-sizing: border-box; /* Prevents fields from breaking out of the row */ } .highlight-invalid { border: 2px solid red; } .accordion-content { display: none; margin: 10px 0; width: 100%; box-sizing: border-box; } input:focus, textarea:focus, select:focus { outline: none; /* Remove the default outline */ } .itineraryDay { cursor: pointer; background-color: #008fbf; color: white; padding: 10px; text-align: center; border: none; font-size: 16px; width: 100%; border-radius: 5px; box-sizing: border-box; margin: 0; transition: background-image 0.3s ease, color 0.3s ease; } .itineraryDay:hover { background-color: #085169; } .accordion-content select { width: 100%; padding: 8px; margin-bottom: 10px; box-sizing: border-box; } .overlay-active::before { content: ''; /* This creates the overlay */ position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.2); /* Adjust the opacity of the overlay */ z-index: -1; /* Make sure the overlay appears above the image but below the text */ } @media (max-width: 768px) { .form-group { flex: 1 1 100%; /* On smaller screens, each field takes the full width */ } } @media (max-width: 540px) { .card img { width: 80px; } } .destinationOptions { display: grid; grid-template-columns: 1fr 1fr; /* Two equal columns */ gap: 10px; /* Adjust as needed */ align-items: center; } .destinationOptions label { text-align: left; } .destinationOptions select { width: 100%; /* Ensures dropdowns fill the available space */ margin-bottom: 5px; /* Add spacing between label and dropdown */ } #daysContainer { margin-bottom: 10px; } #daysContainer .day-section{ box-sizing: border-box; padding: 10px; margin-bottom: 20px; border: 1px solid #dfeaf0; border-radius: 10px; } #daysContainer .day-section:nth-child(odd) { background-color: #e8f7ff; /* Color for odd-numbered sections */ } #daysContainer .day-section:nth-child(even) { background-color: #e8f7ff; /* Color for even-numbered sections */ } .card{ background-color: white; } #finalTotal { display: none; text-align: right; /* Right-align the text */ padding: 10px 20px; /* Add padding to the top, bottom, and sides */ background-color: #f5f5f5; /* Light background color */ border: 1px solid #ccc; /* Light grey border */ border-radius: 5px; /* Slightly rounded corners for a polished look */ font-size: 16px; /* Set the font size */ max-width: 350px; color: #333; /* Dark grey text color for readability */ box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */ margin-top: 20px; /* Add top margin for spacing */ width: 80%; /* Set a fixed width */ margin-left: auto; /* Align to the right side */ margin-right: 20px; /* Add some space from the right edge */ margin-bottom: 20px; } .activity-item { margin-bottom: 8px; } .activity-item label { display: inline-block; margin-left: 8px; /* Space between checkbox and label */ width: calc(100% - 24px); /* Takes up remaining space after checkbox */ } .activity-item input[type="checkbox"] { width: auto; /* Minimal width for checkbox */ height: auto; appearance: auto; -webkit-appearance: auto; -moz-appearance: auto; } .activity-item input[type="number"] { margin-top: 4px; /* Space between label and quantity field */ width: 100%; /* Take up the full width of the container */ } .smallNote{ color: gray; font-weight: bold; font-size: 12px; margin-top: -10px; } .smallCabNote{ color: red; font-weight: bold; } .actQnty{ /*text-transform: capitalize;*/ } .car-item { display: flex; background-color: #f2ebeb; flex: 1 1 calc(33.33% - 10px); /* Adjusts width to fit three items per row with some spacing */ margin: 5px; /* Add margin for spacing between items */ flex-direction: column; /* Aligns label and input vertically */ } .car-item label { margin-bottom: 5px; /* Adds space between the label and the input */ } .car-quantity { display: block; /* Ensures the quantity input is displayed below the checkbox */ margin-top: 5px; /* Adds space between checkbox and input */ } .cars-container { display: flex; flex-wrap: wrap; /* Allows items to wrap to the next line */ gap: 0 10px; /* Adds spacing between items */ }