/* =========================
   General Reset
========================= */
* {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  
  box-sizing: border-box;
}

html {
  overscroll-behavior: none;
  overflow-x: hidden;
  scroll-padding-top: 70px; /* for fixed navbar smooth scrolling */
}

/* =========================
   Body Setup
========================= */
body {
  font-family: "Arial", "Helvetica", sans-serif;
  line-height: 1.6;
  background-color: white;
  color: rgb(44.7%, 26.4%, 14.5%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* =========================
   Navbar
========================= */
nav {
  display: flex;
  justify-content: space-between; /* space between logo and nav items */
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: rgb(44.7%, 26.4%, 14.5%);
  padding: 0 20px; /* small horizontal padding */
  z-index: 9999;
}

.navbar {
  display: flex;
  gap: 2.5rem;              /* space between items */
  list-style: none;
  justify-content: center; /* center nav links horizontally */
  flex: 1;                 /* take available space between logo and buttons */
  align-items: center;
  padding: 0;
  margin: 0;
}
.navbar li.donate {
  margin-left: 20px; /* optional spacing */
}



.navbar a {
  text-decoration: none;
  font-size: large;
  font-weight: bolder;
  font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  color: beige;
}

.navbar li {
  margin-right: 2rem;
}

.navbar li:last-child {
  margin-right: 0;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  left: 0; /* ensure it's anchored left */
}

/* Move the logo a bit left without affecting the nav */
.logo {
  height: 60px;
  width: auto;
  margin-left: 10px; /* 👈 adjust this slightly, e.g., -5px or -15px */
}

.lang-buttons {
  margin-left: auto;
  display: flex;
  gap: 10px;
  align-items: center;
  margin-right: 10px;
}

.lang-buttons button {
  padding: 8px 12px;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  background-color: beige;
  color: rgb(44.7%, 26.4%, 14.5%);
  transition: background-color 0.3s;
}

.lang-buttons button:hover {
  background-color: rgb(220, 220, 220);
}

/* =========================
   Hamburger Menu Styles
========================= */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  width: 30px;
  height: 25px;
  gap: 5px;
  position: absolute;
  left: 20px;
  top: 22px;
  z-index: 10;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: beige;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* When menu is active (animated "X") */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Hide navbar by default on mobile */
@media (max-width: 768px) {
  .navbar {
    display: none;
    flex-direction: column;
    background-color: rgb(44.7%, 26.4%, 14.5%);
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    padding: 20px 0;
    gap: 1.5rem;
    text-align: center;
  }

  /* Show navbar when active */
  .navbar.active {
    display: contents;  
  }

  .hamburger {
    display: flex;
  }
  .logo{
    margin-right: 9px;
    height: 50px;
  }


  .lang-buttons {
    position:fixed;
    margin-top: 10px;
    right: 10px;
  }
}

/* =========================
   Home Section
========================= */
.home {
  position: relative;
  height: 85vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: beige;
  overflow: hidden;
}

.bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: -2;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: -1;
}

.home-content {
  position: relative;
  z-index: 1;
  padding: 0 10px;
}

/* =========================
   Slides
========================= */
#qoute{
  margin-bottom: 40px;
}
.container {
  max-width: 40%;
  margin: auto;
  position: relative;
}

.mySlides { display: none; }

.fade { animation-name: fade; animation-duration: 1s; }

@keyframes fade { from {opacity: 0.4} to {opacity: 1} }

.mySlides img {
  width: 100%;
  border-radius: 10px;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  padding: 12px;
  color: white;
  font-size: 20px;
  font-weight: bold;
  border-radius: 3px;
  user-select: none;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.4);
}

.next { right: 0; }
.prev { left: 0; }

.numbertext {
  position: absolute;
  top: 10px;
  left: 15px;
  color: #fff;
  font-size: 14px;
}

.dots-container {
  text-align: center;
  margin-top: 15px;
}

.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s;
}

