/*
Theme Name: Guapimirim Turismo
Theme URI: https://oquefazeremguapimirim.com
Author: O Que Fazer em Guapimirim
Author URI: https://oquefazeremguapimirim.com
Description: Tema moderno e visual para turismo em Guapimirim, RJ. Destaque para trilhas, cachoeiras, gastronomia e ecoturismo.
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: guapimirim-turismo
Tags: tourism, nature, blog, custom-menu, featured-images, threaded-comments, translation-ready

Este tema foi criado para promover o turismo em Guapimirim e região.
*/

/* === RESET E VARIÁVEIS === */
:root {
  /* Paleta de cores */
  --primary: 158 51% 29%;        /* Verde Mata #2E6A4A */
  --primary-foreground: 0 0% 100%;
  --secondary: 158 43% 60%;      /* Verde Claro #8AC6A8 */
  --secondary-foreground: 0 0% 0%;
  --accent: 203 42% 29%;         /* Azul Montanha #2D4E68 */
  --accent-foreground: 0 0% 100%;
  --tertiary: 35 27% 32%;        /* Marrom Trilhas #6A4E3B */
  --muted: 40 55% 91%;           /* Bege Natural #F4EAD2 */
  --muted-foreground: 0 0% 30%;
  --background: 0 0% 100%;
  --foreground: 0 0% 0%;
  --border: 0 0% 90%;
  --card: 0 0% 100%;
  --card-foreground: 0 0% 0%;
  
  /* Tipografia */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  
  /* Espaçamento */
  --container-padding: 1rem;
  --section-spacing: 4rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

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

h1 { font-size: 3rem; }
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: hsl(var(--primary));
  text-decoration: none;
  transition: all 0.3s ease;
}

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

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

/* === CONTAINER === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* === HEADER === */
.site-header {
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
  padding: 1rem 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

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

.main-navigation a {
  color: hsl(var(--accent-foreground));
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.main-navigation a:hover {
  color: hsl(var(--secondary));
}

/* === HERO SECTION === */
.hero-section {
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(var(--accent)) 100%);
  color: white;
  padding: 8rem 1rem 4rem;
  margin-top: 70px;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('images/hero-dedo-de-deus.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

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

/* === BUTTONS === */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  text-align: center;
}

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

.btn-primary:hover {
  background: hsl(var(--secondary));
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: white;
  color: hsl(var(--primary));
}

/* === SECTIONS === */
.content-section {
  padding: var(--section-spacing) 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

/* === CARDS === */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: hsl(var(--card));
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

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

.card-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card:hover .card-image img {
  transform: scale(1.1);
}

.card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.card-content {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

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

.card-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: hsl(var(--muted-foreground));
  margin-top: 1rem;
}

.card-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* === FOOTER === */
.site-footer {
  background: hsl(var(--tertiary));
  color: white;
  padding: 3rem 0 1rem;
  margin-top: var(--section-spacing);
}

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

.footer-section h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: rgba(255,255,255,0.8);
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
  opacity: 0.8;
}

/* === NEWSLETTER === */
.newsletter-section {
  background: hsl(var(--muted));
  padding: 3rem 0;
  text-align: center;
}

.newsletter-form {
  max-width: 500px;
  margin: 2rem auto 0;
  display: flex;
  gap: 1rem;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 1rem;
  border: 2px solid hsl(var(--border));
  border-radius: 8px;
  font-size: 1rem;
}

.newsletter-form button {
  padding: 1rem 2rem;
  background: hsl(var(--primary));
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-form button:hover {
  background: hsl(var(--secondary));
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .main-navigation ul {
    flex-direction: column;
    gap: 1rem;
  }
  
  .card-grid {
    grid-template-columns: 1fr;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }
}

/* === WORDPRESS SPECIFIC === */
.alignleft {
  float: left;
  margin: 0 1.5rem 1rem 0;
}

.alignright {
  float: right;
  margin: 0 0 1rem 1.5rem;
}

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

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

.wp-caption-text {
  text-align: center;
  font-size: 0.9rem;
  color: hsl(var(--muted-foreground));
  padding: 0.5rem;
}

.sticky {
  border-left: 4px solid hsl(var(--primary));
  padding-left: 1rem;
}
