/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-image: url("media/backgroundZaton3.png"); /* Replace with your background image */
    background-size: cover;
    background-position: center;
    background-attachment: fixed, scroll; /* Keeps the background fixed while scrolling */
    color: white; /* Text color is set to white for contrast against the background image */
    line-height: 1.6;
    background-color: #f4f4f4;
}


/* Header Section */
header {
    background-color: #004080;
    color: white;
    text-align: center;
    position: relative; 
    z-index: 1; 
    align-items: center;
    height: 150px;
}

.header-logo {
    height: 200px; /* Adjust as needed */
    width: auto;
    margin-right: 20px;
    position: relative;
    z-index: 2; /* Keeps the logo above other header elements */
    margin-bottom: -8%; /* Allows the image to overlap into the body section */
    margin-left: -80%;
}

header h1 {
    margin-bottom: 0.5rem;
}

#navbar {
    gap: 15px; /* Adds spacing between buttons */
}

header nav {
    background-color: #004080;
}

header nav ul {
    list-style: none;
    padding: 0;
}

header nav ul li {
    display: inline-block;
    margin: 0 2rem;
    font-size: 1.5rem;
}

header nav ul li a {
    color: white;
    text-decoration: none;
}




.fakelink a {
    text-decoration: none;
    color:white;
}        




/* Main Section */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

/* Hero Section (Large Image) */
#hero {
    width: 100%;
    height: 400px;
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.slideshow {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    animation: fadeImages 12s infinite;
    border-radius: 2px;
}


@keyframes fadeImages {
    0% {
        background-image: url("media/heroImage1.jpg"); 
    }
    25% {
        background-image: url("media/heroImage1.jpg");
    }
    33% {
        background-image: url("media/heroImage2.jpg"); 
    }
    58% {
        background-image: url("media/heroImage2.jpg");
    }
    66% {
        background-image: url("media/heroImage3.jpg"); 
    }
    91% {
        background-image: url("media/heroImage3.jpg");
    }
    100% {
        background-image: url("media/heroImage1.jpg"); 
    }
}

#buttons-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Align buttons to the center */
    gap: 15px; /* Even spacing between buttons */
    margin: 20px 0;
}

#buttons-section a {
    text-decoration: none;
}

#buttons-section button {
    background-color: #0056b3;
    color: white;
    font-size: 1.1rem;
    width: 200px; /* Fixed width for all buttons */
    height: 60px; /* Fixed height for all buttons */
    padding: 0; /* Remove padding to keep dimensions uniform */
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px; /* Space between the icon and text */
    transition: background-color 0.3s ease;
    box-sizing: border-box; /* Ensure the border-radius doesn't affect dimensions */
}

#buttons-section button:hover {
    background-color: #003f7f;
}

/* Icons inside buttons */
#buttons-section button i {
    font-size: 1.3rem;
}

#buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin: 20px 0;
}

#buttons button {
    background-color: #0073e6;
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 1.1rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);

}

#buttons button i {
    font-size: 1.2rem;
}

#buttons button:hover {
    background-color: #005bb5;
}

/* News Board */
#news-board {
    margin: 20px 0;
}

#news-board h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: black;
}

/* News Item Styling */
.news-item {
    background-color: white;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    color: #333;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.news-item h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
    color: #333;
}

.news-item p {
    font-size: 1rem;
    line-height: 1.5;
}

.news-item a {color:#0077ff;}         /* Unvisited link  */
.news-item a:visited {color:#0077ff;} /* Visited link    */
.news-item a:hover {color:#0000ffc0;}   /* Mouse over link */
.news-item a:active {color:#0000FF;}  /* Selected link   */



/* Colored strip at the bottom of the news item */
.news-color-strip {
    height: 8px;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

/* Calendar Section */
#calendar-section {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
    gap: 20px;
}

#calendar {
    width: 65%;
}
#calendar h2 {
    color: black
}

#upcoming-events {
    width: 30%;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: #252525;
}

#upcoming-events h2 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

#upcoming-events ul {
    list-style-type: none;
    padding-left: 0;
}

#upcoming-events ul li {
    margin-bottom: 10px;
    padding: 8px;
    background-color: #bbbbbb;
    border-radius: 5px;
}