.dot.active { background-color: #717171; }

/* =========================
   Title Container
========================= */
.title-container {
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-bottom: 40px;
  max-width: 80%;
  margin-left: 200px; /* <-- Will adjust below */
}

.title-container h1,h2{
  padding-bottom: 0px;
}
.title-container h1{
  font-size: 48px;
  margin-top: 120px;
}

.title-container h2{
  font-size: 24px;
  font-weight: lighter;
  font-style: italic;
  margin-top: 80px;
}

.title-container p{
  margin-top: 80px;
  line-height: 2;
  font-size: 20px;
  padding: 0 20px;
}

#before-footer{
  margin-bottom: 80px;
}

.calendar-container {
    text-align: center;
    margin: 20px auto;
    max-width: 800px;  /* optional */
}

.calendar-container iframe {
    width: 100%;         /* fills container width */
    height: 600px;       /* fixed height, adjust for desktop */
    border: 0;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.calendar-container iframe:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

/* Responsive height for tablets and mobile */
@media (max-width: 1024px) {
    .calendar-container iframe {
        height: 500px;
    }
}

@media (max-width: 768px) {
    .calendar-container iframe {
        height: 400px;
    }
}

@media (max-width: 480px) {
    .calendar-container iframe {
        height: 300px;
    }
}



/* =========================
   Directions / Map
========================= */
#directions {
  padding: 60px 10%;
  background-color: rgb(173, 170, 170);
  font-family: "Poppins", sans-serif;
  text-align: center;
}

#directions h3 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #333;
}

.directions-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}

#directions iframe {
  width: 600px;
  height: 400px;
  border: 0;
  border-radius: 10px;
  max-width: 100%;
}

.opening-times {
  background-color: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  text-align: left;
  width: 280px;
}

.opening-times h4 {
  margin-bottom: 15px;
  color: #222;
  font-size: 1.2rem;
  border-bottom: 2px solid #eee;
  padding-bottom: 5px;
}

.opening-times ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #555;
}

.opening-times li {
  margin-bottom: 10px;
  font-size: 15px;
}

.opening-times strong { color: #111; }

#directions form {
  margin-top: 25px;
   color: #111
}

#directions input {
  padding: 10px;
  width: 300px;
  max-width: 80%;
  border: 1px solid #ccc;
  border-radius: 5px;
}

#directions button {
  margin-left: 10px;
  padding: 10px 20px;
  background-color: #222;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

#directions button:hover { background-color: #444; }

/* =========================
   Footer
========================= */
footer {
  background-color: #222;
  color: #fff;
  font-family: "Poppins", sans-serif;
}
#social ul {
  display: flex;
  flex-direction: column; /* stack vertically on desktop */
  gap: 5px;              /* spacing between items */
  padding: 0;
  margin: 0;
}
.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 40px 10%;
  gap: 30px;
}

.footer-section h3 {
  margin-bottom: 15px;
  font-size: 18px;
}

.footer-section p,
.footer-section a {
  margin-bottom: 10px;
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
}

.footer-section a:hover { color: #fff; }

.footer-bottom {
  text-align: center;
  padding: 20px 10%;
  background-color: #111;
  font-size: 13px;
  margin-top: 20px;
}

.dino-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
}

.dino-modal-content {
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  position: relative;
  box-shadow: 0 0 20px black;
}

#dino-canvas {
  display: block;
  background-color: #f0f0f0;
  border-radius: 8px;
}

.close-dino {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 24px;
  cursor: pointer;
}

/* === Donate Modal === */
.donate-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 10000;
  justify-content: center;
  align-items: center;
}

.donate-content {
  background: #fff;
  padding: 25px;
  max-width: 800px;
  width: 90%;
  max-height: 90vh;       /* 👈 key fix */
  overflow-y: auto;       /* 👈 enables scrolling */
  text-align: center;
  border-radius: 12px;
  position: relative;
}


