/* Disfruta Cartagena - Paleta de colores de la bandera */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --cartagena-sand: #80ead3;
  --cartagena-sea: #4ba3c7;
  --cartagena-coral: #e57373;
  --cartagena-sunset: #f7b267;
  --cartagena-dark: #1f1f1f;
  --cartagena-light: #f9f9f9;
  --cartagena-gray: #8a8f9e;

  /* Colores principales */
  --primary: var(--cartagena-sea);
  --secondary: var(--cartagena-sand);
  --accent: var(--cartagena-coral);

  /* Base */
  --dark: var(--cartagena-dark);
  --light: var(--cartagena-light);
  --white: #ffffff;
  --gray: var(--cartagena-gray);

  /* Degradado moderno */
  --gradient: linear-gradient(135deg, var(--cartagena-sand), var(--cartagena-sea));
}

body {
  font-family: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  background: var(--dark);
  min-height: 100vh;
  overflow-x: hidden;
  transition: background-color 0.3s ease;
  color: white;
}

/* Modo claro */
body:not(.dark-mode) {
  background: var(--cartagena-light);
  color: var(--cartagena-dark);
}

/* Header minimalista */
.header {
  background: rgba(26, 26, 26, 0.98);
  backdrop-filter: blur(20px);
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 60px;
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

body:not(.dark-mode) .header {
  background: rgba(249, 249, 249, 0.98);
  border-bottom: 1px solid rgba(75, 163, 199, 0.2);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.hamburger-btn,
.search-toggle-btn,
.categories-btn,
.dark-mode-toggle,
.back-btn {
  background: none;
  border: none;
  font-size: 20px;
  color: white;
  cursor: pointer;
  padding: 8px;
  transition: all 0.3s ease;
  border-radius: 8px;
}

body:not(.dark-mode) .hamburger-btn,
body:not(.dark-mode) .search-toggle-btn,
body:not(.dark-mode) .categories-btn,
body:not(.dark-mode) .dark-mode-toggle,
body:not(.dark-mode) .back-btn {
  color: var(--cartagena-dark);
}

.hamburger-btn:hover,
.search-toggle-btn:hover,
.categories-btn:hover,
.dark-mode-toggle:hover,
.back-btn:hover {
  transform: scale(1.15);
  background: none !important;
}

body:not(.dark-mode) .hamburger-btn:hover,
body:not(.dark-mode) .search-toggle-btn:hover,
body:not(.dark-mode) .categories-btn:hover,
body:not(.dark-mode) .dark-mode-toggle:hover,
body:not(.dark-mode) .back-btn:hover {
  color: var(--cartagena-sea);
}

.header-search-container {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

/* Input colapsado por defecto */
.header-search-input {
  min-width: 0;
  width: 0;
  padding: 8px 0px;
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  color: white;
  transition: all 0.3s ease;
  font-size: 14px;
  opacity: 0;
  visibility: hidden;
}

body:not(.dark-mode) .header-search-input {
  background: rgba(75, 163, 199, 0.05);
  color: var(--cartagena-dark);
  border: 1px solid rgba(75, 163, 199, 0.3);
}

.header-search-input:focus {
  outline: none;
  border-color: var(--secondary);
  background: rgba(255, 255, 255, 0.1);
}

body:not(.dark-mode) .header-search-input:focus {
  border-color: var(--cartagena-sea);
  background: rgba(75, 163, 199, 0.1);
}

/* Header Center con transicion */
.header-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

/* Comportamiento al activar la busqueda */
.header.search-active .header-center {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.header.search-active .header-search-input {
  width: 200px;
  padding: 8px 15px;
  opacity: 1;
  visibility: visible;
  margin-left: 5px;
}

.header.search-active .header-search-input:focus {
  width: 250px;
}

.header-brand {
  text-decoration: none;
}

.brand-name {
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}

.brand-rnt {
  display: block;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
  margin-top: -2px;
}

body:not(.dark-mode) .brand-rnt {
  color: rgba(31, 31, 31, 0.6);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Dark Mode */
body.dark-mode {
  background: #1a1a1a;
}

body.dark-mode .header {
  background: rgba(26, 26, 26, 0.98);
}

body.dark-mode .header-search-input {
  background: rgba(255, 255, 255, 0.05);
  color: white;
}

body.dark-mode .hamburger-btn,
body.dark-mode .search-toggle-btn,
body.dark-mode .dark-mode-toggle {
  color: white;
}

/* Sidebar minimalista con animaciones */
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

.sidebar {
  position: fixed;
  top: 0;
  left: -320px;
  width: min(320px, 85vw);
  height: 100vh;
  background: linear-gradient(180deg, rgba(26, 26, 26, 0.98) 0%, rgba(40, 40, 40, 0.98) 100%);
  backdrop-filter: blur(20px);
  z-index: 1001;
  transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 4px 0 30px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
}

.sidebar.active {
  left: 0;
}

.sidebar-header {
  padding: 20px;
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--gradient);
}

.sidebar-header h3 {
  color: var(--dark);
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar-header .close-btn {
  background: rgba(0, 0, 0, 0.2);
  color: var(--dark);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.sidebar-header .close-btn:hover {
  background: rgba(0, 0, 0, 0.3);
  transform: rotate(90deg);
}

.sidebar-menu {
  list-style: none;
  padding: 10px 0;
  overflow-y: auto;
  flex: 1;
}

.sidebar-menu li {
  margin: 2px 10px;
}

.sidebar-menu a {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 14px 15px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 14px;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

body:not(.dark-mode) .sidebar-menu a {
  color: rgba(34, 33, 33, 0.8);
}

body:not(.dark-mode) .sidebar-menu {
  background: #eefaf9;
}

body:not(.dark-mode) .sidebar-footer {
  background: #eefaf9;
}

.sidebar-menu a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  background: var(--gradient);
  transition: width 0.3s ease;
  z-index: -1;
}

.sidebar-menu a:hover::before {
  width: 100%;
}

.sidebar-menu a:hover {
  color: var(--dark);
  transform: translateX(5px);
}

.sidebar-menu a.active {
  background: var(--gradient);
  color: var(--dark);
  font-weight: 600;
}

.sidebar-menu i {
  width: 20px;
  font-size: 16px;
}

.sidebar-footer {
  padding: 15px;
  border-top: 1px solid rgba(255, 215, 0, 0.1);
}

.sidebar-home-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  background: var(--gradient);
  color: var(--dark);
  text-decoration: none;
  border-radius: 25px;
  font-weight: 700;
  font-size: 14px;
  transition: all 0.3s ease;
}

.sidebar-home-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
}

/* Main content con scroll mejorado */
.main-content {
  min-height: calc(100vh - 60px);
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-top: 60px;
  padding-bottom: 0;
}

.reels-container {
  display: flex;
  flex-direction: column;
}

/* Reel card con mejor contraste y animaciones */
.reel-card {
  width: 100vw;
  height: calc(100vh - 60px);
  position: relative;
  scroll-snap-align: start;
  overflow: hidden;
  background: #000;
  animation: fadeInCard 0.6s ease forwards;
  opacity: 0;
}

@keyframes fadeInCard {
  to {
    opacity: 1;
  }
}

.reel-media-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.reel-media-carousel {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.reel-media-carousel::-webkit-scrollbar {
  display: none;
}

.carousel-media {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  scroll-snap-align: start;
}

.carousel-dots {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}

.carousel-dots .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
  cursor: pointer;
}

.carousel-dots .dot.active {
  background: var(--secondary);
  width: 20px;
  border-radius: 3px;
}

.reel-logo {
  font-size: 10px;
  font-weight: 300;
  color: white;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(15, 136, 128, 0.3);
}

.reel-reserve-link {
  background: var(--gradient);
  color: var(--dark);
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.28);
  width: auto;
  max-width: max-content;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background:
    linear-gradient(to right,
      rgba(255, 255, 255, 0.32),
      rgba(255, 255, 255, 0.22)),
    var(--gradient);
}

.reel-reserve-link:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.reel-social-links {
  position: fixed;
  top: calc(var(--header-height, 60px) + 50px);
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 10;
}

.reel-social-links a {
  text-decoration: none;
}

.reel-social-link {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.1);
  opacity: 0.5;
}

.reel-social-link:hover {
  opacity: 1;
  transform: scale(1.15);
}

.youtube {
  background: #ff0000;
}

.instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.facebook {
  background: #1877f2;
}

.tiktok {
  background: #000;
}

.whatsapp {
  background: #25d366;
}

.reel-description {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 10px;
}

.reel-description.expanded {
  display: block;
  -webkit-line-clamp: unset;
}

.see-more-btn {
  background: none;
  border: none;
  color: var(--secondary);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
}

.reel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0;
}

.tag {
  background: rgba(34, 139, 34, 0.3);
  border: 1px solid rgba(34, 139, 34, 0.5);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  color: var(--secondary);
  font-weight: 600;
}

.reel-category {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.reel-category i {
  color: var(--secondary);
}

/* Filtro activo mas visible */
.active-filter {
  position: fixed;
  top: 70px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: var(--dark);
  padding: 10px 20px;
  border-radius: 25px;
  z-index: 999;
  display: none;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translate(-50%, -10px);
  }

  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.clear-filter-btn {
  background: rgba(0, 0, 0, 0.2);
  border: none;
  color: var(--dark);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.clear-filter-btn:hover {
  background: rgba(0, 0, 0, 0.3);
  transform: rotate(90deg);
}

/* Botones flotantes con nuevo diseno */
.floating-search-btn {
  position: fixed;
  bottom: 85px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient);
  color: var(--dark);
  border: none;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.4);
  transition: all 0.3s ease;
  z-index: 999;
}

.floating-search-btn:hover {
  transform: scale(1.1) rotate(15deg);
  box-shadow: 0 6px 25px rgba(255, 215, 0, 0.5);
}

/* Loading state */
.loading-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--dark);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

