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

body {
  font-family: Arial, sans-serif;
  color: #333;
  background-color: #f4f4f9;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header Styles */
header {
  background-color: #00796b;
  color: white;
  display: flex;
  justify-content: center; /* Center the entire header content */
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 30px 20px;
  width: 100%;
}

/* Header Container */
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between; /* Ensures logo is on the left and nav is on the right */
  width: 100%;
  max-width: 1200px; /* Restrict to a max width */
}

/* Logo Styles */
.logo {
  flex-shrink: 0; /* Prevent logo from shrinking */
}

.logo img {
  width: 130px;
  height: ;
}

/* Navigation Bar */
nav {
  display: flex;
  justify-content: center; /* Center navigation links */
  flex-grow: 1; /* Allows navigation to grow and take available space */
}

nav ul {
  list-style: none;
  display: flex;
  gap: 50px;
}

nav ul li {
  position: relative;
}

/* Dropdown Menu Container */
nav ul .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;  /* White background for the dropdown */
  display: none;
  list-style: none;
  padding: 10px 0;
  margin: 0;
  width: 200px;  /* Adjust width to make it more visually appealing */
  border-radius: px;  /* Rounded corners */
}

/* Dropdown Menu Items */
nav ul .dropdown-menu li {
  padding: 10px 20px;  /* Increased padding for better spacing */
}

/* Dropdown Links */
nav ul .dropdown-menu li a {
  text-decoration: none;
  color: #00796b;  /* The same color as the header for consistency */
  font-size: 1.1rem;
  transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition for hover effects */
}

/* Hover Effect on Dropdown Items */
nav ul .dropdown-menu li a:hover {
  background-color: #00796b;  /* Background color on hover */
  color: #ffffff;  /* White text on hover */
}

/* Show Dropdown on Hover */
nav ul .dropdown:hover .dropdown-menu {
  display: block;
}

/* Styles for the Main 'Bookings' Link */
nav ul .dropdown > a {
  position: relative;
  color: white;
  text-decoration: none;
  font-size: 1.3rem;
  transition: color 0.3s ease;
}

/* Change color of 'Bookings' link on hover */
nav ul .dropdown > a:hover {
  color: #e0f7fa;  /* Light cyan color for hover effect */
}



nav ul li a {
  color: white;
  text-decoration: none;
  font-size: 1.3rem;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #e0f7fa;
}

