/*
 * Hotel Puerto Barrios — Costa Cálida (Sky &amp; Sea)
 */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --luxe-sky: #dff6ff;
  --luxe-foam: #f9fbff;
  --luxe-waves: #bee5f5;
  --luxe-sand: #fcf8f3;
  --luxe-accent: #1f75b5;
  --luxe-accent-deep: #0c5771;
  --luxe-text: #0f1f2e;
  --luxe-muted: #4b5c6d;
  --luxe-border: rgba(15, 63, 93, 0.15);
  --luxe-soft: rgba(255, 255, 255, 0.7);
  --luxe-shadow: 0 25px 45px rgba(15, 63, 93, 0.25);
  --luxe-shadow-card: 0 18px 35px rgba(10, 35, 52, 0.25);
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 500;
  color: var(--luxe-text);
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.8), transparent 40%),
    linear-gradient(180deg, var(--luxe-sky), var(--luxe-waves));
  min-height: 100vh;
  letter-spacing: 0.01em;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: url('data:image/svg+xml,%3Csvg width="160" height="160" xmlns="http://www.w3.org/2000/svg"%3E%3Crect width="160" height="160" fill="none" stroke="rgba(0,0,0,0.03)" stroke-width="1"/%3E%3C/svg%3E');
  opacity: 0.2;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.text-muted {
  color: var(--luxe-muted) !important;
}

a {
  color: inherit;
}

.navbar-luxe {
  background: rgba(255, 255, 255, 0.75) !important;
  border-radius: 50px;
  border: 1px solid var(--luxe-border);
  padding: 0.6rem 1.2rem;
  box-shadow: 0 10px 30px rgba(15, 63, 93, 0.15);
  backdrop-filter: blur(12px);
}

.navbar-luxe .navbar-brand {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--luxe-accent-deep) !important;
}

.navbar-luxe .nav-link {
  color: var(--luxe-muted) !important;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.navbar-luxe .nav-link.active,
.navbar-luxe .nav-link:hover {
  color: var(--luxe-accent) !important;
}

.navbar-luxe .btn-outline-light,
.navbar-luxe .btn-outline-light:hover {
  border-color: var(--luxe-accent-deep);
  color: var(--luxe-accent-deep);
}

.luxe-hero {
  margin: 3rem auto 0;
  padding: clamp(3rem, 6vw, 5.5rem);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(214, 239, 255, 0.7));
  border-radius: 36px;
  border: 1px solid rgba(15, 63, 93, 0.12);
  box-shadow: var(--luxe-shadow-card);
  position: relative;
  overflow: hidden;
}

.luxe-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.8), transparent 45%);
  pointer-events: none;
}

.luxe-logo {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  color: var(--luxe-accent);
}

.luxe-logo svg {
  width: 100%;
  height: 100%;
}

.luxe-headline,
.luxe-headline-lg,
.h-title {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--luxe-accent-deep);
}

.luxe-rule {
  width: 60px;
  height: 2px;
  background: var(--luxe-accent);
  margin: 1.5rem auto;
}

.card-pb,
.history-card {
  background: var(--luxe-foam);
  border-radius: 28px;
  border: 1px solid var(--luxe-border);
  box-shadow: var(--luxe-shadow);
}

.card-pb {
  padding: 2.5rem;
}

.card-pb::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 28px;
  pointer-events: none;
}

.form-control,
.form-select {
  border: 1px solid rgba(15, 63, 93, 0.2);
  border-radius: 14px;
  padding: 0.85rem 1.2rem;
  background: rgba(255, 255, 255, 0.9);
  color: var(--luxe-text);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--luxe-accent);
  box-shadow: 0 0 0 3px rgba(31, 117, 181, 0.25);
}

