/*
Theme Name: Hello Elementor Child - Insight Restoration
Theme URI: https://insightrestoration.com/
Description: A high-end, premium child theme for Hello Elementor, custom-built for Insight Restoration. Designed to emphasize commercial restoration services.
Author: Antigravity
Author URI: https://insightrestoration.com/
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/

/* 
 * Premium Design System Variables 
 * These CSS variables can be utilized within Elementor's Custom CSS for consistent high-end styling.
 */
:root {
    /* Color Palette */
    --ir-primary-color: #0d233a; /* Deep Navy Blue for Trust and Commercial Vibe */
    --ir-secondary-color: #2dad58; /* Brand Green replacing Gold */
    --ir-accent-color: #e63946; /* Emergency Red */
    
    --ir-bg-light: #f8f9fa; /* Sleek Off-White */
    --ir-bg-dark: #121212; /* Dark Mode Background */
    
    --ir-text-primary: #333333;
    --ir-text-secondary: #555555;
    
    /* Typography */
    --ir-font-heading: 'Inter', sans-serif;
    --ir-font-body: 'Roboto', sans-serif;
    
    /* Shadows & Effects */
    --ir-shadow-subtle: 0 4px 6px rgba(0, 0, 0, 0.05);
    --ir-shadow-premium: 0 10px 30px rgba(0, 0, 0, 0.08);
    --ir-shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.12);
    
    --ir-radius-sm: 4px;
    --ir-radius-md: 8px;
    --ir-radius-lg: 16px;
    
    --ir-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Base Adjustments */
body {
    font-family: var(--ir-font-body);
    color: var(--ir-text-primary);
    background-color: var(--ir-bg-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--ir-font-heading);
    font-weight: 700;
    color: var(--ir-primary-color);
}

/* Premium Elementor Helpers */
.ir-premium-card {
    background: #ffffff;
    border-radius: var(--ir-radius-md);
    box-shadow: var(--ir-shadow-subtle);
    transition: var(--ir-transition);
    border: 1px solid rgba(0,0,0,0.03);
}

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

.ir-gradient-text {
    background: linear-gradient(135deg, var(--ir-primary-color), #204c7d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ir-btn-primary {
    background-color: var(--ir-primary-color);
    color: #ffffff;
    border-radius: var(--ir-radius-sm);
    padding: 12px 24px;
    font-family: var(--ir-font-heading);
    font-weight: 600;
    transition: var(--ir-transition);
    box-shadow: var(--ir-shadow-subtle);
}

.ir-btn-primary:hover {
    background-color: #1a3c5e;
    box-shadow: var(--ir-shadow-premium);
    color: #ffffff;
}

.ir-btn-emergency {
    background-color: var(--ir-accent-color);
    color: #ffffff;
    font-weight: bold;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.7); }
    70% { transform: scale(1.02); box-shadow: 0 0 0 10px rgba(230, 57, 70, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(230, 57, 70, 0); }
}

/* Accessibility & SEO hiding classes */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* =========================================
   CUSTOM PREMIUM HEADER
   ========================================= */
.insight-premium-header {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.insight-top-bar {
    background-color: var(--ir-accent-color); /* Emergency Red */
    color: #ffffff;
    padding: 8px 0;
    font-size: 0.95rem;
    font-weight: 600;
}

.insight-top-bar a {
    color: #ffffff;
    text-decoration: none;
}



.top-bar-phone {
    background: rgba(0,0,0,0.2);
    padding: 6px 14px;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.top-bar-phone:hover {
    background: rgba(0,0,0,0.4);
}

.insight-top-bar-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 0 20px;
    max-width: 1240px;
    margin: 0 auto;
}

.insight-main-nav {
    background-color: #ffffff;
    padding: 15px 0;
}

.insight-main-nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    max-width: 1240px;
    margin: 0 auto;
}

.insight-logo img {
    max-height: 60px;
    width: auto;
}

.insight-nav-ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
}

.insight-nav-ul li a {
    text-decoration: none;
    color: #071f3f;
    font-weight: 700;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
}

.insight-nav-ul li a:hover {
    color: #e65c00;
}

/* =========================================
   CUSTOM PREMIUM FOOTER
   ========================================= */
.insight-premium-footer {
    background-color: #071f3f;
    color: #b0c4de;
    padding: 80px 0 0 0;
    font-family: 'Inter', sans-serif;
}

.insight-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 0 20px 60px 20px;
    max-width: 1240px;
    margin: 0 auto;
}

.insight-premium-footer h3 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.insight-premium-footer p, 
.insight-premium-footer li {
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-nav-ul, .footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-ul li {
    margin-bottom: 12px;
}

.footer-nav-ul a {
    color: #b0c4de;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-nav-ul a:hover {
    color: #e65c00;
}

.footer-badges li {
    margin-bottom: 10px;
    font-weight: 600;
    color: #ffffff;
}

.footer-bottom {
    background-color: #04142b;
    text-align: center;
    padding: 20px;
    font-size: 0.85rem;
}

.footer-bottom p {
    margin: 0;
}

@media (max-width: 768px) {
    .insight-main-nav-inner, .insight-top-bar-inner {
        flex-direction: column;
        gap: 15px;
    }
    .insight-nav-ul {
        flex-wrap: wrap;
        justify-content: center;
    }
}