body:not(.dark-mode) .loading-container {
  background: var(--cartagena-light);
}

.loading-spinner {
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-top: 4px solid var(--secondary);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

body:not(.dark-mode) .loading-spinner {
  border: 4px solid rgba(75, 163, 199, 0.2);
  border-top: 4px solid var(--cartagena-sea);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loading-container p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

body:not(.dark-mode) .loading-container p {
  color: rgba(31, 31, 31, 0.7);
}

/* Empty state */
.empty-state {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 140px);
  padding: 40px 20px;
  text-align: center;
  color: white;
}

body:not(.dark-mode) .empty-state {
  color: var(--cartagena-dark);
}

.empty-state i {
  font-size: 4rem;
  color: var(--secondary);
  margin-bottom: 20px;
  opacity: 0.5;
}

.empty-state h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.empty-state p {
  opacity: 0.7;
  margin-bottom: 25px;
}

body:not(.dark-mode) .empty-state p {
  opacity: 0.7;
}

.reset-btn {
  padding: 12px 28px;
  background: var(--gradient);
  color: var(--dark);
  border: none;
  border-radius: 25px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.reset-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
}

/* Modal de categorias */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1002;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: linear-gradient(180deg, rgba(26, 26, 26, 0.98), rgba(40, 40, 40, 0.98));
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 20px;
  width: 100%;
  max-width: 400px;
  overflow: hidden;
  animation: modalSlide 0.3s ease;
}

