/* 
 * Impacto Latino - Main Stylesheet
 * Latin American Influence in Brazil
 */

:root {
  --primary: #E63946;
  --secondary: #F1C40F;
  --accent: #3F7EBD;
  --dark: #222222;
  --light: #FFFFFF;
  --text: #333333;
  --bg-light: #F8F9FA;
  --border: #E0E0E0;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text);
  background-color: var(--bg-light);
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 15px;
}

a {
  text-decoration: none;
  color: var(--accent);
  transition: all 0.3s ease;
}

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

ul {
  list-style: none;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--dark);
}

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

.section-title h2 {
  font-size: 2.5rem;
  display: inline-block;
  position: relative;
  z-index: 1;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  border-radius: 2px;
}

/* Header */
.header {
  background-color: var(--light);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 40px;
  height: 40px;
  margin-right: 0.8rem;
}

.logo h1 {
  font-size: 1.5rem;
  margin-bottom: 0;
  color: var(--primary);
}

.nav {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
}

.nav-menu li {
  margin-left: 1.8rem;
}

.nav-menu a {
  color: var(--dark);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem;
  border-radius: 4px;
}

.nav-menu a:hover, 
.nav-menu a.active {
  color: var(--primary);
}

.menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--dark);
  margin: 5px 0;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--light);
  padding: 8rem 0 5rem;
  margin-top: 72px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 10 L10 30 L30 50 L50 30 Z' fill='none' stroke='%23FFFFFF' stroke-width='1' stroke-opacity='0.2'/%3E%3C/svg%3E");
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--light);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.btn {
  display: inline-block;
  background-color: var(--light);
  color: var(--primary);
  padding: 0.8rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn:hover {
  background-color: transparent;
  color: var(--light);
  border-color: var(--light);
}

.btn-alt {
  background-color: transparent;
  border: 2px solid var(--light);
  color: var(--light);
}

.btn-alt:hover {
  background-color: var(--light);
  color: var(--primary);
}

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

.section:nth-child(even) {
  background-color: var(--light);
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature {
  background-color: var(--light);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.feature:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(241, 196, 15, 0.1);
}

.feature-content {
  padding: 1.5rem;
}

.feature h3 {
  color: var(--primary);
}

/* Articles */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.article {
  border-radius: 10px;
  overflow: hidden;
  background-color: var(--light);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.article-img {
  height: 200px;
  background-color: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
}

.article-content {
  padding: 1.5rem;
}

.article-meta {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  color: var(--grey);
  margin-bottom: 0.5rem;
}

.article-meta span {
  margin-right: 1rem;
}

.article h3 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

.article-link {
  display: inline-block;
  font-weight: 600;
  margin-top: 1rem;
  color: var(--primary);
}

/* Entertainment */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.game {
  background-color: var(--light);
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.game h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

/* Contact */
.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
}

.info-item {
  margin-bottom: 1.5rem;
}

.info-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.contact-form {
  background-color: var(--light);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--dark);
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary);
  outline: none;
}

.submit-btn {
  background-color: var(--primary);
  color: var(--light);
  border: none;
  padding: 0.8rem 2rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background-color: var(--secondary);
}

/* Footer */
.footer {
  background-color: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 1rem;
}

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

.footer-about img {
  width: 150px;
  height: auto;
  margin-bottom: 1rem;
}

.footer-heading {
  color: var(--light);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-links ul li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

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

.footer-contact p {
  margin-bottom: 0.5rem;
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 992px) {
  .section-title h2 {
    font-size: 2rem;
  }
  
  .hero h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .menu-btn {
    display: block;
    z-index: 100;
  }
  
  .nav-menu {
    position: fixed;
    top: 72px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 72px);
    background-color: var(--light);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 2rem 0;
    transition: 0.4s;
    overflow-y: auto;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-menu li {
    margin: 1rem 0;
    margin-left: 0;
  }
  
  .nav-menu a {
    font-size: 1.1rem;
  }
  
  .hero h2 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
