/*
Theme Name: HWSiNet News Theme
Theme URI: https://www.hwsinet.com
Author: HWSiNet
Author URI: https://www.hwsinet.com
Description: Tema moderno e otimizado para portal de notícias de tecnologia e finanças
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hwsinet
Tags: blog, news, two-columns, responsive-layout, custom-colors, custom-menu, featured-images

Este tema requer WordPress 5.0 ou superior.
*/

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

:root {
  --background: hsl(220, 25%, 97%);
  --foreground: hsl(220, 15%, 10%);
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(220, 15%, 10%);
  --primary: hsl(217, 91%, 15%);
  --primary-foreground: hsl(0, 0%, 100%);
  --secondary: hsl(195, 100%, 45%);
  --secondary-foreground: hsl(0, 0%, 100%);
  --muted: hsl(220, 15%, 94%);
  --muted-foreground: hsl(220, 10%, 45%);
  --accent: hsl(158, 65%, 50%);
  --border: hsl(220, 15%, 88%);
  --tech-gradient: linear-gradient(135deg, hsl(217, 91%, 15%), hsl(195, 100%, 45%));
  --card-hover: 0 10px 30px hsl(220, 15%, 10%, 0.1);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition-smooth);
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Utilitários */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 0.75rem;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
}

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

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: var(--card-hover);
}

.card {
  background: var(--card);
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition-smooth);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-hover);
  border-color: var(--secondary);
}

/* Animações */
@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Responsividade */
@media (max-width: 768px) {
  .container {
    padding: 0 0.5rem;
  }
}
