/*
 Theme Name: Astra Child
 Theme URI: https://turistear.ar/
 Description: Tema hijo de Astra optimizado para Turistear.ar
 Author: Turistear
 Template: astra
 Version: 1.0
*/

/* --- Reset global --- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* --- Variables --- */
:root {
  --primary-color: #0073e6;
  --primary-hover: #005bb5;
  --text-color: #495057;
  --heading-color: #212529;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --border-radius-sm: 8px;
  --border-radius-lg: 50px;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* --- Body --- */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #f4f7f6;
  margin: 0;
  padding: 0;
}

/* ================================
   ARCHIVO DE HOTELES
================================ */
.hotel-archive-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
  margin-bottom: 2rem;
}

.hotel-card {
  background: var(--bg-white);
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 15px;
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center;
}

.hotel-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.hotel-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  margin-bottom: 10px;
}

.hotel-card h2.hotel-title {
  font-size: 1.2rem;
  margin: 0.8rem 0;
  color: #222;
}

.hotel-card .hotel-excerpt {
  padding: 0 0.5rem 1rem;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.5;
}

.see-all-hotels {
  text-align: center;
  margin: 2rem 0;
}

.btn-see-all {
  background: var(--primary-color);
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.2s;
}

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

/* ================================
   LISTADO DE LOCALIDADES
================================ */
.ubicaciones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.ubicacion-card {
  background: var(--bg-white);
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  text-align: center;
  padding: 20px;
  transition: transform 0.2s;
}

.ubicacion-card:hover {
  transform: translateY(-5px);
}

.ubicacion-card h2 {
  font-size: 18px;
  margin: 0;
}

/* ================================
   SINGLE HOTEL
================================ */
.hotel-single {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  margin-bottom: 2rem;
}

.hotel-name {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #222;
  font-weight: bold;
  text-align: center;
}

/* Imagen destacada */
.hotel-featured img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  margin-bottom: 20px;
}

/* Galería */
.hotel-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin: 25px 0;
}

.hotel-gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.hotel-gallery img:hover {
  transform: scale(1.05);
}

/* CTA */
.cta-booking {
  text-align: center;
  margin: 25px 0;
}

.cta-booking a {
  display: inline-block;
  padding: 14px 28px;
  background: #0073ff;
  color: #fff;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0,115,255,0.4);
  transition: all 0.3s ease;
}

.cta-booking a:hover {
  background: #005ad6;
  transform: translateY(-2px);
}

/* Amenities */
.hotel-amenities {
  margin: 30px 0;
  padding: 15px;
  background: var(--bg-light);
  border-radius: 12px;
}

.hotel-amenities h2 {
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.amenity-tag {
  background: #f4f6f8;
  padding: 8px 14px;
  border-radius: 20px;
  margin: 5px;
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.3s;
}

.amenity-tag:hover {
  background: #e0e7ff;
}

/* Descripción */
.hotel-description {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 25px;
  color: #444;
}

/* Interlinking */
.related-hotels {
  margin-top: 40px;
  padding: 20px;
  background: #f9fafc;
  border-radius: 12px;
}

.related-hotels h2 {
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.related-hotels ul {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  padding: 0;
  list-style: none;
}

.related-hotels ul li {
  flex: 1 1 calc(33.333% - 15px);
}

.related-hotels a {
  display: block;
  padding: 12px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: center;
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
}

.related-hotels a:hover {
  background: var(--primary-color);
  color: #fff;
}

/* ================================
   INTERLINKING DE AMENITIES
================================ */
.amenities-links {
  margin: 20px 0;
  padding: 15px;
  background: #f9f9f9;
  border-radius: 10px;
}

.amenities-links h3 {
  margin-bottom: 10px;
  font-size: 1.2em;
  color: #222;
}

.amenity-btn {
  display: inline-block;
  margin: 5px;
  padding: 8px 14px;
  background: var(--primary-color);
  color: #fff !important;
  text-decoration: none;
  border-radius: 20px;
  font-weight: bold;
  transition: background 0.3s ease;
}

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

.amenity-current {
  display: inline-block;
  margin: 5px;
  padding: 8px 14px;
  background: #f4c542;
  color: #222;
  border-radius: 20px;
  font-weight: bold;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.location-card {
  display: block;
  padding: 1rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.location-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.location-name {
  font-weight: bold;
  display: block;
  margin-bottom: 0.3rem;
}

.location-count {
  font-size: 0.9rem;
  color: #555;
}
.title,
.section-title {
  text-align: center;
}
.see-all-locations {
  text-align: center;
  margin: 30px 0;
}

.see-all-locations .btn-see-all {
  display: inline-block;
  background-color: #0073e6; /* azul contraste */
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.see-all-locations .btn-see-all:hover {
  background-color: #005bb5;
  transform: translateY(-2px);
}
