/* =============================================
   TITAN CUATRO ELEMENTOS — main.css
   ============================================= */

/* ---- Variables ---- */
:root {
  --color-primary:    #0a7c4e;
  --color-primary-dk: #075f3c;
  --color-dark:       #111827;
  --color-text:       #1f2937;
  --color-muted:      #6b7280;
  --color-light:      #f9fafb;
  --font-body:        'Inter', sans-serif;
  --font-display:     'Playfair Display', serif;
  --hero-height:      100svh;
}

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

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: #fff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ---- Utilidades ---- */
.letter-spacing-wide { letter-spacing: 0.12em; }

.py-6 { padding-top: 5rem; padding-bottom: 5rem; }

/* ---- Bootstrap overrides ---- */
.btn-primary {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--color-primary-dk);
  border-color: var(--color-primary-dk);
}

.btn-outline-primary {
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

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

/* ---- Navbar ---- */
#navbar {
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

#navbar.scrolled {
  background: var(--color-dark);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

#navbar .navbar-brand img {
  height: 36px;
  width: auto;
}

/* ---- Hero ---- */
.hero {
  min-height: var(--hero-height);
  background-image: url('../img/tours/glaciar-vinciguerra/glaciar-01.webp');
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.35) 100%);
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.85;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-subtitle {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

/* ---- Section header ---- */
.section-header p.text-primary {
  font-family: var(--font-body);
  font-size: 0.8rem;
}

/* ---- Tour cards ---- */
.tour-card .card-img-top {
  height: 200px;
  object-fit: cover;
}

.badge-tipo {
  background-color: rgba(10, 124, 78, 0.12);
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  width: fit-content;
}

.badge-tipo-camp {
  background-color: rgba(180, 83, 9, 0.12);
  color: #b45309;
  font-weight: 600;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  width: fit-content;
}

.card-price {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-primary);
}

/* ---- Blog cards ---- */
.badge-cat-blog {
  background-color: rgba(30, 58, 138, 0.1);
  color: #1e3a8a;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  width: fit-content;
}

/* ---- Colaboradores ---- */
.collab-logo {
  height: 32px;
  max-width: 120px;
  width: auto;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.collab-logo:hover { opacity: 1; }

/* ---- Footer ---- */
.footer-logo {
  height: 150px;
  width: auto;
}

.footer-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-link:hover { color: #fff; }

.social-link {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s;
}
.social-link:hover { color: #fff; }

/* ---- WhatsApp flotante ---- */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  text-decoration: none;
  z-index: 1000;
  transition: background 0.2s, transform 0.2s;
}
.whatsapp-float:hover {
  background: #1ebe5d;
  color: #fff;
  transform: scale(1.08);
}
