/**
 * Mauritius Hero Text - Segoe UI Font Version
 * Modern, clean design with Segoe UI typography
 */

/* ========================================
   BASE STYLES & FONT SETUP
======================================== */

.mht-hero-section {
    width: 100%;
    padding: 40px 20px;
    margin: 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.95) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.mht-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.mht-hero-content {
    animation: mhtFadeInUp 1.2s ease-out;
    text-align: center;
    position: relative;
    z-index: 10;
}

/* ========================================
   TYPOGRAPHY - SEGOE UI FONT
======================================== */

/* Headline */
.mht-headline {
    margin: 0 0 5.625px 0; /* Reduced by additional 25% from 7.5px */
    padding: 0;
    line-height: 1.1;
}

.mht-headline-main {
    display: block;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #197F8C;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(25, 127, 140, 0.1);
    margin-bottom: 3.75px; /* Reduced by additional 25% from 5px */
}

/* Subheadline */
.mht-subheadline {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #197F8C;
    margin: 0 0 25px 0;
    line-height: 1.2;
    opacity: 0.9;
}

/* Description */
.mht-description {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: #333333;
    line-height: 1.6;
    margin: 0 auto;
    max-width: 800px;
    opacity: 0.85;
}

/* Bold text in description */
.mht-description strong {
    font-weight: 600;
    color: #197F8C;
    background: linear-gradient(135deg, #197F8C 0%, #2A8C99 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   TEXT ALIGNMENT OPTIONS
======================================== */

.mht-hero-section[data-align="center"] .mht-hero-content {
    text-align: center;
}

.mht-hero-section[data-align="center"] .mht-description {
    margin-left: auto;
    margin-right: auto;
}

.mht-hero-section[data-align="left"] .mht-hero-content {
    text-align: left;
}

.mht-hero-section[data-align="left"] .mht-description {
    margin-left: 0;
    margin-right: auto;
}

.mht-hero-section[data-align="right"] .mht-hero-content {
    text-align: right;
}

.mht-hero-section[data-align="right"] .mht-description {
    margin-left: auto;
    margin-right: 0;
}

/* ========================================
   ANIMATIONS
======================================== */

@keyframes mhtFadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes mhtShimmer {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */

/* Desktop Large (1400px+) */
@media (min-width: 1400px) {
    .mht-hero-section {
        padding: 60px 40px;
    }
    
    .mht-headline-main {
        font-size: 4.5rem;
    }
    
    .mht-subheadline {
        font-size: 2.2rem;
    }
    
    .mht-description {
        font-size: 1.3rem;
        max-width: 900px;
    }
}

/* Desktop (1200px - 1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
    .mht-hero-section {
        padding: 50px 30px;
    }
    
    .mht-headline-main {
        font-size: 4rem;
    }
    
    .mht-subheadline {
        font-size: 2rem;
    }
    
    .mht-description {
        font-size: 1.2rem;
        max-width: 850px;
    }
}

/* Laptop (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .mht-hero-section {
        padding: 45px 25px;
    }
    
    .mht-headline-main {
        font-size: 3.5rem;
    }
    
    .mht-subheadline {
        font-size: 1.8rem;
    }
    
    .mht-description {
        font-size: 1.1rem;
        max-width: 800px;
    }
}

/* Tablet (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .mht-hero-section {
        padding: 40px 20px;
    }
    
    .mht-headline-main {
        font-size: 3rem;
        letter-spacing: -0.3px;
    }
    
    .mht-subheadline {
        font-size: 1.6rem;
        margin-bottom: 7.5px; /* Reduced by additional 25% from 10px */
    }
    
    .mht-description {
        font-size: 1.05rem;
        line-height: 1.5;
        max-width: 700px;
    }
}

/* Mobile Large (550px - 768px) */
@media (min-width: 550px) and (max-width: 768px) {
    .mht-hero-section {
        padding: 30px 15px;
    }
    
    .mht-headline-main {
        font-size: 2.2rem;
        letter-spacing: 0;
    }
    
    .mht-subheadline {
        font-size: 1.3rem;
        margin-bottom: 5.625px; /* Reduced by additional 25% from 7.5px */
    }
    
    .mht-description {
        font-size: 1rem;
        line-height: 1.4;
        max-width: 100%;
    }
}

/* Mobile Medium (480px - 549px) */
@media (min-width: 480px) and (max-width: 549px) {
    .mht-hero-section {
        padding: 25px 12px;
    }
    
    .mht-headline-main {
        font-size: 1.9rem;
        letter-spacing: 0;
    }
    
    .mht-subheadline {
        font-size: 1.2rem;
        margin-bottom: 4.5px; /* Reduced by additional 25% from 6px */
    }
    
    .mht-description {
        font-size: 0.95rem;
        line-height: 1.4;
    }
}

/* Mobile Small (360px - 479px) */
@media (min-width: 360px) and (max-width: 479px) {
    .mht-hero-section {
        padding: 20px 10px;
    }
    
    .mht-headline-main {
        font-size: 1.6rem;
        letter-spacing: 0;
    }
    
    .mht-subheadline {
        font-size: 1.1rem;
        margin-bottom: 3.75px; /* Reduced by additional 25% from 5px */
    }
    
    .mht-description {
        font-size: 0.9rem;
        line-height: 1.35;
    }
}

/* Mobile Extra Small (below 360px) */
@media (max-width: 359px) {
    .mht-hero-section {
        padding: 15px 8px;
    }
    
    .mht-headline-main {
        font-size: 1.4rem;
        letter-spacing: 0;
    }
    
    .mht-subheadline {
        font-size: 1rem;
        margin-bottom: 3px; /* Reduced by additional 25% from 4px */
    }
    
    .mht-description {
        font-size: 0.85rem;
        line-height: 1.3;
    }
}

/* ========================================
   BACKGROUND OPTIONS
======================================== */

.mht-hero-section.mht-has-bg {
    background: linear-gradient(135deg, rgba(25, 127, 140, 0.05) 0%, rgba(42, 140, 153, 0.05) 100%);
    border-top: 3px solid #197F8C;
    border-bottom: 3px solid #197F8C;
}

/* ========================================
   PRINT STYLES
======================================== */

@media print {
    .mht-hero-section {
        padding: 20px 0;
        margin: 0;
        background: transparent;
        backdrop-filter: none;
    }
    
    .mht-headline-main {
        color: #197F8C !important;
        -webkit-text-fill-color: #197F8C !important;
    }
    
    .mht-subheadline {
        color: #197F8C !important;
    }
    
    .mht-description {
        color: #333333 !important;
    }
}

/* ========================================
   ACCESSIBILITY
======================================== */

/* Focus styles for better accessibility */
.mht-hero-content:focus-within {
    outline: 2px solid #197F8C;
    outline-offset: 4px;
    border-radius: 4px;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .mht-hero-content {
        animation: none;
    }
    
    .mht-description strong {
        background: #197F8C;
        -webkit-background-clip: initial;
        -webkit-text-fill-color: initial;
        background-clip: initial;
    }
}