/* Color palette */
:root {
  --navbar-footer-color: #1a1a1a;

  --primary-gold: #a8844f;
  --primary-gold-hover: #c59d5f;

  --secondary-gold-active: #f0d6ab;

  --text-main: #f4efe7;
  --text-secondary: #cfcfcf;

  --secondary-clear-background: #eae3d6;

  --fc-border-color: #c59d5f;
  --fc-daygrid-event-dot-width: 8px;

  --fc-button-text-color: #eae3d6;
  --fc-button-bg-color: #a8844f;
  --fc-button-border-color: #a8844f;

  --fc-button-hover-bg-color: #c59d5f;
  --fc-button-hover-border-color: #c59d5f;

  --fc-button-active-bg-color: #f0d6ab;
  --fc-button-active-border-color: #f0d6ab;
}

/* General theme */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
}

body.modal-open {
  overflow: hidden;
}

.clear-title {
  color: var(--text-main);
}

.clear-big-title {
  font-size: 35px;
  font-weight: 600;
  margin-bottom: 25px;
  letter-spacing: 1px;
  color: var(--text-main);
}

.grayish-p {
  color: var(--text-secondary);
}

.small-text {
  font-size: 13px;
}

.custom-padding {
  margin-bottom: 20px;
}

.custom-large-separator {
  height: 3px;
  width: 240px;
  margin: 20px auto 40px auto;
  background: var(--primary-gold-hover);
}

.custom-small-separator {
  height: 3px;
  width: 42px;
  margin: 20px auto 40px auto;
  background: var(--primary-gold-hover);
}

.dark-title {
  font-size: 35px;
  font-weight: 600;
  margin-bottom: 25px;
  letter-spacing: 1px;
  color: var(--navbar-footer-color);
}

a {
  text-decoration-line: none;
}

/* Navbar */
.navbar {
  top: 0;
  width: 100%;
  z-index: 1000;
  position: fixed;
  background: var(--navbar-footer-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

.nav-logo img {
  max-height: 20px;
}

.principal-logo {
  max-width: 500px;
  padding-bottom: 50px;
}

.nav-links {
  gap: 0 30px;
  display: flex;
  list-style: none;
}

.nav-links a {
  color: white;
  font-size: 15px;
  transition: 0.3s;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--primary-gold-hover);
}

.menu-toggle {
  display: none;
  color: white;
  cursor: pointer;
  font-size: 26px;
}

/* Buttons */
.btn-primary {
  border: none;
  color: white;
  cursor: pointer;
  font-size: 20px;
  transition: 0.3s;
  padding: 12px 40px;
  border-radius: 6px;
  background: var(--primary-gold);
}

.btn-cancel {
  border: none;
  color: white;
  cursor: pointer;
  font-size: 20px;
  transition: 0.3s;
  padding: 12px 40px;
  border-radius: 6px;
  background: red;
}

.btn-cancel:hover {
  background: rgb(255, 94, 94);
}

.btn-primary:hover {
  background: var(--primary-gold-hover);
}

.btn-primary a {
  text-underline-offset: null;
}

/* For carousel intro */
.hero {
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  position: relative;
}

.carousel {
  width: 100%;
  height: 100%;
  position: absolute;
}

.slide {
  opacity: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  background-size: cover;
  background-position: center;
  transition: opacity 1.5s ease;
}

.slide.active {
  opacity: 1;
}

.overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  background: rgba(0, 0, 0, 0.7);
}

/* Carousel top stack content */
.hero-content {
  top: 50%;
  left: 50%;
  padding: 20px;
  color: white;
  text-align: center;
  position: absolute;
  transform: translate(-50%, -50%);
}

.hero-content h1 {
  margin-bottom: 20px;
  font-size: clamp(32px, 5vw, 70px);
}

.hero-content p {
  margin-bottom: 30px;
  font-size: clamp(16px, 2vw, 24px);
}

/* Description */
.info-section {
  display: flex;
  padding: 80px 20px;
  justify-content: center;
}

.info-container {
  max-width: 800px;
  text-align: center;
}

.info-text {
  font-size: 18px;
  line-height: 1.8;
  text-align: center;
  padding-bottom: 24px;
  color: var(--navbar-footer-color);
}

.info-text-bright {
  color: white;
  font-size: 18px;
  line-height: 1.8;
}

/* Menu section */
.menu-section {
  padding: 80px 20px;
  background-color: var(--text-main);
}

