/* Impulse für Passau - Updated Branding 2.0 */

:root {
  --primary-turquoise: #40E0D0;
  --primary-pink: #FF0066;
  --membership-heading: #48d0ab;
  --dark: #000000;
  --light: #FFFFFF;
  --gray: #f5f5f5;
  --gray-dark: #333333;
  --font-main: 'Montserrat', sans-serif;
  --font-heading: 'Montserrat', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--light);
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

h1 {
  font-size: 2.14rem; /* reduziert um weitere 10% von 2.38rem */
}

h2 {
  font-size: 1.68rem; /* reduziert um weitere 10% von 1.87rem */
}

h3 {
  font-size: 1.38rem; /* reduziert um weitere 10% von 1.53rem */
}

p {
  margin-bottom: 1.5rem;
  font-size: 0.80rem; /* reduziert um weitere 10% von 0.89rem */
  line-height: 1.8;
}

a {
  color: var(--primary-turquoise);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary-pink);
}

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.col {
  flex: 1;
  padding: 0 15px;
  min-width: 300px;
}

/* Header */
header {
  background-color: var(--dark);
  padding: 1.2rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 60px;
}

.logo img {
  height: 100%;
  width: auto;
  max-width: 250px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

/* Navigation */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--light);
  font-size: 1.5rem;
  cursor: pointer;
}

.nav {
  display: flex;
}

.nav-list {
  display: flex;
  list-style: none;
}

.nav-item {
  margin-left: 1.5rem;
}

.nav-link {
  color: var(--light);
  font-weight: 600;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border: 2px solid transparent;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  white-space: nowrap; /* Verhindert Zeilenumbrüche innerhalb der Links */
}

.nav-link:hover, .nav-link.active {
  border-bottom: 2px solid var(--primary-turquoise);
  color: var(--primary-turquoise);
}

/* Hero Section */
.hero {
  height: 100vh;
  background-color: var(--dark);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--light);
  position: relative;
  margin-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.5) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 2rem;
  animation: fadeIn 1.5s ease-in-out;
}

.hero-title {
  font-size: 2.33rem; /* reduziert um 20% von 2.91rem */
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 1.22rem; /* reduziert um weitere 10% von 1.36rem */
  margin-bottom: 2.5rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sections */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 3.5rem;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary-turquoise);
}

.section-dark {
  background-color: var(--dark);
  color: var(--light);
}

.section-dark .section-title::after {
  background-color: var(--primary-pink);
}

/* Content Box */
.content-box {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 3rem;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  margin: 2rem 0;
}

/* Cards */
.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2.5rem;
}

