/* General Styling */
body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-color: #111;
  color: #f4f4f4;
  line-height: 1.6;
  letter-spacing: 0.5px;
}

h1,
h2 {
  font-family: 'Dancing Script', cursive;
  font-weight: 700;
  letter-spacing: 1px;
}

h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

h2 {
  font-size: 2rem;
  color: #ff5f57;
  margin-bottom: 15px;
}

/* Header Styling */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgb(65, 0, 0);
  padding: 10px 0;
  transition: background-color 0.3s, box-shadow 0.3s;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.726);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60px;
}

header.scrolled {
  background-color: rgba(34, 34, 34, 0.692);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.822);
}

/* Navigation Styling */
nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  padding: 0;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 10px 20px;
  transition: color 0.3s, transform 0.2s;
}

nav ul li a:hover {
  color: #36ad1e;
  transform: scale(1.1);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
  position: relative;
}

.hamburger .bar {
  width: 30px;
  height: 4px;
  background-color: white;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Section Styling */
section {
  padding: 40px 20px;
  background-color: #1a1a1a;
  text-align: center;
}

/* Button Styling */
.cta-button,
.buy-coffee-button,
form button {
  padding: 15px 20px;
  background-color: #ff5f57;
  color: white;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 20px;
  margin-bottom: 15px;
  display: inline-block;
  min-width: 200px;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease-in-out;
}

.cta-button:hover,
.buy-coffee-button:hover,
form button:hover {
  background-color: #36ad1e;
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
  margin-top: 60px;
  background-color: #333;
  text-align: center;
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.hero video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.hero .overlay {
  position: relative;
  z-index: 1;
  padding: 20px;
}

.hero h1 {
  font-size: 3.5rem;
  margin: 0;
  font-weight: 700;
  color: white;
}

.hero p {
  font-size: 1.5rem;
  margin: 10px 0;
  color: white;
}

/* Form & Input Styling */
form input,
form textarea {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border-radius: 5px;
  border: 1px solid #ccc;
  background-color: #333;
  color: white;
}

form input:focus,
form textarea:focus {
  background-color: #444;
  transform: scale(1.02);
  outline: none;
}

/* Footer */
footer {
  text-align: center;
  background-color: #111;
  color: #ccc;
  padding: 30px;
}

footer p {
  font-size: 1rem;
}

/*List*/
.auto-day {
  list-style-type: none !important;
}

/* Gallery */
.gallery-container {
  display: flex;
  flex-wrap: nowrap;
  /* No wrapping to keep images in a single row */
  /*animation: auto-scroll 30s linear infinite;*/
}

.gallery-container img {
  flex-shrink: 0;
  width: 100%;
  /* Adjust this to control image size */
  max-width: 300px;
  /* Ensure the images don't get too large */
  height: auto;
  scroll-snap-align: center;
}

.gallery {
  display: flex;
  overflow-x: auto;
  /* Enable horizontal scrolling */
  gap: 15px;
  /* Space between tiles */
  padding: 20px;
  object-fit: cover;
  scroll-snap-type: x mandatory;
  /* Enable snap-to-tile behavior */
  scroll-behavior: smooth;
  /* Smooth scrolling */
  overflow: hidden;
  /* Hide the overflow to make scrolling cleaner */
  -webkit-overflow-scrolling: touch;
  /* Ensure smooth scrolling on iOS */
}

.gallery img {
  width: 300px;
  /* Set a wider tile */
  height: 200px;
  /* Set a different height for a rectangular tile */
  object-fit: cover;
  /* Crop the image to fill the container without distortion */
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.705);
  scroll-snap-align: start;
  /* Ensure images snap into place */
  cursor: pointer;
  /* Make images clickable */
  transition: transform 0.3s ease-in-out;
  transform: scale(.9);
}

/* Optional: Image hover effect */
.gallery img:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease-in-out;
}

/* Pause scrolling when hovered */
.gallery:hover .gallery-container {
  animation-play-state: paused;
  /* Pause scrolling when the user hovers over the gallery */
}

/* Optional: Hide scrollbar for a cleaner look (optional, works on most browsers) */
.gallery::-webkit-scrollbar {
  display: none;
}

.gallery {
  -ms-overflow-style: none;
  /* For Internet Explorer 10+ */
  scrollbar-width: none;
  /* For Firefox */
}

/* Animation to scroll the images horizontally */
@keyframes auto-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
    /* Scroll by half the width of the container */
  }
}

/* Gallery Wrapper */
.gallery-wrapper {
  position: relative;
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  width: 100%;
  /* Make sure it takes the full width */
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* Prevents overflow of images outside the gallery area */
}

/* Arrow Button Styling */
.arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  font-size: 2rem;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
  transition: background-color 0.3s ease;
}

.arrow-btn:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.left {
  left: 10px;
}

.right {
  right: 10px;
}

/* Hide the arrows on mobile */
.arrow-btn {
  display: block;
  /* Default: show arrows */
}

