@charset "UTF-8";
/* Updated CSS Document 2025 for RJ designed by Mr Atif BUX */

/* Default desktop style */
.hero-image {
  width: 100%;
  height: 60vh;        /* Fill ~60% of screen height */
  max-height: 600px;   /* Prevent it from being too tall */
  object-fit: cover;   /* Keep proportions */
  object-position: center top; /* Always keep the top/center in view */
  display: block;
  margin: 0 auto;
}

/* Tablet screens */
@media (min-width: 768px) and (max-width: 991px) {
  .hero-image {
    content: url('https://www.robertjuliat.com/Heros/LSD.webp');
    height: 45vh;       /* Balanced height for tablets */
    max-height: 450px;
    object-fit: cover;
    object-position: center top; /* Person stays visible */
  }
}

/* Mobile screens */
@media (max-width: 767px) {
  .hero-image {
    content: url('https://www.robertjuliat.com/Heros/LSD.webp');
    height: 35vh;       /* Compact for phones */
    max-height: 300px;
    object-fit: cover;
    object-position: center top; /* Focus stays on top */
  }
}