/*
  style.css
  Theme: Entrevistas con emprendedores en Argentina
  Design System: Minimalist + Biomorphic
  Color Scheme: Triad
  Animation: Parallax
*/

/* ---------------------------------- */
/*          CSS Variables             */
/* ---------------------------------- */
:root {
  /* Triadic Color Palette */
  --primary-color: #0D7377;  /* Deep Teal */
  --secondary-color: #E85A4F; /* Coral Red */
  --accent-color: #D8A409;   /* Mustard Gold */

  /* Neutral Shades */
  --dark-color: #222222;
  --text-color: #333333;
  --light-color: #FFFFFF;
  --background-light: #F4F7F5;
  --border-color: #e0e0e0;
  
  /* Typography */
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Nunito', sans-serif;

  /* Spacing */
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 32px;
  --spacing-xl: 64px;

  /* Biomorphic Design Elements */
  --border-radius-soft: 15px;
  --border-radius-round: 50%;
  
  /* Transitions */
  --transition-speed: 0.3s;
}

/* ---------------------------------- */
/*          Global Styles             */
/* ---------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-color);
  background-color: var(--background-light);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ---------------------------------- */
/*            Typography              */
/* ---------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: var(--spacing-md);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }

p {
  margin-bottom: var(--spacing-md);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-speed) ease;
}

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

/* ---------------------------------- */
/*          Layout & Utilities        */
/* ---------------------------------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.section-padding {
  padding: var(--spacing-xl) 0;
}

.section-padding-large {
  padding: calc(var(--spacing-xl) * 1.5) 0;
}

.section-title {
  margin-bottom: var(--spacing-xl);
  color: var(--dark-color);
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: -32px auto 48px auto;
    font-size: 1.1rem;
    color: #555;
}

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

.is-two-thirds {
  max-width: 66.66%;
  margin: 0 auto;
}

/* ---------------------------------- */
/*          Header & Navigation       */
/* ---------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: var(--spacing-md) 0;
  transition: background-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
}

.site-header.scrolled .logo {
  color: var(--primary-color);
}
.hero-section + * .site-header:not(.scrolled) .logo,
.hero-section + * .site-header:not(.scrolled) .nav-menu a {
    color: var(--light-color);
}
.hero-section + * .site-header:not(.scrolled) .logo:hover,
.hero-section + * .site-header:not(.scrolled) .nav-menu a:hover {
    color: var(--accent-color);
}


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

.nav-menu li {
  margin-left: var(--spacing-lg);
}

.nav-menu a {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--dark-color);
  padding-bottom: 5px;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: width var(--transition-speed) ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.burger-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.burger-menu span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--dark-color);
  margin: 5px 0;
  transition: all var(--transition-speed) ease;
}

/* ---------------------------------- */
/*              Buttons               */
/* ---------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  padding: 12px 30px;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  letter-spacing: 1px;
}

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

.btn-primary:hover {
  background-color: var(--light-color);
  color: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

.btn-secondary:hover {
  background-color: var(--light-color);
  color: var(--secondary-color);
  border-color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--light-color);
  transform: translateY(-3px);
}

.btn-link {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.btn-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* ---------------------------------- */
/*           Hero Section             */
/* ---------------------------------- */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  color: var(--light-color);
}

.parallax-bg {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(0,0,0,0.6), rgba(0,0,0,0.4));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-content h1 {
  color: var(--light-color);
  font-size: 4.5rem;
}

.hero-content p {
  font-size: 1.25rem;
  margin: var(--spacing-lg) 0;
}

/* ---------------------------------- */
/*          Cards & Grids             */
/* ---------------------------------- */
.card-grid, .testimonial-grid, .pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--spacing-lg);
}

.card {
  background-color: var(--light-color);
  border-radius: var(--border-radius-soft);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

.card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-speed) ease;
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card-content {
  padding: var(--spacing-lg);
}

.card-content h3 {
    color: var(--primary-color);
}

/* ---------------------------------- */
/*         Innovation Section         */
/* ---------------------------------- */
.bio-shape-section {
    background-color: var(--light-color);
    border-radius: 0 100px 0 100px;
    padding: var(--spacing-xl);
}

.two-columns {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
}

.two-columns .column {
    flex: 1 1 300px;
}
.two-columns .column.is-two-thirds {
    flex-grow: 2;
}

.two-columns h3 {
    text-align: left;
}

.image-container-bio img {
    border-radius: 100px 0 100px 0;
    width: 100%;
    height: auto;
    object-fit: cover;
}