/* Modal Styles */
.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stays in place when scrolling */
  z-index: 1000;
  /* Ensure it's above all other content */
  top: 15%;
  left: 15%;
  width: 70%;
  height: 70%;
  background-color: rgba(0, 0, 0, 0.836);
  /* Dark background */
  align-items: center;
  justify-content: center;
  overflow: auto;
  /* Allow scrolling if the image is larger than the screen */
  padding: 20px;
  /* Some padding around the content */
  text-align: center;
  /* Center-align the modal content */
  flex-direction: column;
  /* Stack elements vertically */
  border-radius: 30px;
}

/* Modal Alt Text */
.modal-alt-text {
  font-family: 'Dancing Script', cursive;
  color: white;
  font-size: 1.2rem;
  top: 20px;
  margin-bottom: 15px;
  /* Space between alt text and the image */
  font-weight: 600;
  text-align: center;
  /* Ensure the alt text is centered */
}

/* Modal Content (Image) */
.modal-content {
  max-width: 75%;
  max-height: 75%;
  object-fit: contain;
  /* Preserve aspect ratio of the image */
  margin: auto;
  border-radius: 10px;
}

/* Solid Black Header when Modal is Open */
header.solid-black {
  background-color: black !important;
  /* Override existing background */
  transition: background-color 0.3s ease;
  /* Smooth transition */
}

/* Close Button */
.close-btn {
  position: absolute;
  top: 20px;
  right: 60px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  z-index: 1100;
}

/* Schedule */
.schedule-list {
  list-style: none;
  padding: 0;
}

.schedule-list li {
  font-size: 1.2em;
  margin: 10px 0;
}


/* About Section */
.about-container {
  width: 80%;
  /* Adjust width as needed */
  max-width: 800px;
  /* Max width for responsiveness */
  margin: 0 auto;
  /* Centers the container horizontally */
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.6);
  /* Slightly dark background for contrast */
  color: white;
  /* White text */
  border: 1px solid white;
  /* Thin white border */
  border-radius: 10px;
  /* Rounded corners */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.849);
  /* Drop shadow */
  text-align: center;
  /* Center the text */
}

.about-container p {
  line-height: 1.6;
  /* Spacing between paragraphs */
  font-size: 1.1em;
  /* Slightly larger text for readability */
}


/* Contact Section */
.contact-container {
  width: 80%;
  /* Adjust width as needed */
  max-width: 600px;
  /* Max width for the form container */
  margin: 0 auto;
  /* Centers the container horizontally */
  padding: 30px;
  background-color: rgba(0, 0, 0, 0.6);
  /* Slightly dark background for contrast */
  color: white;
  /* White text */
  border: 1px solid white;
  /* Thin white border */
  border-radius: 10px;
  /* Rounded corners */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.849);
  /* Drop shadow */
  text-align: center;
  /* Center the text */
}

.contact-container form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  /* Space between form fields */
  align-items: center;
}

.contact-container input,
.contact-container textarea {
  padding: 10px;
  font-size: 1em;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.contact-container button {
  padding: 12px 20px;
  /* Larger padding for a better button size */
  font-size: 1.2em;
  border-radius: 5px;
  border: none;
  background-color: #ff5f57;
  color: white;
  cursor: pointer;
  text-align: center;
  /* Ensure button text is centered */
  margin: 20px auto 0;
  /* Center the button with automatic margins */
  display: block;
  /* Makes the button a block-level element to center it */
}

.contact-container button:hover {
  background-color: #45a049;
  /* Slightly darker on hover */
}

.contact-container input:focus,
.contact-container textarea:focus,
.contact-container button:focus {
  outline: none;
  border-color: #4CAF50;
  /* Green border on focus */
}




/* Media Queries for Mobile Optimization */

/* Mobile: Max-width 768px */
@media (max-width: 768px) {
  header.scrolled {
    background-color: rgba(65, 0, 0, 0.9);
  }

  #menu {
    display: none;
    flex-direction: column;
    background-color: rgba(65, 0, 0, 0.9);
    position: absolute;
    width: 100%;
    top: 60px;
    left: 0;
    padding: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.842);
  }

  nav ul li {
    margin: 10px 0;
    text-align: center;
  }

  .hamburger {
    display: flex;
    position: absolute;
    right: 20px;
  }

  #menu.active {
    display: flex;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.2rem;
  }

  .cta-button,
  .buy-coffee-button,
  form button {
    font-size: 1rem;
    padding: 12px 25px;
    min-width: 150px;
  }

  .hero {
    padding: 40px 15px;
  }

  /* Hide arrows on mobile */
  .arrow-btn {
    display: none;
  }

  /* Allow gallery to be scrollable horizontally */
  .gallery-wrapper {
    overflow-x: scroll;
    /* Enable scrolling */
  }

  .gallery {
    gap: 10px;
    /* Reduce gap between images for better mobile viewing */
  }

  .gallery-container {
    display: flex;
    flex-wrap: nowrap;
  }
}



/* Mobile: Max-width 480px */
@media (max-width: 480px) {
  body {
    font-size: 13px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .cta-button,
  .buy-coffee-button,
  form button {
    font-size: 0.9rem;
    padding: 10px 20px;
    min-width: 120px;
  }

  .hero {
    padding: 40px 15px;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  form input,
  form textarea {
    padding: 8px;
  }

  footer {
    padding: 20px;
  }
}