.zelle-qr {
  width: 100%;
  max-width: 400px;  /* large but safe */
  height: auto;
  margin: 15px auto;
  display: block;
  border: 3px solid #444; /* dark gray border */
  border-radius: 8px;     /* optional rounded corners */
}


.zelle-email {
  display: inline-block;
  margin-top: 10px;
  font-weight: bold;
  color: #333;
  text-decoration: none;
}

.zelle-email:hover {
  text-decoration: underline;
}

.divider {
  margin: 15px 0;
  font-weight: bold;
  color: #777;
}

.donate-btn {
  background: beige;
  color: rgb(44.7%, 26.4%, 14.5%);
  border: none;
  padding: 8px 14px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 6px;
}

.donate-btn:hover {
  background: #e5e5e5;
}

/* Close button for Donate Modal */
.close-donate {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #eee;           /* subtle background */
    color: #333;                /* text color */
    border: none;               /* remove default border */
    font-size: 20px;
    font-weight: bold;
    width: 32px;
    height: 32px;
    border-radius: 50%;         /* circular button */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2); /* subtle shadow */
    transition: background 0.3s, transform 0.2s;
}

.close-donate:hover {
    background: #ddd;
    transform: scale(1.1);       /* slight zoom on hover */
}


@media (max-width: 768px) {
  .donate-content {
    padding: 20px 15px;
    border-radius: 20px 20px 0 0;
  }

  .zelle-qr {
    max-width: 280px;
  }
}



/* =========================
   Responsive Layout
========================= */

/* Tablet */
@media (max-width: 1024px) {
  .container { max-width: 80%; }
  .navbar li { margin-right: 1.5rem; }
  .navbar { padding-left: 0; gap: 2rem; }
  .title-container { margin-left: auto; margin-right: auto; }
}

/* Mobile (portrait) */
@media (max-width: 768px) {
  nav {
    height: auto;
    padding: 10px 0;
    flex-direction: column;
    align-items: center;
  }

  .navbar {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding-left: 0;
  }

  .lang-buttons {
    margin: 10px 0;
    justify-content: center;
  }

  .home { height: 60vh; padding: 20px; }

  .title-container {
    margin: 0 auto;
    padding: 0 5%;
  }

  .title-container h1 {
    font-size: 32px;
    margin-top: 80px;
  }

  .title-container h2 {
    font-size: 18px;
    margin-top: 40px;
  }

  .title-container p {
    font-size: 16px;
    line-height: 1.5; 
    padding: 0 15px;
    margin-top: 40px;
  }

  .directions-container {
    flex-direction: column;
    align-items: center;
  }

  #directions iframe,
  .opening-times {
    width: 90%;
  }

  footer .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
     #social ul {
    flex-direction: row;      /* stack horizontally on mobile */
    justify-content: center;  /* center the row */
    gap: 30px;                /* spacing between items */
  }
}
footer li{
  font-size: larger;
}
/* Desktop: hide mobile paragraphs */
/* Desktop: hide mobile paragraphs */
@media (min-width: 769px) {
  .mobile-paragraph {
    display: none !important; /* force hide on desktop */
  }
}

/* Mobile: hide desktop paragraph */
@media (max-width: 768px) {
  .desktop-paragraph {
    display: none !important; /* force hide on mobile */
  }

  .mobile-paragraph {
    display: block !important; /* ensure mobile paragraph shows */
  }

  .mobile-paragraph p {
    padding: 0 15px;
    margin-bottom: 1em;
    line-height: 1.5;
  }
}


/* Small mobile */
@media (max-width: 480px) {
  .home { height: 50vh; }
  .navbar a { font-size: medium; }
  .prev, .next { font-size: 16px; padding: 8px; }
  .dot { height: 12px; width: 12px; }
  .opening-times { width: 95%; padding: 20px; }

  .title-container h1 { font-size: 26px; }
  .title-container h2 { font-size: 16px; }
  .title-container p { font-size: 14px; }

  #directions input { width: 90%; margin-bottom: 10px; }
  #directions button { width: 90%; margin-left: 0; }
}