/* Calendar Table */
#calendar table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    color: white;
}

#calendar th, #calendar td {
    padding: 10px;
}

#calendar th {
    background-color: rgba(0, 64, 128, 0.8); /* Darker header for calendar */
}

#calendar td {
    position: relative;
    height: 60px;
    background-color: rgba(0, 0, 0, 0.5); /* Transparent background for days */
    color: white;
    vertical-align: middle;
}

#calendar .day {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

#calendar .day:hover {
    background-color: rgba(255, 255, 255, 0.3); /* Hover effect */
}

/* Highlighted Dates with Events */
#calendar .day.event {
    background-color: #50e73c; /* Highlight color for events */
    color: white;
    font-weight: bold;
}

/* Styling for the Highlighted Day (with Event) */
#calendar .day.event:hover {
    background-color: #50e73cc5; /* Darker hover color for event days */
}

#calendar .prev-month {
    background-color: rgba(70, 70, 70, 0.1); /* Lighter for previous month */
    color: rgba(255, 255, 255, 0.5); /* Dull color for days of previous month */
}

#calendar .prev-month:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Footer */
footer {
    width:100%;
    text-align: center;
    background-color: #004080;
    color: white;
    padding: 10px;
    margin-top: 20px;
}

#navbar a {
    text-decoration: none;
    margin: 0 10px;
}

#navbar button {
    background-color: #0056b3;
    color: white;
    font-size: 1.1rem;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

#navbar button.active {
    background-color: #003f7f;
}

/* Large Image Banner Section */
#about-banner {
    height: 400px;
    overflow: hidden;
    position: relative;
}

.image-slider img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: none;
}

.image-slider img:first-child {
    display: block;
}

/* About Us Section */
#about-us {
    padding: 40px 20px;
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
}

#about-us h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-content {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    flex-wrap: wrap;
}

.about-card {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 300px;
    position: relative;
}

.about-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.about-card p {
    font-size: 1rem;
    line-height: 1.6;
}

.color-strip {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 10px;
    width: 100%;
    background-color: #0056b3; /* Color strip at the bottom */
}

/* Contact Section */
#contact-info {
    padding: 40px 20px;
    background-color: rgba(0, 64, 128, 0.9);
    text-align: center;
}

#contact-info h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

#contact-info .contact-details p {
    font-size: 1.2rem;
    margin: 10px 0;
}

#contact-info i {
    margin-right: 10px;
}

#city-history {
    padding: 70px 0;
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    display: grid;
    place-items: center;
    align-content: center;
}

#city-history h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
}


#city-jobs {
    padding: 70px 0;
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    display: grid;
    place-items: center;
    align-content: center;
}

#city-jobs h2 {
    text-align: center;
    color: #0056b3;
    font-size: 2rem;
    margin-bottom: 20px;
}

.history-content {
    display: flex;
    align-items: center;

    flex-direction: column;
    gap: 40px;
    margin: 20px 0;
}

.history-section {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.history-section img {
    width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.history-section ul {
    padding-left: 20px;
}

.history-text {
    max-width: 600px;
}

.history-text h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
    color: #0056b3;


}

.history-text p {
    font-size: 1rem;
    line-height: 1.6;
}

#city-records {
    padding: 70px 0;
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    display: grid;
    place-items: center;
    align-content: center;
}

#city-records h2 {
    text-align: center;
    color: #0056b3;
    font-size: 2rem;
    margin-bottom: 20px;
}

.record-table table {
    width: 80%
  }
  .record-table table,
  .record-table th,
  .record-table td {
    border: 1px solid black;
    border-collapse: collapse;
  }
  .record-table th,
  .record-table td {
    padding: 5px;
    text-align: left;
  }

.map-container {
    width: 80%;
    height: 500px;
    margin: auto;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;

}


.map {
    width: 100%;
    height: 900px;
    margin: auto;
    overflow: hidden;
    border: 1px solid #000;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.map:hover {
    cursor: pointer;
}

.pdf-container iframe {
    width: 100%;
    height: 600px;
    border: none;
}

.alert {
    margin: auto;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.8);
    pointer-events: none;
}

.alert p {
    color: red
}