:root {
  --primary: #e74343;
  --primary-light: #ff6b6b;
  --dark-text: #1d1d1d;
  --soft-text: #666;
  --bg-soft: #fafafa;
  --border: #eaeaea;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #fff;
  color: var(--dark-text);
}

.container {
  max-width: 1280px;
  margin: auto;
  padding: 0 20px;
}

.section {
  padding: 70px 0;
  position: relative;
  z-index: 20;
}

h1, h2, h3 {
  margin-bottom: 20px;
  font-weight: 800;
}

p {
  color: var(--soft-text);
  line-height: 1.6;
}

/* TOPBAR */
.topbar {
  background: #f9f9f9;
  padding: 10px 0;
  border-bottom: 1px solid #ececec;
  font-size: 14px;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-left i {
  font-size: 14px;
  background: #fff;
  width: 28px;
  height: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  border: 1px solid #e4e4e4;
  color: #666;
  transition: 0.2s;
}

.topbar-left i:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.topbar-email {
  color: #444;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.topbar-email i {
  color: var(--primary);
}

.topbar-btn {
  padding: 7px 14px;
  background: #fff;
  border: 1px solid #e4e4e4;
  border-radius: 8px;
  color: #444;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.25s, border-color 0.25s, transform 0.15s;
  font-size: 13px;
}

.topbar-btn:hover {
  background: #f0f0f0;
  border-color: #d5d5d5;
  transform: translateY(-1px);
}

.topbar-btn.red {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.topbar-btn.red:hover {
  background: var(--primary-light);
}

/* HEADER */
.header {
  background: #fff;
  padding: 16px 0;
  border-bottom: 2px solid var(--primary);
  position: sticky;
  top: 0;
  z-index: 9999;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo img {
  height: 54px;
}

.nav-menu {
  display: flex;
  gap: 30px;
}

.nav-menu a {
  color: #444;
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
}

.nav-menu a:hover {
  color: var(--primary);
}

/* HERO */
.heroSwiper {
  position: relative;
  z-index: 1;
}

.heroSwiper .swiper-slide img {
  width: 100%;
  height: 90vh;
  object-fit: cover;
  filter: brightness(58%);
}

.slide-content {
  position: absolute;
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #fff;
  width: 100%;
  max-width: 1100px;
  padding: 0 20px;
  z-index: 10;
}

.hero-title {
  font-size: 50px;
  font-weight: 800;
  text-shadow: 0 6px 15px rgba(0,0,0,0.4);
}

.hero-text {
  font-size: 20px;
  color: #f2f2f2;
  margin-top: 10px;
}

/* SEARCH BAR */
.search-bar {
  width: 100%;
  background: #fff;
  padding: 25px;
  border-radius: 16px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 25px;
  margin-top: 35px;
  box-shadow: 0 6px 25px rgba(0,0,0,0.12);
  border: 1px solid var(--border);
}

.sb-field { flex: 1; }

.sb-field label {
  font-size: 13px;
  font-weight: 700;
  color: #777;
  margin-bottom: 6px;
  display: block;
}

.sb-input {
  display: flex;
  align-items: center;
  position: relative;
  border-bottom: 2px solid #ddd;
  padding-bottom: 5px;
}

.sb-input input,
.sb-input select {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-size: 16px;
  padding-right: 24px;
  color: #444;
}

.sb-icon {
  position: absolute;
  right: 0;
  font-size: 18px;
  color: #bbb;
}

.sb-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 14px 30px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s;
  white-space: nowrap;
}

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

/* DESTINOS */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.g-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: 0.3s;
}

.g-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: transform 0.4s;
}

.g-card:hover img {
  transform: scale(1.08);
}

.g-info {
  position: absolute;
  bottom: 14px;
  left: 14px;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  text-shadow: 0 2px 6px rgba(0,0,0,0.7);
}

/* PROPIEDADES DESTACADAS */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.featured-card {
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  transition: transform .25s, box-shadow .25s;
}

.featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.fc-image {
  position: relative;
}

.fc-image img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.fc-price {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(0,0,0,.55);
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 15px;
}

.fc-price strong {
  font-size: 18px;
  font-weight: 700;
}

.fc-featured {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #20c997;
  color: #fff;
  padding: 5px 12px;
  font-size: 13px;
  border-radius: 5px;
  font-weight: 700;
}

.fc-info {
  list-style: none;
  margin: 15px;
  padding: 0;
  display: flex;
  gap: 18px;
  color: #777;
  font-size: 14px;
}

