/*
Theme Name: Jeito di Casa
Description: Tema WordPress para design de interiores acessível
Version: 1.0
Author: Jeito di Casa
*/

/* Design System - CSS Variables */
:root {
  --background: 13 8% 8%;
  --foreground: 33 10% 95%;
  --card: 20 6% 10%;
  --card-foreground: 33 10% 95%;
  --popover: 20 6% 10%;
  --popover-foreground: 33 10% 95%;
  --primary: 33 85% 60%;
  --primary-foreground: 20 6% 10%;
  --secondary: 20 6% 16%;
  --secondary-foreground: 33 10% 95%;
  --muted: 20 6% 16%;
  --muted-foreground: 33 5% 60%;
  --accent: 33 85% 60%;
  --accent-foreground: 20 6% 10%;
  --destructive: 0 62.8% 30.6%;
  --destructive-foreground: 33 10% 95%;
  --border: 20 6% 16%;
  --input: 20 6% 16%;
  --ring: 33 85% 60%;
  --chart-1: 33 85% 60%;
  --chart-2: 160 84% 39%;
  --chart-3: 30 80% 55%;
  --chart-4: 280 65% 60%;
  --chart-5: 340 75% 55%;
  --radius: 0.75rem;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, hsl(var(--primary)), hsl(33 70% 45%));
  --gradient-hero: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(139,69,19,0.3));
  
  /* Shadows */
  --shadow-elegant: 0 10px 30px -10px hsl(var(--primary) / 0.3);
  --shadow-glow: 0 0 40px hsl(var(--primary) / 0.4);
  
  /* Animations */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] {
  --background: 33 10% 97%;
  --foreground: 20 6% 10%;
  --card: 33 10% 99%;
  --card-foreground: 20 6% 10%;
  --popover: 33 10% 99%;
  --popover-foreground: 20 6% 10%;
  --primary: 33 85% 55%;
  --primary-foreground: 33 10% 97%;
  --secondary: 33 5% 90%;
  --secondary-foreground: 20 6% 10%;
  --muted: 33 5% 90%;
  --muted-foreground: 20 6% 45%;
  --accent: 33 85% 55%;
  --accent-foreground: 20 6% 10%;
  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 33 10% 97%;
  --border: 33 5% 85%;
  --input: 33 5% 85%;
  --ring: 33 85% 55%;
}

/* Base Styles */
* {
  border-color: hsl(var(--border));
}

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

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

/* Header Styles */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: hsl(var(--background) / 0.8);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid hsl(var(--border));
  z-index: 1000;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: hsl(var(--foreground));
}

.logo-icon {
  width: 2rem;
  height: 2rem;
  background: var(--gradient-primary);
  border-radius: 0.5rem;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: bold;
}

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

@media (min-width: 768px) {
  .nav-menu {
    display: flex;
  }
}

.nav-link {
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: hsl(var(--primary));
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition-smooth);
  border: none;
  cursor: pointer;
}

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

.btn-primary:hover {
  background: hsl(var(--primary) / 0.9);
}

.btn-hero {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-hero:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-hero);
  z-index: -1;
}

.hero-content {
  max-width: 800px;
  padding: 0 1rem;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}

.hero-title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, white, hsl(var(--primary)));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Cards */
.card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1rem;
}

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

.card-description {
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
}

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

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

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

/* Sections */
.section {
  padding: 5rem 0;
}

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

.section-description {
  text-align: center;
  color: hsl(var(--muted-foreground));
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.site-footer {
  background: hsl(var(--card));
  padding: 3rem 0 1rem;
  border-top: 1px solid hsl(var(--border));
}

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

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.footer-section h4 {
  font-weight: bold;
  margin-bottom: 1rem;
  color: hsl(var(--foreground));
}

.footer-section a {
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  transition: var(--transition-smooth);
}

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

.footer-bottom {
  border-top: 1px solid hsl(var(--border));
  padding-top: 1rem;
  text-align: center;
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 767px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .container {
    padding: 0 0.5rem;
  }
}

/* Animations */
.fade-in {
  opacity: 0;
  animation: fadeIn 0.6s ease-in-out forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.slide-up {
  transform: translateY(20px);
  opacity: 0;
  animation: slideUp 0.6s ease-out forwards;
}

@keyframes slideUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}