/*
Theme Name: EHE Child
Template: astra
Version: 1.0.0
Description: Child theme for Astra
Author: JS
*/

/* Add your custom styles here */

:root {
    --primary: #6366f1;
    --secondary: #8b5cf6;
    --accent: #ec4899;
    --dark: #0f172a;
    --light: #f8fafc;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #1e293b;
    background: white;
}

/* Parallax Hero Section */
.parallax-hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    background: linear-gradient(135deg, var(--dark) 0%, #1e293b 50%, var(--primary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallax-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.parallax-hero .content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
}

.parallax-hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.parallax-hero .subtitle {
    font-size: 1.5rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    text-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.parallax-hero .cta {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.3);
}

.parallax-hero .cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 30px 60px rgba(99, 102, 241, 0.4);
}

/* Parallax Layers */
.parallax-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.parallax-section .bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    will-change: transform;
}

.parallax-section .content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.parallax-section h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.parallax-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #475569;
    max-width: 600px;
}

/* Feature Cards */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #f1f5f9;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.15);
}

.feature-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.feature-card p {
    color: #64748b;
    font-size: 0.95rem;
}

/* Floating Shapes */
.float-shape {
    position: absolute;
    opacity: 0.1;
    pointer-events: none;
}

.circle {
    border-radius: 50%;
}

.square {
    border-radius: 20%;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Responsive */
@media (max-width: 768px) {
    .parallax-hero h1 {
        font-size: 2.5rem;
    }
    
    .parallax-hero .subtitle {
        font-size: 1.1rem;
    }
    
    .parallax-section h2 {
        font-size: 2rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
}
