/* Base Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

header {
    background: rgba(51, 51, 51, 0.8);
    color: #fff;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    padding: 0 1rem;
}

nav .logo {
    font-size: 1.5rem;
}

nav .logo img {
	max-width: 200px;
}

nav .nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav .nav-links li {
    position: relative;
}

nav .nav-links li a {
    color: #fff;
    text-decoration: none;
    padding: 1rem;
    display: block;
    transition: color 0.3s;
}

nav .nav-links li a:hover {
    color: #ff6600;
}

nav .nav-links li:hover .dropdown {
    display: block;
}

nav .nav-links .dropdown {
    display: none;
    position: absolute;
    background: #444;
    top: 100%;
    left: 0;
    min-width: 150px;
    z-index: 1;
    list-style: none;
    padding: 0;
    margin: 0;
}

nav .nav-links .dropdown li {
    width: 100%;
}

nav .nav-links .dropdown li a {
    padding: 0.5rem 1rem;
}

nav .cta {
    background: #ff6600;
    color: #fff;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

nav .cta:hover {
    background: #e65c00;
}

.hero {
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    transition: background-image 1s ease-in-out;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-text {
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: 4.0rem;
    margin: 0;
    text-shadow: 2px 2px 20px #000;
    border-bottom: 5px solid #fff;
}

.hero-text h2 {
    font-size: 3.0rem;
    margin: 0;
}

.hero-text h3 {
    font-size: 1.5rem
    padding: 10px;
}

.hero-text p {
    font-size: 0.8rem;
    padding: 10px;
}

.current-schut-info {
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

#current-schut-info-heading {
    color: #d6d0d0;
    background-color: rgba(85, 83, 83, 0.7);
    padding: 5px;
    font-weight: bold;
    font-size: 1.4rem;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

#current-schut-info-box {
    background-color: rgba(198, 201, 197, 0.7);
    border-radius: 10px;
    flex-direction: column;
    margin: 5px;
    margin: 0 auto;
    min-width: 250px;
    min-height: 200px;
    max-width: 300px;
    max-height: 250px;
    box-shadow: 0px 0px 10px #000;
}

#current-schut-info-text {
    padding: 5px;
    font-size: 2.0rem;
}

#current-schut-info-registration {
    padding: 5px;
    font-size: 4.6rem;
}

.weather-card {
  display: flex;
  align-items: center;
  gap: 2px;
  max-width: 100%;
  padding: 0px;
  font-family: Arial, sans-serif;
  margin: 10px auto;
}
.weather-card img {
  width: 90px;
  height: 90px;
}
.weather-info {
  flex: 1;
}
.weather-info h3 {
  margin: 0 0 4px;
  font-size: 1.1em;
}
.weather-info p {
  margin: 2px 0;
  font-size: 0.95em;
}

main {
    max-width: 1200px;
    margin: auto;
    padding: 1rem;
    margin-top: 100px;
}

/* Title Section Styles */
.title-section {
    text-align: center;
    padding: 20px 0;
    background-color: #f5f5f5;
    border-bottom: 1px solid #ccc;
    margin-top: 120px;
}

.title-section h1 {
    font-size: 2.5em;
    color: #333;
    margin: 0;
    font-weight: bold;
}

/* Form Error and Success Messages */
.message {
    padding: 10px;
    border-radius: 5px;
    width: 300px;
    text-align: center;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* iframes */

iframe {
	border: none;
	margin: 0;
	padding: 0;
}

/* About Section Styles */
.about {
    padding: 2rem 1rem;
    background: #f4f4f4;
    text-align: center;
    margin-top: -10vh; /* Adjust if needed to overlap hero section slightly */
}

.about h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.about p {
    max-width: 800px;
    margin: auto;
    font-size: 1rem;
    line-height: 1.6;
}

footer {
    background: #333;
    color: #fff;
    padding: 1rem 0;
    text-align: center;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    padding: 0 1rem;
}

.footer-column {
    flex: 1;
    padding: 1rem;
    text-align: left;
}

.footer-column a {
	color: #fff;
	text-decoration: none;
	margin-top: 0.5rem;
	display: inline;
}

.footer-column a:hover {
	text-decoration: underline;
}

.footer-column h3 {
    margin-top: 0;
}

/* Mobile Navigation Menu */
.mobile-nav {
    display: none;
    background: rgba(51, 51, 51, 0.8);
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 250px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1001;
    padding-top: 3rem;
}

.mobile-nav a {
    color: #fff;
    text-decoration: none;
    display: block;
    padding: 1rem;
    transition: background 0.3s;
}

.mobile-nav a:hover {
    background: #444;
}

.mobile-nav .close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-nav .dropdown {
    display: none;
    padding-left: 1rem;
}

.mobile-nav .dropdown a {
    padding: 0.5rem 1rem;
}

#nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: #fff;
    padding: 1rem;
}

.mobile-nav .cta {
    background: #ff6600;
    color: #fff;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
	width: 80%;
	margin: 10px;
}

.mobile-nav .cta:hover {
    background: #e65c00;
}

@media (max-width: 768px) {

    nav {
        display: none;
    }

    .nav-toggle-label {
        display: block;
    }

    .mobile-nav {
        display: block;
    }

    #nav-toggle:checked + .mobile-nav {
        transform: translateX(0);
    }
	
	.hero {
		height: 100vh;
		width: 100%;
		background-size: cover;
	}

    .hero-text h1 {
        font-size: 2.0rem;
        margin: 0;
        text-shadow: 2px 2px 20px #000;
        border-bottom: 5px solid #fff;
        margin-top: 40%;
    }

    #current-schut-info-box {
        background-color: rgba(198, 201, 197, 0.7);
        border-radius: 10px;
        flex-direction: column;
        gap: 5px;
        margin: 0 auto;
        min-width: 250px;
        min-height: 200px;
        max-width: 300px;
        max-height: 250px;
        box-shadow: 0px 0px 10px #000;
    }

    .hero-text h2 {
        font-size: 1.5rem;
        margin: 0;
    }

    .hero-text h3 {
        font-size: 0.7rem;
        margin-left: 20%;
        margin-right: 20%;
    }

    .hero-text p {
        font-size: .7rem;
    }
	
	.title-section {
        margin-top: 50px; /* Adjust for mobile view */
    }
	
	.footer-container {
		flex-direction: column;
		text-align: center;
	}
	
	.footer-left, .footer-right {
		width: 100%;
		padding: 1rem 0;
	}
}
