/* =============================================
   Taberna CAVA CARBON — Static HTML Replica
   ============================================= */

/* --- Font Declarations --- */
@font-face {
  font-family: 'Abraham Lincoln';
  font-style: normal;
  font-weight: normal;
  src: url('../fonts/AbrahamLincoln.woff') format('woff');
}

/* --- Reset & Base --- */
html {
  font-size: 62.5%;
  box-sizing: border-box;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

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

body {
  margin: 0;
  font-size: 33px;
  font-size: 3.3rem;
  line-height: 1.5;
  font-family: 'Abraham Lincoln', serif;
  background-color: #000;
  color: #fff;
}

a {
  color: #fff;
  background-color: transparent;
}

p {
  font-family: 'Lora', serif;
  font-size: 1.8rem;
  line-height: 1.8;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Abraham Lincoln', serif;
}

main {
  display: block;
}

img {
  border-style: none;
  width: 100%;
  max-width: 100%;
  height: auto;
}

iframe {
  width: 100%;
  border: 0;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* --- Utilities --- */
.center {
  text-align: center;
}

.content-white figure {
  margin: 0 0 2rem;
}

.visually-hidden {
  position: absolute !important;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  width: 1px;
  height: 1px;
  word-wrap: normal;
}

/* --- Layout Container --- */
.layout-container {
  position: relative;
}

/* --- Reservas Top Bar --- */
.setreservas {
  position: relative;
  z-index: 1000;
}

.reservas-menu-wrapper {
  padding: 15px 0;
}

.reservas-navbar {
  display: flex;
  justify-content: center;
  align-items: center;
}

.reservas-nav-items {
  display: flex;
  align-items: center;
  gap: 30px;
}

.reservas-nav-link {
  color: #FEA116;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  font-family: 'Nunito', sans-serif;
  transition: color 0.3s ease;
}

.reservas-nav-link:hover {
  color: #e08f0a;
  text-decoration: none;
}

.reservas-btn-primary {
  background-color: #FEA116;
  color: #fff;
  padding: 12px 30px;
  border-radius: 5px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  display: inline-block;
  font-family: 'Nunito', sans-serif;
  transition: all 0.3s ease;
}

.reservas-btn-primary:hover {
  background-color: #e6900f;
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
}

.reservas-btn-primary:focus,
.reservas-nav-link:focus {
  outline: 2px solid #FEA116;
  outline-offset: 2px;
}

/* --- Title Overlay --- */
.settitulo {
  position: absolute;
  z-index: 999;
  left: 0;
  right: 0;
  text-shadow: 1px 1px 1px #000;
  background: linear-gradient(0deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 60%, rgb(0,0,0) 100%);
  padding-bottom: 16rem;
  padding-top: 1rem;
}

h1 {
  font-size: 4.5rem;
  text-align: center;
  margin: 0;
}

h2 {
  text-align: center;
}

/* --- Header / Hero --- */
header {
  background-color: #000;
  position: relative;
}

header > div {
  position: relative;
}

.site-branding {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  text-shadow: 1px 1px 1px #000;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 60%, rgba(0,0,0,1) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.site-branding img {
  width: auto;
  max-width: 100%;
}

/* --- Reservas Section --- */
h2.reservas {
  color: #FEA116;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
}

.btnllamar {
  color: #FEA116;
  font-size: 2.5rem;
  text-decoration: none;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  padding: 0.4rem 0.2rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.btnllamar:hover {
  color: #e08f0a;
}

/* --- Síguenos (Social Media) --- */
.siguenos {
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.siguenos-titulo {
  font-family: 'Nunito', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.siguenos-iconos {
  display: flex;
  justify-content: center;
  gap: 1.8rem;
}

.siguenos-iconos a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #FEA116;
  transition: all 0.3s ease;
}

.siguenos-iconos a svg {
  fill: #FEA116;
  transition: fill 0.3s ease;
}

.siguenos-iconos a:hover {
  background-color: #FEA116;
  transform: translateY(-3px);
}

.siguenos-iconos a:hover svg {
  fill: #fff;
}

.siguenos-footer {
  text-align: center;
  margin-bottom: 2rem;
}

/* --- Content Containers --- */
.container {
  max-width: 120rem;
  width: 95%;
  margin: 0 auto;
}

/* --- Two-Column Grid --- */
div.dos {
  display: grid;
  gap: 2rem;
  margin-top: 5rem;
  margin-bottom: 5rem;
}

div.dos > div.text {
  padding: 2rem;
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: center;
}

/* --- White Section --- */
div.blanco {
  background-color: #fff;
  color: #000;
}

/* --- Map --- */
p.nom {
  margin-bottom: 0;
  line-height: 0;
}

/* --- Inner Pages (no hero) --- */
.page-inner .settitulo {
  position: relative;
  background: #000;
  padding-bottom: 2rem;
}

.site-header-inner {
  background-color: #000;
  padding: 2rem 0;
}

.page-inner .brand-name,
.site-header-inner .brand-name {
  font-size: 2rem;
  text-align: center;
  margin: 0;
  color: #fff;
  font-family: 'Abraham Lincoln', serif;
}

.page-inner .brand-name a,
.site-header-inner .brand-name a {
  color: #fff;
  text-decoration: none;
}

.page-inner .brand-name a:hover,
.site-header-inner .brand-name a:hover {
  color: #FEA116;
  text-decoration: none;
}

/* --- Content White --- */
.content-white {
  background-color: #fff;
  color: #000;
  font-family: 'Lora', serif;
  font-size: 1.8rem;
  line-height: 1.8;
  padding-bottom: 2rem;
}

.content-white .container {
  max-width: 80rem;
}

.content-white h1,
.content-white h2 {
  font-family: 'Abraham Lincoln', serif;
}

.content-white h3 {
  font-family: 'Lora', serif;
  font-weight: 700;
}

.content-white strong {
  font-weight: 600;
}

.content-white h1 {
  padding: 3rem 2rem 0;
  margin-bottom: 3rem;
}

.content-white h2 {
  text-align: left;
  font-size: 3.8rem;
  margin-top: 8rem;
}

.content-white h2:first-child {
  margin-top: 0;
}

.content-white h3 {
  text-align: left;
}

.content-white a {
  color: #FEA116;
}

.content-white a:hover {
  color: #e08f0a;
}

/* --- Breadcrumb --- */
.breadcrumb-nav {
  padding: 1.5rem 2rem 0;
}

.breadcrumb-nav ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  font-size: 1.6rem;
}

.breadcrumb-nav li + li::before {
  content: "›";
  margin: 0 0.8rem;
  color: #999;
}

.breadcrumb-nav a {
  color: #FEA116;
  text-decoration: none;
}

.breadcrumb-nav a:hover {
  color: #e08f0a;
}

/* --- Article Content --- */
article .container a {
  color: #FEA116;
}

article .container a:hover {
  color: #e08f0a;
}

h3 {
  font-size: 2.5rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  h3 {
    font-size: 3rem;
  }
  .page-inner .brand-name,
  .site-header-inner .brand-name {
    font-size: 3rem;
  }
  .content-white h2 {
    font-size: 5rem;
  }
}

/* --- Footer --- */
footer {
  padding-top: 3rem;
  min-height: 40rem;
  background-color: #391d0e;
}

footer a {
  color: #FEA116;
  text-decoration: none;
}

footer a:hover {
  color: #e08f0a;
}

footer ul {
  padding: 2rem;
}

footer li {
  list-style: disc;
  list-style-position: inside;
}

/* --- Responsive --- */
@media (min-width: 768px) {
  h1 {
    font-size: 7rem;
  }

  .site-branding {
    padding-top: 12rem;
    padding-bottom: 12rem;
  }

  div.dos {
    grid-template-columns: 1fr 1fr;
  }

  div.dos > div.text {
    padding: 5rem;
  }
}

@media (max-width: 768px) {
  .reservas-nav-items {
    flex-direction: column;
    gap: 15px;
  }
}

/* --- Botón Reservar Mesa Grande --- */
.btn-reserva-container {
  text-align: center;
  padding: 4rem 2rem;
}

.btn-reserva-grande {
  background: linear-gradient(135deg, #c58000, #d95520);
  color: #fff;
  padding: 24px 60px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 32px;
  text-decoration: none;
  cursor: pointer;
  display: inline-block;
  font-family: 'Nunito', sans-serif;
  text-transform: uppercase;
  letter-spacing: 3px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 30px rgba(197, 128, 0, 0.4);
}

.btn-reserva-grande:hover {
  background: linear-gradient(135deg, #d95520, #c58000);
  color: #fff;
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(197, 128, 0, 0.5);
}

.btn-reserva-grande:focus {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

/* --- TikTok Section --- */
.tiktok-section-wide {
  padding: 4rem 0 2rem;
  background-color: #000;
  text-align: center;
}

.tiktok-titulo {
  font-family: 'Pacifico', cursive;
  font-size: 3.5rem;
  color: #FEA116;
  margin-bottom: 0.5rem;
}

.tiktok-subtitulo {
  font-family: 'Nunito', sans-serif;
  font-size: 1.6rem;
  margin-bottom: 3rem;
}

.tiktok-subtitulo a {
  color: #FEA116;
  text-decoration: none;
  font-weight: 700;
}

.tiktok-subtitulo a:hover {
  color: #e08f0a;
  text-decoration: underline;
}

.tiktok-grid-wide {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.4rem;
  width: 100%;
}

.tiktok-item-wide {
  aspect-ratio: 9 / 16;
  background-color: #000;
  overflow: hidden;
}

.tiktok-item-wide iframe {
  width: 100%;
  height: 100%;
  border: none;
  background-color: #000;
}

@media (min-width: 768px) {
  .tiktok-grid-wide {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .tiktok-grid-wide {
    grid-template-columns: repeat(6, 1fr);
  }

  .tiktok-titulo {
    font-size: 4.5rem;
  }
}

/* --- Modales --- */
.modal-backdrop {
  z-index: 1040 !important;
}

.modal {
  z-index: 1050 !important;
}

body.modal-open header {
  z-index: 1 !important;
}

#bookingModal .modal-dialog,
#statusModal .modal-dialog {
  max-width: 480px !important;
  width: calc(100% - 32px) !important;
  margin: 32px auto !important;
}

#bookingModal .modal-content,
#statusModal .modal-content {
  border: none !important;
  border-radius: 24px !important;
  overflow: hidden !important;
  box-shadow: 0 25px 80px rgba(15, 23, 43, 0.4), 0 10px 40px rgba(254, 161, 22, 0.15) !important;
  background: #ffffff !important;
}

#bookingModal .modal-header,
#statusModal .modal-header {
  background: linear-gradient(135deg, #0F172B 0%, #1a2744 100%) !important;
  border: none !important;
  padding: 28px 32px 24px !important;
  position: relative !important;
}

#bookingModal .modal-title,
#statusModal .modal-title {
  font-family: 'Pacifico', cursive !important;
  font-size: 26px !important;
  color: #ffffff !important;
  margin: 0 !important;
  line-height: 1.3 !important;
}

#bookingModal .modal-header .close,
#statusModal .modal-header .close {
  position: absolute !important;
  right: 20px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  font-size: 20px !important;
  opacity: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-shadow: none !important;
}

#bookingModal .modal-header .close:hover,
#statusModal .modal-header .close:hover {
  background: #FEA116 !important;
  border-color: #FEA116 !important;
}

#bookingModal .modal-body,
#statusModal .modal-body {
  padding: 32px !important;
  background: #ffffff !important;
}

#bookingModal label,
#statusModal label,
#bookingModal .form-group label,
#statusModal .form-group label,
#bookingModal .text-left label,
#statusModal .text-left label {
  font-family: 'Nunito', sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  color: #0F172B !important;
  margin-bottom: 8px !important;
  display: block !important;
  line-height: 1.4 !important;
}

