/* ============================================
   Modern Hero Section - Sigal Medical Center
   تصميم عصري واحترافي
   ============================================ */

:root {
    --sigal-primary: #213e7b;
    --sigal-secondary: #00afdd;
    --sigal-accent: #f39c12;
    --sigal-dark: #1a1a1a;
    --sigal-light: #f8f9fa;
}

/* ============================================
   Hero Container
   ============================================ */
.hero-modern {
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #f8f9fa 100%);
    overflow: hidden;
    padding: 2rem 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(33, 62, 123, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(0, 175, 221, 0.03) 0%, transparent 50%);
    z-index: 0;
}

.hero-modern .container {
    position: relative;
    z-index: 1;
}

/* ============================================
   Hero Badge
   ============================================ */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(33, 62, 123, 0.1);
    border-radius: 50px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.hero-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #00afdd, #213e7b);
    border-radius: 50%;
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.8; }
}

.badge-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--sigal-primary);
    letter-spacing: 0.5px;
}

/* ============================================
   Hero Title
   ============================================ */
.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.title-main {
    font-size: 3rem;
    color: #2d3748;
    font-weight: 700;
}

.title-highlight {
    background: linear-gradient(135deg, var(--sigal-primary) 0%, var(--sigal-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.title-highlight::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--sigal-secondary), transparent);
    border-radius: 2px;
}

/* ============================================
   Hero Subtitle
   ============================================ */
.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #64748b;
    margin-bottom: 2.5rem;
    max-width: 540px;
}

/* ============================================
   Hero Buttons
   ============================================ */
.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.btn-hero {
    padding: 16px 32px;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.btn-hero.btn-primary {
    background: linear-gradient(135deg, var(--sigal-primary), var(--sigal-secondary));
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(33, 62, 123, 0.3);
}

.btn-hero.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(33, 62, 123, 0.4);
}

.btn-hero.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-hero.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-hero.btn-outline {
    background: white;
    color: var(--sigal-primary);
    border: 2px solid var(--sigal-primary);
}

.btn-hero.btn-outline:hover {
    background: var(--sigal-primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(33, 62, 123, 0.3);
}

/* ============================================
   Hero Features
   ============================================ */
.hero-features {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #475569;
    font-weight: 500;
}

.feature-item i {
    color: var(--sigal-secondary);
    font-size: 1.2rem;
}

/* ============================================
   Hero Image Container
   ============================================ */
.hero-image-container {
    position: relative;
    padding: 2rem;
}

.hero-image-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.hero-image-card:hover {
    transform: translateY(-10px);
}

.hero-image-card img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 600px;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(33, 62, 123, 0.8), rgba(0, 175, 221, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.hero-image-card:hover .image-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: white;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.hero-image-card:hover .overlay-content {
    transform: translateY(0);
}

.overlay-content i {
    margin-bottom: 1rem;
    cursor: pointer;
}

.overlay-content p {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

/* ============================================
   Floating Stats
   ============================================ */
.floating-stat {
    position: absolute;
    background: white;
    padding: 1.2rem 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 10;
    transition: all 0.3s ease;
}

.floating-stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.stat-1 {
    top: 10%;
    left: -10%;
    animation: float-1 6s ease-in-out infinite;
}

.stat-2 {
    top: 50%;
    right: -10%;
    animation: float-2 7s ease-in-out infinite;
}

.stat-3 {
    bottom: 15%;
    left: 5%;
    animation: float-3 8s ease-in-out infinite;
}

@keyframes float-1 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
}

@keyframes float-2 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(15px) rotate(-2deg); }
}

@keyframes float-3 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(3deg); }
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--sigal-primary), var(--sigal-secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon i {
    color: white;
    font-size: 1.5rem;
}

.stat-content h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--sigal-primary), var(--sigal-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-content p {
    margin: 0;
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
}

/* ============================================
   Decorative Elements
   ============================================ */
.hero-decoration {
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
    z-index: 0;
}

.decoration-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(33, 62, 123, 0.1) 0%, transparent 70%);
    top: 10%;
    right: 5%;
    animation: rotate-decoration 20s linear infinite;
}

.decoration-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 175, 221, 0.1) 0%, transparent 70%);
    bottom: 10%;
    left: 5%;
    animation: rotate-decoration 25s linear infinite reverse;
}

.decoration-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(243, 156, 18, 0.08) 0%, transparent 70%);
    top: 50%;
    left: 30%;
    animation: rotate-decoration 30s linear infinite;
}

@keyframes rotate-decoration {
    from { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
    to { transform: rotate(360deg) scale(1); }
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 992px) {
    .hero-modern {
        padding: 1.5rem 0;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .title-main {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        max-width: 100%;
    }
    
    .hero-image-container {
        margin-top: 3rem;
        padding: 1rem;
    }
    
    .hero-image-card img {
        max-height: 500px;
    }
    
    .floating-stat {
        padding: 1rem;
    }
    
    .stat-1 {
        top: -5%;
        left: 5%;
    }
    
    .stat-2 {
        top: auto;
        bottom: -5%;
        right: 5%;
    }
    
    .stat-3 {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-modern {
        padding: 1rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .title-main {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .btn-hero {
        padding: 14px 28px;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }
    
    .hero-features {
        gap: 1rem;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .feature-item {
        font-size: 0.9rem;
    }
    
    .hero-image-container {
        padding: 0.5rem;
        margin-top: 2rem;
    }
    
    .hero-image-card {
        border-radius: 15px;
    }
    
    .hero-image-card img {
        max-height: 400px;
        object-fit: cover;
    }
    
    .floating-stat {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
    
    .stat-icon {
        width: 40px;
        height: 40px;
    }
    
    .stat-icon i {
        font-size: 1.2rem;
    }
    
    .stat-content h3 {
        font-size: 1.2rem;
    }
    
    .stat-content p {
        font-size: 0.75rem;
    }
    
    .stat-1, .stat-2 {
        position: relative;
        top: auto;
        bottom: auto;
        left: auto;
        right: auto;
        animation: none;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .hero-modern {
        padding: 0.5rem 0;
    }
    
    .hero-badge {
        padding: 8px 16px;
        margin-bottom: 1.5rem;
    }
    
    .badge-text {
        font-size: 0.8rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .title-main {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .btn-hero {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    
    .hero-image-container {
        padding: 0;
        margin-top: 1.5rem;
    }
    
    .hero-image-card {
        border-radius: 12px;
    }
    
    .hero-image-card img {
        max-height: 300px;
        object-fit: cover;
    }
    
    .floating-stat {
        display: none;
    }
    
    .decoration-1,
    .decoration-2,
    .decoration-3 {
        display: none;
    }
}

/* ============================================
   Animation Enhancements
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .hero-content > * {
        animation: fade-in-up 0.8s ease-out;
    }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
    .hero-modern {
        background: white;
    }
    
    .hero-overlay,
    .hero-decoration,
    .floating-stat {
        display: none;
    }
}
