/* CSS for Clinica Danas Video Hero Widget */

:root {
  --danas-black: #0c0c0c;
  /* Negro de lujo */
  --danas-dark-bg: #141414;
  /* Fondo oscuro secundario */
  --danas-gold-base: #d4af37;
  /* Dorado clásico del logo */
  --danas-gold-light: #fbe695;
  /* Dorado brillante para hovers */
  --danas-gold-dark: #8e6819;
  /* Dorado oscuro para textos */
  --danas-white: #ffffff;
  /* Blanco */
  --danas-gray-text: #2c2c2c;
  /* Texto de submenú */
  --danas-gray-light: #fafaf8;
  /* Fondo de submenú */
  --danas-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.danas-video-hero-wrapper {
  position: relative;
  width: 100%;
  min-height: 500px;
  height: 60vh;
  max-height: 800px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 4% 6%;
  box-sizing: border-box;
  font-family: 'Outfit', 'Inter', sans-serif;
}

/* Background overlay gradient for readability - darker at bottom for text contrast */
.danas-video-hero-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.45) 60%, rgba(0, 0, 0, 0.15) 100%);
  z-index: 1;
  pointer-events: none;
}

/* Background video tag */
.danas-video-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 1;
  pointer-events: none;
}

/* Content Container (Bottom-left) */
.danas-video-hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  color: var(--danas-white);
  margin-bottom: 20px;
}

/* Typography styles - High Contrast White text with subtle shadow */
.danas-video-hero-main-title {
  font-size: 1.15rem;
  /* Small elegant pre-title brand header */
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 14px 0;
  text-transform: uppercase;
  letter-spacing: 4px;
  /* Spacious luxury feel */
  background: linear-gradient(135deg, #fbe695 0%, #d4af37 50%, #8e6819 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.5));
}

.danas-video-hero-subtitle {
  font-size: 2.7rem;
  /* Restore the original large title font size */
  font-weight: 600;
  /* Bold weight as it was before */
  line-height: 1.3;
  margin: 0 0 28px 0;
  text-wrap: balance;
  color: var(--danas-white);
  /* Force high contrast white */
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.85), 0 2px 5px rgba(0, 0, 0, 0.5);
  /* Stronger shadows for outstanding readability */
}

/* Accent word in subtitle */
.danas-video-hero-subtitle span {
  color: var(--danas-gold-light) !important;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.7), 0 2px 5px rgba(0, 0, 0, 0.4);
}

/* Responsive styles */
@media (max-width: 767px) {
  .danas-video-hero-wrapper {
    height: 75vh;
    min-height: 480px;
    padding: 8% 6%;
    justify-content: flex-end;
  }

  .danas-video-hero-main-title {
    font-size: 0.95rem;
    /* Make brand title small on mobile */
    line-height: 1.2;
    margin-bottom: 10px;
    letter-spacing: 3px;
  }

  .danas-video-hero-subtitle {
    font-size: 1.6rem;
    /* Restore original H1 size on mobile */
    line-height: 1.3;
    margin-bottom: 24px;
  }

  .danas-btn {
    padding: 12px 30px;
    font-size: 0.85rem;
    width: 100%;
    text-align: center;
  }
}