#bookingModal .form-control,
#statusModal .form-control,
#bookingModal .custom-select,
#statusModal .custom-select,
#bookingModal select,
#statusModal select,
#bookingModal input[type="text"],
#bookingModal input[type="email"],
#bookingModal input[type="tel"],
#bookingModal input[type="date"],
#bookingModal input[type="time"],
#statusModal input[type="text"],
#statusModal input[type="tel"] {
  font-family: 'Heebo', sans-serif !important;
  font-size: 16px !important;
  padding: 14px 16px !important;
  border: 2px solid #e9ecef !important;
  border-radius: 12px !important;
  background-color: #f8f9fa !important;
  color: #0F172B !important;
  height: auto !important;
  line-height: 1.5 !important;
  transition: all 0.3s ease !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

#bookingModal .form-control:focus,
#statusModal .form-control:focus,
#bookingModal .custom-select:focus,
#statusModal .custom-select:focus {
  border-color: #FEA116 !important;
  background-color: #ffffff !important;
  box-shadow: 0 0 0 4px rgba(254, 161, 22, 0.15) !important;
  outline: none !important;
}

#bookingModal .input-group,
#statusModal .input-group {
  display: flex !important;
}

#bookingModal .input-group-prepend select,
#statusModal .input-group-prepend select {
  border-radius: 12px 0 0 12px !important;
  border-right: none !important;
  background-color: #0F172B !important;
  color: #ffffff !important;
  padding: 14px 2rem 14px 12px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  width: auto !important;
  min-width: 75px !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.5rem center !important;
  cursor: pointer !important;
}

