/* Common Styles - B&B The Butter and Batter House */
/* Shared between all menu pages */

:root {
  --gold: #da9f5b;
  --gold-light: #e8b97a;
  --dark: #1a0f0a;
  --dark-lighter: #33211d;
  --cream: #f5ebe0;
}

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

body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(
    135deg,
    var(--dark) 0%,
    var(--dark-lighter) 50%,
    var(--dark) 100%
  );
  min-height: 100vh;
  color: #fff;
}

/* ================================
   Glass Card - Shared Base
================================ */
.glass-card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 50%,
    rgba(218, 159, 91, 0.05) 100%
  );
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Glass shine effect */
.glass-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.6s ease;
}

/* Top accent line */
.glass-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--gold),
    var(--gold-light),
    var(--gold),
    transparent
  );
  opacity: 0.5;
}

.glass-card:hover {
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35), 0 0 30px rgba(218, 159, 91, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  border-color: rgba(218, 159, 91, 0.3);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.15) 0%,
    rgba(255, 255, 255, 0.08) 50%,
    rgba(218, 159, 91, 0.08) 100%
  );
}

.glass-card:hover::before {
  left: 100%;
}

.glass-card:hover::after {
  opacity: 1;
}

/* ================================
   Floating Contact Button
================================ */
.floating-contact {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
}

.floating-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, #c4894d 100%);
  border: none;
  color: var(--dark);
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(218, 159, 91, 0.4);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(218, 159, 91, 0.5);
}

.contact-popover {
  position: absolute;
  bottom: 70px;
  right: 0;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  width: 280px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.95);
  transition: all 0.3s ease;
}

.contact-popover.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.popover-header {
  background: linear-gradient(135deg, var(--dark) 0%, #33211d 100%);
  color: var(--gold);
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}

.popover-close {
  background: none;
  border: none;
  color: var(--gold);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}

.popover-close:hover {
  color: #fff;
}

.contact-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  text-decoration: none;
  transition: all 0.2s ease;
  border-bottom: 1px solid #f0f0f0;
}

.contact-option:last-child {
  border-bottom: none;
}

.contact-option:hover {
  background: #f8f8f8;
  text-decoration: none;
}

.contact-option i {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
}

.contact-option.whatsapp i {
  background: #25d366;
}

.contact-option.instagram i {
  background: linear-gradient(
    45deg,
    #f09433,
    #e6683c,
    #dc2743,
    #cc2366,
    #bc1888
  );
}

.option-text {
  display: flex;
  flex-direction: column;
}

.option-title {
  color: #1a0f0a;
  font-weight: 600;
  font-size: 0.95rem;
}

.option-desc {
  color: #888;
  font-size: 0.8rem;
}

/* ================================
   Footer
================================ */
.menu-footer {
  background: linear-gradient(
    180deg,
    rgba(26, 15, 10, 0) 0%,
    rgba(26, 15, 10, 1) 20%
  );
  padding: 3rem 2rem 1.5rem;
  margin-top: 3rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.footer-contact {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-contact p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.footer-contact i {
  color: var(--gold);
  margin-right: 0.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(218, 159, 91, 0.4);
  border-radius: 50%;
  color: var(--gold);
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(218, 159, 91, 0.3);
}

.footer-copyright {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
}

/* ================================
   Responsive - Common
================================ */
@media (max-width: 576px) {
  .floating-contact {
    right: 20px;
    bottom: 20px;
  }

  .contact-popover {
    width: 260px;
    right: -10px;
  }

  .footer-contact {
    flex-direction: column;
    gap: 0.5rem;
  }
}

