body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #333;
}

/* HERO */
.hero {
    background: url("/static/images/fondo_autocaravana.jpg")
        center/cover no-repeat;
    padding: 120px 20px;
    text-align: center;
    color: white;
    position: relative;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(0,0,0,0.55),
        rgba(0,0,0,0.25)
    );
}

.hero-content {
    position: relative;
    max-width: 700px;
    margin: auto;
}

.hero h1 {
    font-size: 3rem;
    margin: 0;
}

.hero p {
    margin: 10px 0 30px;
    font-size: 1.2rem;
}

.search-box {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.search-box input,
.search-box select {
    padding: 10px;
    border: none;
    border-radius: 6px;
    width: 180px;
}

.search-box button {
    padding: 10px 20px;
    background: #ffae00;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

.search-box button:hover {
    background: #ff9900;
}

/* SECTIONS GENERAL */
section {
    padding: 60px 20px;
    text-align: center;
}

/* STEPS */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.step {
    background: #fafafa;
    padding: 20px;
    border-radius: 10px;
}

/* TRUST */
.trust {
    background: #fff4d4;
}

/* PRICING */
.pricing {
    background: #eef7ff;
}

/* FEATURED VEHICLES */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.card {
    background: #fafafa;
    padding: 20px;
    border-radius: 12px;
}

.img-placeholder {
    width: 100%;
    height: 150px;
    background: #ddd;
    border-radius: 10px;
    margin-bottom: 15px;
}

/* OWNERS CTA */
.owners {
    background: #1e88e5;
    color: white;
    padding: 80px 20px;
}

.btn-cta {
    padding: 12px 25px;
    background: #ffae00;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
}

.btn-cta:hover {
    background: #ff9900;
}

/* FOOTER */
footer {
    background: #222;
    color: #bbb;
    text-align: center;
    padding: 20px;
}

footer a {
    color: #bbb;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}
.landing-nav {
    width: 100%;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    background: transparent;
    box-sizing: border-box;
    overflow-x: hidden;
}

.landing-nav a {
    color: white;
    margin-left: 20px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
}

.landing-nav .logo {
    font-size: 1.3rem;
    font-weight: bold;
}

.landing-nav a:hover {
    text-decoration: underline;
}

    /* === Tarjetas verticales === */
.vehicle-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
    transition: transform .2s ease, box-shadow .25s ease;
}

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

.card-link-vertical {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

/* Imagen */
.vehicle-image-vertical {
    width: 100%;
    height: 210px;
    position: relative;
}

.vehicle-image-vertical img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Distancia badge */
.badge-distance-vertical {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0,0,0,0.65);
    color: white;
    padding: 5px 9px;
    font-size: 0.85rem;
    border-radius: 8px;
}

/* Info */
.vehicle-info-vertical {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.vehicle-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Precio por día */
.price-day strong {
    font-size: 1.1rem;
}
.price-day .per-day {
    color: #555;
    margin-left: 4px;
}

/* Total estimado */
.price-total {
    font-size: .95rem;
    margin-top: 4px;
    color: #333;
}
.total-number {
    font-size: 1.1rem;
    color: #000;
}

/* Meta */
.meta-vertical {
    font-size: 0.9rem;
    color: #666;
}

/* Botón */
.actions-vertical {
    margin-top: 10px;
}
.actions-vertical .btn {
    width: 100%;
}

/* --- Ficha de vehículo (vehiculo.html) --- */

.vehicle-page {
  max-width: 1200px;
  margin: 0 auto;
}

.vehicle-header {
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 1rem;
}

.vehicle-title {
  font-weight: 700;
  font-size: 1.8rem;
}

.vehicle-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.vehicle-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.vehicle-image:hover {
  transform: scale(1.03);
}

/* Descripción */
.vehicle-description {
  line-height: 1.6;
  color: #334155;
}

/* Bloque de reserva */
.booking-card {
  position: sticky;
  top: 100px;
}

.booking-card h4 {
  font-size: 1.1rem;
  color: #1e293b;
}

#totalPrice {
  font-size: 1.3rem;
  font-weight: 600;
}

@media (max-width: 991px) {
  .booking-card {
    position: static;
    margin-top: 2rem;
  }
}

.filtros {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.filtros select,
.filtros input {
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.filtros button {
    padding: 8px 15px;
    background-color: #0077cc;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.filtros button:hover {
    background-color: #005fa3;
}

.hero-ofertantes {
    background: url("/static/images/hero-ofertantes.jpg") center/cover no-repeat;
}

<style>
.fc-daygrid-day-number {
    font-weight: 600;
}

.price-label {
    font-size: 0.75rem;
    color: #0d6efd;   /* azul */
    font-weight: 500;
}

.price-unavailable {
    font-size: 0.75rem;
    color: #dc3545;   /* rojo */
    font-weight: 600;
}
</style>

.fc-day-reserved {
    background-color: #ffcccc !important;
    color: #b30000 !important;
}

.fc-day-occupied {
    background-color: #ffeaea !important;
    color: #d00 !important;
}
.fc-day-reserved {
    background-color: #ffcccc !important;
    color: #b30000 !important;
    font-weight: bold;
}

.btn-hero-secondary {
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.8);
  background: transparent;
  padding: 4px 14px;
  border-radius: 30px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s ease;
  margin-top: 16px;
  opacity: 0.85;
}

/* Hover */
.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  text-decoration: none;
}

/* VISITED → clave del problema */
.btn-hero-secondary:visited {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.8);
}
.hero-secondary-link {
  display: inline-block;
  margin-top: 8px;
  color: rgba(255,255,255,0.9);
  font-size: 1.2rem;
  text-decoration: underline;
}

.hero-secondary-link:hover {
  color: #fff;
}