.btn-primary {
  background: linear-gradient(120deg, #6dd5ed, #2193b0);
  border: none;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.9rem 2.7rem;
  border-radius: 22px;
  text-transform: uppercase;
  box-shadow: 0 12px 30px rgba(17, 63, 113, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 35px rgba(15, 63, 93, 0.35);
}

.btn-outline-primary {
  border-radius: 22px;
  border-color: var(--luxe-accent);
  color: var(--luxe-accent);
}

.luxe-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 1.4rem;
  border-radius: 999px;
  background: rgba(31, 117, 181, 0.1);
  color: var(--luxe-accent-deep);
  letter-spacing: 0.3em;
  font-size: 0.65rem;
}

.luxe-experience {
  margin: 3rem auto 5rem;
  padding: 4rem clamp(1rem, 5vw, 3rem) 4.5rem;
  border-radius: 32px;
  border: 1px solid var(--luxe-border);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(223, 246, 255, 0.85));
  box-shadow: var(--luxe-shadow);
}

.luxe-excerpt {
  max-width: 560px;
  color: var(--luxe-muted);
}

.luxe-feature-grid {
  margin-top: 2rem;
}

.feature-card {
  border-radius: 24px;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(15, 63, 93, 0.08);
  min-height: 240px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--luxe-accent);
  box-shadow: var(--luxe-shadow-card);
}

.feature-label {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--luxe-muted);
}

.feature-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  color: var(--luxe-accent-deep);
}

.navbar-panel {
  background: var(--luxe-sand) !important;
  border-bottom: 1px solid var(--luxe-border);
}

.navbar-panel .navbar-brand,
.navbar-panel .nav-link {
  color: var(--luxe-accent-deep) !important;
}

.navbar-panel .btn-outline-light {
  border-color: rgba(31, 117, 181, 0.5);
  color: var(--luxe-accent-deep) !important;
  background: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

.panel-card {
  border-radius: 20px;
  border: 1px solid rgba(15, 63, 93, 0.12);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--luxe-shadow);
}

.panel-card .card-header {
  border-bottom: 1px solid rgba(15, 63, 93, 0.1);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.btn-outline-danger {
  color: #cf3c3c;
  border-color: rgba(207, 60, 60, 0.4);
}

.btn-outline-danger:hover {
  background: rgba(207, 60, 60, 0.1);
}

.btn-success {
  background: linear-gradient(120deg, #6ecec2, #2d9c8c) !important;
  border: none;
  color: #fff !important;
}

.alert-info {
  background: rgba(31, 117, 181, 0.12);
  border: 1px solid rgba(31, 117, 181, 0.35);
  color: var(--luxe-text);
}

.login-wrap {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 30px;
  border: 1px solid rgba(15, 63, 93, 0.12);
  box-shadow: var(--luxe-shadow);
}

.login-bg {
  background: linear-gradient(180deg, var(--luxe-sky), var(--luxe-foam));
  min-height: 100vh;
}

.table-pb {
  background: transparent;
}

.table-responsive {
  border-radius: 24px;
}

.table-pb thead th {
  background: rgba(255, 255, 255, 0.72) !important;
  color: var(--luxe-accent-deep) !important;
  border-bottom: 1px solid rgba(15, 63, 93, 0.2);
}

.table-pb tbody tr {
  background: rgba(255, 255, 255, 0.92);
  transition: background 0.3s ease;
}

.table-pb tbody tr:nth-child(odd) {
  background: rgba(255, 255, 255, 0.86);
}

.table-pb tbody tr:hover {
  background: rgba(237, 247, 255, 0.9);
}

.table-pb tbody td {
  color: var(--luxe-text);
}

.table-pb input.filtro-columna {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(15, 63, 93, 0.18);
  color: var(--luxe-text);
}

.luxe-historial {
  margin-top: 2rem;
  background: var(--luxe-sand);
}

.history-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(15, 63, 93, 0.1);
}

.history-card {
  background: var(--luxe-foam);
}

.history-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 1.5rem;
  border-radius: 999px;
  background: rgba(31, 117, 181, 0.12);
  color: var(--luxe-accent-deep);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
}

.rounded-pb {
  border-radius: 20px;
}

.rounded-pb-lg {
  border-radius: 24px;
}

.fade-in {
  animation: fadeIn 0.4s ease-out;
}

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