html {
  font-size: 16px;
}

/* Basic CSS Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: #fff;
  background-color: #000;
}

/* Header & Navigation */
header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6);
  transform: translateY(-100%);
  transition: transform 0.3s ease-in-out;
}
header.visible {
  transform: translateY(0);
}
.nav-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-size: 1.8rem;
  font-weight: 700;
}
nav ul {
  list-style: none;
  display: flex;
  align-items: center;
}
nav ul li {
  margin-left: 20px;
}
nav ul li a {
  text-decoration: none;
  color: #fff;
  transition: color 0.3s;
}
nav ul li a:hover {
  color: #f39c12;
}

/* Social Icons */
.social-icon {
  width: 24px;
  height: auto;
  margin-left: 10px;
  vertical-align: middle;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  padding: 0;
}
.hamburger span {
  display: block;
  height: 3px;
  background: #fff;
  border-radius: 2px;
}

/* Hero Section */
#hero {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}
#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../images/brickwall.jpg') center center/cover no-repeat;
  opacity: 0.4;
  z-index: -1;
}
#hero .content {
  position: relative;
  z-index: 1;
}

/* Pulse glow animation */
@keyframes pulseGlow {
  0%, 100% {
    filter: drop-shadow(0 0 10px rgba(255,105,180,0.6));
  }
  50% {
    filter: drop-shadow(0 0 30px rgba(255,105,180,1));
  }
}
#hero .logo-img {
  max-width: 600px;
  width: clamp(300px, 60vw, 600px);
  height: auto;
  margin-bottom: 20px;
  opacity: 0.75;
  filter: drop-shadow(0 0 10px rgba(255,105,180,0.6));
  animation: pulseGlow 2.5s infinite ease-in-out;
  position: relative;
  top: -60px;
}
#hero p {
  font-size: 1.5rem;
  position: relative;
  top: -60px;
}

/* Main Sections */
section {
  padding: 80px 20px;
  text-align: center;
}

/* About Section Two-Column */
#about .wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
#about .about-text {
  flex: 1 1 300px;
  text-align: left;
  padding-right: 20px;
}
#about .about-text p {
  margin-bottom: 1rem;
}
@media (max-width: 768px) {
  /* remove the max‐width constraint and let it fill the wrapper */
  #about .about-image {
    flex: 0 0 auto;   /* no more shrinking */
    max-width: none;  /* lift the 625px cap */
    width: 100%;      /* fill the available width */
    height: auto;     /* preserve aspect ratio */
    margin: 0;        /* reset any leftover margins */
  }
}


/* Menu Section */
#menu {
  background-color: #111;
}
#menu h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

/* Hours Section */
#hours {
  position: relative;
  background-color: transparent;
}
#hours::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../images/bubbysbar.jpg') center center/cover no-repeat;
  opacity: 0.4;
  z-index: -1;
}

/* — NEW: Center the table and its contents — */
#hours table {
  margin: 0 auto;
  border-collapse: collapse;
}
#hours table td,
#hours table th {
  padding: 8px 15px;
  text-align: center;
}

/* Address Section */
#address {
  background-color: #111;
}
.map-container {
  max-width: 600px;
  margin: 20px auto;
}

/* Contact Section */
#contact {
  background-color: #111;
}
#contact p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 20px;
}

/* Footer */
footer {
  padding: 20px;
  background-color: #000;
  text-align: center;
  color: #fff;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  #hero p {
    font-size: 1.2rem;
  }
  nav ul li {
    margin-left: 10px;
  }
  .map-container iframe {
    width: 100%;
    height: 300px;
  }
  /* Hamburger on mobile */
  .hamburger {
    display: flex;
    margin-right: auto;
  }
  .logo {
    flex: 0 0 auto;
    margin-left: auto;
    font-size: 1.2rem;
    text-align: right;
  }
  nav {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(0,0,0,0.9);
    width: 200px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }
  nav.open {
    transform: translateX(0);
  }
  nav ul {
    flex-direction: column;
    padding: 10px 0;
  }
  nav ul li {
    margin: 10px 0;
    text-align: right;
    margin-right: 20px;
  }
  /* About stacking */
  #about .wrapper {
    flex-direction: column;
  }
  #about .about-image {
    order: -1;
    margin-bottom: 20px;
  }
  #about .about-text {
    padding-right: 0;
  }
}
