/* style.css */
:root {
  --primary-color: #7e0000;
  --secondary-color: #aa0000;
  --china-garden-yellow: #d6a340;
  --bg-color: #fff6f6;
  --card-bg: #fff0f0;
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

body {
  margin: 0;
  padding: 7rem 0 0 0;
  min-height: 100vh;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg-color);
  color: var(--primary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  line-height: 1.6;
  flex-direction: column;
}

.container {
  max-width: 1000px;
  width: 90%;
  padding: 2rem;
  margin: 0 auto;
}

.hero {
  margin-bottom: 4rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 0.5rem;
  color: var(--primary-color);
  font-weight: bold;
}

h2 {
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.tagline {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Announcement Banner Styles */
.announcement-banner {
  width: 100%;
  background: var(--secondary-color);
  color: #fff;
  padding: 0.75rem 0.5rem;
  text-align: center;
  position: fixed;
  top: 76px; /* Height of the navbar */
  left: 0;
  z-index: 2000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: slideDown 0.7s cubic-bezier(0.23, 1.01, 0.32, 1) 1;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.announcement-content {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1200px;
  gap: 1rem;
  position: relative;
}

.announcement-text {
  font-size: 1rem;
  line-height: 1.5;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.announcement-banner .menu-link {
  background: #fff;
  color: var(--primary-color);
  margin-left: 0.5rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 4px;
  font-size: 0.95rem;
  box-shadow: none;
}

.announcement-banner .menu-link:hover {
  background: #ffeaea;
  color: var(--secondary-color);
}

.close-banner {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  margin-left: 1rem;
  cursor: pointer;
  padding: 0 0.5rem;
  line-height: 1;
  transition: color 0.2s;
}
.close-banner:hover {
  color: #ffd6d6;
}

/* Navbar should always be directly below the banner */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--primary-color);
  padding: 0.5rem 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo img {
  height: 60px;
  width: auto;
  display: block;
}

/* .site-title {
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 1px;
} */

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links li {
  margin: auto;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s ease;
  padding: 0.5rem 0;
}

.nav-links a:hover,
.nav-links a.active {
  opacity: 0.8;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: white;
  transition: all 0.3s ease;
}

.main-content {
  width: 100%;
}
.hero-section {
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  padding: 0;
  box-shadow: none;
  min-height: 100vh;
  padding-bottom: 20vh;
}

.hero-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  min-height: 340px;
  position: relative;
  border: none;
  padding: 0 10%;
}

.hero-text {
  flex: 1.1;
  padding: 48px 40px 48px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: transparent;
}

.hero-text h2 {
  font-size: 1.18rem;
  color: #444;
  margin-bottom: 28px;
  line-height: 1.5;
  font-weight: 400;
}

.cta-button {
  display: inline-block;
  background: var(--secondary-color) !important;
  color: #fff !important;
  padding: 13px 32px !important;
  border-radius: 100px !important;
  font-size: 1.08rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(178, 59, 27, 0.1) !important;
  transition: background 0.2s, box-shadow 0.2s, transform 0.1s !important;
  border: none !important;
  outline: none !important;
  letter-spacing: 0.5px !important;
  align-self: center !important;
}
.cta-button:hover {
  background: var(--primary-color) !important;
  box-shadow: 0 4px 16px rgba(178, 59, 27, 0.18) !important;
  transform: translateY(-2px) scale(1.04) !important;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  max-width: 300px;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
}

.about-section {
  background: #fff;
  padding: 48px 0;
}
.about-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 32px;
  box-sizing: border-box;
}
.about-content h2 {
  font-size: 2.2rem;
  margin-bottom: 18px;
  color: #b22222;
  text-align: left;
  text-align: center;
  font-weight: bold;
}
.about-content p {
  font-size: 1.13rem;
  line-height: 1.7;
  margin-bottom: 16px;
  color: #222;
}

/* Gallery Section Styles */
.gallery-section {
  padding: 48px 0;
}

.gallery-section h2 {
  font-size: 2.2rem;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem 2rem;
  justify-content: center;
  align-items: flex-start;
  margin-top: 2rem;
}
.gallery figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
}
.gallery img {
  max-width: 250px;
  width: 100%;
  height: 250px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin-bottom: 0.75rem;
}
.gallery figcaption {
  font-size: 1rem;
  color: #b22222;
  margin-top: 0.25rem;
  text-align: center;
  font-weight: 500;
}

/* Hide banner and shift content up when banner is closed */
.banner-hidden .announcement-banner {
  display: none !important;
}
.banner-hidden .navbar {
  top: 0 !important;
}
.banner-hidden body {
  padding-top: 64px !important; /* Only navbar height */
}

#menu {
  padding-bottom: 48px;
}

#menu a {
  padding: 0.5rem 1rem;
  background-color: #7e0000;
  text-decoration: none;
  color: white;
  border-radius: 4px;
}
/* Contact Section Styles */
.contact-section {
  background: #2d2d2d;
  color: #fff;
  padding: 56px 0 0 0;
}
.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0 2rem;
}
.contact-info {
  flex: 0 0 50%;
  min-width: 0;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.contact-block h3 {
  color: var(--china-garden-yellow);
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
  font-weight: 200;
  letter-spacing: 0.5px;
}
.contact-block p,
.contact-block a {
  color: #fff;
  font-size: 1.08rem;
  margin: 0;
  text-decoration: none;
}
.contact-block a:hover {
  text-decoration: underline;
}
.contact-map {
  flex: 0 0 50%;
  min-width: 0;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-map iframe {
  width: 100%;
  height: 300px;
  border: none;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

#about,
#gallery,
#contact,
#menu {
  scroll-margin-top: 112px;
}

span.glf-button {
  display: inline-block;
  padding: 0.5rem 16px;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 1.5rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--china-garden-yellow);
  color: #fff !important;
  margin: 2px;
}

.site-footer {
  background: #2d2d2d;
  color: #fff;
  padding: 1.5rem 0;
  text-align: center;
  font-size: 1rem;
  margin-top: 0;
  width: 100vw;
}
.footer-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.footer-social {
  color: #fff;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s, transform 0.2s, box-shadow 0.2s;
  margin-left: 0.5rem;
}
.footer-social:hover {
  transform: translateY(-2px) scale(1.08);
}
