:root{
  --cream: #ece6d6;
  --cream-soft: #f2ede0;
  --cream-line: rgba(43,43,34,0.14);
  --dark-green: #232a1e;
  --dark-green-2: #2f3826;
  --copper: #b06a35;
  --copper-dark: #8f5326;
  --text-dark: #2b2b22;
  --text-muted: #6b6a5a;
  --shadow: 0 10px 30px rgba(35,42,30,0.12);
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Poppins', sans-serif;
}

*{ box-sizing: border-box; }

html,body{
  margin:0;
  padding:0;
  min-height:100%;
}

body{
  background-color: var(--cream);
  background-image:
    radial-gradient(ellipse at 20% 10%, rgba(255,255,255,0.5), transparent 60%),
    radial-gradient(ellipse at 80% 90%, rgba(0,0,0,0.03), transparent 55%);
  color: var(--text-dark);
  font-family: var(--font-body);
  position: relative;
  overflow-x: hidden;
  min-height: 100vh;
}

.decor{
  position: fixed;
  pointer-events: none;
  z-index: 0;
}
.decor-top-right{
  top: -18px;
  right: -18px;
  width: min(42vw, 360px);
  height: auto;
  filter: drop-shadow(-6px 10px 16px rgba(20,28,15,0.18));
}
.decor-bottom-left{
  bottom: -16px;
  left: -22px;
  width: min(32vw, 260px);
  height: auto;
  filter: drop-shadow(4px -6px 14px rgba(20,28,15,0.14));
}

