/* Main styles for TurisRuedas website */
:root {
  --primary-color: #00796b;
  --secondary-color: #ffab00;
  --text-color: #333;
  --light-color: #fff;
  --dark-color: #212121;
  --accent-color: #ff5722;
  --background-color: #f5f5f5;
  --header-height: 70px;
}

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

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

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

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

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

.logo h1 {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 1px;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 25px;
}

nav ul li a {
  color: var(--light-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
}

nav ul li a:hover {
  color: var(--secondary-color);
}

/* Hero Section */
#hero {
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/hero-bg.svg') no-repeat center center/cover;
  height: 80vh;
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--light-color);
  margin-top: var(--header-height);
}

#hero h2 {
  font-size: 3rem;
  margin-bottom: 20px;
}

#hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn-primary {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--dark-color);
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #ffc400;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: var(--primary-color);
  padding: 10px 20px;
  text-decoration: none;
  border: 2px solid var(--primary-color);
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

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

/* Sections */
.section {
  padding: 80px 0;
}

.section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: var(--primary-color);
}

/* Routes Grid */
.routes-grid, .adventures-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.route-card, .adventure-card {
  background-color: var(--light-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

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

.route-card h3, .adventure-card h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.route-card p, .adventure-card p {
  margin-bottom: 20px;
}

/* Game Section */
#games {
  background-color: var(--dark-color);
  color: var(--light-color);
  padding: 60px 0;
}

#games h2 {
  color: var(--light-color);
  text-align: center;
  margin-bottom: 40px;
}

.games-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  text-align: center;
}

.game-link {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.game-link:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.game-link a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.game-link a:hover {
  color: #ffc400;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: var(--light-color);
  padding: 50px 0 20px;
}

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

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo img {
  width: 80px;
  margin-bottom: 15px;
}

.footer-links h3, .footer-contact h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: var(--light-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

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

.copyright {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  color: var(--light-color);
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

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

/* Media Queries */
@media screen and (max-width: 768px) {
  header .container {
    flex-direction: column;
    height: auto;
    padding: 20px 0;
  }

  nav ul {
    flex-direction: column;
    text-align: center;
    margin-top: 20px;
  }

  nav ul li {
    margin: 10px 0;
  }

  #hero {
    height: 70vh;
    margin-top: 0;
    padding-top: var(--header-height);
  }
  
  #hero h2 {
    font-size: 2rem;
  }
  
  .section h2 {
    font-size: 2rem;
  }
}

/* About Section */
#sobre {
  background-color: #f9f9f9;
}

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

.about-text {
  flex: 1;
  min-width: 300px;
  padding: 20px;
}

.about-text h3 {
  color: var(--primary-color);
  font-size: 1.8rem;
  margin-bottom: 20px;
}

/* Contact Section */
#contato {
  background-color: white;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-info h3 {
  color: var(--primary-color);
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.contact-item i {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-right: 15px;
}
