﻿/* ============================================
   ASEEKERS WELCOME PAGE - "OASIS" THEME
   Warm, hopeful, welcoming design
   ============================================ */

/* Color Palette - Warm and Hopeful */
:root {
    --oasis-primary: #FF9966; /* Warm sunset orange */
    --oasis-secondary: #87CEEB; /* Sky blue */
    --oasis-accent: #90EE90; /* Hope green */
    --oasis-emergency: #FF6B6B; /* Urgent red */
    --oasis-text-dark: #2C3E50; /* Readable dark text */
    --oasis-text-light: #FFFFFF; /* White text */
    --oasis-overlay: rgba(0, 0, 0, 0.3); /* Dark overlay for hero */
}

/* ============================================
   HERO SECTION - "Oasis in the Desert"
   ============================================ */

.hero-oasis {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FF9966 0%, #FF6B6B 50%, #87CEEB 100%);
    background-size: 200% 200%;
    animation: gradient-shift 15s ease infinite;
    overflow: hidden;
}

/* Animated gradient background */
@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Optional: If you want to use a background image instead */
.hero-oasis.with-image {
    background-image: url('/images/welcome/oasis-background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Dark overlay for better text readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--oasis-overlay);
    z-index: 1;
}

/* Hero content container */
.hero-content {
    position: relative;
    z-index: 2;
    color: var(--oasis-text-light);
    padding: 4rem 1rem;
}

/* Main heading */
.hero-heading {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

/* Subheading */
.hero-subheading {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    opacity: 0.9;
}

/* Responsive hero text */
@media (max-width: 768px) {
    .hero-heading {
        font-size: 2.5rem;
    }

    .hero-subheading {
        font-size: 1.2rem;
    }

    .hero-oasis {
        min-height: 50vh;
    }
}

/* ============================================
   MULTILINGUAL GREETINGS
   ============================================ */

.multilingual-greetings {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    padding: 1rem;
}

.greeting-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: default;
}

    .greeting-item:hover {
        background: rgba(255, 255, 255, 0.25);
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    }

.greeting-text {
    font-size: 1.2rem;
    font-weight: 600;
    margin-right: 0.5rem;
}

.greeting-language {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ============================================
   WAVE DIVIDER
   ============================================ */

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

    .wave-divider svg {
        position: relative;
        display: block;
        width: calc(100% + 1.3px);
        height: 60px;
    }

    .wave-divider path {
        fill: #FFFFFF;
    }

/* ============================================
   ANIMATIONS
   ============================================ */

.animate-fade-in {
    animation: fadeIn 1s ease-in;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-in 0.3s both;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease-in 0.6s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   SECTION STYLING
   ============================================ */

.section-heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--oasis-text-dark);
    margin-bottom: 1rem;
}

.section-subheading {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

/* Mission Section */
.mission-section {
    background: linear-gradient(to bottom, #FFF9F0, #FFFFFF);
}

.mission-text {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--oasis-text-dark);
}

/* ============================================
   QUICK ACTION CARDS
   ============================================ */

.quick-actions-section {
    background: #F8F9FA;
}

.action-card {
    transition: transform 0.3s ease;
}

    .action-card .card {
        border: none;
        border-radius: 15px;
        transition: all 0.3s ease;
    }

        .action-card .card:hover {
            transform: translateY(-10px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
        }

/* Color themes for different card types */
.theme-emergency .action-icon i {
    color: var(--oasis-emergency);
    font-size: 3rem;
}

.theme-emergency .btn-action {
    background-color: var(--oasis-emergency);
    border-color: var(--oasis-emergency);
    color: white;
}

.theme-rights .action-icon i {
    color: #4A90E2;
    font-size: 3rem;
}

.theme-rights .btn-action {
    background-color: #4A90E2;
    border-color: #4A90E2;
    color: white;
}

.theme-support .action-icon i {
    color: var(--oasis-accent);
    font-size: 3rem;
}

.theme-support .btn-action {
    background-color: var(--oasis-accent);
    border-color: var(--oasis-accent);
    color: var(--oasis-text-dark);
}

.theme-interactive .action-icon i {
    color: var(--oasis-primary);
    font-size: 3rem;
}

.theme-interactive .btn-action {
    background-color: var(--oasis-primary);
    border-color: var(--oasis-primary);
    color: white;
}

.theme-community .action-icon i {
    color: #9B59B6;
    font-size: 3rem;
}

.theme-community .btn-action {
    background-color: #9B59B6;
    border-color: #9B59B6;
    color: white;
}

.theme-resources .action-icon i {
    color: var(--oasis-secondary);
    font-size: 3rem;
}

.theme-resources .btn-action {
    background-color: var(--oasis-secondary);
    border-color: var(--oasis-secondary);
    color: var(--oasis-text-dark);
}

/* Card content styling */
.action-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--oasis-text-dark);
}

.action-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

.btn-action {
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

    .btn-action:hover {
        transform: scale(1.05);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

/* ============================================
   EMERGENCY BANNER
   ============================================ */

.emergency-banner {
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    color: white;
}

    .emergency-banner h3 {
        font-weight: 700;
    }

    .emergency-banner p {
        opacity: 0.9;
    }

/* ============================================
   WHY CHOOSE US SECTION
   ============================================ */

.why-choose-us {
    background: #FFFFFF;
}

.feature-icon i {
    font-size: 4rem;
}

.why-choose-us h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--oasis-text-dark);
}

.why-choose-us p {
    color: #666;
    line-height: 1.6;
}

/* ============================================
   FEATURED RESOURCES
   ============================================ */

.featured-resources {
    background: #F8F9FA;
}

.hover-lift {
    transition: transform 0.3s ease;
}

    .hover-lift:hover {
        transform: translateY(-5px);
    }

/* ============================================
   BUTTONS AND CTA
   ============================================ */

.hero-cta .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .hero-cta .btn:hover {
        transform: scale(1.05);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    }

.hero-cta .btn-primary {
    background-color: var(--oasis-primary);
    border-color: var(--oasis-primary);
}

.hero-cta .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: white;
}

/* ============================================
   BOOTSTRAP ICONS SUPPORT
   ============================================ */

/* Make sure Bootstrap Icons are loaded */
@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.0/font/bootstrap-icons.css');

/* ============================================
   ACCESSIBILITY
   ============================================ */

/* Focus states for keyboard navigation */
.btn:focus,
.action-card:focus-within {
    outline: 3px solid var(--oasis-primary);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hero-overlay {
        background: rgba(0, 0, 0, 0.6);
    }

    .greeting-item {
        border: 2px solid white;
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    .hero-oasis {
        min-height: auto;
        background: white;
        color: black;
    }

    .hero-overlay,
    .wave-divider {
        display: none;
    }

    .action-card .card {
        break-inside: avoid;
    }
}