#bookingModal .input-group .form-control,
#statusModal .input-group .form-control {
  border-radius: 0 12px 12px 0 !important;
}

#bookingModal .btn-success,
#statusModal .btn-success,
#bookingModal button[type="submit"],
#statusModal button[type="submit"] {
  font-family: 'Nunito', sans-serif !important;
  font-weight: 800 !important;
  font-size: 16px !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
  padding: 16px 40px !important;
  border: none !important;
  border-radius: 50px !important;
  background: linear-gradient(135deg, #FEA116, #ff6b35) !important;
  color: #ffffff !important;
  box-shadow: 0 8px 25px rgba(254, 161, 22, 0.4) !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
}

#bookingModal .btn-success:hover,
#statusModal .btn-success:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 35px rgba(254, 161, 22, 0.5) !important;
  background: linear-gradient(135deg, #ff6b35, #FEA116) !important;
}

#bookingModal .modal-body > center,
#statusModal .modal-body > center {
  margin-top: 24px !important;
  padding-top: 20px !important;
  border-top: 1px dashed #dee2e6 !important;
}

#bookingModal .modal-body > center p,
#statusModal .modal-body > center p {
  font-family: 'Heebo', sans-serif !important;
  font-size: 14px !important;
  color: #6c757d !important;
  margin: 0 !important;
}

