/* ========================================
   Eisenbahnerstadtmusik Attnang Puchheim
   Moderne CSS - responsive & schnell
   ======================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f5f5f5;
}

/* ========== HEADER / BANNER ========== */
header {
  background-color: #1602ce;
  color: white;
  padding: 1rem 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

header .banner-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-section img {
  max-height: 80px;
  width: auto;
}

.header-text h1 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.header-text p {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* ========== NAVIGATION ========== */
nav {
  background-color: #2c5aa0;
  padding: 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

nav li {
  flex-shrink: 0;
}

nav a {
  display: block;
  padding: 1rem 1.2rem;
  color: white;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
  font-size: 0.95rem;
}

nav a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
}

nav a.active {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  font-weight: 600;
  border-bottom: 3px solid white;
}

/* ========== MAIN LAYOUT ========== */
main {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
  min-height: calc(100vh - 300px);
}

.content-wrapper {
  background-color: white;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  padding: 2rem;
}

/* ========== FOOTER ========== */
footer {
  background-color: #1a3a52;
  color: white;
  text-align: center;
  padding: 2rem 1rem;
  margin-top: 3rem;
  font-size: 0.9rem;
}

footer p {
  margin: 0.5rem 0;
}

footer a {
  color: white;
  text-decoration: underline;
}

footer a:hover {
  text-decoration: underline;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
  color: #1a3a52;
  margin: 1.5rem 0 1rem 0;
  line-height: 1.3;
}

h1 {
  font-size: 2.2rem;
  border-bottom: 3px solid #2c5aa0;
  padding-bottom: 0.5rem;
}

h2 {
  font-size: 1.8rem;
  color: #2c5aa0;
}

h3 {
  font-size: 1.3rem;
  color: #2c5aa0;
}

p {
  margin-bottom: 1rem;
}

a {
  color: #2c5aa0;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

a:hover {
  border-bottom: 1px solid #2c5aa0;
}

/* ========== IMAGES ========== */
img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1rem 0;
}

.gallery-image {
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  margin: 1rem 0;
}

/* ========== TABLES ========== */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

table th {
  background-color: #2c5aa0;
  color: white;
  padding: 1rem;
  text-align: left;
  font-weight: 600;
}

table td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid #eee;
}

table tr:hover {
  background-color: #f9f9f9;
}

/* ========== FORMS ========== */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #2c5aa0;
  box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}

button,
input[type="submit"] {
  background-color: #2c5aa0;
  color: white;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

button:hover,
input[type="submit"]:hover {
  background-color: #1a3a52;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  header .banner-wrapper {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .header-text h1 {
    font-size: 1.3rem;
  }

  nav ul {
    flex-direction: column;
    padding: 0;
  }

  nav li {
    flex-grow: 1;
  }

  nav a {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .content-wrapper {
    padding: 1rem;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  main {
    margin: 1rem auto;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 14px;
  }

  header {
    padding: 0.5rem 0;
  }

  .header-text h1 {
    font-size: 1.1rem;
  }

  nav a {
    padding: 0.7rem 0.8rem;
    font-size: 0.85rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  main {
    margin: 0.5rem auto;
  }
}

/* ========== PRINT ========== */
@media print {
  nav,
  footer {
    display: none;
  }

  .content-wrapper {
    box-shadow: none;
  }
}
