/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: #2d3748;
}

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

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.nav-logo h2 {
  color: #2f855a;
  font-weight: 700;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-link {
  text-decoration: none;
  color: #4a5568;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: #2f855a;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #2f855a;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: #4a5568;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
      135deg,
      rgba(47, 133, 90, 0.8) 0%,
      rgba(56, 178, 172, 0.8) 50%,
      rgba(49, 130, 206, 0.8) 100%
    ),
    url("https://elbolsonguia.com.ar/wp-content/uploads/2023/03/El-Bolson_11zon-2-e1680100317624.jpeg")
      center/cover;
  z-index: -1;
}

.hero-content {
  max-width: 800px;
  padding: 0 20px;
  animation: fadeInUp 1s ease-out;
}

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

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 24px;
  opacity: 0.9;
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 32px;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-dates {
  margin-bottom: 40px;
}

.date-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 12px 24px;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  font-weight: 600;
  font-size: 1.1rem;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 16px 32px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: #2f855a;
  color: white;
}

.btn-primary:hover {
  background: #276749;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(47, 133, 90, 0.3);
}

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

.btn-secondary:hover {
  background: white;
  color: #2f855a;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.1rem;
  color: #718096;
  max-width: 600px;
  margin: 0 auto;
}

/* Mission Section */
.mission {
  padding: 100px 0;
  background: #f7fafc;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
}

.mission-card {
  background: white;
  padding: 40px 32px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mission-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.mission-icon {
  font-size: 3rem;
  margin-bottom: 24px;
}

.mission-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 16px;
}

.mission-card p {
  color: #718096;
  line-height: 1.6;
}

/* Disciplines Section */
.disciplines {
  padding: 100px 0;
  background: white;
}
.disciplines-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 1100px) {
  .disciplines-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .disciplines-grid {
    grid-template-columns: 1fr;
  }
}

