@import url('assets/fonts/montserrat/style.css');

@font-face {
  font-family: 'BrushScript';
  src: url('assets/fonts/BrushScriptOpti-Regular.otf') format('woff2');
  font-weight: normal;
  font-style: normal;
}

:root {
  --menu-item-height: 350px;
  --menu-img-height: 400px;
  --menu-item-height-mobile: 280px;
  --menu-img-height-mobile: 320px;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
  }

h2 {
  font-family: 'BrushScript', serif;
  font-size: 4em;
  color: rgb(255, 0, 0);
}


h3 {
  font-family: 'Montserrat Medium', serif;
}

nav a {
  font-size: 1.25em;
}

nav a, .contact a {
	color: black;
	margin: 0 1rem;
	text-decoration: none;
}
  
a:hover, nav a:hover {
	text-decoration: underline;
}

ul {
	list-style: none;
	padding-left: 1rem;
}

em {
  font-family: 'Montserrat Bold Italic';
}

header {
	background-color: #fefefe;
	color: black;
	padding-top: 1rem;
  padding-bottom: 1rem;
	text-align: center;
  border-bottom: 1px solid #868786;
}

body {
	font-family: 'Montserrat Regular', sans-serif;
	line-height: 1.6;
	background: linear-gradient(to bottom, #55a092 0%, #fefefe 90%);
	color: black;
	padding: 0;
  text-decoration: none;
}
.site-title img {
  max-width: 60vw; 
  height: auto;
  display: block;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .site-title img {
    max-width: 75vw; 
  }
  h2 {
    text-align: center;
  }
}

.subheading {
  font-family: 'Montserrat Light';
  font-size: 1.5em;
  padding-bottom: 1em;
}

.promo-banner {
  position: fixed;
  width: 100%;
  text-align: center;
  font-weight: bold;
  font-size: 1.1rem;
  padding: 1rem;
  color: white;
  background: linear-gradient(270deg, 
    red, orange, yellow, green, blue, indigo, violet, red);
  background-size: 1400% 1400%;
  animation: rainbowShift 15s ease infinite;
  z-index: 1000;
}

@keyframes rainbowShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

main {
	max-width: 1000px;
	margin: 2rem auto;
  padding: 1rem;
}


.intro {
  background-color: #fefefe;
  padding: 2em;
}
  
.intro, .contact, .menu-category {
	margin-bottom: 2rem;
}

.menu {
  background-color: #fefefe;
  border-radius: 1em;
  padding: 1rem;
}

.menu-title {
  padding-left: 1em;
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
  text-align: center;
}

.menu-title h2,
.menu-title em {
  margin: 0;
}

@media (max-width: 768px) {
  .menu-title {
    flex-direction: column;
    gap: 0;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-left: 0;
  }
}

.menu-title h2 {
  display: inline;
}

.menu-title em {
  font-family: 'Montserrat SemiBold Italic';
  font-size: larger;
}

.menu-category {
  margin: 2rem auto;
  padding: 0 2rem;
}

.menu-toggle {
  font-family: 'Montserrat Medium';
  color: black;
  width: 100%;
  text-align: left;
  font-size: 1.5rem;
  padding: 1rem;
  background-color: #eee;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-bottom: 0.5rem;
  transition: background-color 0.2s ease;
}

.menu-toggle:hover {
  background-color: #ddd;
}

.menu-note {
  font-size: 0.9rem;
  color: #555;
  margin-top: 0.25rem;
  margin-bottom: 0.5rem;
  font-style: italic;
}


.menu-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.menu-content.expanded {
  max-height: 100000px;
  padding-top: 1rem;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(var(--menu-item-height), 1fr));
  gap: 3rem;
}

.menu-item {
  border: 1px solid #ccc;
  border-radius: 12px;
  overflow: hidden;
  background-color: #fefefe;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

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

.menu-item img {
  width: 100%;
  max-height: var(--menu-img-height);
  object-fit: cover;
}

@media (max-width: 768px) {

  .menu-category {
    padding: 0 1rem;
  }

  .menu-grid {
    grid-template-columns: repeat(auto-fit, minmax(var(--menu-item-height-mobile), 1fr));
    gap: 2rem;
  }

  .menu-item img {
    max-height: var(--menu-img-height-mobile);
  }
}

.cursor-buoi:hover {
  cursor: url('assets/easter-eggs/buoi-happy-sitting-cursor.png') 16 16, auto;
}

.item-info {
  padding: 1rem;
}

.item-info h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.menu-num {
  display: inline-block;
  text-align: left;
}

.item-info .cn {
  display: block;
  font-weight: normal;
  color: #444;
}

.item-info .translation {
  font-weight: normal;
  font-size: 0.95rem;
  color: #666;
}

.item-info .description {
  margin-bottom: 0.5rem;
  color: #444;
}

.item-info .price {
  font-family: 'Montserrat Medium';
  color: black;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
}

footer {
	text-align: center;
	padding: 1rem 2rem;
	margin-top: 2rem;
  background: linear-gradient(to bottom, transparent, #fefefe);
}

.day {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
  max-width: 400px;
}

.day dt, .day dd {
  margin: 0;
  width: 50%;
}

.day dt {
  text-align: left;
}

.day dd {
  text-align: right;
}

.info-grid {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap; 
  justify-content: space-between;
  align-items: center;
}

.contact, .rightfooter {
  flex: 1 1 300px; 
}

@media (max-width: 768px) {

  .info-grid {
    gap: 1rem; 
  }

  .hours, .contact {
    margin-bottom: 0; 
  }
}

.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.rightfooter {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}

.map-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 aspect ratio */
  overflow: hidden;
  border-radius: 12px;
  margin: 1rem 0;
  position: relative;
  z-index: 0;
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


.hours {
  text-align: center;
}

.hours h3 {
  margin-bottom: 0.25rem;
}

.hours dl {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.day.today {
  background-color: #ffeaa7;
  font-family: 'Montserrat Bold';
  border-radius: 6px;
  padding: 0.25rem 0.5rem;
  box-sizing:unset;
}


.hours .menu-note {
  font-family: 'Montserrat Bold';
  color: black;
  font-style: normal;
}

.menu-note .last-call {
  display: inline;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.social-links a img {
  height: 32px;
  transition: transform 0.2s ease;
}

.social-links a:hover img {
  transform: scale(1.1);
}

.copyright {
  font-size: 0.75em;
}

.versioning {
  text-align: right;
  font-size: 0.5em;
  margin-top: 2em;
}