@keyframes modalSlide {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-header {
  padding: 20px;
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--gradient);
}

.modal-header h3 {
  color: var(--dark);
  font-size: 16px;
  font-weight: 700;
}

.modal-close {
  background: rgba(0, 0, 0, 0.2);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--dark);
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.3);
  transform: rotate(90deg);
}

.modal-content {
  padding: 20px;
  max-height: 60vh;
  overflow-y: auto;
}

body:not(.dark-mode) .modal-content {
  color: var(--cartagena-dark);
  background: #eefaf9;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.category-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 15px;
  padding: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: white;
}

body:not(.dark-mode) .category-btn {
  background: rgba(75, 163, 199, 0.08);
  border: 1px solid rgba(75, 163, 199, 0.3);
  color: var(--cartagena-dark);
}

.category-btn:hover {
  background: rgba(255, 215, 0, 0.1);
  border-color: var(--secondary);
  transform: translateY(-2px);
}

body:not(.dark-mode) .category-btn:hover {
  background: rgba(75, 163, 199, 0.15);
  border-color: var(--cartagena-sea);
}

.category-btn.active {
  background: var(--gradient);
  border-color: transparent;
  color: var(--dark);
}

.category-btn i {
  font-size: 22px;
}

.category-btn span {
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

/* Search Modal */
.search-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 2000;
  display: none;
  flex-direction: column;
  padding: 20px;
}

