/**
 * PORTAFOLIO AVIACIÓN - SANTIAGO ANDRÉS QUIÑONEZ SOSA
 * Paleta profesional: Negro, Rojo y Grises
 */

/* ===== RESET Y BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  overflow-x: hidden;
}

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

.hidden {
  display: none !important;
}

/* ===== EFECTOS DE RELIEVE ===== */
.btn-relief {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
}

.btn-relief:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2), 0 4px 8px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.btn-relief:active {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.1);
  transform: translateY(0px);
}

.btn-relief-red {
  box-shadow: 0 4px 8px rgba(220, 38, 38, 0.3), 0 2px 4px rgba(220, 38, 38, 0.2);
}

.btn-relief-red:hover {
  box-shadow: 0 8px 16px rgba(220, 38, 38, 0.4), 0 4px 8px rgba(220, 38, 38, 0.25);
  transform: translateY(-2px);
}

.btn-relief-red:active {
  box-shadow: 0 2px 4px rgba(220, 38, 38, 0.2), 0 1px 2px rgba(220, 38, 38, 0.15);
  transform: translateY(0px);
}

/* ===== ANIMACIONES ===== */
@keyframes fly {
  0% {
    transform: translateX(-100vw) translateY(20px) rotate(12deg);
  }
  50% {
    transform: translateX(0) translateY(-20px) rotate(12deg);
  }
  100% {
    transform: translateX(100vw) translateY(20px) rotate(12deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.flying-plane {
  animation: fly 3s ease-in-out;
}

/* ===== PANTALLA DE TRANSICIÓN ===== */
.transition-screen {
  min-height: 100vh;
  background: linear-gradient(135deg, #1a1a1a, #dc2626, #000000);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.transition-content {
  text-align: center;
}

.plane-icon-transition {
  width: 6rem;
  height: 6rem;
  color: white;
  transform: rotate(12deg);
}

.transition-text {
  color: white;
  font-size: 1.25rem;
  margin-top: 2rem;
  animation: pulse 2s infinite;
}

/* ===== PANTALLA DE LANDING ===== */
.landing-screen {
  min-height: 100vh;
  background: linear-gradient(135deg, #1a1a1a, #dc2626, #4a4a4a);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.language-btn-landing {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  cursor: pointer;
  font-size: 0.875rem;
}

.language-btn-landing:hover {
  background: rgba(255, 255, 255, 0.2);
}

.language-icon {
  width: 1rem;
  height: 1rem;
}

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

.landing-logo {
  margin-bottom: 2rem;
}

.landing-plane-icon {
  width: 8rem;
  height: 8rem;
  color: white;
  animation: float 3s ease-in-out infinite;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}

.landing-title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.landing-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.start-journey-btn {
  background: #dc2626;
  color: white;
  border: none;
  padding: 1rem 2rem;
  font-size: 1.25rem;
  border-radius: 0.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 auto;
  transition: all 0.3s ease;
}

.start-journey-btn:hover {
  background: #b91c1c;
  transform: scale(1.05);
}

.start-journey-icon {
  width: 1.5rem;
  height: 1.5rem;
}

/* ===== PORTAFOLIO PRINCIPAL ===== */
.portfolio-screen {
  background: linear-gradient(to bottom, #f8f9fa, #e9ecef, white);
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  z-index: 50;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo-icon {
  width: 2rem;
  height: 2rem;
  color: #dc2626;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: bold;
  color: #1a1a1a;
}

.nav-links {
  display: none;
  gap: 1.5rem;
}

.nav-link {
  color: #4a5568;
  text-decoration: none;
  transition: color 0.2s ease;
  font-weight: 500;
  font-size: 0.875rem;
}

.nav-link:hover {
  color: #dc2626;
}

.language-btn-portfolio {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 1px solid #dc2626;
  color: #dc2626;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  cursor: pointer;
  font-size: 0.875rem;
}

.language-btn-portfolio:hover {
  background: #dc2626;
  color: white;
}

/* ===== HERO SECTION ===== */
.hero-section {
  padding: 8rem 1rem 4rem;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-greeting {
  font-size: 1.125rem;
  color: #6b7280;
  margin-bottom: 0.5rem;
}

.hero-name {
  font-size: 2.5rem;
  font-weight: bold;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 1.5rem;
  color: #dc2626;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #4a5568;
  margin-bottom: 1rem;
  font-style: italic;
}

.hero-description {
  font-size: 1.125rem;
  color: #374151;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.hero-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  transition: all 0.3s ease;
  min-width: 200px;
}

.hero-btn-primary {
  background: #dc2626;
  color: white;
}

.hero-btn-primary:hover {
  background: #b91c1c;
}

.hero-btn-secondary {
  background: transparent;
  color: #1a1a1a;
  border: 2px solid #1a1a1a;
}

.hero-btn-secondary:hover {
  background: #1a1a1a;
  color: white;
}

.hero-btn-icon {
  width: 1.25rem;
  height: 1.25rem;
}

/* ===== SECCIONES GENERALES ===== */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #1a1a1a;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.section-title-icon {
  width: 2rem;
  height: 2rem;
  color: #dc2626;
}

.section-subtitle {
  font-size: 1.125rem;
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== ABOUT SECTION ===== */
.about-section {
  padding: 4rem 1rem;
  background: white;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-description {
  font-size: 1.125rem;
  color: #374151;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 400px;
  margin: 0 auto;
}

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

.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: #dc2626;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 500;
}

/* ===== OBJECTIVES SECTION ===== */
.objectives-section {
  padding: 4rem 1rem;
  background: #f8f9fa;
}

.objectives-content {
  max-width: 600px;
  margin: 0 auto;
}

.objective-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.objective-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.objective-icon {
  width: 4rem;
  height: 4rem;
  background: #f3f4f6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.objective-icon-svg {
  width: 2rem;
  height: 2rem;
  color: #dc2626;
}

.objective-text {
  font-size: 1.125rem;
  color: #374151;
  line-height: 1.7;
  font-weight: 500;
}

/* ===== MISSION SECTION ===== */
.mission-section {
  padding: 4rem 1rem;
  background: white;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.mission-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

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

.mission-card-full {
  grid-column: 1 / -1;
}

.mission-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.mission-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mission-icon-red {
  background: #fee2e2;
}

.mission-icon-black {
  background: #f3f4f6;
}

.mission-icon-gray {
  background: #e5e7eb;
}

.mission-icon-svg {
  width: 1.5rem;
  height: 1.5rem;
}

.mission-icon-red .mission-icon-svg {
  color: #dc2626;
}

.mission-icon-black .mission-icon-svg {
  color: #1a1a1a;
}

.mission-icon-gray .mission-icon-svg {
  color: #6b7280;
}

.mission-card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a1a1a;
}

.mission-card-text {
  color: #6b7280;
  line-height: 1.7;
  font-size: 1rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: #f8f9fa;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
}

.value-item:hover {
  background: #e5e7eb;
  transform: scale(1.02);
}

.value-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: #dc2626;
}

/* ===== SERVICES SECTION ===== */
.services-section {
  padding: 4rem 1rem;
  background: #f8f9fa;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.service-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.service-icon {
  width: 3rem;
  height: 3rem;
  color: #dc2626;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
}

.service-description {
  color: #6b7280;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.service-tag {
  background: #f3f4f6;
  color: #374151;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
}

/* ===== PROJECTS SECTION ===== */
.projects-section {
  padding: 4rem 1rem;
  background: white;
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.project-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.project-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transform: translateY(-5px);
}

.project-header {
  padding: 1.5rem;
  text-align: center;
}

.project-icon-container {
  width: 4rem;
  height: 4rem;
  background: #f3f4f6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.project-icon {
  width: 2rem;
  height: 2rem;
  color: #dc2626;
}

.project-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}

.project-description {
  color: #6b7280;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.project-content {
  padding: 0 1.5rem 1.5rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
  justify-content: center;
}

.project-tag {
  background: #f3f4f6;
  color: #374151;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
}

.project-btn {
  background: #dc2626;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  width: 100%;
  transition: all 0.3s ease;
}

.project-btn:hover {
  background: #b91c1c;
}

/* ===== CERTIFICATIONS SECTION ===== */
.certifications-section {
  padding: 4rem 1rem;
  background: #f8f9fa;
}

.certifications-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.certification-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.certification-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.certification-preview {
  height: 200px;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #e5e7eb;
}

.certification-placeholder {
  text-align: center;
  color: #6b7280;
}

.certification-icon {
  width: 3rem;
  height: 3rem;
  margin-bottom: 0.5rem;
}

.certification-preview-text {
  font-size: 0.875rem;
  font-weight: 500;
}

.certification-info {
  padding: 1.5rem;
  text-align: center;
}

.certification-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}

.certification-issuer {
  color: #dc2626;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.certification-date {
  color: #6b7280;
  font-size: 0.875rem;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  padding: 4rem 1rem;
  background: linear-gradient(135deg, #1a1a1a, #dc2626);
  color: white;
}

.contact-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.contact-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.contact-subtitle {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.contact-description {
  font-size: 1.125rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  transition: all 0.3s ease;
  min-width: 200px;
}

.contact-btn-primary {
  background: white;
  color: #1a1a1a;
}

.contact-btn-primary:hover {
  background: #f8f9fa;
  transform: scale(1.05);
}

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

.contact-btn-secondary:hover {
  background: white;
  color: #1a1a1a;
  transform: scale(1.05);
}

.contact-btn-icon {
  width: 1.25rem;
  height: 1.25rem;
}

/* ===== FOOTER ===== */
.footer {
  padding: 2rem 1rem;
  background: #1a1a1a;
  color: white;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: #dc2626;
}

.footer-name {
  font-size: 1.125rem;
  font-weight: 600;
}

.footer-text {
  color: #9ca3af;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablets */
@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }

  .landing-title {
    font-size: 4rem;
  }

  .landing-subtitle {
    font-size: 1.5rem;
  }

  .hero-name {
    font-size: 3.75rem;
  }

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

  .hero-buttons {
    flex-direction: row;
    gap: 1.5rem;
  }

  .contact-buttons {
    flex-direction: row;
    gap: 1.5rem;
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .certifications-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mission-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .landing-title {
    font-size: 5rem;
  }

  .hero-name {
    font-size: 4rem;
  }

  .certifications-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Large screens */
@media (min-width: 1280px) {
  .landing-title {
    font-size: 6rem;
  }
}
