/* Welcome Page Styles - Modern & Premium Design */

/* Color Palette - متوافق مع الهوية البصرية */
:root {
    /* استخدام ألوان الهوية البصرية من theme.css */
    --primary-gradient: linear-gradient(135deg, #C79A72 0%, #8C6143 100%);
    --secondary-gradient: linear-gradient(135deg, #E8C7A3 0%, #C79A72 100%);
    --gold-gradient: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
    --warm-gradient: linear-gradient(135deg, #FFF5F3 0%, #F8E9E4 100%);
    --deep-rose: #A0522D;
    --light-rose: #FAD5A5;
    --muted-rose: #E8B4A3;
    --strong-gold: #D4AF37;
    --warm-cream: #FDF6E3;
    --text-gold: #D4AF37;
    --primary-rose-gold: #C79A72;
    --dark-brown: #8C6143;
    --beige-light: #FFF5F3;
    --soft-pink: #F8E9E4;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--beige-light) 0%, var(--soft-pink) 50%, var(--primary-rose-gold) 100%);
    position: relative;
    overflow: hidden;
    min-height: 500px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(199, 154, 114, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(212, 175, 55, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.section-title {
    color: var(--dark-brown);
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
    font-weight: 800;
    letter-spacing: -1px;
}

.text-deep-rose {
    color: var(--dark-brown) !important;
}

.hero-section .lead {
    color: var(--text-body) !important;
    text-shadow: none;
    line-height: 1.8;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-rose-gold) 0%, var(--dark-brown) 100%);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(199, 154, 114, 0.4);
}

.btn-outline-light {
    border: 2px solid var(--dark-brown);
    color: var(--dark-brown);
    border-radius: 50px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: var(--dark-brown);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(140, 97, 67, 0.3);
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.floating-animation {
    animation: float 3s ease-in-out infinite;
}

.pulse-animation {
    animation: pulse 2s ease-in-out infinite;
}

/* Stats Cards */
.stat-card {
    background: #fff;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-rose-gold), var(--strong-gold), var(--dark-brown));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(199, 154, 114, 0.2) !important;
}

.stat-card .display-4 {
    background: linear-gradient(135deg, var(--primary-rose-gold), var(--dark-brown));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Step Cards */
.step-card {
    background: #fff;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.step-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(199, 154, 114, 0.05), rgba(232, 199, 163, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step-card:hover::after {
    opacity: 1;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(199, 154, 114, 0.15) !important;
}

.step-card .rounded-circle {
    background: linear-gradient(135deg, var(--primary-rose-gold), var(--dark-brown)) !important;
    box-shadow: 0 10px 25px rgba(199, 154, 114, 0.3);
    transition: all 0.3s ease;
}

.step-card:hover .rounded-circle {
    transform: scale(1.1) rotate(5deg);
}

.step-card .badge {
    background: linear-gradient(135deg, var(--strong-gold), var(--primary-rose-gold)) !important;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* Feature Cards */
.card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-rose-gold), var(--strong-gold));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(199, 154, 114, 0.15) !important;
}

.card .rounded-circle {
    transition: all 0.3s ease;
}

.card:hover .rounded-circle {
    transform: scale(1.1) rotate(10deg);
}

/* Text Colors */
.text-gold {
    background: linear-gradient(135deg, var(--strong-gold), var(--primary-rose-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.text-deep-rose {
    color: var(--deep-rose);
}

/* Background Colors */
.bg-light-rose {
    background-color: var(--light-rose);
}

.bg-muted-rose {
    background-color: var(--muted-rose);
}

.bg-warm-cream {
    background-color: var(--warm-cream);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--beige-light) 0%, var(--soft-pink) 50%, var(--primary-rose-gold) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(199, 154, 114, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(212, 175, 55, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.text-accent {
    color: var(--dark-brown) !important;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
}

.cta-section .text-light {
    color: var(--text-body) !important;
}

.cta-section .btn-light {
    background: var(--dark-brown);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-section .btn-light:hover {
    background: var(--primary-rose-gold);
    color: #fff;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(199, 154, 114, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: 400px;
    }
    
    .section-title {
        font-size: 2.5rem !important;
    }
    
    .stat-card .display-4 {
        font-size: 2rem;
    }
    
    .step-card .rounded-circle,
    .card .rounded-circle {
        width: 60px !important;
        height: 60px !important;
    }
    
    .step-card .fa-2x,
    .card .fa-2x {
        font-size: 1.5rem !important;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Section Spacing */
section {
    position: relative;
}

/* Enhanced Shadows */
.shadow-sm {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08) !important;
}

.shadow {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

.shadow-lg {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15) !important;
}

/* Rounded Corners */
.rounded-4 {
    border-radius: 1.5rem !important;
}

/* Text Enhancements */
.lead {
    font-weight: 400;
    line-height: 1.8;
}

/* Icon Enhancements */
.fas, .far, .fab {
    transition: all 0.3s ease;
}

/* Hover Effects for Icons */
.card:hover .fas,
.step-card:hover .fas {
    transform: scale(1.1);
}

/* Background Light Section */
.bg-light {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%) !important;
}

/* Premium Gradient Text */
.display-4, .display-3 {
    font-weight: 800;
    letter-spacing: -0.5px;
}

/* Loading Animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* Focus States */
.btn:focus,
.btn:active {
    outline: none;
    box-shadow: 0 0 0 4px rgba(199, 154, 114, 0.2);
}

/* Accessibility */
.btn,
.card,
.stat-card,
.step-card {
    -webkit-tap-highlight-color: transparent;
}

/* Performance Optimization */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
