/* Base Styles */
:root {
  --primary-color: #f7c800; 
  --primary-dark: #e6b800;
  --secondary-color: #4a4a4a;
  --accent-color: #ff9248;
  --light-color: #f8f9fa;
  --dark-color: #343a40;
  --text-color: #333;
  --text-light: #6c757d;
  --border-color: #dee2e6;
  --transition-speed: 0.3s;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --border-radius: 8px;
  --primary: #f7c800; /* HINTERGRUND KNOPF */
  --primary-dark: #e6b800;
  --hover-transform: translateY(-2px);
  --hover-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --background-color: #cfcfcf;
  --card-bg-color: #ffffff;
  --handwritten-font: "Bradley Hand", "Chalkboard SE", "Marker Felt", "Comic Sans MS", cursive;
  --heading-font: "Lora", serif;
  --body-font: "Open Sans", sans-serif;
  --yellow-light: #fffbf0;
  --grau: #242424;
  --heading-font: var(--body-font);
}


/* Typography */
body {
  font-family: var(--body-font);
  color: var(--text-color);
  line-height: 1.7; /* Increased line height for better readability */
  letter-spacing: 0.01em; /* Slight letter spacing for better readability */
  overflow-x: hidden;
  background-color: var(--background-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--heading-font);
  font-weight: 600; /* Slightly reduced from 700 for better readability */
  line-height: 1.4; /* Improved line height for headings */
}

.handwritten {
  font-family: var(--handwritten-font);
  font-size: 2.2rem;
  font-weight: 400; /* Normal weight for handwritten font */
}

.welcome {
  font-family: var(--handwritten-font);
  font-size: 2.2rem; /* Slightly reduced size */
  color: var(--card-bg-color);
}

.welcome-text {
  font-family: var(--handwritten-font);
  font-size: 2.2rem; /* Slightly reduced size */
  color: var(--dark-color);
}
.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 1rem;
}



/* Links & Buttons */
a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all var(--transition-speed) ease;
}

a:hover {
  color: var(--primary-dark);
}

.btn {
  border-radius: 30px;
  padding: 0.5rem 1.5rem;
  font-weight: 600;
  transition: all var(--transition-speed) ease;
}

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #000;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #000;
  transform: var(--hover-transform);
  box-shadow: var(--hover-shadow);
}

.btn-outline-light {
  border-color: white;
  color: white;
}

.btn-outline-light:hover {
  background-color: white;
  color: var(--primary-color);
  transform: var(--hover-transform);
  box-shadow: var(--hover-shadow);
}

