/* Version 0.4 */
body {
	background-color: #f9f9f9; /* Very light background */
	background: linear-gradient(to bottom, white, #d0e2f5, white); /* Gradient body background */
	color: #333; /* Darker default text for better contrast */
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensure the body takes up at least the full viewport height */
}

header {
    background-color: #f9f9f9; /* Darker, more professional header background */
    position: sticky; /* Make the header stick to the top */
    top: 0;
    z-index: 100; /* Ensure the header is above other elements */
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Add a subtle shadow for better visibility */
}

.menu-container {
    display: flex;
	justify-content: space-between; /* Space out logo and nav */
    align-items: center; /* Vertically center the image and navigation */
    padding: 10px 20px; /* Add horizontal padding for spacing */
     max-width: 1200px; /* Limit the maximum width of the menu container */
    margin: 0 auto; /* Center the menu container horizontally */
	/*background: linear-gradient(to right, white 40%, #d0e2f5); /* Gradient background */
	width: 100%;
}

.menu-image {
    width: 456px;
    height: 90px;
    margin-right: 20px;
    border-radius: 5px; /* Optional: Add rounded corners to the image */
}

nav.static-nav {
    /* background: linear-gradient(to right, white, #003366); /* Gradient background */ 
    color: white;
    padding: 10px 0;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 100;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex; /* Arrange the menu items horizontally */
    justify-content: center; /* Centers the nav menu */
}

nav ul li {
    margin-right: 20px; /* Add spacing between menu items */
}

nav ul li a { 
    display: inline-block;
    text-decoration: none;
    color: #003366;  
    font-weight: bold; /* Make the menu text bold */
    padding: 8px 16px; /* Add padding to the links for better click area */
    border-radius: 5px;  /* Optional: Add rounded corners to the links */
    transition: color 0.3s ease; /* Smooth color transition on hover */
}

nav ul li a:hover { 
    color: #000046; 
    text-shadow: 0 0 10px rgba(0, 51, 102, 0.8);  /* Add a glow effect */
	transform: scale(1.1); /* increase size on hover */
}

a {
    color: #003366; /* link color */
    text-decoration: none; /* remove underline from all links */
	transition: transform 0.3s ease; /* smooth transition */
}

a:hover {
	transform: scale(1.1); /* increase size on hover */
}

main {
    padding: 20px;
    flex: 1; /* Allow the main content to take up the remaining space */
    max-width: 1200px; /* Limit the maximum width of the menu container */
    margin: 0 auto; /* Center the menu container horizontally */
}

footer {
    background-color: #003366;
    color: white; 
    text-align: center;
    padding: 20px; /* Increased padding for better visual appearance */
   /* position: fixed; bottom: 0; left: 0; /* Push the footer to the bottom */
    width: 100%;
	/*background: linear-gradient(to bottom, white 0%, #003366 20%); /* Gradient footer background */
}


main section h1 {
    text-align: center;
	font-size: 3em;
    color: #003366; /* Set heading color to match menu text */
	/*font-family: 'Brush Script MT', cursive;*/
	font-family: 'Arial', cursive;
	
}
main section h2 {
	text-align: center;
    font-size: 2.5em;
    color: #003366; /* Set heading color to match menu text */
}

main section h3 {
	text-align: left;
    font-size: 1.5em;
    color: #003366; /* Set heading color to match menu text */
}

main section h4 {
	text-align: center;
    font-size: 1.5em;
    color: #003366; /* Set heading color to match menu text */
}

main section h5 {
	text-align: center;
    font-size: 1.5em;
    color: white; /* Set heading color to match menu text */
}



.about-us-button {
    background-color: #003366; /* Dark blue background */
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease,
				transform 0.3s ease;
    margin-top: 10px; /* Add space above the button */
}

.about-us-button:hover {
    background-color: #000046; /* Even darker blue on hover */
	transform: scale(1.1);
}

.events-table {
	text-align: justify; /* Justify the text */
    width: 100%;
    border-spacing: 20px; /* cell spacing */
}

.events-table td {
    text-align: center;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .menu-bar {
        flex-direction: column; /* Stack logo and nav vertically on small screens */
        text-align: center;
    }
    nav ul {
        flex-direction: column; /* Stack nav items vertically on small screens */
    }
    nav ul li {
        margin-left: 0; /* Remove left margin on small screens */
        margin-bottom: 1rem; /* Add bottom margin between nav items */
    }
    .about-gillian, .largs-accommodation, .news-and-events, .fundraising {
        flex-direction: column; /* Stack image and text vertically */
        text-align: center;
    }
    .image-right, .image-left {
        margin: 0 0 2rem 0; /* Add margin below image on small screens */
    }
    .text-content {
        margin-top: 0; /* Reset text margin */
    }
    .mission-section {
        padding: 1.5rem;
    }
    .mission-section h2{
        font-size: 2rem;
    }
    .mission-section p{
        font-size: 1rem;
    }
}

 .placeholder-image { border: 2px solid darkblue;
            background-color: #ddd; /* Light grey placeholder */
            height: 200px; /* Adjust as needed */
            width: 100%;
            text-align: center;
            line-height: 200px; /* Vertically center text */
            color: #666; /* Darker grey text */
			border: 3px solid #003366;
}

.nosize-image { border: 2px solid darkblue;
            background-color: #ddd; /* Light grey placeholder */
     /*       height: 200px; /* Adjust as needed */
      /*      width: 100%;*/
            text-align: center;
            line-height: 200px; /* Vertically center text */
            color: #666; /* Darker grey text */
			border: 3px solid #003366;
}

.nosizeExpandOnHover-image{ border: 2px solid darkblue;
            background-color: #ddd; /* Light grey placeholder */
     /*       height: 200px; /* Adjust as needed */
      /*      width: 100%;*/
            text-align: center;
            line-height: 200px; /* Vertically center text */
            color: #666; /* Darker grey text */
			border: 3px solid #003366;
			transition: transform 0.3s ease; /* Smooth transition */
}

.nosizeExpandOnHover-image:hover{
	 transform: scale(1.1); /* Increase size on hover */
}

.glow-text {
  color: white; /* Or any color you want the text to be */
  text-shadow: 0 0 2px #003366; /* Adjust the color and blur radius */
}

.glow-text-red {
  color: white;
  text-shadow: 0 0 10px red;
}

.glow-text-green {
  color: white;
  text-shadow: 0 0 10px green;
}

.glow-text-blue {
  color: white;
  text-shadow: 0 0 10px blue;
}

.intense-glow {
  color: white;
  text-shadow: 0 0 5px #00FFFF, 0 0 10px #00FFFF, 0 0 15px #00FFFF;
}

.animated-glow {
  color: #003366;
  text-shadow: 0 0 3px white;
 /* animation: glow 5s ease-in-out infinite alternate;  Disabling for now */
}

@keyframes glow {
  from {
    text-shadow: 0 0 3px white;
  }
  to {
    text-shadow: 0 0 20px white;
  }
}