.fc-info li i {
  margin-right: 6px;
  color: var(--primary);
}

.fc-title {
  font-size: 20px;
  font-weight: 800;
  margin: 0 15px 6px;
}

.fc-location {
  margin: 0 15px 18px;
  font-size: 14px;
  color: #777;
}

/* ROW */
.row {
  display: flex;
  align-items: center;
  gap: 40px;
}

.row img {
  width: 480px;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* AUTOMATIZACIÓN */
.section-automatizacion {
  background: #fdfdfd;
}

#automatizacion .auto-text {
  flex: 1;
}

#automatizacion .auto-text h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--dark-text);
  margin-bottom: 18px;
}

#automatizacion .auto-text p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--soft-text);
  margin-bottom: 12px;
}

#automatizacion .auto-image {
  width: 480px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* ATENCIÓN PERSONALIZADA */
#atencion .text-block {
  flex: 1;
  max-width: 560px;
}

#atencion .text-block h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--dark-text);
}

#atencion .text-block p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 12px;
  color: var(--soft-text);
}

#atencion .atencion-img-fixed {
  width: 480px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 4px 18px rgba(0,0,0,0.14);
}

/* TRANSPORTE */
#transporte .trans-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 45px;
}

#transporte .transporte-image {
  width: 480px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
}

#transporte .transporte-text {
  flex: 1;
}

#transporte .transporte-text h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 18px;
  color: var(--dark-text);
}

#transporte .transporte-text p {
  font-size: 16px;
  color: var(--soft-text);
  line-height: 1.7;
  margin-bottom: 14px;
}

/* REVIEWS */
.reviews-section {
  background: #f7f7f7;
  padding: 80px 0;
  text-align: center;
}

.reviews-section h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 10px;
}

.reviews-sub {
  margin-bottom: 40px;
  color: #777;
}

.review-card {
  background: #fff;
  border-radius: 16px;
  padding: 30px 25px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.08);
  border: 1px solid #e5e5e5;
  text-align: center;
}

.review-photo {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
}

.review-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.review-stars {
  color: #ffd700;
  font-size: 20px;
  margin-bottom: 12px;
}

.review-text {
  font-size: 16px;
  color: #666;
  line-height: 1.7;
  margin: 0 auto;
  max-width: 280px;
}

.swiper-pagination-bullet {
  background: #ccc;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: var(--primary);
}

/* FOOTER */
.footer {
  background: #1b1b1b;
  color: #ddd;
  padding: 70px 0 30px;
  margin-top: 70px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 45px;
}

.footer-logo {
  width: 150px;
  margin-bottom: 20px;
}

.footer-text {
  font-size: 14px;
  line-height: 1.7;
  color: #bbb;
  max-width: 300px;
}

.footer-social a {
  display: inline-block;
  margin-right: 12px;
  color: #fff;
  background: #e74343;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  font-size: 18px;
  transition: 0.25s;
}

.footer-social a:hover {
  background: #ff6b6b;
  transform: translateY(-3px);
}

.footer-col h4 {
  color: #fff;
  margin-bottom: 18px;
  font-size: 18px;
  font-weight: 700;
}

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

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #bbb;
  text-decoration: none;
  font-size: 14px;
  transition: 0.25s;
}

.footer-col ul li a:hover {
  color: #fff;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #bbb;
}

.footer-contact li i {
  color: #e74343;
}

.footer-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 18px;
  background: #e74343;
  color: #fff;
  border-radius: 6px;
  font-size: 14px;
  text-decoration: none;
  transition: 0.25s;
}

.footer-btn:hover {
  background: #ff6b6b;
}

.footer-bottom {
  text-align: center;
  margin-top: 50px;
  padding-top: 25px;
  border-top: 1px solid #333;
  font-size: 13px;
  color: #888;
}

/* BOTÓN APRENDE MÁS */
.learn-more-btn {
  display: inline-block;
  background: var(--primary);
  padding: 12px 30px;
  color: #fff;
  border-radius: 40px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(231,67,67,0.35);
  transition: 0.25s ease;
}