.discipline-card {
  background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.discipline-card:hover {
  background: linear-gradient(135deg, #2f855a 0%, #38b2ac 100%);
  color: white;
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(47, 133, 90, 0.3);
}

/* Contenedor fijo para la imagen */
.discipline-card .image-container {
  width: 100px;
  aspect-ratio: 16 / 9; /* relación estándar horizontal */
  overflow: hidden;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.discipline-card .image-container img {
  width: 100px;
  display: block;
}

/* Contenido de texto */
.discipline-card .content {
  padding: 24px;
}

.discipline-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.discipline-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.discipline-card p {
  font-size: 0.9rem;
  opacity: 0.8;
  line-height: 1.5;
}

/* Featured Activity Section */
.featured-activity {
  padding: 100px 0;
  background: linear-gradient(135deg, #e6fffa 0%, #f0fff4 100%);
}

.activity-showcase {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
  align-items: start;
}

.activity-content h3 {
  font-size: 2rem;
  font-weight: 700;
  color: #2f855a;
  margin-bottom: 24px;
}

.activity-meta {
  display: flex;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.activity-meta span {
  background: white;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 500;
  color: #2d3748;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.activity-highlights {
  display: grid;
  gap: 24px;
}

.highlight-item {
  background: white;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.highlight-item h4 {
  color: #2f855a;
  margin-bottom: 8px;
  font-weight: 600;
}

.highlight-item p {
  color: #718096;
  line-height: 1.5;
}

.activity-organizer {
  background: #2f855a;
  color: white;
  padding: 24px;
  border-radius: 12px;
  margin-top: 32px;
}

.activity-organizer h4 {
  margin-bottom: 12px;
}

.activity-image {
  position: relative;
}

.activity-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.activity-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #48bb78;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Talks Section */
.talks {
  padding: 100px 0;
  background: white;
}

.talks-grid {
  display: grid;
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.talk-card {
  background: #f7fafc;
  padding: 32px;
  border-radius: 16px;
  display: flex;
  gap: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.talk-card:hover {
  transform: translateY(-4px);
}

.talk-speaker {
  display: flex;
  gap: 16px;
  align-items: center;
  min-width: 200px;
}

.speaker-avatar {
  width: 60px;
  height: 60px;
  background: #2f855a;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.2rem;
}

.speaker-info h3 {
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 4px;
}

.speaker-info p {
  color: #718096;
  font-size: 0.9rem;
}

.talk-content h4 {
  color: #2f855a;
  font-weight: 600;
  margin-bottom: 8px;
}

.talk-content p {
  color: #718096;
  line-height: 1.6;
  margin-bottom: 16px;
}

.btn-read-more {
  background: #2f855a;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-read-more:hover {
  background: #276749;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(47, 133, 90, 0.3);
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.modal-content {
  background-color: white;
  margin: 5% auto;
  padding: 40px;
  border-radius: 16px;
  width: 90%;
  max-width: 700px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.close {
  color: #718096;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  position: absolute;
  top: 20px;
  right: 30px;
  transition: color 0.3s ease;
}

.close:hover {
  color: #2f855a;
}

.modal-content h2 {
  color: #2f855a;
  margin-bottom: 20px;
  margin-top: 0;
  font-size: 1.8rem;
  line-height: 1.3;
}

.modal-speaker {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #2d3748;
}

.modal-details {
  background: #f7fafc;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 24px;
}

.modal-details p {
  margin-bottom: 8px;
  color: #4a5568;
  font-weight: 500;
}

.modal-details p:last-child {
  margin-bottom: 0;
}

.modal-description h3 {
  color: #2d3748;
  margin-bottom: 16px;
  font-size: 1.2rem;
}

.modal-description p {
  color: #718096;
  line-height: 1.6;
  margin-bottom: 16px;
}

.modal-description p:last-child {
  margin-bottom: 0;
}

.modal-description a {
  color: #2f855a;
  text-decoration: none;
  font-weight: 500;
}

.modal-description a:hover {
  text-decoration: underline;
  margin-bottom: 16px;
}

.btn-read-more {
  background: #2f855a;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-read-more:hover {
  background: #276749;
  transform: translateY(-1px);
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.modal-content {
  background-color: white;
  margin: 5% auto;
  padding: 40px;
  border-radius: 16px;
  width: 90%;
  max-width: 700px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.close {
  color: #718096;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  position: absolute;
  top: 20px;
  right: 30px;
  transition: color 0.3s ease;
}

.close:hover {
  color: #2f855a;
}

.modal-content h2 {
  color: #2f855a;
  margin-bottom: 20px;
  margin-top: 0;
  font-size: 1.8rem;
  line-height: 1.3;
}

.modal-speaker {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #2d3748;
}

.modal-details {
  background: #f7fafc;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 24px;
}

.modal-details p {
  margin-bottom: 8px;
  color: #4a5568;
  font-weight: 500;
}

.modal-details p:last-child {
  margin-bottom: 0;
}

.modal-description h3 {
  color: #2d3748;
  margin-bottom: 16px;
  font-size: 1.2rem;
}

.modal-description p {
  color: #718096;
  line-height: 1.6;
  margin-bottom: 16px;
}

.modal-description p:last-child {
  margin-bottom: 0;
}

.modal-description a {
  color: #2f855a;
  text-decoration: none;
  font-weight: 500;
}

.modal-description a:hover {
  text-decoration: underline;
}

/* Event Format Section */
.event-format {
  padding: 100px 0;
  background: #f7fafc;
}

.format-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
}

.format-item {
  background: white;
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.format-item:hover {
  transform: translateY(-4px);
}

.format-item h3 {
  color: #2f855a;
  font-weight: 600;
  margin-bottom: 16px;
  font-size: 1.2rem;
}

.format-item p {
  color: #718096;
  line-height: 1.6;
}

/* Contact Section */
.contact {
  padding: 100px 0;
  background: linear-gradient(135deg, #2f855a 0%, #38b2ac 100%);
  color: white;
}

.contact .section-header h2,
.contact .section-header p {
  color: white;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.event-schedule {
  margin-top: 40px;
}

.schedule-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 16px;
  backdrop-filter: blur(10px);
}

.schedule-item h4 {
  font-weight: 600;
  margin-bottom: 8px;
  color: #48bb78;
}

.participation-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.contact-info h3,
.participation-options h3,
.event-schedule h3 {
  font-size: 1.5rem;
  margin-bottom: 32px;
  font-weight: 600;
}

.info-item {
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.option-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 24px;
  border-radius: 12px;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
}

.option-card h4 {
  font-weight: 600;
  margin-bottom: 8px;
}

.cta-section {
  text-align: center;
}

.cta-section h3 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 32px;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn {
  background: white;
  color: #2f855a;
}

.cta-buttons .btn:hover {
  background: #f7fafc;
  transform: translateY(-2px);
}

/* Footer */
.footer {
  background: #2d3748;
  color: white;
  padding: 60px 0 20px;
}

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

.footer-section h3,
.footer-section h4 {
  margin-bottom: 16px;
  color: #48bb78;
}

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

.footer-section li {
  margin-bottom: 8px;
  color: #a0aec0;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #4a5568;
  color: #a0aec0;
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .modal-content {
    margin: 10% auto;
    padding: 30px 20px;
    width: 95%;
  }

  .close {
    top: 15px;
    right: 20px;
    font-size: 24px;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: white;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .mission-grid,
  .disciplines-grid {
    grid-template-columns: 1fr;
  }

  .activity-showcase {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .activity-image {
    order: -1;
  }

  .talk-card {
    flex-direction: column;
    text-align: center;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .activity-meta {
    flex-direction: column;
    gap: 12px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  /* Adjust discipline-card image size for smaller screens */
  .discipline-card img {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .mission-card,
  .discipline-card {
    padding: 24px 20px;
  }

  .activity-content h3 {
    font-size: 1.5rem;
  }

  /* Further adjust discipline-card image size for very small screens */
  .discipline-card img {
    width: 48px;
    height: 48px;
  }
}
