/* Custom Style Adjustments */

body {
  font-family: Arial, sans-serif;
  background-color: #f0e0c6;
}

#map {
  border: 2px solid #ccc;
}

/* Leaflet Popup Styling */
.leaflet-popup-content-wrapper {
  background-color: #ffffff;
  border-radius: 20px;
  border: 2.3px solid #000;
  padding: 10px;
  box-shadow: 0 4px 8px rgba(1, 0, 0, 0.1);
}

.leaflet-popup-content {
  color: #000;
  font-size: 16px;
}

.leaflet-popup-content b {
  font-weight: bold;
}

.leaflet-popup-content a {
  color: #007BFF;
}

.leaflet-popup-content a:hover {
  text-decoration: underline;
}

.leaflet-popup-close-button {
  color: #8e0000;
  font-size: 22px;
}

.social-icons img {
  filter: invert(1);
}

.custom-btn {
  background-color: #336fd8f2; /* Replace with your preferred color */
  color: white;
}

.custom-btn:hover {
  background-color: hsl(84, 77%, 45%); /* Darker shade for hover */
}


/* Navbar */ 

.custom-navbar {
  background-color: #174a6f; /* Change this color to your preferred navbar color */
}

.custom-navbar .navbar-brand,
.custom-navbar .nav-link {
  color: white; /* Navbar text color */
}

.custom-navbar .nav-link:hover {
  color: #c3e3ff; /* Lighter shade for hover effect */
}

.custom-navbar .navbar-toggler {
  border-color: white; /* Toggler button border color */
}

.custom-navbar .navbar-toggler-icon {
  background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30"%3E%3Cpath stroke="rgba%281,1,1,1%29" stroke-width="2" d="M4 7h22M4 15h22M4 23h22"/%3E%3C/svg%3E');
  /* Adjust to a color that matches your theme */
}

/* Footer */ 

.custom-footer {
  background-color: #174a6f; /* Change to your footer background color */
  color: white; /* Footer text color */
}

.custom-footer .footer-link {
  color: #c3e3ff; /* Footer link color */
  text-decoration: none;
}

.custom-footer .footer-link:hover {
  color: #ffffff; /* Lighter color on hover */
}

.custom-footer .social-icons img {
  filter: invert(1); /* White color for icons */
}

/* Hero section */


.jumbotron{
  background-color: rgba(240, 224, 198, 0.8); /* Light background behind text */
}
.aboutHero {
  position: relative;
  height: 300px; /* Adjust height as needed */
  background-image: url('../images/golfoverhead.jpg'); /* Replace with your image path */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.aboutHero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 43, 74, 0.45); /* Semi-transparent overlay */
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-text-container {
  background-color: rgba(240, 224, 198, 0.8); /* Light background behind text */
  padding: 20px 40px;
  border-radius: 8px;
}

.hero-text {
  color: #002b4a; /* Darker color for contrast */
  font-size: 2rem; /* Adjust font size as needed */
  font-family: 'Gloock', serif; /* Use the custom font you imported */
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3); /* Subtle shadow for better readability */
  margin: 0;
  line-height: 1.3; /* Adjust line height for better readability */
}


/* Dropdown */

#dropdownCourseList {
  max-height: 200px;
  overflow-y: auto;
  z-index: 1000; /* Ensure it appears above other content */
}

#courseInfo {
  background-color: #f8f9fa; /* Light background */
  border-radius: 5px;
  box-shadow: 0px 4px 6px rgba(0,0,0,0.1);
}

/* Course info */
#courseInfo .course-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px;
}

#courseInfo .course-details-grid div {
  padding: 5px;
}

/* Dropdown menu styling */
.dropdown-menu {
  display: none; /* Hidden by default */
  position: absolute;
  top: 100%; /* Aligns the menu below the icon */
  right: 0;
  background-color: #ffffff;
  min-width: 150px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
  border-radius: 5px;
  padding: 10px 0;
}

/* Links inside the dropdown */
.dropdown-menu a {
  color: #333;
  padding: 10px 20px;
  text-decoration: none;
  display: block;
}

.dropdown-menu a:hover {
  background-color: #f0f0f0;
  border-radius: 5px;
}

.user-icon {
  width: 55px;
  height: 55px;
  cursor: pointer;
  margin-left: 5px;
}

.user-menu-container .user-icon {
  width: 55px; /* Set an initial size if needed */
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  cursor: pointer;
}

.user-menu-container .user-icon:hover {
  transform: scale(1.1) translateY(-2px); /* Slightly enlarge and lift */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add a shadow */
}


.course-image {
  width: 100%;              /* Ensures the image takes up the full width of its container */
  height: auto;             /* Maintains the image's aspect ratio */
  max-height: 400px;        /* Optional: limits the max height for larger screens */
  object-fit: cover;        /* Ensures the image scales without distortion */
  border-radius: 8px;       /* Optional: adds rounded corners for a more polished look */
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Optional: adds a subtle shadow */
}


/* Ensure dropdown is initially hidden */
#userDropdownMenu {
  display: none;
}

#userDropdownMenu.show {
  display: block;
}