.learn-more-btn:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .gallery-grid,
  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .nav-menu {
    display: none;
  }
  .row {
    flex-direction: column;
    text-align: center;
  }
  .row img {
    width: 100%;
  }
  .gallery-grid,
  .featured-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  #transporte .trans-row {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 700px) {
  .search-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-title {
    font-size: 34px;
  }
  .hero-text {
    font-size: 16px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* SLIDER INTERNO DENTRO DE CADA CARD */
.fc-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

/* Flechas estilo Airbnb para slider interno */
.featured-card .swiper-button-next,
.featured-card .swiper-button-prev {
    color: #fff;
    background: rgba(0,0,0,0.45);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.featured-card .swiper-button-next:after,
.featured-card .swiper-button-prev:after {
    font-size: 14px;
}

/* Ajuste para que las columnas no aplasten el contenido */
.featured-grid {
    align-items: flex-start;
}
/* =========================================================
   THEMES DE FONDO ARMENIASHORTSTAY
   Activa uno poniendo en <body> la clase:
   theme-cafe-oro / theme-niebla / theme-beige / theme-night
========================================================= */

/* Reset suave de sección por si algo ya tiene background */
.section {
  background: transparent;
}

/* -----------------------------
   1) THEME "CAFÉ ORO PREMIUM"
   (Warm, tipo café de lujo)
----------------------------- */

body.theme-cafe-oro {
  background: #f8f3ec;
}

/* Hero queda igual (fotos), no tocamos */

body.theme-cafe-oro #propiedades {
  background: #fffdf9;
}

body.theme-cafe-oro #destinos {
  background: #f3e4d4; /* beige cálido */
}

body.theme-cafe-oro #automatizacion,
body.theme-cafe-oro .section-automatizacion {
  background: #f9f1e5;
}

body.theme-cafe-oro #atencion {
  background: #fffaf2;
}

body.theme-cafe-oro #transporte {
  background: #f3e4d4;
}

body.theme-cafe-oro #reviews,
body.theme-cafe-oro .reviews-section {
  background: #f7ecde;
}

body.theme-cafe-oro .footer {
  background: #2b1a12;
}

/* -----------------------------
   2) THEME "NIEBLA DEL EJE"
   (Gris perla + verde suave)
----------------------------- */

body.theme-niebla {
  background: #f3f5f6;
}

body.theme-niebla #propiedades {
  background: #ffffff;
}

body.theme-niebla #destinos {
  background: #e5efea; /* verde muy suave */
}

body.theme-niebla #automatizacion,
body.theme-niebla .section-automatizacion {
  background: #f0f4f3;
}

body.theme-niebla #atencion {
  background: #ffffff;
}

body.theme-niebla #transporte {
  background: #e5efea;
}

body.theme-niebla #reviews,
body.theme-niebla .reviews-section {
  background: #edf1f2;
}

body.theme-niebla .footer {
  background: #1f2629;
}

/* -----------------------------
   3) THEME "BEIGE HOTEL BOUTIQUE"
   (Muy tipo hotel 5⭐)
----------------------------- */

body.theme-beige {
  background: #f7f4ef;
}

body.theme-beige #propiedades {
  background: #ffffff;
}

body.theme-beige #destinos {
  background: #efe5d8;
}

body.theme-beige #automatizacion,
body.theme-beige .section-automatizacion {
  background: #f9f6f1;
}

body.theme-beige #atencion {
  background: #ffffff;
}

body.theme-beige #transporte {
  background: #efe5d8;
}

body.theme-beige #reviews,
body.theme-beige .reviews-section {
  background: #f5eee4;
}

body.theme-beige .footer {
  background: #201e1c;
}

/* -----------------------------
   4) THEME "LUXURY NIGHT"
   (Oscuro, tipo Belmonte style)
----------------------------- */

body.theme-night {
  background: #0f1115;
  color: #f5f5f5;
}

body.theme-night .section {
  color: #f5f5f5;
}

body.theme-night h1,
body.theme-night h2,
body.theme-night h3 {
  color: #ffffff;
}

/* Hero igual (se ve brutal encima oscuro) */

body.theme-night #propiedades {
  background: #171a20;
}

body.theme-night #destinos {
  background: #101318;
}

body.theme-night #automatizacion,
body.theme-night .section-automatizacion {
  background: #181c23;
}

body.theme-night #atencion {
  background: #101318;
}

body.theme-night #transporte {
  background: #181c23;
}

body.theme-night #reviews,
body.theme-night .reviews-section {
  background: #12151b;
}

/* Ajustes para tarjetas en modo night */
body.theme-night .featured-card,
body.theme-night .listing-card,
body.theme-night .review-card {
  background: #1f242c;
  border-color: #2b313a;
}

body.theme-night p {
  color: #c7ced8;
}

body.theme-night .g-card {
  border-color: #2b313a;
}

body.theme-night .footer {
  background: #05070b;
  color: #aaa;
}

body.theme-night .footer-bottom {
  border-top-color: #222;
}
