/* Hero Section Responsive Fixes */

/* Base hero section styles */
.hero-section {
    height: auto;
    display: flex;
    align-items: end;
    position: relative;
    padding-bottom: 0;
    padding-top: 20vh;
    overflow: hidden;
    min-height: 100vh;
}


.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, var(--color-bg-overlay), var(--color-bg-overlay-fade));
  z-index: var(--z-0);
}

/* Video background styling */
.hero-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* Content wrapper */
.hero-content-wrapper {
    position: relative;
    z-index: 1;
    border-radius: 2rem;
    padding: 2rem;
    margin: 2rem auto;
}

/* Fix the subtitle text sizing - override Tailwind classes */
.hero-section p {
    font-size: 1.5rem !important; /* 24px - good mobile size */
    line-height: 1.4;
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .hero-section p {
        font-size: 1.875rem !important; /* 30px - larger for desktop */
    }
}

@media (min-width: 1024px) {
    .hero-section p {
        font-size: 2.25rem !important; /* 36px - even larger for desktop */
    }
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .hero-content-wrapper {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .hero-section {
        padding-top: 15vh;
        min-height: 90vh;
    }
    
    /* Make sure main heading is appropriately sized */
    .hero-section h1 {
        font-size: 3rem !important; /* Override any large desktop sizes */
        line-height: 1.2;
    }
    
    /* Ensure buttons stack properly */
    .hero-section .flex {
        flex-direction: column;
        gap: 1rem;
    }
    
    /* Make image smaller on mobile */
    .hero-section img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 2.5rem !important;
    }
    
    .hero-section p {
        font-size: 1.25rem !important;
    }
    
    .hero-content-wrapper {
        padding: 1rem;
        margin: 0.5rem;
    }
}

/* Make hero image radius smaller on mobile only */
@media (max-width: 768px) {
  .hero-section img {
    border-radius: 0.75rem !important; /* rounded-xl equivalent */
  }
}

@media (max-width: 480px) {
  .hero-section img {
    border-radius: 0.5rem !important; /* rounded-lg equivalent */
  }
}