/* Navigation */
.navbar {
  padding: 1rem 0;
  background-color: #242424 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Remove the language selector section */
.language-selector {
  display: none;
}

/* Style for language dropdown in navbar */
.language-dropdown {
  margin-left: 10px;
}

.language-dropdown .dropdown-toggle {
  background: transparent;
  border: none;
  padding: 0.25rem;
}

.language-dropdown .dropdown-toggle:after {
  display: none;
}

.flag-button {
  width: 30px;
  height: 30px;
  padding: 0 !important;
  overflow: hidden;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border: 2px solid var(--primary-color);
}

.flag-button img {
  width: 30px;
  height: 30px;
  object-fit: cover;
}

.language-dropdown .dropdown-menu {
  min-width: 100px;
  padding: 0.5rem 0;
  border-radius: var(--border-radius);
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.language-dropdown .dropdown-item {
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
}

.language-dropdown .dropdown-item img {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

.language-dropdown .dropdown-item.active {
  background-color: rgba(247, 200, 0, 0.1);
  color: var(--primary-color);
}

.navbar-brand {
  font-family: var(--heading-font);
  font-weight: 700;
}

.nav-link {
  padding: 0.5rem 1rem;
  position: relative;
  transition: all 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: all var(--transition-speed) ease;
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  transform: translateY(-3px);
}

/* Hero Section */
.hero-section {
  height: 80vh;
  min-height: 500px;
  position: relative;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

/* Animations */
.animate-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards;
}

.animate-up-delay {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards 0.3s;
}

.animate-up-delay-2 {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards 0.6s;
}

.animate-fade-in {
  opacity: 0;
  animation: fadeIn 1.5s ease forwards;
}

.animate-bounce {
  animation: gentleBounce 3s ease-in-out infinite;
}

.animate-pulse {
  animation: gentlePulse 3s ease-in-out infinite;
}

.animate-float {
  animation: gentleFloat 4s ease-in-out infinite;
}

.animate-wiggle {
  animation: gentleWiggle 6s ease-in-out infinite;
}

.animate-scale {
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.animate-scale:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes gentleBounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

@keyframes gentlePulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.03);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes gentleFloat {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes gentleWiggle {
  0%,
  100% {
    transform: rotate(-1deg);
  }
  50% {
    transform: rotate(1deg);
  }
}

/* Room Section */
.room-tabs .nav-pills {
  gap: 10px;
}

.room-tabs .nav-link {
  background-color: transparent;
  color: var(--text-color);
  border-radius: 30px;
  padding: 0.5rem 1.5rem;
}


/* Room Features */
.room-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.room-features span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.room-features i {
  color: var(--grau);
}

/* Price Calculator */
.price-calculator {
  transition: all var(--transition-speed) ease;
}

.price-calculator .card {
  border: none;
  background-color: var(--card-bg-color);
  transition: all var(--transition-speed) ease;
}

.price-calculator .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.calculated-price,
.rate-per-person {
  color: var(--primary-color);
  font-size: 1.2rem;
}

/* Form Styling */
.form-control,
.form-select {
  border-radius: var(--border-radius);
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-color);
  transition: all var(--transition-speed) ease;
  background-color: var(--card-bg-color);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(247, 200, 0, 0.25);
}

/* Facilities Section */
.facility-card {
  background-color: var(--card-bg-color);
  border-radius: var(--border-radius);
  padding: 2rem;
  height: 100%;
  box-shadow: var(--box-shadow);
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
  text-align: center;
}

.facility-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.facility-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  background-color: rgba(247, 200, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  padding-top: 2rem;
  padding-bottom: 1rem;
}

footer h5 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

footer p,
footer li {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

footer .row {
  row-gap: 1.5rem;
}

footer hr {
  margin: 1rem 0;
}

footer .footer-bottom {
  font-size: 0.85rem;
}

.social-links a {
  color: var(--light-color);
  transition: all var(--transition-speed) ease;
}

.social-links a:hover {
  color: var(--primary-color);
  transform: translateY(-3px);
}

/* Back to Top Button */
#backToTop {
  display: block;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  opacity: 1;
  transition: opacity var(--transition-speed) ease;
}

#backToTop.show {
  display: block;
  opacity: 1;
}

/* Card styling */
.card {
  background-color: var(--card-bg-color);
  border: none;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  overflow: hidden;
  border-radius: 12px;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Decorative elements */
.decorative-line {
  height: 3px;
  width: 80px;
  background-color: var(--primary-color);
  margin: 1rem auto;
  position: relative;
}

.decorative-line::before,
.decorative-line::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--primary-color);
  top: -1.5px;
}

.decorative-line::before {
  left: -10px;
}

.decorative-line::after {
  right: -10px;
}

.decorative-quote {
  font-family: var(--handwritten-font);
  font-size: 1.5rem;
  color: var(--primary-dark);
  font-style: italic;
  position: relative;
  padding: 1.5rem;
  line-height: 1.4;
}

.decorative-quote::before,
.decorative-quote::after {
  content: '"';
  font-size: 3rem;
  position: absolute;
  opacity: 0.2;
}

.decorative-quote::before {
  top: -10px;
  left: 0;
}

.decorative-quote::after {
  bottom: -30px;
  right: 0;
}

/* Fix card styling for info cards */
.info-card {
  height: 100%;
  border: none;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  overflow: hidden;
  border-left: 3px solid var(--primary-color);
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.info-card .card-title {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  font-family: var(--heading-font);
  color: var(--dark-color);
}

.info-card .card-title i {
  color: var(--primary-color);
  margin-right: 10px;
  font-size: 1.5rem;
}

.info-card ul {
  padding-left: 0;
}

.info-card li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.info-card li i {
  color: var(--primary-color);
  margin-right: 10px;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

/* House rules styling */
.house-rules .rule-item {
  display: flex;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
  transition: transform 0.5s ease;
}

.house-rules .rule-item:hover {
  transform: translateX(5px);
}

.house-rules .rule-item:last-child {
  border-bottom: none;
}

.house-rules .rule-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(247, 200, 0, 0.1);
  border-radius: 50%;
  margin-right: 1rem;
  flex-shrink: 0;
}

.house-rules .rule-icon i {
  color: var(--primary-color);
  font-size: 1.25rem;
}

.house-rules .rule-text {
  flex-grow: 1;
}

/* Section styling */
.section-title {
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
}

/* Page header */
.page-header {
  padding: 3rem 0;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

.page-header h1 {
  color: var(--dark-color);
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}

.page-header::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  z-index: 1;
}

.page-header::after {
  content: "";
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 150px;
  height: 150px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  z-index: 1;
}


.fas {
  color: #000!important;
}

/* Yellow accents */
.yellow-bg {
  background-color: var(--yellow-light);
}

.yellow-border {
  border: 2px solid var(--primary-color);
  border-radius: var(--border-radius);
}

.yellow-accent {
  position: relative;
}

.yellow-accent::before {
  content: "";
  position: absolute;
  width: 30px;
  height: 30px;
  background-color: var(--primary-color);
  opacity: 0.2;
  border-radius: 50%;
  z-index: -1;
}

/* Breadcrumbs */
.breadcrumb {
  background-color: transparent;
  padding: 0.5rem 0;
}

.breadcrumb-item a {
  color: var(--text-color);
}

.breadcrumb-item.active {
  color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-section {
    height: 60vh;
  }

  .room-features {
    gap: 1rem;
  }

  .facility-card {
    padding: 1.5rem;
  }
}

@media (max-width: 768px) {
  .navbar-brand {
    font-size: 1.2rem;
  }

  .nav-link {
    padding: 0.5rem 0;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .price-calculator .card {
    padding: 1rem !important;
  }

  .calculated-price,
  .rate-per-person {
    font-size: 1rem;
  }

  .room-features {
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media (max-width: 576px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .btn {
    width: 100%;
    margin: 0.5rem 0;
  }

  .facility-icon {
    width: 60px;
    height: 60px;
  }
}

/* Hide English text by default */

.lang-de { display: block; }
.lang-en { display: none!important; }

body.en .lang-de { display: none; }
body.en .lang-en { display: block!important; }