#bookingModal .modal-body > center a,
#statusModal .modal-body > center a {
  color: #FEA116 !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

#bookingModal .modal-body > center a:hover,
#statusModal .modal-body > center a:hover {
  color: #ff6b35 !important;
  text-decoration: underline !important;
}

#bookingModal .form-text,
#statusModal .form-text,
#bookingModal small,
#statusModal small {
  font-family: 'Heebo', sans-serif !important;
  font-size: 12px !important;
  color: #6c757d !important;
  margin-top: 6px !important;
}

#statusModal .form-check {
  padding-left: 32px !important;
  margin-bottom: 12px !important;
  position: relative !important;
}

#statusModal .form-check-input {
  position: absolute !important;
  left: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 20px !important;
  height: 20px !important;
  margin: 0 !important;
}

#statusModal .form-check-label {
  font-family: 'Heebo', sans-serif !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  color: #495057 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}

@media (max-width: 576px) {
  #bookingModal .modal-dialog,
  #statusModal .modal-dialog {
    margin: 16px !important;
    max-width: calc(100% - 32px) !important;
  }

  #bookingModal .modal-header,
  #statusModal .modal-header {
    padding: 20px 24px 16px !important;
  }

  #bookingModal .modal-title,
  #statusModal .modal-title {
    font-size: 21px !important;
  }

  #bookingModal .modal-body,
  #statusModal .modal-body {
    padding: 24px !important;
  }

  #bookingModal .btn-success,
  #statusModal .btn-success {
    width: 100% !important;
    padding: 16px 24px !important;
  }
}
