/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #3d5c89; /* Set default text color to blue */
}

header {
    background-color: #3d5c89; /* Blue background for header */
    color: white;
    padding: 15px 0; /* Adjusted padding for top and bottom */
    text-align: center;
    position: relative; /* Allow positioning of the burger menu */
}

header .logo-container {
    background-color: white; /* White background for logo */
    padding: 20px 0; /* Padding to make sure the logo has space around it */
}

header .logo img {
    width: 300px; /* Adjust logo size as needed */
    margin-bottom: 20px; /* Space between logo and the title */
}

header h1 {
    font-size: 28px;
    font-weight: bold;
    margin: 0;
}

.center {
	text-align: center;
	margin-left: auto;
  margin-right: auto;
	
}

th, td {
  text-align: center;
  padding-bottom: 20px;
  padding-left: 30px;
  padding-right: 40px;
}

#eventstbl {
    border-collapse: collapse;
  
}

#eventstbl td, #eventstbl th {
  border: 1px solid #ddd;
  padding: 8px;
}

#eventstbl tr:nth-child(even){background-color: #ffffff;}

#eventstbl tr:hover {background-color: #ddd;}

#eventstbl th {
  padding-top: 12px;
  padding-bottom: 12px;
  text-align: center;
  background-color: #3d5c89;
  color: white;
  }

.burger-menu {
    display: none; /* Hidden on large screens */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
}

.burger-line {
    height: 4px;
    background-color: white;
    width: 100%;
}

/* Navbar Styling */
#navbar {
    width: 100%;
    background-color: #3d5c89;
    position: relative;
    
    left: 50%;
    transform: translateX(-50%); /* Center on large screens */
    display: flex; /* Navbar is visible on large screens */
    justify-content: center;
    align-items: center;
}

#navbar ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
    padding: 10px 0;
}

#navbar ul li {
    margin: 0 15px;
}

#navbar ul li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}

/* Media Queries - this controls the menu position when burger menu clicked*/
@media (max-width: 768px) {
    .burger-menu {
        display: flex; /* Show burger menu on small screens */
	flex-direction: column;
    }

    #navbar {
        display: none; /* Hidden by default on small screens */
        position: relative;
        
        left: auto;
        transform: translateX(-50%); /* Center the menu initially */
        width: 100%; /* Make navbar take up full width */
        background-color: #3d5c89;
    }

    #navbar.open {
        display: block; /* Show the navbar when 'open' class is added */

    }

    #navbar.right {
        position: absolute;
	right: 0px;

        transform: none;
    }
}


/* "Shop on eBay" Button Styles */
.shop-ebay-btn {
    display: inline-block;
    background-color: #3d5c89; /* Same blue as the header */
    color: white;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px; /* Optional: round the corners */
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
    text-align: center;
    margin-top: 20px; /* Space between the button and other elements */
}

/* Button hover effect */
.shop-ebay-btn:hover {
    background-color: #2c4575; /* Slightly darker blue for hover effect */
}

/* Carousel Styles */
.carousel-container {
    position: relative;
    max-width: 60%;
    margin: 0 auto;
    overflow: hidden;
    padding-top: 80px; /* Ensure carousel has space if the menu is open */
}

.carousel-images {
    display: flex;
    transition: transform 1s ease-in-out;
}

.carousel-images img {
    flex: 0 0 100%; /* Make each image take up 100% of the container */
    height: 500px; /* Adjust height of carousel images */
    object-fit: contain; /* was originally 'cover' which just clips the images */
}

/* Section Styling */
section {
    padding: 40px 20px;
    text-align: center;
}

section h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #3d5c89; /* Blue color for section headers */
}

section p {
    color: #3d5c89; /* Blue color for paragraph text */
	width: 50%;
	margin: auto;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    header {
        padding: 10px 15px;
    }
    header h1 {
        font-size: 24px;
        text-align: center;
        margin-top: 10px;
    }
    .carousel-images img {
	height: 250px; /* Adjusted height for smaller screens */
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 20px;
        text-align: center;
        margin-top: 10px;
    }
    .carousel-images img {
        height: 100px; /* Further reduced height for very small screens */
    }
}
