/**
 * Jeff Lizik Leads Theme Styles
 * Converted from React/TailwindCSS to standard CSS
 * Preserves all original styling, animations, and design tokens
 */

/* ===========================
   CSS Variables (Design Tokens)
   =========================== */
:root {
    /* Core palette - electric blue brand */
    --background: #ffffff;
    --foreground: #1a202e;
    
    --card: #ffffff;
    --card-foreground: #1a202e;
    
    --popover: #ffffff;
    --popover-foreground: #1a202e;
    
    /* Brand blue - electric, modern */
    --primary: #0080ff;
    --primary-foreground: #ffffff;
    
    /* Lighter blue for accents */
    --secondary: #e6f4ff;
    --secondary-foreground: #0066cc;
    
    --muted: #f5f5f7;
    --muted-foreground: #6b7280;
    
    --accent: #0080ff;
    --accent-foreground: #ffffff;
    
    --destructive: #dc2626;
    --destructive-foreground: #ffffff;
    
    --border: #e5e7eb;
    --input: #e5e7eb;
    --ring: #0080ff;
    
    --radius: 0.75rem;
    
    /* Custom design tokens */
    --navy: #1a202e;
    --navy-light: #2d3748;
    --blue-glow: #3399ff;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0080ff 0%, #0066cc 100%);
    --gradient-hero: linear-gradient(180deg, #1a202e 0%, #2d3748 100%);
    --gradient-cta: linear-gradient(135deg, #1a8cff 0%, #0073e6 100%);
    
    /* Shadows */
    --shadow-glow: 0 0 60px rgba(0, 128, 255, 0.3);
    --shadow-card: 0 4px 20px rgba(26, 32, 46, 0.08);
    --shadow-card-hover: 0 8px 30px rgba(26, 32, 46, 0.12);
    
    /* Typography */
    --font-heading: "Sora", system-ui, -apple-system, sans-serif;
    --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

/* ===========================
   Base Styles
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

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

a:hover {
    color: var(--secondary-foreground);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===========================
   Utility Classes
   =========================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-hero {
    background: var(--gradient-hero);
}

.bg-gradient-cta {
    background: var(--gradient-cta);
}

.shadow-glow {
    box-shadow: var(--shadow-glow);
}

.shadow-card {
    box-shadow: var(--shadow-card);
}

.shadow-card-hover {
    box-shadow: var(--shadow-card-hover);
}

.glass {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* ===========================
   Animations
   =========================== */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 128, 255, 0.2);
    }
    50% {
        box-shadow: 0 0 40px rgba(0, 128, 255, 0.4);
    }
}

.animate-pulse-glow {
    animation: pulse-glow 3s ease-in-out infinite;
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ===========================
   Navigation
   =========================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.main-navigation {
    padding: 1rem 0;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    color: var(--primary-foreground);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.125rem;
}

.site-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--foreground);
}

.nav-menu-wrapper {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    font-weight: 500;
    color: var(--muted-foreground);
    transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--foreground);
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: var(--foreground);
    position: absolute;
    transition: all 0.3s ease;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

/* ===========================
   Buttons
   =========================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

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

.btn-primary:hover {
    background: var(--secondary-foreground);
    color: var(--primary-foreground);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 128, 255, 0.3);
}

.btn-hero {
    background: var(--primary-foreground);
    color: var(--navy);
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-hero:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

.btn-hero-outline {
    background: transparent;
    color: var(--primary-foreground);
    border: 2px solid var(--primary-foreground);
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-hero-outline:hover {
    background: var(--primary-foreground);
    color: var(--navy);
}

.btn-cta {
    background: var(--gradient-cta);
    color: var(--primary-foreground);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* ===========================
   Hero Section
   =========================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    overflow: hidden;
    padding-top: 6rem;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 64px 64px;
}

.hero-background-effects {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-glow-1 {
    position: absolute;
    top: 25%;
    left: -8rem;
    width: 24rem;
    height: 24rem;
    background: rgba(0, 128, 255, 0.2);
    border-radius: 50%;
    filter: blur(80px);
    animation: float 6s ease-in-out infinite;
}

.hero-glow-2 {
    position: absolute;
    bottom: 25%;
    right: -8rem;
    width: 20rem;
    height: 20rem;
    background: rgba(0, 128, 255, 0.15);
    border-radius: 50%;
    filter: blur(80px);
    animation: float 6s ease-in-out infinite;
    animation-delay: 2s;
}

.hero-glow-3 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50rem;
    height: 50rem;
    background: rgba(0, 128, 255, 0.05);
    border-radius: 50%;
    filter: blur(80px);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 64rem;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background: rgba(0, 128, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 128, 255, 0.3);
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 700;
    color: var(--primary-foreground);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.7);
    max-width: 42rem;
    margin: 0 auto 2.5rem;
}

.hero-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
}

.hero-newsletter {
    max-width: 36rem;
    margin: 0 auto;
}

.hero-newsletter-title {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    margin-bottom: 1rem;
}

.hero-newsletter-form {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.hero-newsletter-input {
    flex: 1;
    min-width: 250px;
    height: 3rem;
    padding: 0 1rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-foreground);
    font-size: 1rem;
    backdrop-filter: blur(10px);
}

.hero-newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.hero-newsletter-disclaimer {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    margin-top: 0.75rem;
}

.hero-bottom-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 8rem;
    background: linear-gradient(to top, var(--background), transparent);
}

/* ===========================
   Services Section
   =========================== */
.services-section {
    padding: 6rem 0;
    background: var(--background);
}

.section-header {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 4rem;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--secondary);
    color: var(--secondary-foreground);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

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

.service-icon {
    width: 3rem;
    height: 3rem;
    background: var(--secondary);
    color: var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-description {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.service-feature-tag {
    padding: 0.25rem 0.75rem;
    background: var(--muted);
    color: var(--foreground);
    border-radius: 0.375rem;
    font-size: 0.875rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    transition: gap 0.3s ease;
}

.service-link:hover {
    gap: 0.75rem;
}

/* ===========================
   About Section
   =========================== */
.about-section {
    padding: 6rem 0;
    background: var(--muted);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.about-text h2 {
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--muted-foreground);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

/* ===========================
   Testimonials Section
   =========================== */
.testimonials-section {
    padding: 6rem 0;
    background: var(--background);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
}

.testimonial-rating {
    color: #fbbf24;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.testimonial-text {
    color: var(--foreground);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--secondary);
}

.testimonial-author-name {
    font-weight: 600;
}

.testimonial-author-title {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

/* ===========================
   Contact Section
   =========================== */
.contact-section {
    padding: 6rem 0;
    background: var(--muted);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--foreground);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 128, 255, 0.1);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

/* ===========================
   Footer
   =========================== */
.site-footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 2rem;
}

.footer-content {
    margin-bottom: 2rem;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-widget-area h3 {
    color: var(--primary-foreground);
    margin-bottom: 1rem;
}

.footer-widget-area a {
    color: rgba(255, 255, 255, 0.7);
    display: block;
    margin-bottom: 0.5rem;
}

.footer-widget-area a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-menu a:hover {
    color: var(--primary);
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    
    .nav-menu-wrapper {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-newsletter-form {
        flex-direction: column;
    }
    
    .hero-newsletter-input {
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   WordPress Specific Styles
   =========================== */
.alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    text-align: center;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-top: 0.5rem;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* ===========================
   Elementor Compatibility
   =========================== */
.elementor-widget-container {
    font-family: var(--font-body);
}

.elementor-heading-title {
    font-family: var(--font-heading);
}

.elementor-button {
    font-family: var(--font-body);
}
