html, body {
  min-height: 100%;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: linear-gradient(180deg, #e6fbff 0%, #fef9f0 45%, #f4f6fb 100%);
  background-attachment: fixed;
  margin: 0;
  color: #1f2937;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: 10px;
}

.brand img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.brand span {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand strong {
  font-size: 1.15rem;
}

.brand em {
  font-size: 0.95rem;
  color: #0ea5a4;
  font-style: normal;
}

.lang-switch {
  margin-left: auto;
  font-size: 0.9em;
  color: #6b7280;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.lang-switch .nav-icon {
  margin-right: 14px;
}

.nav-admin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: #0f172a;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f0fdfa;
  border: 1px solid #cdeeee;
}

.nav-admin img {
  width: 16px;
  height: 16px;
}

.nav-emoji {
  font-size: 1rem;
  line-height: 1;
}

.nav-admin:hover {
  background: #ccfbf1;
  color: #0f172a;
}

.lang-switch a {
  font-size: 1.1rem;
  line-height: 1;
  text-decoration: none;
}

.nav-icon img {
  width: 18px;
  height: 18px;
  display: block;
  filter: invert(42%) sepia(69%) saturate(548%) hue-rotate(133deg) brightness(96%) contrast(93%);
}

.lang-flag {
  width: 20px;
  height: 20px;
  display: block;
}

.lang-divider {
  color: #cbd5f5;
}

.nav-link-tropical {
  color: #0ea5a4 !important;
  font-weight: 600;
}

.nav-link-tropical:hover {
  color: #0b8a88 !important;
}

.nav-link-important {
  color: #0f172a !important;
  font-weight: 700;
}

.list-group-item-tropical {
  border-left: 4px solid #0ea5a4;
  font-weight: 700;
  color: #0f172a;
}

.list-group-item-tropical:hover {
  color: #0b8a88;
}

.navbar-nav .nav-item.nav-sep {
  position: relative;
  padding-left: 16px;
  margin-left: 10px;
}

.navbar-nav .nav-item.nav-sep::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 18px;
  background: linear-gradient(180deg, rgba(14, 165, 164, 0) 0%, rgba(14, 165, 164, 0.7) 50%, rgba(14, 165, 164, 0) 100%);
}

.navbar-nav .nav-item.nav-sep:first-child::before {
  content: none;
}

.nav-separator {
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, rgba(14, 165, 164, 0) 0%, rgba(14, 165, 164, 0.6) 50%, rgba(14, 165, 164, 0) 100%);
  margin: 0 16px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.gallery-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(14, 165, 164, 0.08);
}

.gallery-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.gallery-meta {
  padding: 12px 14px;
}

.gallery-title {
  font-weight: 600;
  color: #0f172a;
}

.contact-value {
  color: #0f172a;
}

.gallery-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 1050;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: min(100%, 980px);
  max-height: 80vh;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.lightbox-caption {
  color: #e2e8f0;
  margin-top: 12px;
  text-align: center;
  font-weight: 600;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  border: none;
  background: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.site-main {
  flex: 1 0 auto;
}

h1 {
  color: #0f172a;
}

.lead {
  color: #334155;
  font-size: 1.05rem;
}

.btn-tropical {
  background: linear-gradient(135deg, #0ea5a4 0%, #22c55e 100%);
  color: #fff;
  border: none;
  box-shadow: 0 6px 14px rgba(14, 165, 164, 0.25);
}

.btn-tropical:hover {
  opacity: 0.92;
  color: #fff;
}

.home-logo {
  width: 300px;
  max-width: 80%;
  height: auto;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
  align-items: stretch;
}

.calendar-month {
  grid-column: 1 / -1;
  font-weight: 700;
  color: #0f172a;
  margin: 6px 0 2px;
}

.pagination-tropical .page-link {
  color: #0ea5a4;
  border-color: #cdeeee;
}

.pagination-tropical .page-item.active .page-link {
  background: linear-gradient(135deg, #0ea5a4 0%, #22c55e 100%);
  border-color: #0ea5a4;
  color: #fff;
}

.calendar-header {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 8px;
  overflow-x: auto;
}

.calendar-header-cell {
  text-align: center;
  font-weight: 600;
  color: #0f172a;
  font-size: 0.95rem;
  padding: 4px 0;
}

.calendar-grid .day-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 8px 10px;
  box-shadow: 0 6px 14px rgba(15, 118, 110, 0.08);
  min-width: 140px;
  min-height: 88px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calendar-grid .day-card.empty {
  background: transparent;
  border: 1px dashed #e2e8f0;
  box-shadow: none;
}

.calendar-grid .day-card.available {
  border-left: 5px solid #16a34a;
}

.calendar-grid .day-card.reserved {
  border-left: 5px solid #dc2626;
  opacity: 0.9;
}

.calendar-grid .day-card.available {
  cursor: pointer;
}

.calendar-grid .day-card.selected {
  outline: 2px solid #0ea5a4;
  background: #f0fdfa;
}

.calendar-grid .day-card.in-range {
  background: #ecfeff;
}

.calendar-grid .day-header {
  display: flex;
  justify-content: flex-start;
  align-items: baseline;
  margin-bottom: 6px;
  width: 100%;
}

.calendar-grid .day-weekday {
  font-weight: 600;
  color: #0f172a;
}

.calendar-grid .day-date {
  color: #64748b;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: left;
  width: 100%;
}

.calendar-grid .day-status .badge {
  font-size: 0.75rem;
  padding: 0.35rem 0.5rem;
}

@media (max-width: 992px) {
  .calendar-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .calendar-header {
    display: none;
  }

  .calendar-month {
    font-size: 1rem;
    margin-top: 10px;
  }

  .calendar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .calendar-grid .day-card {
    min-width: 0;
    padding: 8px;
  }

  .calendar-grid .day-header {
    justify-content: space-between;
  }

  .calendar-grid .day-date::before {
    content: attr(data-weekday) " • ";
    font-weight: 600;
    color: #0f172a;
  }

  .calendar-grid .day-card.empty {
    display: none;
  }
}

@media (max-width: 480px) {
  .calendar-grid {
    grid-template-columns: 1fr;
  }
}

.site-footer {
  margin-top: auto;
  padding: 20px 24px 28px;
  border-top: 1px solid #e5e7eb;
  background: rgba(255, 255, 255, 0.85);
}

.footer-inner {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #6b7280;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

@media (max-width: 576px) {
  .footer-inner {
    font-size: 0.64rem;
    letter-spacing: 0.005em;
  }
}

@media (max-width: 768px) {
  .navbar .navbar-brand img {
    width: 56px;
    height: 56px;
  }

  .brand strong {
    font-size: 1rem;
  }

  .brand em {
    font-size: 0.85rem;
  }

  .navbar-toggler {
    padding: 0.2rem 0.45rem;
  }
}

.footer-inner a {
  color: #0ea5a4;
  text-decoration: none;
  font-weight: 600;
}

.footer-link-tropical {
  color: #0ea5a4;
  font-weight: 700;
}
