/* CapibaraLand - Custom Styles */

/* Color Palette baseada na imagem */
:root {
  --primary-green: #2ECC71;
  --secondary-green: #27AE60;
  --accent-yellow: #F1C40F;
  --warm-orange: #E67E22;
  --light-green: #A8E6CF;
  --capybara-brown: #D4A574;
  --soft-cream: #FFF9E6;
  --text-dark: #2C3E50;
  --text-light: #7F8C8D;
  --white: #FFFFFF;
  --gradient-primary: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
  --gradient-accent: linear-gradient(135deg, var(--accent-yellow) 0%, var(--warm-orange) 100%);
  --gradient-soft: linear-gradient(135deg, var(--soft-cream) 0%, var(--light-green) 100%);
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Fredoka', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--soft-cream);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-green);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-green);
}

/* Typography */
.section-title {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
  position: relative;
}

.section-icon {
  color: var(--primary-green);
  font-size: 2rem;
  vertical-align: middle;
  margin-right: 0.5rem;
}

.section-subtitle {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.highlight {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

/* Navigation */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  transition: all 0.3s ease;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-size: 1.5rem;
  color: var(--primary-green) !important;
  font-weight: 600;
}

.capybara-icon {
  font-size: 1.8rem;
  margin-right: 0.5rem;
  animation: bounce 2s infinite;
}

.nav-link {
  font-weight: 500;
  color: var(--text-dark) !important;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
  border-radius: 20px;
  padding: 0.5rem 1rem !important;
}

.nav-link:hover {
  color: var(--primary-green) !important;
  background: rgba(46, 204, 113, 0.1);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: var(--gradient-soft);
  position: relative;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" patternUnits="objectBoundingBox" width="0.1" height="0.1"><circle cx="5" cy="5" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.5;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.flag-emoji {
  font-size: 3rem;
  margin-left: 1rem;
  animation: wave 2s ease-in-out infinite;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.5;
}

.hero-buttons .btn {
  margin: 0.5rem 0.5rem 0.5rem 0;
  padding: 0.8rem 2rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background: var(--gradient-primary);
  border: none;
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(46, 204, 113, 0.3);
  background: var(--gradient-primary);
  border: none;
}

.btn-outline-success {
  border: 2px solid var(--primary-green);
  color: var(--primary-green);
  background: transparent;
}

.btn-outline-success:hover {
  background: var(--primary-green);
  border-color: var(--primary-green);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(46, 204, 113, 0.3);
}

.hero-image {
  position: relative;
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.hero-image img:hover {
  transform: scale(1.05);
}

.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.floating-icon {
  position: absolute;
  font-size: 2rem;
  animation: float 3s ease-in-out infinite;
}

.floating-icon:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.floating-icon:nth-child(2) {
  top: 60%;
  right: 15%;
  animation-delay: 1s;
}

.floating-icon:nth-child(3) {
  bottom: 25%;
  left: 20%;
  animation-delay: 2s;
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120'%3E%3Cpath d='M985.66,92.83C906.67,72,823.78,31,743.84,14.19c-82.26-17.34-168.06-16.33-250.45.39-57.84,11.73-114,31.07-172,41.86A600.21,600.21,0,0,1,0,27.35V120H1200V95.8C1132.19,118.92,1055.71,111.31,985.66,92.83Z' fill='%23ffffff'%3E%3C/path%3E%3C/svg%3E") repeat-x;
  background-size: 1200px 120px;
}

/* About Section */
.about-section {
  background: white;
  position: relative;
}

.about-content h3 {
  color: var(--primary-green);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.feature-list {
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: rgba(168, 230, 207, 0.1);
  border-radius: 15px;
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateX(10px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.feature-item .material-icons {
  color: var(--primary-green);
  font-size: 2rem;
  margin-right: 1rem;
  margin-top: 0.2rem;
}

.feature-item h5 {
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.feature-item p {
  color: var(--text-light);
  margin: 0;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.stat-card {
  background: var(--gradient-soft);
  padding: 2rem 1rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Fun Facts Section */
.fun-facts-section {
  background: var(--gradient-soft);
  position: relative;
}

.fact-card {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  border: 3px solid transparent;
}

.fact-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-green);
  box-shadow: 0 10px 40px rgba(46, 204, 113, 0.2);
}

.fact-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.fact-card h4 {
  color: var(--primary-green);
  margin-bottom: 1rem;
  font-weight: 600;
}

.fact-card p {
  color: var(--text-light);
  line-height: 1.6;
}

/* Gallery Section */
.gallery-section {
  background: white;
}

.gallery-item {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  height: 250px;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-placeholder {
  background: var(--gradient-soft);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  text-align: center;
  padding: 2rem;
}

.gallery-placeholder .material-icons {
  font-size: 3rem;
  color: var(--primary-green);
  margin-bottom: 1rem;
}

/* Contact Section */
.contact-section {
  background: var(--gradient-soft);
}

.contact-card {
  background: white;
  padding: 3rem;
  border-radius: 25px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.contact-info h4 {
  color: var(--primary-green);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.contact-item .material-icons {
  color: var(--primary-green);
  margin-right: 1rem;
}

.contact-form .form-control {
  border: 2px solid rgba(46, 204, 113, 0.2);
  border-radius: 15px;
  padding: 1rem;
  transition: border-color 0.3s ease;
}

.contact-form .form-control:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 0.2rem rgba(46, 204, 113, 0.25);
}

/* Footer */
.footer-section {
  background: var(--text-dark);
  color: white;
  padding: 3rem 0 2rem;
  text-align: center;
}

.footer-content h3 {
  color: var(--primary-green);
  margin-bottom: 1rem;
  font-weight: 600;
}

.social-links {
  margin: 2rem 0;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--primary-green);
  color: white;
  border-radius: 50%;
  margin: 0 0.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--secondary-green);
  transform: translateY(-3px);
  color: white;
}

.copyright {
  color: var(--text-light);
  margin-top: 2rem;
  font-size: 0.9rem;
}

/* Animations */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

@keyframes wave {
  0%, 100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-10deg);
  }
  75% {
    transform: rotate(10deg);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-buttons .btn {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
  }
  
  .hero-image img {
    max-height: 350px;
    width: 100%;
    object-fit: cover;
  }
  
  .about-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .stat-card {
    padding: 1.5rem 1rem;
  }
  
  .contact-card {
    padding: 2rem 1.5rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .floating-elements {
    display: none;
  }
}

@media (max-width: 576px) {
  .hero-section {
    padding-top: 100px;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-image img {
    max-height: 300px;
    width: 100%;
    object-fit: cover;
    border-radius: 15px;
  }
  
  .flag-emoji {
    font-size: 2rem;
    margin-left: 0.5rem;
  }
  
  .navbar-brand {
    font-size: 1.3rem;
  }
  
  .capybara-icon {
    font-size: 1.5rem;
  }
}