.menu-container {
  margin: 0 auto;
  max-width: 1200px;
  text-align: center;
}

.cards-container {
  gap: 35px;
  display: grid;
  margin-top: 24px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.menu-card {
  overflow: hidden;
  border-radius: 24px;
  transition: 0.3s ease;
  background-color: white;
  border: 2px solid var(--primary-gold);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.menu-card:hover {
  cursor: pointer;
  transform: scale(1.05) translateY(-5px);
}

.menu-card img {
  width: 100%;
  height: 200px;
  display: block;
  object-fit: cover;
}

.card-title {
  padding: 20px;
  color: black;
  font-weight: 600;
  font-size: 1.5rem;
  background: var(--secondary-gold-active);
}

.card-content {
  padding: 20px;
}

.card-content p {
  color: black;
  font-size: 1rem;
  line-height: 1.8;
}

/* Contact section */
.contact-section {
  display: flex;
  position: relative;
  align-items: center;
  padding: 120px 20px;
  background-size: cover;
  justify-content: center;
  background-position: center;
  background-image: url("../images/contact-bg.webp");
}

.contact-overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  backdrop-filter: blur(2px);
  background: rgba(0, 0, 0, 0.55);
}

.contact-card {
  width: 100%;
  padding: 50px;
  max-width: 800px;
  position: relative;
  text-align: center;
  border-radius: 10px;
  background: var(--text-main);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.reservation-timeline {
  width: 100%;
  display: flex;
  margin: 40px auto;
  max-width: 1000px;
  padding: 0 0 100px;
  position: relative;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
}

.reservation-track,
.reservation-progress {
  top: 64px;
  left: 10%;
  width: 80%;
  height: 3px;
  position: absolute;
  border-radius: 10px;
}

.reservation-track {
  background: var(--primary-gold);
}

.reservation-progress {
  width: 0;
  transition: width 0.4s ease;
}

.reservation-step {
  width: 20%;
  z-index: 1;
  display: flex;
  padding: 0 5px;
  cursor: pointer;
  position: relative;
  text-align: center;
  align-items: center;
  flex-direction: column;
}

.reservation-icon {
  width: 30px;
  height: 30px;
  display: flex;
  color: #a9a49c;
  align-items: center;
  margin-bottom: 28px;
  justify-content: center;
  transform-origin: center bottom;
  transition:
    transform 0.3s ease,
    color 0.3s ease;
}

.reservation-icon svg {
  fill: none;
  width: 100%;
  height: 100%;
  stroke-width: 1.8;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.reservation-marker {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #d8cfc0;
  border: 4px solid #d8cfc0;
  transition: all 0.3s ease;
}

.reservation-name {
  font-size: 14px;
  margin-top: 20px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--primary-gold);
  transition:
    transform 0.3s ease,
    color 0.3s ease;
}

.reservation-step:hover .reservation-icon {
  transform: scale(1.2);
  color: var(--primary-gold);
}

.reservation-step:hover .reservation-marker {
  transform: scale(1.15);
  border-color: var(--primary-gold);
  background-color: var(--primary-gold);
}

.reservation-step:hover .reservation-name {
  transform: scale(1.1);
  color: var(--primary-gold);
}

.reservation-description {
  left: 50%;
  top: 150px;
  opacity: 1;
  width: 180px;
  padding: 12px;
  font-size: 12px;
  color: #514b42;
  line-height: 1.6;
  position: absolute;
  text-align: center;
  border-radius: 10px;
  transition: 0.3s ease;
  background: #fffdf9;
  border: 1px solid #e2d6c3;
  transform: translate(-50%, -6px);
}

.reservation-step:hover .reservation-description {
  border: 1px solid var(--primary-gold);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

.form-section {
  display: flex;
  padding: 80px 20px;
  justify-content: center;
  background-color: var(--secondary-clear-background);
}

.form-container {
  width: 800px;
  text-align: center;
}

form {
  gap: 15px;
  display: flex;
  flex-direction: column;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
}

.form-row {
  gap: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.input-area {
  width: 100%;
}

label {
  width: 100%;
  font-size: 12px;
  text-align: right;
  padding-bottom: 5px;
  display: inline-block;
  transition: ease 0.3s;
  color: var(--fc-button-border-color);
}

input,
select {
  width: 100%;
  height: 60px;
  padding: 20px;
  color: black;
  font-size: 16px;
  appearance: none;
  border-radius: 12px;
  border: 1px solid #ddd;
  -webkit-appearance: none;
}

select {
  color: black;
  appearance: none;
  background-size: 14px;
  -webkit-appearance: none;
  background-color: white;
  background-repeat: no-repeat;
  background-position: calc(100% - 20px) center;
  background-image: url("/images/arrow-down.webp");
}

select:focus {
  outline: none;
  color: black;
  border: 1px solid var(--primary-gold);
}

input:focus {
  outline: none;
  transition: border 0.2s ease;
  border-color: var(--primary-gold);
}

input:focus + label {
  transform: scale(1.05);
  color: var(--primary-gold);
}

.social-icons {
  gap: 20px;
  margin: 12px;
  display: flex;
  justify-content: center;
}

.social-icons svg {
  width: 28px;
  height: 28px;
  opacity: 0.8;
  transition: transform 0.3s ease;
}

.social-icons svg:hover {
  opacity: 1;
  color: var(--primary-gold);
  transform: scale(1.05) translateY(-5px);
}

/* Menu section */
.section-header h2 {
  font-size: 2.7rem;
}

.section-header p {
  font-size: 1rem;
}

.card-title {
  font-size: 1.2rem;
}

.menu-modal {
  inset: 0;
  opacity: 0;
  z-index: 9999;
  display: flex;
  position: fixed;
  visibility: hidden;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  background: rgba(0, 0, 0, 0.24);
  -webkit-backdrop-filter: blur(8px);
  background-image: url("../images/background-pattern.webp");
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.menu-modal.active {
  opacity: 1;
  visibility: visible;
}

.menu-modal-content {
  display: flex;
  overflow: hidden;
  position: relative;
  border-radius: 24px;
  transform: scale(0.95);
  flex-direction: column;
  height: min(70vh, 750px);
  width: min(70vw, 1000px);
  transition: transform 0.3s ease;
  border: 2px solid var(--primary-gold);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
  background: var(--secondary-clear-background);
}

.menu-modal.active .menu-modal-content {
  transform: scale(1);
}

.modal-header {
  flex-shrink: 0;
  padding: 30px 60px 20px 30px;
  background: var(--secondary-gold-active);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-body {
  flex: 1;
  min-height: 0;
  display: grid;
  overflow-y: auto;
  place-items: center;
}

.btn-close-modal {
  top: 15px;
  right: 15px;
  width: 40px;
  z-index: 10;
  height: 40px;
  display: flex;
  line-height: 1;
  font-size: 24px;
  cursor: pointer;
  border-radius: 50%;
  position: absolute;
  align-items: center;
  transition: 0.2s ease;
  justify-content: center;
  color: var(--primary-gold);
  border: 1px solid var(--primary-gold);
  background: var(--fc-button-text-color);
}

.btn-close-modal:hover {
  transform: scale(1.1);
}

.menu-info-content {
  gap: 24px;
  width: 100%;
  display: grid;
  padding: 0 50px;
  align-content: center;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}

.menu-info-content h3 {
  padding-bottom: 24px;
}

.menu-info-content ul {
  text-align: left;
  padding: 0 24px 0 0;
}

.menu-info-content li {
  padding: 4px 0;
}

.modal-body h4 {
  padding: 24px;
  font-size: 16px;
  text-align: center;
}

.modal-body p {
  padding: 24px;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
}

/* footer */
.footer {
  color: white;
  text-align: center;
  padding: 60px 20px 60px;
  background: var(--navbar-footer-color);
}

.footer-logo img {
  max-height: 20px;
}

.footer-links {
  gap: 30px;
  display: flex;
  margin-bottom: 12px;
  justify-content: center;
}

.footer-links a {
  color: white;
  font-size: 15px;
  transition: 0.3s;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--primary-gold-hover);
}

/* Menu section */
.selection-section {
  text-align: center;
  position: relative;
  padding: 120px 20px;
  background-size: cover;
  justify-content: center;
  background-position: center;
  background-image: url("../images/liquor-bg.webp");
}

.selection-grid {
  gap: 20px;
  display: grid;
  margin-top: 30px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.selection-card {
  padding: 20px;
  cursor: pointer;
  transition: 0.3s;
  text-align: center;
  background: white;
  border-radius: 12px;
  border: 2px solid #ddd;
}

.selection-card:hover {
  border-color: var(--primary-gold);
  transform: scale(1.05) translateY(-5px);
}

.selection-card.active {
  border-color: var(--primary-gold);
  background: var(--secondary-gold-active);
}

/* Calendar section */
.calendar-section {
  padding: 20px;
  max-width: 1100px;
  margin: 20px auto;
  text-align: center;
}

.calendar-info-grid {
  gap: 20px;
  display: grid;
  margin-top: 20px;
  margin-bottom: 50px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.calendar-card {
  padding: 10px;
  text-align: center;
  border-radius: 12px;
  border: 1px solid var(--primary-gold);
}

.calendar-busy-card {
  background-color: rgb(228, 218, 203);
}

.calendar-available-card {
  background-color: white;
}

.calendar-unavailable-card {
  background-color: rgb(241, 241, 241);
}

.calendar-selected-card {
  background-color: var(--secondary-gold-active);
}

.calendar-area {
  margin-bottom: 50px;
}

.action-buttons {
  gap: 20px;
  display: flex;
  margin-top: 40px;
  justify-content: center;
}

/* Custom calendar cells */
.selected-day {
  border-color: var(--primary-gold);
  background: var(--secondary-gold-active) !important;
}

.fc-daygrid-day-frame {
  transition: all 0.2s ease;
}

.fc-daygrid-day:hover .fc-daygrid-day-frame {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

body.swal2-shown > [aria-hidden='true'] {
  transition:  0.1s filter;
  filter: blur(3px);
}

.swal2-popup {
  border-radius: 24px;
  border: 2px solid var(--primary-gold);
}

.swal2-timer-progress-bar {
  margin: 0 20px;
}

@media (max-width: 768px) {
  .nav-links {
    left: 0;
    top: 50px;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: 0.4s;
    position: absolute;
    align-items: center;
    flex-direction: column;
    background: var(--navbar-footer-color);
  }

  .principal-logo {
    max-width: 240px;
  }

  .nav-links li {
    padding: 20px;
  }

  .nav-links.active {
    max-height: 400px;
  }

  .menu-toggle {
    display: block;
  }

  .menu-info-content {
    grid-template-columns: 1fr;
  }

  .menu-modal {
    align-items: stretch;
  }

  .menu-modal-content {
    width: 90%;
    height: 90%;
    border-radius: 24px;
    border-top: none;
    border-left: none;
    border-right: none;
  }

  .modal-header {
    padding: 25px 30px;
  }

  .modal-body {
    padding-bottom: 90px;
  }

  .menu-info-content {
    min-width: 90vw;
  }

  .reservation-timeline {
    gap: 40px;
    width: 100%;
    display: flex;
    padding: 10px 0;
    max-width: 500px;
    margin: 35px auto;
    align-items: stretch;
    box-sizing: border-box;
    flex-direction: column;
  }

  .reservation-step {
    padding: 0;
    width: 100%;
    display: grid;
    column-gap: 15px;
    text-align: left;
    position: relative;
    align-items: center;
    box-sizing: border-box;
    grid-template-rows: auto auto;
    grid-template-columns: 50px minmax(0, 1fr);
  }

  .reservation-icon {
    margin: 0;
    z-index: 2;
    width: 45px;
    height: 45px;
    display: flex;
    grid-column: 1;
    grid-row: 1 / 3;
    font-size: 28px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: var(--text-main);
  }

  .reservation-marker {
    display: none;
  }

  .reservation-name {
    margin: 0;
    grid-row: 1;
    grid-column: 2;
    font-size: 15px;
    line-height: 1.4;
    text-align: left;
  }

  .reservation-description {
    padding: 0;
    opacity: 1;
    width: 100%;
    grid-row: 2;
    border: none;
    color: inherit;
    display: block;
    grid-column: 2;
    font-size: 12px;
    transform: none;
    margin-top: 6px;
    position: static;
    box-shadow: none;
    text-align: left;
    line-height: 1.6;
    border-radius: 0;
    visibility: visible;
    box-sizing: border-box;
    background: transparent;
  }

  .reservation-step:hover .reservation-description {
    border: none;
    transform: none;
    box-shadow: none;
  }

  .reservation-step:hover .reservation-icon {
    transform: scale(1.1);
  }

  .reservation-track {
    top: 30px;
    left: 22px;
    width: 2px;
    z-index: 0;
    bottom: 40px;
    height: auto;
    position: absolute;
    background: #d8cfc0;
  }

  .reservation-progress {
    display: none;
  }

  .form-row {
    flex-direction: column;
  }
}