.search-modal.active {
  display: flex;
}

.search-modal-content {
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
}

.search-modal-header {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}

.search-modal-input-container {
  flex: 1;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 30px;
  padding: 0 20px;
}

body:not(.dark-mode) .search-modal-input-container {
  background: rgba(75, 163, 199, 0.08);
  border: 1px solid rgba(75, 163, 199, 0.3);
}

.search-modal-input-container i {
  color: var(--secondary);
}

.search-modal-input-container input {
  flex: 1;
  background: none;
  border: none;
  padding: 15px;
  color: white;
  font-size: 1rem;
  outline: none;
}

body:not(.dark-mode) .search-modal-input-container input {
  color: var(--cartagena-dark);
}

.search-modal-input-container input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

body:not(.dark-mode) .search-modal-input-container input::placeholder {
  color: rgba(31, 31, 31, 0.5);
}

.search-modal-close {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.2);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-modal-close:hover {
  background: rgba(255, 215, 0, 0.2);
  transform: rotate(90deg);
}

.search-suggestions h4 {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.suggestion-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.suggestion-chip {
  padding: 10px 18px;
  background: rgba(34, 139, 34, 0.2);
  border: 1px solid rgba(34, 139, 34, 0.3);
  color: white;
  border-radius: 20px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.suggestion-chip:hover {
  background: var(--gradient);
  color: var(--dark);
  border-color: transparent;
}

.footer {
  position: fixed;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 24px);
  max-width: 430px;
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(18px);
  padding: 6px;
  display: flex;
  justify-content: space-around;
  z-index: 998;
  height: 50px;
  border-radius: 18px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

/* Modo claro */
body:not(.dark-mode) .footer {
  background: rgba(250, 250, 250, 0.65);
  border: 1px solid rgba(120, 120, 120, 0.18);
}

/* Botones dentro del footer */
.footer-btn {
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  padding: 4px 8px;
  color: rgba(36, 35, 35, 0.779);
  transition: all 0.25s ease;
  flex: 1;
  border-radius: 12px;
  text-decoration: none;
}

body:not(.dark-mode) .footer-btn {
  color: rgba(31, 31, 31, 0.75);
}

.footer-btn:hover {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.25);
}

body:not(.dark-mode) .footer-btn:hover {
  background: rgba(100, 100, 100, 0.1);
}

.footer-btn.active {
  background: rgba(255, 255, 255, 0.35);
  color: var(--dark);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.footer-btn i {
  font-size: 16px;
}

.footer-btn span {
  font-size: 9px;
  font-weight: 600;
}


/* ===================== INDEX PAGE STYLES ===================== */

/* Container principal para index */
.page-container {
  padding-top: 60px;
  padding-bottom: 90px;
  min-height: 100vh;
}

/* Hero section para index */
.hero-section {
  background: #000;
  padding: 40px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("https://upload.wikimedia.org/wikipedia/commons/9/9e/Cartagena_de_Indias_homebanner.jpg") center / cover;
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 2rem;
  font-weight: 800;
  color: #eefaf9;
  margin-bottom: 10px;
}

.hero-content p {
  font-size: 1rem;
  color: #f9f9f9;
  opacity: 0.8;
  max-width: 400px;
  margin: 0 auto;
}

/* Tabs de navegacion */
.nav-tabs-container {
  padding: 20px;
  position: sticky;
  top: 60px;
  background: var(--dark);
  z-index: 100;
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

body:not(.dark-mode) .nav-tabs-container {
  background: var(--cartagena-light);
  border-bottom: 1px solid rgba(75, 163, 199, 0.2);
}

.nav-tabs {
  display: flex;
  gap: 10px;
  max-width: 600px;
  margin: 0 auto;
}

.nav-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 25px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

body:not(.dark-mode) .nav-tab {
  background: rgba(75, 163, 199, 0.08);
  border: 1px solid rgba(75, 163, 199, 0.3);
  color: rgba(31, 31, 31, 0.7);
}

.nav-tab:hover {
  background: rgba(255, 215, 0, 0.1);
  border-color: var(--secondary);
  color: white;
}

body:not(.dark-mode) .nav-tab:hover {
  background: rgba(75, 163, 199, 0.15);
  border-color: var(--cartagena-sea);
  color: var(--cartagena-dark);
}

.nav-tab.active {
  background: var(--gradient);
  border-color: transparent;
  color: var(--dark);
}

.nav-tab i {
  font-size: 16px;
}

/* Tab content */
.tab-content {
  display: none;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Section titles */
.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title i {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Sitios grid */
.sitios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.sitio-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.15);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

body:not(.dark-mode) .sitio-card {
  background: white;
  border: 1px solid rgba(75, 163, 199, 0.2);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.sitio-card:hover {
  transform: translateY(-5px);
  border-color: var(--secondary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

body:not(.dark-mode) .sitio-card:hover {
  border-color: var(--cartagena-sea);
  box-shadow: 0 10px 30px rgba(75, 163, 199, 0.15);
}

.sitio-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.sitio-info {
  padding: 15px;
}

.sitio-name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: white;
}

body:not(.dark-mode) .sitio-name {
  color: var(--cartagena-dark);
}

.sitio-description {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body:not(.dark-mode) .sitio-description {
  color: rgba(31, 31, 31, 0.7);
}

.sitio-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--secondary);
}

/* Categorias grid */
.categorias-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 15px;
}

.categoria-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.15);
  border-radius: 15px;
  padding: 20px 15px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

body:not(.dark-mode) .categoria-card {
  background: white;
  border: 1px solid rgba(75, 163, 199, 0.2);
}

.categoria-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 215, 0, 0.1);
  border-color: var(--secondary);
}

body:not(.dark-mode) .categoria-card:hover {
  background: rgba(75, 163, 199, 0.1);
  border-color: var(--cartagena-sea);
}

.categoria-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  font-size: 20px;
  color: var(--dark);
}

.categoria-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: white;
}

body:not(.dark-mode) .categoria-name {
  color: var(--cartagena-dark);
}

/* Loading spinner */
.loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}

.spinner {
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-top: 4px solid var(--secondary);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin-bottom: 15px;
}

body:not(.dark-mode) .spinner {
  border: 4px solid rgba(75, 163, 199, 0.2);
  border-top: 4px solid var(--cartagena-sea);
}

.loading p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

body:not(.dark-mode) .loading p {
  color: rgba(31, 31, 31, 0.7);
}

/* Responsive */
@media (max-width: 768px) {
  .reel-card {
    height: calc(100vh - 60px);
  }

  .reel-social-links {
    bottom: 160px;
  }

  .header.search-active .header-search-input {
    width: 150px;
  }

  .header.search-active .header-search-input:focus {
    width: 180px;
  }

  .hero-content h1 {
    font-size: 1.6rem;
  }

  .sitios-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .brand-name {
    font-size: 0.9rem;
  }

  .brand-rnt {
    font-size: 0.6rem;
  }

  .footer {
    max-width: calc(100% - 20px);
  }

  .footer-btn span {
    font-size: 9px;
  }

  .categorias-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}