/* Main Content Styles */
main {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

.content-container {
  max-width: 1400px; /* Increase maximum width for the content */
  margin: 0 auto; /* Center the content */
  padding: 40px; /* Increase padding to make the content area larger */
  background-color: #ffffff; /* Optional: keep the white background for the content box */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional: maintain shadow for a polished look */
  border-radius: 8px; /* Optional: keep rounded corners */
}


/* Hero Section */
.hero-image {
  width: 100%;
  height: auto;
  margin-bottom: 20px;
  border-radius: 5px;
}

footer {
  background-color: #00796b;
  color: white;
  font-size: 1.4rem;
  width: 100%;
  padding: 20px;
  text-align: center; /* Centralize all content */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px; /* Space between each section */
}

footer .footer-nav ul {
  display: flex;
  justify-content: center; /* Center the links horizontally */
  flex-wrap: wrap; /* Ensure responsiveness */
  list-style: none;
  padding: 0;
  gap: 50px; /* Space between links */
}

footer .footer-info {
  display: flex;
  flex-direction: column; /* Stack copyright and location */
  align-items: center; /* Align content to the center */
  gap: 0px; /* Space between the two rows */
}

footer .footer-info p {
  margin: 0; /* Remove extra spacing */
}

footer .instagram-link {
  margin-top: 20px; /* Space above the Instagram link */
}

footer .instagram-link a {
  color: white;
  font-size: 1.5rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer .instagram-link a:hover {
  color: #e0f7fa;
}


footer .footer-nav ul li a {
  color: white;
  text-decoration: none;
  font-size: 1.4rem;
  transition: color 0.3s ease;
}

footer .footer-nav ul li a:hover {
  color: #e0f7fa;
}

/* Contact Form Styles */
.contactform-container {
  margin-top: 20px;
}

.contactform-container input, .contactform-container textarea {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border-radius: 5px;
  border: 1px solid #ddd;
  box-sizing: border-box;
  font-size: 1rem;
}

.contactform-container textarea {
  height: 150px;
  resize: vertical; /* Allows users to resize the message box */
}

.contactform-container button {
  background-color: #00796b;
  color: white;
  padding: 12px 20px;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  border-radius: 5px;
  margin-top: 10px;
  width: 100%;
  transition: background-color 0.3s ease;
}

.contactform-container button:hover {
  background-color: #004d40;
}

/* Fixing the Message Textarea */
.contactform-container textarea:focus,
.contactform-container input:focus {
  border-color: #00796b;
  outline: none;
}

/* Adding a more uniform style to input and textarea fields */
.contactform-container input,
.contactform-container textarea {
  font-family: Arial, sans-serif;
  font-size: 1rem;
  color: #333;
}

/* Form container layout */
.contact-container {
  max-width: 800px;
  margin: 50px auto;
  text-align: center;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 40px;
}

h1 {
  color: #00796b;
  margin-bottom: 20px;
  font-size: 2rem;
}

/* Contact Info Styling */
.contact-info {
  margin-top: 40px;
  font-size: 1.1rem;
  color: #555;
}

.contact-info p {
  margin: 5px 0;
}

.contact-info a {
  color: #00796b;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* Intro Section Styling */
.intro-section {
  text-align: center;
  margin-bottom: 30px;
}

.intro-section h1 {
  color: #00796b;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.intro-section p {
  font-size: 1.2rem;
  color: #333;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Garden Promotion Section Styling */
.garden-promotion {
  display: flex; /* Use flexbox layout */
  align-items: center; /* Vertically align the items */
  justify-content: space-between; /* Add space between images and content */
  margin-bottom: 40px; /* Spacing between sections */
  padding: 20px; /* Optional: Add padding for more spacing */
  text-align: center; /* Aligns all text in the section to the center */
}

.garden-promotion img {
  width: 45%; /* Adjust the image width to give more space to the content */
  height: auto; /* Maintain aspect ratio */
}

.garden-promotion .content {
  width: 50%;
  padding-left: 20px; /* Optional: Add padding for better spacing */
  text-align: center;
}

/* Button styling */
.garden-promotion .button {
  margin-top: 20px; /* Add space above the button */
}

/* Left-align h2 in garden promotion sections */
.garden-promotion h2 {
  color: #00796b;
  text-align: center;  /* Aligns the heading to the left */
  margin-bottom: 10px; /* Optional: Add some space below the heading */
}


.social-media {
  display: flex;
  justify-content: center; /* Center the icons horizontally */
  align-items: center;    /* Align the icons vertically */
  margin-top: 20px;       /* Add spacing above the social media section */
}

.social-media ul {
  display: flex;
  gap: 15px; /* Adjust the spacing between icons */
  list-style: none;
  padding: 0;
  margin: 0;
}

.social-media ul li {
    font-size: 1rem;
}

/* General social media icon styles */
.fab {
    font-size: 2.5rem; /* Default size for all social media icons */
}

/* Adjust only the Facebook icon size */
.fa-facebook {
    font-size: 2.3rem;
    padding-top: 2px;
}

/* Ensure consistent color and hover effects */
.social-media ul li a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-media ul li a:hover {
  color: #e0f7fa; /* Light teal for hover effect */
}


select {
  width: 100%;
  height: auto;
  margin-bottom: 15px;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

select[multiple] {
  height: 150px; /* Adjust based on the number of options */
}

#confirmationMessage {
  margin-top: 20px;
  font-size: 1rem;
  color: #333;
}

.booking-overview-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
}

.booking-left, .booking-right {
  width: 48%;
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.booking-left:hover, .booking-right:hover {
  background-color: #e0f7fa; /* Highlighted background color */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* More pronounced shadow */
  transform: scale(1.05); /* Slightly enlarge the element */
  border: 2px solid #00796b; /* Add a border for more contrast */
  transition: all 0.3s ease; /* Smooth transition for hover effect */
}

.booking-left:not(:hover), .booking-right:not(:hover) {
  opacity: 0.8; /* Slightly dim non-hovered elements */
  transition: opacity 0.3s ease; /* Smooth transition */
}


.booking-left h2, .booking-right h2 {
  color: #00796b;
}

/* Booking Overview Container */
.booking-overview-container {
  display: flex;
  gap: 20px;
  padding: 20px;
}

/* Booking Section (Left & Right) */
.booking-left, .booking-right {
  flex: 1;
  background-color: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Hero Images */
.hero-image {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
}

/* Section Titles */
.booking-left h2, .booking-right h2 {
  color: #00796b;
  font-size: 1.8rem;
  margin-bottom: 10px;
}

/* Paragraphs */
.booking-left p, .booking-right p {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 10px;
}

/* Container for Booking Sections */
.booking-container {
  display: flex;
  justify-content: space-between; /* Equal space between sections */
  align-items: center; /* Align items vertically */
  gap: 20px; /* Add spacing between sections */
  margin: 20px auto;
}

/* Individual Booking Section */
.booking-left, .booking-right {
  flex: 1; /* Equal width for both sections */
  text-align: center; /* Center content within each section */
  padding: 20px;
  border: 1px solid #ddd; /* Optional: Add a border for clarity */
  border-radius: 8px;
  background-color: #f9f9f9;
}

/* Buttons */
.booking-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #00796b;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-top: 20px; /* Space above the button */
  text-align: center;
}

/* Hover Effect */
.booking-button:hover {
  background-color: #005a4d;
}

nav ul li a:hover {
  transform: scale(1.1); /* Slightly enlarge the text when hovered */
}

.legend-container {
  display: flex;
  justify-content: center;
}

.legend-item {
  display: flex;
  align-items: center;
}

.legend-box {
  width: 30px;
  height: 30px;
  border: 1px solid #ccc;
  margin-right: 10px;
}

.legend-item .legend-box.booked {
  background-color: #ccc;
  border-color: #999;
}

.legend-item .legend-box.available {
  background-color: #f9f9f9;
}

.area.blocked {
  background-color: #d3d3d3;
  cursor: not-allowed;
  pointer-events: none;
}