/* Custom CSS para Casa Jardim Fácil */

:root {
  --verde-folha: #3B7A57;
  --verde-claro: #A8D5BA;
  --bege-areia: #F3EBDD;
  --cinza-medio: #707070;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Hero section enhancements */
.hero-gradient {
  background: linear-gradient(135deg, var(--bege-areia) 0%, #ffffff 100%);
}

/* Card hover effects */
.card-hover {
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Button enhancements */
.btn-primary {
  background: var(--verde-folha);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #2d5940;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(59, 122, 87, 0.3);
}

/* Newsletter section */
.newsletter-bg {
  background: linear-gradient(135deg, var(--verde-folha) 0%, #2d5940 100%);
}

/* Instagram grid hover effects */
.instagram-item {
  position: relative;
  overflow: hidden;
}

.instagram-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(59, 122, 87, 0.8);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.instagram-item:hover::after {
  opacity: 1;
}

/* Navigation enhancements */
.nav-item {
  position: relative;
}

.nav-item::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 50%;
  background-color: var(--verde-folha);
  transition: all 0.3s ease;
}

.nav-item:hover::after {
  width: 100%;
  left: 0;
}

/* Mobile menu */
@media (max-width: 768px) {
  .mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1rem;
  }

  .mobile-menu.active {
    display: block;
  }
}

/* Feature cards */
.feature-card {
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  transition: all 0.3s ease;
}

/* Typography improvements */
.font-playfair {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  line-height: 1.2;
}

.font-lato {
  font-family: 'Lato', sans-serif;
  line-height: 1.6;
}

/* Responsive images */
img {
  max-width: 100%;
  height: auto;
}

/* Loading animation for images */
.img-loading {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Form enhancements */
input[type="email"] {
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

input[type="email"]:focus {
  border-color: var(--verde-claro);
  box-shadow: 0 0 0 3px rgba(168, 213, 186, 0.1);
}

/* Accessibility improvements */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus styles */
a:focus,
button:focus {
  outline: 2px solid var(--verde-folha);
  outline-offset: 2px;
}

/* Print styles */
@media print {
  .no-print {
    display: none !important;
  }
}