/*
Theme Name: Instituto Amigos de Patas
Theme URI: https://www.institutoamigosdepatas.org
Author: Instituto Amigos de Patas
Author URI: https://www.institutoamigosdepatas.org
Description: Tema customizado para o Instituto Amigos de Patas - ONG de resgate e adoção de animais
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: amigos-de-patas
Tags: animals, nonprofit, charity, responsive, modern
*/

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

:root {
  /* Cores principais */
  --vibrant-blue: hsl(207, 68%, 51%);
  --energetic-teal: hsl(174, 100%, 36%);
  --warm-orange: hsl(36, 94%, 54%);
  --cheerful-yellow: hsl(48, 100%, 62%);
  
  /* Cores neutras */
  --white: hsl(0, 0%, 100%);
  --light-gray: hsl(210, 20%, 96%);
  --medium-gray: hsl(210, 10%, 50%);
  --dark-gray: hsl(210, 10%, 20%);
  
  /* Aliases semânticos */
  --primary: var(--vibrant-blue);
  --secondary: var(--energetic-teal);
  --accent: var(--warm-orange);
  --background: var(--white);
  --foreground: var(--dark-gray);
  --border: var(--light-gray);
}

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

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

/* Header e Navbar */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary);
  text-decoration: none;
}

.site-logo img {
  height: 50px;
  width: auto;
}

.main-navigation ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
}

.main-navigation a {
  color: var(--foreground);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.main-navigation a:hover,
.main-navigation a.active {
  color: var(--primary);
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, hsla(207, 68%, 51%, 0.4) 0%, hsla(207, 68%, 51%, 0.2) 50%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: var(--white);
  max-width: 800px;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  border-radius: 1rem;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(43, 135, 218, 0.3);
}

.btn-primary:hover {
  background: hsl(207, 68%, 45%);
  box-shadow: 0 6px 20px rgba(43, 135, 218, 0.4);
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(248, 150, 30, 0.3);
}

.btn-accent:hover {
  background: hsl(36, 94%, 48%);
  box-shadow: 0 6px 20px rgba(248, 150, 30, 0.4);
  transform: translateY(-2px);
}

/* Cards */
.card {
  background: var(--white);
  border-radius: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.card-content {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.75rem;
  color: var(--foreground);
}

.card-text {
  color: var(--medium-gray);
  margin-bottom: 1rem;
}

/* Grid */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, 1fr);
}

.grid-cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {
  .grid-cols-2,
  .grid-cols-3 {
    grid-template-columns: 1fr;
  }
}

/* Footer */
.site-footer {
  background: var(--dark-gray);
  color: var(--light-gray);
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}

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

.footer-section h3 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.footer-section p,
.footer-section a {
  color: var(--light-gray);
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--medium-gray);
  color: var(--medium-gray);
}

/* Utility Classes */
.text-center {
  text-align: center;
}

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

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

.py-8 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--medium-gray);
  margin-bottom: 3rem;
}
