/* Estilos Generales para la Página HiDriver con prefijo hdp- */
.hdp-page-wrapper {
    font-family: Arial, Helvetica, sans-serif; /* O la fuente principal de tu sitio */
    direction: rtl; /* Right-to-Left para Hebreo */
    text-align: right; /* Alineación general a la derecha */
    background-color: #f8f9fa; /* Un color de fondo base claro */
    overflow-x: hidden; /* Prevenir scroll horizontal */
}

.hdp-container {
    max-width: 1140px; /* Ancho estándar para contenido */
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* --- Bloque de Teléfono Fijo --- */
.hdp-phone-fixed {
    position: fixed; /* O absolute si está dentro de un contenedor posicionado */
    top: 20px;  /* Ajusta según tu cabecera */
    left: 20px; /* Posición izquierda */
    background-color: #fff;
    padding: 8px 15px;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 101; /* Encima de la sidebar del blog si coexisten */
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95em;
    direction: ltr; /* El contenido interno (icono, número) es LTR */
}

.hdp-phone-icon {
    display: inline-block;
    width: 28px;
    height: 28px;
    background-color: #ffc107; /* Color naranja/amarillo */
    border-radius: 50%;
    /* Aquí podrías poner un icono SVG o font icon */
    /* Ejemplo con background: */
    /* background: url('path/to/phone-icon-white.svg') no-repeat center center; */
    /* background-size: 60%; */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white; /* Si usas font icon */
    font-weight: bold; /* Placeholder si no hay icono */
}
.hdp-phone-icon::before { /* Placeholder si no hay icono real */
    content: '📞';
    font-size: 16px;
}


.hdp-phone-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.3;
}

.hdp-phone-label {
    font-size: 0.8em;
    color: #666;
}

.hdp-phone-number {
    font-weight: bold;
    color: #333;
}


/* --- Sección Hero --- */
.hdp-hero {
    position: relative;
    background: url('placeholder-hero-bg.jpg') no-repeat center center; /* REEMPLAZA con tu imagen */
    background-size: cover;
    padding: 150px 0 80px 0; /* Espaciado superior e inferior */
    color: #fff;
    text-align: center;
}

.hdp-hero::before { /* Overlay oscuro */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.55); /* Ajusta opacidad */
    z-index: 1;
}

.hdp-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
}

.hdp-hero-intro {
    font-size: 1.8em;
    margin-bottom: 5px;
    letter-spacing: 1px; /* Ligero espaciado */
    font-weight: 800;
    color: #fff;
}

.hdp-hero-title {
    font-size: 4em; /* Tamaño grande */
    font-weight: 900;
    color: #ffc107; /* Color amarillo/naranja */
    margin-bottom: 10px;
    line-height: 2;
}

.hdp-hero-subtitle {
    font-size: 1.8em;
    font-weight: 800;
    margin-bottom: 30px;
    color: #fff;
}

.hdp-hero-cta {
    display: inline-block;
    background-color: transparent;
    border: 1px solid #ffc107;
    color: #ffc107;
    padding: 15px 35px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.hdp-hero-cta:hover {
    background-color: #ffc107;
    color: #333;
}

/* --- Indicador de Sección Numerado --- */
.hdp-section-indicator {
    display: inline-block;
    width: 35px;
    height: 35px;
    background-color: #ffc107; /* Naranja/amarillo */
    color: #fff;
    border-radius: 50%;
    line-height: 35px; /* Centrado vertical */
    text-align: center;
    font-weight: bold;
    font-size: 1.1em;
    margin: 0 auto 20px auto; /* Centrado horizontal y espacio inferior */
}


/* --- Sección Introducción (Coche Blanco) --- */
.hdp-intro-section {
    padding: 60px 0;
    background-color: #fff; /* Fondo blanco para esta sección */
    text-align: center;
}

.hdp-intro-section .hdp-section-indicator { /* Indicador para esta sección */
    /* Estilos ya definidos */
}

.hdp-intro-title {
    font-size: 1.8em;
    font-weight: bold;
    color: #333;
    max-width: 600px;
    margin: 0 auto 30px auto;
    line-height: 1.4;
}

.hdp-intro-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px; /* Espacio debajo de la imagen */
}

/* --- Sección Features (Caja Destacada) --- */
.hdp-feature-section {
    padding: 60px 0;
    background-color: #f8f9fa; /* Fondo base */
    text-align: center; /* Para centrar la caja */
}

.hdp-feature-box {
    background-color: #fff; /* Fondo blanco */
    border: 1px solid #e0e0e0; /* Borde sutil */
    border-radius: 15px; /* Bordes redondeados */
    padding: 40px;
    max-width: 850px; /* Ancho máximo de la caja */
    margin: 0 auto; /* Centrado */
    text-align: center; /* Texto interno a la derecha */
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.hdp-feature-box .hdp-section-indicator {
    /* Podemos ponerlo al inicio si queremos */
     margin: 0 0 20px 0; /* Alineado a la derecha y espacio abajo */     
     text-align: center;
}


.hdp-feature-title {
    color: #ffc107; /* Color naranja/amarillo */
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 15px;
}

.hdp-feature-text {
    font-size: 1.1em;
    color: #555;
    line-height: 1.7;
}

/* --- Sección Ofertas/Destinos --- */
.hdp-offers-section {
    padding: 60px 0;
    background-color: #fff; /* Fondo blanco */
    text-align: center;
}

.hdp-stars {
    color: #ffc107; /* Color amarillo/naranja */
    font-size: 1.8em; /* Tamaño de las estrellas */
    margin-bottom: 15px;
    letter-spacing: 3px; /* Espacio entre estrellas */
}

.hdp-offers-title {
    font-size: 2.2em;
    font-weight: bold;
    color: #333;
    margin-bottom: 40px;
}

.hdp-offers-carousel {
    position: relative; /* Para posicionar las flechas */
}

.hdp-offers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columnas */
    gap: 25px;
    padding: 0 40px; /* Espacio para las flechas */
}