/* ---------------------------------- */
/*         Portfolio Gallery          */
/* ---------------------------------- */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.gallery-item {
    overflow: hidden;
    border-radius: var(--border-radius-soft);
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* ---------------------------------- */
/*          Community CTA             */
/* ---------------------------------- */
.cta-section {
    padding: var(--spacing-xl) 0;
    position: relative;
    text-align: center;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    color: var(--light-color);
}
.cta-content p {
    color: #f0f0f0;
    font-size: 1.1rem;
    max-width: 600px;
    margin: var(--spacing-md) auto var(--spacing-lg) auto;
}

/* ---------------------------------- */
/*         Accolades/Testimonials     */
/* ---------------------------------- */
.testimonial-card {
  background-color: var(--light-color);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-soft);
  border-left: 5px solid var(--accent-color);
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: var(--spacing-md);
}

.testimonial-card cite {
  font-weight: 700;
  font-style: normal;
  color: var(--primary-color);
}

/* ---------------------------------- */
/*          Pricing Section           */
/* ---------------------------------- */
.pricing-card {
  background: var(--light-color);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-soft);
  box-shadow: 0 5px 20px rgba(0,0,0,0.07);
  border: 1px solid var(--border-color);
  text-align: center;
  transition: all var(--transition-speed) ease;
}

.pricing-card.featured {
  transform: scale(1.05);
  border: 2px solid var(--primary-color);
  box-shadow: 0 10px 40px rgba(13, 115, 119, 0.2);
}

.pricing-card h3 {
  color: var(--primary-color);
}

.pricing-card .price {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--dark-color);
  margin: var(--spacing-md) 0;
}
.pricing-card .price span {
  font-size: 1rem;
  color: var(--text-color);
}

.pricing-card ul {
  list-style: none;
  margin: var(--spacing-lg) 0;
}
.pricing-card ul li {
  margin-bottom: var(--spacing-sm);
}

/* ---------------------------------- */
/*        External Resources          */
/* ---------------------------------- */
.resource-list {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.resource-list li {
    margin-bottom: var(--spacing-md);
}
.resource-list a {
    font-size: 1.2rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding: 8px 0;
}

.resource-list a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    display: block;
    margin-top: 5px;
    right: 0;
    background: var(--secondary-color);
    transition: width .3s ease;
}
.resource-list a:hover::after {
    width: 100%;
    left: 0;
    background: var(--secondary-color);
}


/* ---------------------------------- */
/*           Contact Form             */
/* ---------------------------------- */
.contact-section {
  background-color: #eef3f2;
}
.contact-form-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--light-color);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-soft);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group label {
    display: block;
    font-family: var(--font-heading);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
    color: var(--dark-color);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(13, 115, 119, 0.2);
}

.contact-form button {
    width: 100%;
}

/* ---------------------------------- */
/*          Footer                    */
/* ---------------------------------- */
.site-footer {
  background-color: var(--dark-color);
  color: #a9a9a9;
  padding: var(--spacing-xl) 0 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}
.footer-col h4 {
  color: var(--light-color);
  margin-bottom: var(--spacing-lg);
  text-align: left;
}
.footer-col .logo {
  color: var(--light-color);
  margin-bottom: var(--spacing-md);
  display: block;
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: var(--spacing-sm);
}
.footer-col ul a {
  color: #a9a9a9;
}
.footer-col ul a:hover {
  color: var(--light-color);
  text-decoration: underline;
}
.copyright {
  text-align: center;
  padding: var(--spacing-lg) 0;
  border-top: 1px solid #444;
  font-size: 0.9rem;
}


/* ---------------------------------- */
/*      Static & Success Pages        */
/* ---------------------------------- */
.content-page {
    padding-top: 150px;
    padding-bottom: var(--spacing-xl);
}
.page-title {
    margin-bottom: var(--spacing-lg);
}

.success-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}
.success-icon {
    font-size: 5rem;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: var(--spacing-md);
}


/* ---------------------------------- */
/*       Animations & Transitions     */
/* ---------------------------------- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Barba.js Transitions */
.barba-leave-active,
.barba-enter-active {
  transition: opacity .5s;
}
.barba-leave-to,
.barba-enter-from {
  opacity: 0;
}


/* ---------------------------------- */
/*      Responsive Design             */
/* ---------------------------------- */
@media (max-width: 992px) {
  h1 { font-size: 2.8rem; }
  .hero-content h1 { font-size: 3.5rem; }
  h2 { font-size: 2rem; }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    flex-direction: column;
    background-color: var(--light-color);
    padding-top: 100px;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: right 0.4s ease-in-out;
  }
  .nav-menu.active {
    right: 0;
  }
  .nav-menu li {
    margin: var(--spacing-md) var(--spacing-lg);
  }
  .burger-menu {
    display: block;
  }

  /* Animate Burger */
  .burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .burger-menu.active span:nth-child(2) {
    opacity: 0;
  }
  .burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  .two-columns {
      flex-direction: column;
  }
  .two-columns .column.is-two-thirds {
      max-width: 100%;
  }

  .pricing-card.featured {
      transform: scale(1);
  }
  
  .is-two-thirds {
    max-width: 90%;
  }

  .footer-grid {
      grid-template-columns: 1fr;
      text-align: center;
  }
  .footer-col h4 {
      text-align: center;
  }
}