/* General Styles */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Arial', sans-serif;
  background: url('images/bartop.jpg') no-repeat center center fixed;
  background-size: cover;
  color: white;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
	margin: 0;
}
.main-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;/* Pushes footer to bottom if not enough content */
}

/* Navigation */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 10px 20px;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.logo-container {
  flex-shrink: 0;
}

.logo-container img {
  height: 180px;
  width: auto;
}

.nav-toggle {
  display: none;
  font-size: 1.8rem;
  background: none;
  color: white;
  border: none;
  cursor: pointer;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  flex-grow: 1;
}

.nav-links a {
  color: white;
  text-decoration: none;
  padding: 10px 15px;
  font-size: 1.1rem;
  transition: 0.3s;
}

.nav-links a:hover {
  background-color: #FF0000;
  border-radius: 5px;
}

/* Main Content */
.main-content {
  padding-top: 100px;
	padding-bottom: 50px;
  text-align: center;
}
/* image carosel */
.carousel {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 2rem auto;
  overflow: hidden;
  border-radius: 12px;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

.carousel-track img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  flex-shrink: 0;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.4);
  color: white;
  border: none;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  z-index: 1;
  border-radius: 50%;
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

@media screen and (max-width: 768px) {
  .carousel-btn {
    font-size: 1.5rem;
    padding: 0.3rem 0.6rem;
	  height: auto;
	  width:auto;
  }
}
/* Main Content */
.menu-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 2rem;
}

.menu-item {
  text-align: center;
  cursor: pointer;
  flex: 1 1 250px;
  max-width: 300px;
  transition: transform 0.3s ease;
}

.menu-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.menu-item img:hover {
  transform: scale(1.05);
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 60px;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
  border-radius: 8px;
}

.modal-content:hover {
  transform: none;
}

.close {
  position: absolute;
  top: 30px;
  right: 35px;
  color: #fff;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
}

/* Footer */
footer {

  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
	
  margin-top: auto;
}

.footer-info {
  margin-top: 10px;
}

.social-icons {
  margin-top: 15px;
}

.social-icons i {
  font-size: 2rem;
  margin: 0 10px;
}

/* Responsive Design */

.nav-links {
  display: flex;
  gap: 1rem;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  padding: 0.5rem;
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Responsive behavior */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 1rem;
    text-align: center;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
    color: white;
  }

  .nav-links a {
    padding: 10px 0;
    border-bottom: 1px solid #444;
  }
}
.apply-button {
  background-color: #FF0000;
  color: white;
  padding: 15px 30px;
  font-size: 1.2rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
	text-decoration: none;}
.apply-button:hover {
            background-color: #e04e2a;
        }


/* Optional: Adjust height on smaller screens */
@media screen and (max-width: 768px) {
  .reservation-iframe {
    height: 800px;
  }
}

.reservation-container {
  width: 100%;
  max-width: 1000px;
  margin: 2rem auto;
  padding: 0 1rem;
  min-height: 600px; /* Minimum space reserved for the widget */
  box-sizing: border-box;
}

/* Optional: adjust spacing on mobile */
@media screen and (max-width: 768px) {
  .reservation-container {
    min-height: 700px;
  }
}
/* Events Section */
#events-section {
  max-width: 1000px;
  margin: 3em auto;
  padding: 0 1em;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px,1fr));
  gap: 1.5em;
}

.event-box {
  display: flex;
  flex-direction: column;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  background: #fff;
  transition: transform 0.3s ease;
}

.event-box:hover {
  transform: translateY(-4px);
}

.event-image-wrapper {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.event-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Ribbon date */
.event-date {
  position: absolute;
  top: 20px;
  left: -98px;
  width: 280px;
  transform: rotate(-45deg);
  background: #e84e36;
  color: #fff;
  text-align: center;
  font-size: .80rem;
  font-weight: 700;
  padding: 10px 0;
  z-index: 10;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  letter-spacing: 1px;
  text-transform: uppercase;
  pointer-events: none;
}

.event-box:hover .event-date {
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Title section */
.event-info {
  padding: 1.5em 1em 1em;
  background: #fff;
  text-align: center;
}

.event-info h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #222;
}

/* Hover overlay for extra info */
.hover-info {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 1em;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 0.9rem;
  z-index: 5;
}

.hover-info p {
  margin: 4px 0;
  line-height: 1.3;
}

.event-box:hover .hover-info {
  opacity: 1;
}

div.event-image-wrapper[data_liveedit_tagid="00000000276D13D0"] {
  display: none !important;
}
/* On touch devices: show hover-info below image instead of as overlay */
@media screen and (max-width: 1024px) {
  .event-box {
    display: block; /* ensure flexible stack */
  }
  .event-image-wrapper {
    position: relative;
    width: 100%;
    height: auto; /* let it expand as needed */
  }
  .event-image-wrapper img {
    width: 100%;
    height: auto;
  }
  .hover-info {
    position: static !important;
    opacity: 1 !important;
    width: 100% !important;
    height: auto !important;
    background: rgba(0,0,0,0.85) !important;
    color: #fff !important;
    padding: 1em !important;
    font-size: 0.9rem !important;
    margin-top: 10px !important;
    pointer-events: auto !important;
    display: block !important;
    text-align: center !important;
    z-index: 1 !important;
  }
  /* Keep date ribbon visible on smaller devices */
  .event-date {
    opacity: 1 !important;
  }
}
#events-section h2 {
  text-align: center;
  color: #e84e36;
  margin-top: 1em;
  font-size: 2rem;
  border-bottom: 2px solid #e84e36;
  display: inline-block;
  padding-bottom: 0.5em;
}

#past-events {
  margin-top: 0em;
  opacity: 0.85;
}

.past-events-grid .event-box {
  background-color: #f4f4f4;
}

.past-events-grid .event-info h3 {
  color: #888;
}

.past-events-grid .hover-info {
  background: rgba(50, 50, 50, 0.9);
}

/* Ribbon Styling */
.ribbon-header {
  display: inline-block;
  position: relative;
  background-color: #e84e36;
  color: #fff;
  padding: 0.75em 1.5em;
  font-size: 1.8rem;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
  border-radius: 12px;
  margin: 1.5em auto 1.5em;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.ribbon-header::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #e84e36;
}

/* Past Ribbon Styling */
.past-ribbon {
  background-color: #666;
}

.past-ribbon::after {
  border-top-color: #666;
}


#upcoming-events,
#past-events {
  margin-bottom: 10px;
  padding-bottom: 0;
}

/* Remove extra margin below event boxes */
.event-box:last-child {
  margin-bottom: 0;
}

/* Reduce spacing after Past Events section */
#past-events + * {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
#events-section {
  padding-bottom: 0;
  margin-bottom: 0;
}
.ticket-link-wrap {
  margin-top: 10px;
  text-align: center;
}
.buy-ticket {
  display: inline-block;
  padding: 8px 14px;
  background-color: #4caf50;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}
.buy-ticket:hover {
  background-color: #388e3c;
}
@media (max-width: 600px) {
  .buy-ticket {
    font-size: 16px;
    padding: 10px 20px;
    width: 80%;
  }
}