/*
Theme Name: Code Hero
Theme URI: https://codehero.dev
Author: Code Hero Tecnologia e Desenvolvimento
Author URI: https://codehero.dev
Description: Tema moderno e responsivo para Code Hero - A Nova Geração do Desenvolvimento
Version: 2.0.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: codehero
Tags: one-page, portfolio, business, custom-colors, custom-menu, featured-images, responsive-layout, translation-ready

Code Hero WordPress Theme, Copyright 2024 Code Hero Tecnologia e Desenvolvimento
*/

/* Reset e Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #fda803;
  --primary-rgb: 253, 168, 3;
  --background: #0A0A0F;
  --foreground: #FFFFFF;
  --muted: #6B7280;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(180deg, 
    var(--background) 0%, 
    rgba(253, 168, 3, 0.08) 20%, 
    rgba(253, 168, 3, 0.05) 40%, 
    rgba(253, 168, 3, 0.08) 60%, 
    rgba(253, 168, 3, 0.05) 80%, 
    var(--background) 100%);
  background-attachment: fixed;
  color: var(--foreground);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Scroll controlado via jQuery */
html {
  scroll-behavior: auto;
}

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

/* Glass Morphism Effects */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.glass-card-elevated {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05), rgba(253, 168, 3, 0.02));
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.37), 0 2px 8px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.glass-badge {
  background: linear-gradient(135deg, rgba(253, 168, 3, 0.2), rgba(253, 168, 3, 0.1));
  backdrop-filter: blur(15px);
  border: 1px solid rgba(253, 168, 3, 0.3);
  box-shadow: 0 4px 16px rgba(253, 168, 3, 0.2), inset 0 1px 0 rgba(253, 168, 3, 0.3);
  transition: all 0.3s ease;
}

.glass-badge:hover {
  background: linear-gradient(135deg, rgba(253, 168, 3, 0.3), rgba(253, 168, 3, 0.15));
  border-color: rgba(253, 168, 3, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(253, 168, 3, 0.3), inset 0 1px 0 rgba(253, 168, 3, 0.4);
}

.glass-card-enhanced {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05), rgba(253, 168, 3, 0.02));
  backdrop-filter: blur(25px) saturate(200%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.glass-hover-enhanced {
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-hover-enhanced:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.1), rgba(253, 168, 3, 0.05));
  backdrop-filter: blur(30px) saturate(250%);
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 8px 16px rgba(253, 168, 3, 0.2), inset 0 2px 0 rgba(255, 255, 255, 0.3);
  border-color: rgba(253, 168, 3, 0.4);
}

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

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

/* Hero Background */
.hero-bg {
  background: radial-gradient(ellipse at center, rgba(253, 168, 3, 0.3), transparent 60%);
}

.text-primary {
  color: var(--primary);
}

.section-bg {
  position: absolute;
  inset: 0;
  opacity: 0.8;
}

/* Desabilitar scroll snap em mobile/tablet */
@media (max-width: 1024px) {
  html {
    scroll-snap-type: none;
  }
  
  .hero-section,
  .services-section,
  .about-section,
  .contact-section,
  .cta-section,
  .site-footer {
    height: auto !important;
  }
  
  .cta-footer-wrapper {
    height: auto !important;
    display: block !important;
  }
  
  .container {
    padding: 0 1.25rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  
  .glass-hover-enhanced:hover {
    transform: translateY(-4px) scale(1.01);
  }
  
  .glass-badge:hover {
    transform: translateY(-1px);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.75rem;
  }
  
  body {
    font-size: 14px;
  }
}
