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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  overflow-x: hidden;
}

body {
  font-family: "Arial", sans-serif !important;
  line-height: 1.6 !important;
  color: #333;
  padding-top: 80px;
  overflow-x: hidden;
}

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

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: white;
  padding: 20px 0;
  transition: all 0.3s ease;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.logo-icon {
  width: 90px;
  height: 90px;
  border-radius: 4px;
}

.logo span {
  color: #334155;
  font-weight: bold;
  font-size: 16px;
}

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

.nav a {
  color: #334155;
  text-decoration: none;
  transition: color 0.3s;
  position: relative;
  padding: 10px 15px;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #ff9800;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav a:hover {
  color: #ff9800;
}

.nav a:hover::after {
  width: 100%;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-left: 30px;
}

.social-icons i {
  color: #334155;
  font-size: 18px;
  cursor: pointer;
  transition: color 0.3s;
}

.social-icons i:hover {
  color: #ff9800;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 10px;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.mobile-menu-btn:hover {
  background: rgba(51, 65, 85, 0.1);
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background: #334155;
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* Hero Section */
.hero {
  height: 100vh;
  background: url("images/hero-bgx.png") center / cover;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
}

.hero-content {
  text-align: center;
  color: white;
  position: relative;
  z-index: 10;
}

.hero-subtitle {
  font-size: 18px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 40px;
}

.countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  font-size: 60px;
  font-weight: bold;
}

.countdown-item {
  text-align: center;
}

.countdown-number {
  font-size: 60px;
  line-height: 1;
}

.countdown-label {
  font-size: 14px;
  font-weight: normal;
  margin-top: 10px;
}

.countdown-separator {
  font-size: 40px;
}

/* Newsletter Section */
.newsletter {
  background: #334155;
  padding: 80px 0;
  text-align: center;
}

.newsletter h2 {
  color: white;
  font-size: 40px;
  margin-bottom: 20px;
}

.newsletter p {
  color: #94a3b8;
  margin-bottom: 40px;
}

.newsletter-form {
  max-width: 400px;
  margin: 0 auto;
}

.input-group {
  display: flex;
  border-radius: 6px;
  overflow: hidden;
}

.input-group input {
  flex: 1;
  padding: 15px;
  border: none;
  outline: none;
  font-size: 16px;
}

.input-group button {
  background: #ff9800;
  color: white;
  border: none;
  padding: 15px 30px;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s;
}

.input-group button:hover {
  background: #f57c00;
}

.error-message {
  color: #ef4444;
  font-size: 14px;
  margin-top: 10px;
  text-align: left;
  display: none;
}

/* Camp Categories */
.camp-categories {
  padding: 80px 0;
  background: #f8f9fa;
}

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

.category-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

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

.category-image {
  height: 250px;
  overflow: hidden;
}

.category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-content {
  padding: 30px;
}

.category-content h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

.category-content p {
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
}

.register-link {
  color: #ff9800;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
}

.register-link:hover {
  color: #f57c00;
  transform: translateX(5px);
}

