/* Global Styles */
body {
    background-color: #121212; /* Dark background */
    color: #f1f1f1; /* Light text color */
    font-family: 'Lato', sans-serif; /* Modern font */
    margin: 0;
    padding: 0;
}

.top-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background-color: #1e1e1e; /* Dark top bar */
    gap: 10px;
    box-sizing: border-box;
    color: #f1f1f1; /* Light text */
}


.top-bar img {
    max-width: 100%;     /* Ensure image scales within the container */
    height: auto;        /* Maintain aspect ratio */
    max-height: 50px;    /* Control the image height for the top bar */
    border-radius: 8px;  /* Rounded corners */
}


.top-bar h1 {
    font-size: 1.5rem;
    margin: 0;
    flex-grow: 1;
}

.topnav {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.topnav a {
    text-decoration: none;
    color: #f1f1f1; /* Light text on dark bg */
    font-weight: bold;
    padding: 8px 12px;
    border-radius: 6px;
    background-color: #333; /* Dark gray buttons */
    transition: background-color 0.2s ease;
}

.topnav a:hover {
    background-color: #4CAF50; /* Keep the hover green pop */
    color: #121212; /* Contrast when hovered */
}


/* ✅ Responsive tweak for smaller screens */
@media (max-width: 600px) {
    .top-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .top-bar h1 {
        font-size: 1.2rem;
        margin-top: 10px;
    }

    .topnav {
        justify-content: flex-start;
    }
}


/* Slideshow Container */
.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

/* Make Images Scale Properly */
.mySlides img {
    width: 100%;  /* Scale to fit width */
    height: auto; /* Maintain aspect ratio */
    display: block;
    object-fit: contain; /* Prevent cropping */
    border-radius: 10px;
}

/* Slideshow Navigation Arrows */
.prev, .next {
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 16px;
    font-size: 18px;
    font-weight: bold;
    transition: 0.6s ease;
    border-radius: 5px;
    user-select: none;
}

.prev {
    left: 0;
}

.next {
    right: 0;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.top-bar img {
        border-radius: 8px; /* 👈 change value as needed */
    }

/* Buttons */
button {
    background-color: #4CAF50; /* Green button */
    color: #121212;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #388E3C; /* Darker green on hover */
}

/* Footer */
footer {
    background-color: #1e1e1e;
    color: #f1f1f1;
    padding: 20px;
    text-align: center;
}

/* Dots for Slideshow */
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active, .dot:hover {
    background-color: #4CAF50;
}

/* Headings */
h1, h2, h3 {
    color: #4CAF50; /* Green headings */
    padding: 10px 20px;
}

/* Paragraphs */
p {
    padding: 10px 20px;
}

/* iFrame Videos */
iframe {
    padding: 15px;
    display: block;
    margin: auto;
}

/* Responsive Design */
@media only screen and (max-width: 600px) {
    .top-bar, .topnav a {
        font-size: 14px;
    }
}

@media only screen and (max-width: 300px) {
    .prev, .next {
        font-size: 11px;
    }
}