.hdp-offer-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    text-align: right;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hdp-offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.12);
}

.hdp-card-image {
    display: block;
    width: 100%;
    height: 200px; /* Altura fija para la imagen */
    object-fit: cover;
}

.hdp-card-content {
    padding: 15px;
}

.hdp-card-title {
    font-size: 1.1em;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.hdp-card-details {
    display: flex;
    justify-content: space-between; /* Elementos a los extremos */
    align-items: center;
    font-size: 0.9em;
    color: #666;
}

.hdp-card-tag {
    display: flex;
    align-items: center;
    gap: 5px;
}
.hdp-card-tag::before { /* Icono placeholder 'document' */
    content: '📄';
    font-size: 1.1em;
}

.hdp-card-icon {
    color: #ffc107; /* Estrella amarilla */
    font-size: 1.2em;
}
.hdp-card-icon::before { /* Icono placeholder 'estrella' */
    content: '⭐';
}


.hdp-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid #ccc;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5em;
    color: #555;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 5px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease;
}
.hdp-carousel-arrow:hover {
    background-color: #fff;
}

.hdp-arrow-prev {
    left: 5px;
}
.hdp-arrow-next {
    right: 5px;
}

/* --- Sección Descarga App --- */
.hdp-app-download {
    padding: 50px 0 70px 0;
    background-color: #f8f9fa; /* Fondo base */
    text-align: center;
}

.hdp-app-title {
    font-size: 2em;
    font-weight: bold;
    color: #333;
    margin-bottom: 30px;
}

.hdp-app-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap; /* Para pantallas pequeñas */
}

.hdp-app-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: opacity 0.3s ease;
}
.hdp-app-button:hover {
    opacity: 0.85;
}

.hdp-app-button.hdp-ios {
    background-color: #000;
    color: #fff;
}

.hdp-app-button.hdp-android {
    background-color: #ffc107; /* Amarillo/naranja */
    color: #333; /* Texto oscuro */
}

.hdp-app-button i { /* Si usas Font Awesome u otra librería */
    font-size: 1.4em;
}

.hdp-app-button .hdp-icon-placeholder { /* Placeholder si no usas iconos */
    font-size: 1.4em;
}

/* --- Responsividad --- */
@media (max-width: 992px) {
    .hdp-hero-title { font-size: 2.8em; }
    .hdp-hero-subtitle { font-size: 1.5em; }
    .hdp-offers-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columnas en tablet */
        padding: 0 15px; /* Menos padding para flechas */
    }
    .hdp-carousel-arrow { display: none; } /* Ocultar flechas en tablet? O ajustar */
}

@media (max-width: 768px) {
    .hdp-hero-title { font-size: 2.2em; }
    .hdp-hero-subtitle { font-size: 1.2em; }
    .hdp-hero { padding: 80px 0 60px 0; }
    .hdp-intro-title { font-size: 1.5em; }
    .hdp-feature-title { font-size: 1.6em; }
    .hdp-feature-text { font-size: 1em; }
    .hdp-feature-box { padding: 30px; }
    .hdp-offers-title { font-size: 1.8em; }
    .hdp-offers-grid {
        grid-template-columns: 1fr; /* 1 columna en móvil */
        padding: 0;
    }
     .hdp-phone-fixed { /* Ocultar o mover en móvil */
       /* display: none; */
       /* O bien: */
       bottom: 10px; top: auto; left: 10px; right: 10px; width: auto; justify-content: center;
    }
    .hdp-app-title { font-size: 1.6em; }
    .hdp-app-buttons { flex-direction: column; align-items: center; gap: 10px; }
    .hdp-app-button { width: 80%; max-width: 250px; justify-content: center;}

}



/* === Animation du Coche === */

/* Modificar los Keyframes de animacion: */
@keyframes hdp-car-animation {
    0% {
      transform: translateX(100%); /* Start on the right */
      opacity: 1; /* Visible al inicio */
    }
    100% {
      transform: translateX(-100%); /* End on the left */
      opacity: 1; /* Visible al final */
    }
  }
  
  /* Style de la photo para hacerlo visible */
  .hdp-intro-image {
    max-width: 50%;
    height: auto;
    margin-bottom: 20px; /* Espacio debajo de la imagen */
    display: block; /*Para centrar la imagen*/
    margin: auto; /*Para centrar la imagen*/
    opacity: 1; /*Visible por default*/
  }
  
  /* Style when the card is animated */
  .hdp-intro-image.hdp-animate {
    animation: hdp-car-animation 10s linear forwards; /* Animación, duración, tipo de movimiento, que se quede al final*/
  }