/* Why Choose Section */
.why-choose {
  background: #334155;
  padding: 80px 0;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.why-choose-content h2 {
  color: white;
  font-size: 40px;
  margin-bottom: 20px;
}

.subtitle {
  color: #94a3b8;
  margin-bottom: 40px;
}
.subtitle p{
  color: #94a3b8;
  margin-bottom: 40px;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.benefit-icon {
  font-size: 20px;
  color: #ff9800;
  margin-top: 2px;
}

.benefit-item span {
  color: white;
  line-height: 1.6;
}

.why-choose-illustration {
  display: flex;
  justify-content: center;
}

.why-choose-illustration img {
  width: 100%;
  max-width: 500px;
  height: auto;
}

/* Camp Activities */
.camp-activities {
  padding: 80px 0;
  background: white;
}

.camp-activities h2 {
  text-align: center;
  font-size: 40px;
  margin-bottom: 60px;
}

.activities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.activities-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.activity-item {
  display: flex;
  gap: 20px;
}

.activity-icon {
  width: 50px;
  height: 50px;
  background: #ff9800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.activity-icon i {
  color: white;
  font-size: 20px;
}

.activity-text h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.activity-text p {
  color: #666;
  line-height: 1.6;
}

.activities-image img {
  width: 100%;
  border-radius: 10px;
}

/* Quote Section */
.quote-section {
  background: #334155;
  padding: 80px 0;
}

.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.quote-illustration {
  display: flex;
  justify-content: center;
}

.quote-illustration img {
  width: 100%;
  max-width: 400px;
  height: auto;
}

.quote-content h2 {
  color: white;
  font-size: 36px;
  line-height: 1.4;
  margin-bottom: 20px;
}

.hashtag {
  color: #ff9800;
  margin-bottom: 30px;
}

.quote-buttons {
  display: flex;
  gap: 20px;
}

.btn {
  padding: 12px 30px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
  border: 2px solid transparent;
  display: inline-block;
  text-align: center;
}

.btn-primary {
  background: #ff9800 !important;
  color: white !important;
}

.btn-primary:hover {
  background: #f57c00 !important;
  border-color: #f57c00 !important;
}

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

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

/* Gallery */
.gallery {
  padding: 80px 0;
  background: white;
}

.gallery-header {
  text-align: center;
  margin-bottom: 60px;
}

.gallery-header h2 {
  font-size: 40px;
  margin-bottom: 10px;
}

.gallery-header p {
  color: #ff9800;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
  filter: brightness(0.8);
}

.gallery-item::after {
  content: '\f002';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.6);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.gallery-item.large {
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

/* Contact */


/*.contact-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}*/

.contact-header {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  z-index: 10;
}

.contact-header h2 {
  color: white;
  font-size: 40px;
  margin-bottom: 10px;
}

.contact-header p {
  color: #94a3b8;
}

.contact-form {
  max-width: 400px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.form-group {
  margin-bottom: 20px;
  position: relative;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  outline: none;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form .btn {
  width: 100%;
  margin: 0 auto;
  display: block;
}

/* Footer */
.footer {
  background: #334155;
  padding: 40px 0;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-nav a {
  color: white;
  text-decoration: none;
  transition: all 0.3s;
  position: relative;
  padding: 8px 12px;
}

.footer-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #ff9800;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.footer-nav a:hover {
  color: #ff9800;
}

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

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid #475569;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  margin-bottom: 30px;
}

.main-logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.university-logos {
  display: flex;
  align-items: center;
  gap: 80px;
}

.footer-logo .logo-icon {
  width: 60px;
  height: 60px;
  border-radius: 4px;
}

.footer-logo .university-logo {
  max-width: 150px;
  height: auto;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.footer-logo .university-logo-2 {
  max-width: 180px;
  height: auto;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.footer-logo .university-logo:hover {
  opacity: 1;
}

.footer-logo span {
  color: white;
  font-weight: bold;
  font-size: 16px;
}

.footer-copyright {
  color: white;
}

/* Scroll to Top */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: white;
  border: none;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  z-index: 1000;
}

.scroll-top:hover {
  background: #f8f9fa;
  transform: translateY(-2px);
}

.scroll-top i {
  color: #666;
  font-size: 18px;
}

/* Animaciones para enlaces de registro */
.register-link {
  color: #ff9800;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
}

.register-link:hover {
  color: #f57c00;
  transform: translateX(5px);
}

/* Animación de pulso para el formulario */
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 152, 0, 0.4);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 0 0 10px rgba(255, 152, 0, 0.2);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 152, 0, 0);
  }
}

/* Animación de entrada para las tarjetas */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 80%;
    max-width: 300px;
    background: rgba(248, 249, 250, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 100px 30px 30px;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  .nav.active {
    right: 0;
    padding-left: 30px;
  }

  .nav a {
    width: 100%;
    padding: 15px 0;
    border-bottom: 1px solid rgba(51, 65, 85, 0.1);
    color: #334155;
    font-size: 18px;
    font-weight: 500;
  }

  .nav a::after {
    display: none;
  }

  .social-icons {
    margin-left: 0;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(51, 65, 85, 0.1);
    width: 100%;
  }

  .mobile-menu-btn {
    display: flex;
    z-index: 1001;
  }

  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  .countdown {
    font-size: 40px;
    gap: 15px;
  }

  .countdown-number {
    font-size: 40px;
  }

  .why-choose-grid,
  .activities-grid,
  .quote-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item.large,
  .gallery-item.wide {
    grid-column: span 1;
    grid-row: span 1;
  }

  .categories-grid {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    flex-wrap: wrap;
    gap: 15px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-logo {
    flex-direction: column;
    gap: 30px;
    margin-bottom: 20px;
  }

  .main-logo {
    flex-direction: column;
    gap: 15px;
  }

  .university-logos {
    flex-direction: column;
    gap: 20px;
  }

  .footer-logo .university-logo {
    max-width: 150px;
    margin-left: 0;
    margin-top: 0;
  }

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

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

  .hero-content h1 {
    font-size: 32px;
  }

  .countdown {
    font-size: 30px;
    gap: 10px;
  }

  .countdown-number {
    font-size: 30px;
  }

  .newsletter h2,
  .camp-activities h2,
  .gallery-header h2,
  .contact-header h2,
  .why-choose-content h2,
  .quote-content h2 {
    font-size: 28px;
  }
}

/* Botón de galería completa */
.gallery-btn {
  padding: 15px 30px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 4px 15px rgba(255, 152, 0, 0.3);
}

.gallery-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 152, 0, 0.4);
}

.gallery-button-container {
  animation: fadeInUp 0.8s ease;
}

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

/* Contact Info Section */
.contact-info {
  background: #f8f9fa;
  padding: 80px 0;
}

.contact-info-header {
  text-align: center;
  margin-bottom: 60px;
}

.contact-info-header h2 {
  font-size: 40px;
  color: #334155;
  margin-bottom: 10px;
}

.contact-info-header p {
  color: #666;
  font-size: 18px;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  max-width: 800px;
  margin: 0 auto;
}

.contact-card {
  background: white;
  border-radius: 15px;
  padding: 40px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

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

.contact-avatar {
  margin-bottom: 20px;
}

.contact-avatar i {
  font-size: 60px;
  color: #ff9800;
}

.contact-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #ff9800;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.contact-photo:hover {
  transform: scale(1.05);
}

.contact-details h3 {
  font-size: 24px;
  color: #334155;
  margin-bottom: 10px;
}

.contact-role {
  color: #ff9800;
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 15px;
}

.contact-item i {
  color: #ff9800;
  font-size: 16px;
  width: 20px;
}

.contact-item a {
  color: #334155;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: #ff9800;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 998;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}