.frond-1{ fill: #202d1a; }
.frond-2{ fill: #2a3b22; }
.frond-3{ fill: #35502a; }
.frond-4{ fill: #446234; }
.frond-5{ fill: #547a45; }

.frond-veins path,
.frond-vein-main{
  stroke: rgba(233,227,210,0.32);
  stroke-width: 2;
  stroke-linecap: round;
}
.frond-vein-main{ stroke-width: 2.2; opacity: 0.4; }

.page{
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 2rem;
}

/* Header */
.site-header{
  text-align: center;
  margin-bottom: 2.2rem;
}

.emblem{
  width: 74px;
  margin: 0 auto 0.6rem;
}
.emblem svg{ width:100%; height:auto; display:block; }

.brand{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.8rem;
  letter-spacing: 0.35em;
  margin: 0.2rem 0 0.3rem;
  padding-left: 0.35em; /* optical centering for letter-spacing */
  color: var(--dark-green);
}

.tagline{
  margin: 0 0 1.8rem;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.tabs{
  position: relative;
  display: inline-flex;
  gap: 0.4rem;
  background: rgba(255,255,255,0.4);
  border: 1px solid var(--cream-line);
  border-radius: 999px;
  padding: 6px;
}

.tab-btn{
  position: relative;
  z-index: 2;
  border: none;
  background: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dark);
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  transition: color 0.35s ease;
}

.tab-btn.active{
  color: var(--cream);
}

.tab-indicator{
  position: absolute;
  top: 6px;
  left: 6px;
  height: calc(100% - 12px);
  width: 100px;
  background: var(--dark-green);
  border-radius: 999px;
  z-index: 1;
  transition: transform 0.45s cubic-bezier(.65,0,.35,1), width 0.45s cubic-bezier(.65,0,.35,1);
}

/* Menu */
.menu-wrap{
  min-height: 420px;
}

.menu-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.1rem;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.menu-grid.is-switching,
.bev-panel.is-switching{
  opacity: 0;
  transform: translateY(10px) scale(0.98);
}

.menu-item{
  background: rgba(255,255,255,0.42);
  border: 1px solid var(--cream-line);
  border-radius: 16px;
  padding: 1.15rem 1.3rem;
  backdrop-filter: blur(3px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  opacity: 0;
  transform: translateY(18px);
  animation: itemIn 0.55s ease forwards;
  animation-delay: calc(var(--i, 0) * 70ms);
}

.menu-item:hover{
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  background: rgba(255,255,255,0.62);
}

@keyframes itemIn{
  from{ opacity: 0; transform: translateY(18px); }
  to{ opacity: 1; transform: translateY(0); }
}

.item-row{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.8rem;
}

.item-name{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--dark-green);
}

.item-price{
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--copper-dark);
  white-space: nowrap;
}

.item-portion{
  margin: 0.25rem 0 0;
  font-size: 0.78rem;
  font-style: italic;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* Beverage list */
.bev-panel{
  display: block;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.bev-section{
  margin: 0 0 2rem;
}

.bev-section-head{
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  border-bottom: 2px solid var(--copper);
  padding-bottom: 0.4rem;
  margin-bottom: 0.2rem;
}

.bev-section-head h3{
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--copper-dark);
  margin: 0;
}

.bev-col-labels{
  display: flex;
  gap: 1.6rem;
  padding-bottom: 0.2rem;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

.bev-col-labels span{
  min-width: 34px;
  text-align: right;
}

.bev-swatch{
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 8px;
  border: 2px solid var(--copper);
  background-image: repeating-conic-gradient(var(--copper) 0% 25%, var(--cream-soft) 0% 50%);
  background-size: 9px 9px;
}

.bev-list{
  list-style: none;
  margin: 0;
  padding: 0;
}

.bev-item{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px dashed var(--cream-line);
  opacity: 0;
  transform: translateY(14px);
  animation: itemIn 0.5s ease forwards;
  animation-delay: calc(var(--i, 0) * 45ms);
}

.bev-item:last-child{
  border-bottom: none;
}

.bev-item-main{
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.bev-item-name{
  font-weight: 600;
  color: var(--dark-green);
  font-size: 0.98rem;
}

.bev-item-desc{
  font-size: 0.72rem;
  font-style: italic;
  color: var(--text-muted);
  margin-top: 0.15rem;
  max-width: 320px;
}

.bev-item-prices{
  display: flex;
  gap: 1.6rem;
  font-weight: 600;
  color: var(--copper-dark);
  font-size: 0.95rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.bev-item-prices span{
  min-width: 34px;
  text-align: right;
}

.bev-special .bev-item-name{
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}

/* Decorative dividers between liquor categories */
.bev-divider{
  width: min(100%, 420px);
  margin: 1.6rem auto 2.2rem;
}

.bev-divider svg{
  width: 100%;
  height: 22px;
  display: block;
}

/* Decorative section banners */
.bev-banner{
  text-align: center;
  margin: 1.2rem 0 2.2rem;
}

.bev-banner-title{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--copper-dark);
  margin: 0.5rem 0 0;
}

.bev-banner-zigzag .bev-zigzag{
  width: min(100%, 360px);
  height: 22px;
  display: block;
  margin: 0 auto;
}

.bev-banner-waves{
  background: var(--dark-green);
  border-radius: 18px;
  padding: 1rem 1.4rem 0.3rem;
}

.bev-banner-waves .bev-waves{
  width: min(100%, 260px);
  display: block;
  margin: 0 auto;
}

.bev-banner-waves .bev-banner-title{
  color: var(--cream);
}

/* Footer */
.site-footer{
  margin-top: 3.5rem;
  padding-top: 2.4rem;
  border-top: 1px dashed var(--cream-line);
  text-align: center;
}

.footer-inner{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.7rem;
  width: 100%;
}

.footer-logo{
  width: 110px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}
.footer-logo svg,
.footer-logo img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.footer-text{
  max-width: 380px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0.2rem 0;
  line-height: 1.5;
}

.footer-social{
  display: flex;
  gap: 0.9rem;
  margin: 0.3rem 0;
}

.social-icon{
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--cream-line);
  color: var(--dark-green);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.social-icon svg{ width: 18px; height: 18px; }
.social-icon:hover{
  background: var(--dark-green);
  color: var(--cream);
  transform: translateY(-3px);
}

.footer-copy{
  font-size: 0.72rem;
  color: var(--text-muted);
  opacity: 0.75;
  margin: 0.4rem 0 0;
}

/* Admin mini button */
.admin-btn{
  position: fixed;
  left: 18px;
  bottom: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--cream-line);
  background: rgba(255,255,255,0.55);
  color: var(--dark-green);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  transition: transform 0.25s ease, background 0.25s ease, opacity 0.25s ease;
  z-index: 20;
  opacity: 0.55;
}
.admin-btn svg{ width: 19px; height: 19px; }
.admin-btn:hover{
  opacity: 1;
  transform: scale(1.08);
  background: var(--dark-green);
  color: var(--cream);
}

/* Modal */
.modal-overlay{
  position: fixed;
  inset: 0;
  background: rgba(20,24,16,0.55);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  padding: 1rem;
}
.modal-overlay.open{
  opacity: 1;
  visibility: visible;
}

.modal-box{
  position: relative;
  width: 100%;
  max-width: 340px;
  background: linear-gradient(160deg, var(--dark-green), var(--dark-green-2));
  color: var(--cream);
  border-radius: 20px;
  padding: 2rem 1.8rem 1.8rem;
  text-align: center;
  border: 1px solid rgba(233,227,210,0.15);
  box-shadow: 0 25px 60px rgba(0,0,0,0.35);
  transform: translateY(24px) scale(0.96);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(.34,1.56,.64,1), opacity 0.35s ease;
}
.modal-overlay.open .modal-box{
  transform: translateY(0) scale(1);
  opacity: 1;
}

.modal-close{
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.modal-close:hover{ opacity: 1; transform: rotate(90deg); }

.modal-emblem{ width: 52px; margin: 0 auto 0.4rem; }
.modal-emblem svg{ width: 100%; height: auto; }

.modal-box h2{
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: 0.12em;
  margin: 0.2rem 0 0.2rem;
  text-transform: uppercase;
}

.modal-sub{
  font-size: 0.8rem;
  color: rgba(233,227,210,0.65);
  margin: 0 0 1.4rem;
}

.field{
  display: block;
  text-align: left;
  margin-bottom: 1rem;
}
.field span{
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(233,227,210,0.6);
  margin-bottom: 0.35rem;
}
.field input{
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(233,227,210,0.25);
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--cream);
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.field input::placeholder{ color: rgba(233,227,210,0.35); }
.field input:focus{
  border-color: var(--copper);
  background: rgba(255,255,255,0.1);
}
.field.error input{
  border-color: #c66;
  animation: shake 0.4s ease;
}

@keyframes shake{
  0%,100%{ transform: translateX(0); }
  25%{ transform: translateX(-6px); }
  75%{ transform: translateX(6px); }
}

.modal-submit{
  width: 100%;
  border: none;
  background: var(--copper);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  padding: 0.75rem;
  border-radius: 10px;
  cursor: pointer;
  margin-top: 0.3rem;
  transition: background 0.25s ease, transform 0.2s ease;
}
.modal-submit:hover{ background: var(--copper-dark); }
.modal-submit:active{ transform: scale(0.97); }

.modal-message{
  min-height: 1.2em;
  font-size: 0.8rem;
  margin: 0.8rem 0 0;
  color: #9fd6a3;
}
.modal-message.error{ color: #e39a9a; }

@media (max-width: 480px){
  .brand{ font-size: 2.2rem; letter-spacing: 0.28em; }
  .tab-btn{ padding: 0.6rem 1.1rem; font-size: 0.82rem; }
}
