﻿/* ==========================================================================
   PORTAFOLIO WEB DANIEL 
   ========================================================================== */

/* 1. Reset Global y Eliminacion de Animaciones */
*, *::before, *::after {
  box-sizing: border-box; margin: 0; padding: 0;
  animation: none !important; transition: none !important;
}
html { scroll-behavior: auto !important; font-size: 16px; background-color: #ffffff; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #ffffff; color: #212529; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
.container { max-width: 980px; margin: 0 auto; padding: 0 20px; }

/* 2. Barra de Navegacion */
.navbar { position: sticky; top: 0; z-index: 100; background-color: #ffffff; }
.nav-container {
  max-width: 980px; margin: 0 auto; padding: 14px 20px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.nav-brand { font-family: 'Space Grotesk', sans-serif; font-size: 1.2rem; font-weight: 700; color: #111; text-decoration: none; }
.nav-brand span { color: #4f5861; font-weight: 500; }
.nav-menu { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.nav-menu a { color: #495057; text-decoration: none; font-size: 0.88rem; font-weight: 500; }
.nav-menu a:hover { color: #111; text-decoration: underline; }
.nav-cta-link {
  color: #111 !important; font-weight: 600; background-color: #f1f3f5;
  border: 1px solid #ced4da; border-radius: 6px; padding: 5px 12px;
}

/* 3. Seccion Hero */
.hero-section { padding: 75px 20px 65px; text-align: center; background-color: #ffffff; }
.hero-content { max-width: 720px; margin: 0 auto; }
.hero-badge {
  display: inline-block; background-color: #f1f3f5; color: #495057; border: 1px solid #ced4da;
  border-radius: 20px; padding: 4px 14px; font-size: 0.78rem; font-weight: 600; margin-bottom: 12px;
}
.hero-title { font-family: 'Space Grotesk', sans-serif; font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 700; color: #111; line-height: 1.15; }
.highlight-name { border-bottom: 3px solid #212529; }
.hero-subtitle { font-size: 1.15rem; color: #6c757d; margin-top: 10px; font-weight: 500; }
.hero-actions { display: flex; justify-content: center; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 10px 22px; border-radius: 6px; font-family: 'Space Grotesk', sans-serif;
  font-size: 0.88rem; font-weight: 600; text-decoration: none; cursor: pointer; text-align: center;
}
.btn-primary { background-color: #212529; color: #ffffff; border: 1px solid #212529; }
.btn-primary:hover { background-color: #343a40; }
.btn-secondary { background-color: #ffffff; color: #212529; border: 1px solid #ced4da; }
.btn-secondary:hover { background-color: #f8f9fa; border-color: #212529; }

/* 4. Estructura General de Secciones */
.section { padding: 60px 0; }
.section-alt { background-color: #ffffff; }
.section-header { text-align: center; margin-bottom: 30px; }
.section-title { font-family: 'Space Grotesk', sans-serif; font-size: clamp(1.8rem, 3.5vw, 2.3rem); font-weight: 700; color: #111; }
.section-subtitle { font-size: 0.88rem; color: #6c757d; margin-top: 4px; }

/* 5. Sección Sobre Mí */
.quote-card {
  max-width: 800px; margin: 0 auto 22px auto; padding: 12px 18px; background-color: #ffffff;
  border: 1px solid #dee2e6; border-left: 4px solid #212529; border-radius: 6px;
}
.motivational-quote { font-size: 0.95rem; font-weight: 600; font-style: italic; color: #343a40; }
.about-card {
  display: grid; grid-template-columns: 180px 1fr; gap: 28px; align-items: center;
  max-width: 800px; margin: 0 auto; background-color: #ffffff; border: 1px solid #dee2e6;
  border-radius: 8px; padding: 24px;
}
.about-photo-wrapper { display: flex; justify-content: center; }
.photo-frame { width: 150px; height: 150px; border: 1px solid #ced4da; border-radius: 8px; overflow: hidden; background-color: #e9ecef; }
.profile-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-greeting { font-family: 'Space Grotesk', sans-serif; font-size: 1.15rem; font-weight: 700; color: #111; margin-bottom: 8px; }
.about-text { font-size: 0.9rem; color: #495057; line-height: 1.6; margin-bottom: 8px; }

/* 6. Habilidades y Fortalezas (2 Columnas segun Boceto) */
.dual-checklist-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 900px; margin: 0 auto;
}
.checklist-column {
  background-color: #ffffff; border: 1px solid #dee2e6; border-radius: 8px;
  padding: 18px; display: flex; flex-direction: column;
}
.checklist-box-header {
  border: 1.5px solid #212529; border-radius: 6px; padding: 8px 12px;
  background-color: #f8f9fa; text-align: center; margin-bottom: 6px;
}
.checklist-box-header h3 { font-family: 'Space Grotesk', sans-serif; font-size: 0.95rem; font-weight: 700; color: #212529; }
.checklist-items { display: flex; flex-direction: column; }
.checklist-row { display: flex; align-items: flex-start; gap: 10px; padding: 12px 2px; border-bottom: 1px solid #e9ecef; }
.custom-checkbox {
  width: 16px; height: 16px; border: 1.5px solid #212529; border-radius: 3px;
  background-color: #ffffff; flex-shrink: 0; margin-top: 3px; position: relative;
}
.custom-checkbox::after {
  content: ''; position: absolute; top: 2px; left: 2px;
  width: 8px; height: 8px; background-color: #212529; border-radius: 1px;
}
.checklist-info { display: flex; flex-direction: column; }
.item-name { font-family: 'Space Grotesk', sans-serif; font-size: 0.9rem; font-weight: 700; color: #212529; }
.item-desc { font-size: 0.8rem; color: #6c757d; line-height: 1.4; }

/* 7. Contacto & Solicitudes */
.contact-requests-grid {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 24px; max-width: 900px; margin: 0 auto;
}
.contact-panel, .requests-panel {
  background-color: #ffffff; border: 1px solid #dee2e6; border-radius: 8px;
  padding: 18px; display: flex; flex-direction: column;
}
.panel-box-header {
  border: 1.5px solid #212529; border-radius: 6px; padding: 8px 12px;
  background-color: #f8f9fa; text-align: center; margin-bottom: 10px;
}
.panel-box-header h3 { font-family: 'Space Grotesk', sans-serif; font-size: 0.95rem; font-weight: 700; color: #212529; }
.channels-list { display: flex; flex-direction: column; }
.channel-item {
  display: flex; justify-content: space-between; align-items: center; padding: 10px 4px;
  border-bottom: 1px solid #e9ecef; text-decoration: none; color: #212529;
}
.channel-item:hover { background-color: #f8f9fa; }
.channel-details { display: flex; flex-direction: column; }
.channel-type { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; color: #6c757d; }
.channel-link { font-family: 'Space Grotesk', sans-serif; font-size: 0.88rem; font-weight: 600; color: #212529; word-break: break-all; }

/* Formulario Limpio */
.junior-form { display: flex; flex-direction: column; gap: 10px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-group { display: flex; flex-direction: column; gap: 4px; }
.form-group label { font-size: 0.74rem; font-weight: 600; color: #343a40; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 8px 10px; background-color: #ffffff; border: 1px solid #ced4da;
  border-radius: 6px; font-family: 'Inter', sans-serif; font-size: 0.85rem; color: #212529; outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: #212529; }
.form-group textarea { resize: vertical; }
.btn-submit { width: 100%; margin-top: 4px; }

/* 8. Pie de Pagina */
.footer { padding: 20px 0; background-color: #ffffff; }
.footer-content { display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem; color: #6c757d; }

/* 9. Responsividad */
@media (max-width: 800px) {
  .dual-checklist-grid, .contact-requests-grid { grid-template-columns: 1fr; gap: 20px; }
  .about-card { grid-template-columns: 1fr; text-align: center; }
}
@media (max-width: 600px) {
  .navbar .nav-container { flex-direction: column; align-items: flex-start; }
  .form-row-2 { grid-template-columns: 1fr; }
  .footer-content { flex-direction: column; text-align: center; gap: 6px; }
}
