/*
 * Theme Name: Hello Elementor Child
 * Theme URI: https://example.com
 * Description: Professional Child Theme for Hello Elementor - Optimized for Elementor Page Builder
 * Author: Your Name
 * Author URI: https://example.com
 * Template: hello-elementor
 * Version: 1.0.0
 * License: GPL v2 or later
 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
 * Text Domain: hello-elementor-child
 * Domain Path: /languages
 */

/* ===================================
   CUSTOM STYLES FOR CHILD THEME
   =================================== */

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #10b981;
    --dark-color: #0f172a;
    --light-color: #f8fafc;
    --gray-color: #64748b;
    --border-color: #e2e8f0;
    --shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #1e293b;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

/* ===================================
   TYPOGRAPHY
   =================================== */

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-color);
    font-weight: 700;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.25rem;
}

h3 {
    font-size: 1.875rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* ===================================
   BUTTONS
   =================================== */

.button, button, input[type="button"], input[type="submit"] {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.button:hover, button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.button.secondary {
    background-color: var(--secondary-color);
}

.button.secondary:hover {
    background-color: #059669;
}

.button.outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.button.outline:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

/* ===================================
   HEADER & NAVIGATION
   =================================== */

.site-header {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 999;
}

.site-header .site-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
}

.site-header nav ul li a {
    color: var(--gray-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.site-header nav ul li a:hover,
.site-header nav ul li.active a {
    color: var(--primary-color);
}

/* ===================================
   HERO SECTION
   =================================== */

.elementor-section.hero-section {
    background: linear-gradient(135deg, var(--dark-color) 0%, #1e3a8a 100%);
    color: #ffffff;
    padding: 6rem 2rem !important;
    text-align: center;
}

.hero-section h1 {
    color: #ffffff;
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
}

/* ===================================
   FEATURE CARDS
   =================================== */

.feature-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.feature-card h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--gray-color);
}

/* ===================================
   FORMS
   =================================== */

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
textarea,
select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    margin-bottom: 1rem;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* ===================================
   FOOTER
   =================================== */

.site-footer {
    background: var(--dark-color);
    color: #cbd5e1;
    padding: 3rem 2rem 1rem;
}

.site-footer a {
    color: #cbd5e1;
}

.site-footer a:hover {
    color: #ffffff;
}

.site-footer h3 {
    color: #ffffff;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ===================================
   CONTAINERS & SPACING
   =================================== */

.elementor-container {
    max-width: 1200px;
}

.elementor-section {
    padding: 4rem 2rem;
}

.elementor-section.light-bg {
    background: var(--light-color);
}

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

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .elementor-section {
        padding: 2rem 1rem;
    }
}

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

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

.elementor-element {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* ===================================
   CUSTOM CLASSES FOR ELEMENTOR
   =================================== */

.custom-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center {
    text-align: center;
}

.text-white {
    color: #ffffff;
}

.bg-primary {
    background-color: var(--primary-color);
}

.bg-secondary {
    background-color: var(--secondary-color);
}

.bg-light {
    background-color: var(--light-color);
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mt-4 { margin-top: 4rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mb-4 { margin-bottom: 4rem; }

.pt-1 { padding-top: 1rem; }
.pt-2 { padding-top: 2rem; }
.pt-3 { padding-top: 3rem; }
.pt-4 { padding-top: 4rem; }

.pb-1 { padding-bottom: 1rem; }
.pb-2 { padding-bottom: 2rem; }
.pb-3 { padding-bottom: 3rem; }
.pb-4 { padding-bottom: 4rem; }