.card {
  background-color: var(--light);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-content {
  padding: 2rem;
}

.card-title {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 1px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background-color: var(--primary-turquoise);
  color: var(--dark);
}

.btn-primary:hover {
  background-color: var(--primary-pink);
  color: var(--light);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
  background-color: var(--primary-pink);
  color: var(--light);
}

.btn-secondary:hover {
  background-color: var(--primary-turquoise);
  color: var(--dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Footer */
footer {
  background-color: var(--dark);
  color: var(--light);
  padding: 4rem 0 2rem;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

.footer-logo img {
  height: 60px;
  margin-bottom: 1.5rem;
}

.footer-title {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: var(--primary-turquoise);
}

.footer-links {
  list-style: none;
}

.footer-link {
  margin-bottom: 0.8rem;
}

.footer-link a {
  color: var(--light);
  transition: all 0.3s ease;
}

.footer-link a:hover {
  color: var(--primary-turquoise);
  padding-left: 5px;
}

.footer-section p {
  margin-bottom: 0.8rem;
}

.footer-section i {
  color: var(--primary-turquoise);
  margin-right: 10px;
  width: 20px;
  text-align: center;
}

.social-links {
  display: flex;
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.social-link {
  color: var(--light);
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.social-link:hover {
  color: var(--primary-turquoise);
  transform: translateY(-3px);
}

.copyright {
  text-align: center;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Membership */
.membership-info {
  margin-bottom: 2rem;
  background-color: rgba(64, 224, 208, 0.1);
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--primary-turquoise);
}

.membership-price {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: var(--dark);
}

.membership-note {
  font-style: italic;
  color: var(--gray-dark);
}

/* Spezielle Klasse für Text mit Hintergrundbild */
.text-with-background {
  color: var(--light); /* Weißer Text */
  background-image: url('../images/Asset_5.png');
  background-size: cover;
  background-position: center;
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 1rem;
}

.text-with-background li {
  color: var(--light);
  margin-left: 25px;
  margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
  
  .hero-title {
    font-size: 2.72rem; /* reduziert von 3.2rem */
  }
}

@media (max-width: 992px) {
  .container {
    max-width: 720px;
  }
  
  .hero-title {
    font-size: 2.14rem; /* reduziert um weitere 10% von 2.38rem */
  }
  
  .hero-subtitle {
    font-size: 1.19rem; /* reduziert von 1.4rem */
  }
  
  .section {
    padding: 5rem 0;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 540px;
  }
  
  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--dark);
    padding: 1rem 0;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    z-index: 999;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }

  .nav.active {
    transform: translateY(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: center;
  }

  .nav-item {
    margin: 0.8rem 0;
  }
  
  .hero-title {
    font-size: 2.12rem; /* reduziert von 2.5rem */
  }

  .hero-subtitle {
    font-size: 1.02rem; /* reduziert von 1.2rem */
  }
  
  .row {
    flex-direction: column;
  }
  
  .col {
    margin-bottom: 2rem;
  }
  
  .content-box {
    padding: 2rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.7rem; /* reduziert von 2rem */
  }
  
  .section-title {
    font-size: 1.53rem; /* reduziert von 1.8rem */
  }
  
  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.77rem; /* reduziert von 0.9rem */
  }
  
  .footer-container {
    grid-template-columns: 1fr;
  }
}

/* Page-specific styles */
.page-header {
  height: 40vh;
  background-color: var(--dark);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--light);
  position: relative;
  margin-top: 80px;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.5) 100%);
}

.page-title {
  position: relative;
  z-index: 1;
  font-size: 2.4rem; /* reduziert um 20% von 3rem */
  text-transform: uppercase;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-content {
  padding: 4rem 0;
}

/* Animation */
.fade-in {
  animation: fadeIn 1s ease-in-out;
}

.fade-in-up {
  animation: fadeInUp 1s ease-in-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Admin Login Form */
.login-container {
  max-width: 500px;
  margin: 3rem auto 0;
  padding: 2.5rem;
  background-color: var(--gray);
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.login-form .form-group {
  margin-bottom: 1.5rem;
}

.login-form .form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--gray-dark);
}

.login-form .form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.login-form .form-control:focus {
  outline: none;
  border-color: var(--primary-turquoise);
  box-shadow: 0 0 0 2px rgba(64, 224, 208, 0.2);
}

.login-form .btn {
  width: 100%;
  padding: 0.9rem 2rem;
  margin-top: 1rem;
}


/* Text color updates as requested */
.contact-info-title,
.contact-info-text,
.membership-info-title,
.membership-info-text,
.veranstaltungen-membership-title,
.veranstaltungen-membership-text,
.presse-contact-title,
.presse-contact-text,
.kontakt-address-title,
.kontakt-address-text,
.kontakt-email-title,
.kontakt-email-text,
.kontakt-phone-title,
.kontakt-phone-text,
.kontakt-intro-title,
.kontakt-intro-text {
    color: #000000 !important;
}


/* Chatbot Styles */
.chatbot-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary-pink);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.chatbot-icon:hover {
    transform: scale(1.1);
}

.chat-window {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 350px;
    max-width: 90%;
    height: 450px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 999;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    visibility: hidden;
}

.chat-window.active {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.chat-header {
    background-color: var(--primary-pink);
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h4 {
    margin: 0;
    font-size: 1.1rem;
}

.chat-close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

.chat-body {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
    background-color: #f9f9f9;
}

.chat-message {
    background-color: #e9e9eb;
    color: #333;
    padding: 10px 15px;
    border-radius: 15px 15px 15px 0;
    max-width: 80%;
    margin-bottom: 10px;
    word-wrap: break-word;
}

/* Upcoming Events on Homepage */
.upcoming-events-container {
    margin-top: 2rem;
    max-width: 800px; /* Limit width for better readability */
    margin-left: auto;
    margin-right: auto;
}

.upcoming-event-item {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white */
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary-turquoise);
    transition: background-color 0.3s ease;
}

.upcoming-event-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.upcoming-event-item h4 {
    font-size: 1.3rem;
    color: var(--light);
    margin-bottom: 0.75rem;
    text-transform: none; /* Keep original case */
    letter-spacing: 0;
}

.upcoming-event-item p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
}

.upcoming-event-item i {
    color: var(--primary-turquoise);
    margin-right: 8px;
    width: 16px;
    text-align: center;
}

.upcoming-events-container > p {
    /* Style for the 'no events' message */
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    font-style: italic;
}


