/*-----------------------------------------------------------
* Cursos de Diseño Argentina - Style.css
* Modern Neo-Brutalist Creative Design System
* Author: Design Team
* Version: 1.0
-----------------------------------------------------------*/

/*-----------------------------------------------------------
* VARIABLES
-----------------------------------------------------------*/
:root {
  /* Primary Colors - Analogous Scheme */
  --primary-color: #FF3366;         /* Vibrant Pink */
  --primary-light: #FF6699;         /* Light Pink */
  --primary-dark: #CC2952;          /* Dark Pink */
  
  /* Secondary Colors */
  --secondary-color: #33CCFF;       /* Bright Blue */
  --secondary-light: #66DDFF;       /* Light Blue */
  --secondary-dark: #2299CC;        /* Dark Blue */
  
  /* Accent Colors */
  --accent-color: #FFCC00;          /* Bright Yellow */
  --accent-light: #FFDD33;          /* Light Yellow */
  --accent-dark: #CC9900;           /* Dark Yellow */
  
  /* Neutral Colors */
  --white: #FFFFFF;
  --off-white: #F5F5F5;
  --light-gray: #E0E0E0;
  --medium-gray: #9E9E9E;
  --dark-gray: #333333;
  --black: #000000;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-light) 100%);
  --gradient-accent: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
  --gradient-dark-overlay: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.5) 100%);
  
  /* Typography */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Work Sans', sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 5rem;
  
  /* Borders & Shadows */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;
  
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 8px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 16px rgba(0,0,0,0.1);
  --shadow-xl: 0 12px 24px rgba(0,0,0,0.15);
  
  /* Neo-Brutalist Specific */
  --neo-shadow: 4px 4px 0px var(--black);
  --neo-border: 3px solid var(--black);
  
  /* Animation Timing */
  --timing-fast: 0.2s;
  --timing-medium: 0.4s;
  --timing-slow: 0.8s;
}

/*-----------------------------------------------------------
* RESET & BASE STYLES
-----------------------------------------------------------*/
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--dark-gray);
  background-color: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
}

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

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

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
}

/* Container override for Bulma */
.container {
  padding: 0 var(--spacing-md);
}

/* Section styles */
.section {
  padding: var(--spacing-xl) 0;
}

.section-title {
  position: relative;
  margin-bottom: var(--spacing-lg);
  font-weight: 700;
  color: var(--dark-gray);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
}

/*-----------------------------------------------------------
* BUTTONS & INPUTS
-----------------------------------------------------------*/
.button {
  font-family: var(--font-heading);
  font-weight: 600;
  transition: all var(--timing-fast) ease;
}

.button.is-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.button.is-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.button.is-light {
  background-color: var(--white);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.button.is-light:hover {
  background-color: var(--primary-light);
  color: var(--white);
  border-color: var(--primary-light);
}

/* Neo-Brutalist Button Style */
.neo-button {
  position: relative;
  border: var(--neo-border);
  box-shadow: var(--neo-shadow);
  transform: translate(-2px, -2px);
  transition: transform var(--timing-fast) ease, box-shadow var(--timing-fast) ease;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.neo-button:hover, 
.neo-button:focus {
  transform: translate(0, 0);
  box-shadow: 2px 2px 0px var(--black);
}

.neo-button:active {
  transform: translate(0, 0);
  box-shadow: none;
}

.neo-button-outline {
  border: var(--neo-border);
  box-shadow: var(--neo-shadow);
  transform: translate(-2px, -2px);
  transition: transform var(--timing-fast) ease, box-shadow var(--timing-fast) ease;
  background-color: var(--white);
}

.neo-button-outline:hover {
  transform: translate(0, 0);
  box-shadow: 2px 2px 0px var(--black);
}

/* Form Elements */
.input, 
.textarea, 
.select select {
  border: 2px solid var(--light-gray);
  transition: border var(--timing-fast) ease;
}

.input:focus, 
.textarea:focus, 
.select select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(255, 51, 102, 0.25);
}

.label {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--dark-gray);
}

/*-----------------------------------------------------------
* HEADER & NAVIGATION
-----------------------------------------------------------*/
.header {
  width: 100%;
  z-index: 30;
}

.navbar {
  background-color: var(--white);
  box-shadow: var(--shadow-md);
  padding: var(--spacing-xs) 0;
  border-bottom: 3px solid var(--black);
}

.navbar-brand img {
  max-height: 40px;
}

.navbar-item {
  font-family: var(--font-heading);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--dark-gray);
  padding: 0 var(--spacing-md);
  transition: color var(--timing-fast) ease;
}

.navbar-item:hover {
  color: var(--primary-color);
  background-color: transparent;
}

.navbar-burger {
  color: var(--dark-gray);
}

.navbar-burger:hover {
  background-color: transparent;
}

/*-----------------------------------------------------------
* HERO SECTION
-----------------------------------------------------------*/
.hero {
  position: relative;
  width: 100%;
}

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-dark-overlay);
  z-index: 1;
}

.hero-body {
  position: relative;
  z-index: 2;
  padding: var(--spacing-xl) 0;
}

.hero-title {
  font-size: 3.5rem;
  color: var(--white);
  margin-bottom: var(--spacing-sm);
  text-shadow: 2px 2px 0px var(--black);
}

.hero-subtitle {
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: var(--spacing-md);
  font-weight: 500;
}

.hero-text {
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: var(--spacing-lg);
  max-width: 700px;
}

.hero-buttons {
  margin-top: var(--spacing-md);
}

.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 500;
  margin-bottom: var(--spacing-md);
}

.arrow-down {
  animation: bounce 2s infinite;
  margin-top: var(--spacing-xs);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-15px);
  }
  60% {
    transform: translateY(-7px);
  }
}

/*-----------------------------------------------------------
* ABOUT SECTION
-----------------------------------------------------------*/
.about-section {
  background-color: var(--off-white);
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background-color: var(--primary-light);
  opacity: 0.1;
  border-radius: 50%;
  transform: translate(150px, -150px);
  z-index: 0;
}

.image-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  border: var(--neo-border);
  box-shadow: var(--neo-shadow);
}

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

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

.progress-indicators {
  margin-top: var(--spacing-md);
}

.progress-item {
  margin-bottom: var(--spacing-md);
}

.progress-label {
  display: block;
  margin-bottom: var(--spacing-xs);
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--dark-gray);
}

.progress.is-primary::-webkit-progress-value {
  background-color: var(--primary-color);
}

.progress.is-primary::-moz-progress-bar {
  background-color: var(--primary-color);
}

.progress {
  height: 12px;
  border-radius: var(--border-radius-sm);
}

/*-----------------------------------------------------------
* HISTORY SECTION
-----------------------------------------------------------*/
.history-section {
  background-color: var(--white);
  position: relative;
}

.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: var(--spacing-md) 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background-color: var(--primary-color);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: var(--spacing-lg);
  display: flex;
  align-items: flex-start;
}

.timeline-marker {
  position: absolute;
  left: 50%;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--primary-color);
  transform: translateX(-50%);
  border: 4px solid var(--white);
  box-shadow: var(--shadow-sm);
  z-index: 2;
}

.timeline-content {
  width: 45%;
  padding: var(--spacing-md);
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  border: var(--neo-border);
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: 55%;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-right: 55%;
}

.timeline-item .heading {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1rem;
  margin-bottom: var(--spacing-xs);
}

/*-----------------------------------------------------------
* INNOVATION SECTION
-----------------------------------------------------------*/
.innovation-section {
  background-color: var(--off-white);
}

.innovation-card {
  height: 100%;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--neo-shadow);
  border: var(--neo-border);
  transition: transform var(--timing-medium) ease;
  display: flex;
  flex-direction: column;
}

.innovation-card:hover {
  transform: translateY(-10px);
}

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

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

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

.innovation-card .card-content {
  padding: var(--spacing-md);
  background-color: var(--white);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.innovation-card .title {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-sm);
  color: var(--dark-gray);
}

/*-----------------------------------------------------------
* RESOURCES SECTION
-----------------------------------------------------------*/
.resources-section {
  background-color: var(--white);
}

.resource-card {
  height: 100%;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: var(--neo-border);
  transition: transform var(--timing-medium) ease;
  display: flex;
  flex-direction: column;
}

.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--neo-shadow);
}

.resource-card .card-content {
  padding: var(--spacing-md);
  background-color: var(--white);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.resource-card .title {
  font-size: 1.3rem;
  margin-bottom: var(--spacing-sm);
  color: var(--dark-gray);
}

.resource-card p {
  margin-bottom: var(--spacing-md);
  flex-grow: 1;
}

.resource-card .button {
  align-self: flex-start;
}

/*-----------------------------------------------------------
* ACCOLADES SECTION
-----------------------------------------------------------*/
.accolades-section {
  background-color: var(--off-white);
}

.accolade-card {
  height: 100%;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: var(--neo-border);
  transition: transform var(--timing-medium) ease;
  display: flex;
  flex-direction: column;
}

.accolade-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--neo-shadow);
}

.accolade-card .card-image {
  overflow: hidden;
  height: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

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

.accolade-card .card-content {
  padding: var(--spacing-md);
  background-color: var(--white);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.accolade-card .title {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-xs);
  color: var(--dark-gray);
}

.accolade-card .subtitle {
  font-size: 1rem;
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
  font-weight: 600;
}

/*-----------------------------------------------------------
* CONTACT SECTION
-----------------------------------------------------------*/
.contact-section {
  background-color: var(--white);
  position: relative;
  overflow: hidden;
}

.contact-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 300px;
  height: 300px;
  background-color: var(--secondary-light);
  opacity: 0.1;
  border-radius: 50%;
  transform: translate(-150px, 150px);
  z-index: 0;
}

.contact-info {
  background-color: var(--white);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  border: var(--neo-border);
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--spacing-md);
}

.icon-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: var(--primary-light);
  border-radius: 50%;
  margin-right: var(--spacing-sm);
  color: var(--white);
}

.contact-form-container {
  background-color: var(--white);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  border: var(--neo-border);
}

/*-----------------------------------------------------------
* FAQ SECTION
-----------------------------------------------------------*/
.faq-section {
  background-color: var(--off-white);
}

.faq-item {
  margin-bottom: var(--spacing-md);
  background-color: var(--white);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  border: var(--neo-border);
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-md);
  cursor: pointer;
  transition: background-color var(--timing-fast) ease;
}

.faq-question:hover {
  background-color: var(--light-gray);
}

.faq-question .title {
  margin-bottom: 0;
  font-size: 1.2rem;
}

.faq-icon {
  transition: transform var(--timing-fast) ease;
}

.faq-item.is-active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 var(--spacing-md);
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--timing-medium) ease, padding var(--timing-medium) ease;
}

.faq-item.is-active .faq-answer {
  padding: 0 var(--spacing-md) var(--spacing-md);
  max-height: 500px;
}

/*-----------------------------------------------------------
* FOOTER
-----------------------------------------------------------*/
.footer {
  background-color: var(--dark-gray);
  color: var(--white);
  padding: var(--spacing-xl) 0 var(--spacing-md);
  border-top: 5px solid var(--primary-color);
}

.footer .title {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: var(--spacing-md);
}

.footer p {
  color: var(--light-gray);
  margin-bottom: var(--spacing-md);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: var(--spacing-xs);
}

.footer-links a {
  color: var(--light-gray);
  transition: color var(--timing-fast) ease;
}

.footer-links a:hover {
  color: var(--primary-light);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
}

.social-links a {
  color: var(--white);
  background-color: rgba(255, 255, 255, 0.1);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--border-radius-sm);
  transition: background-color var(--timing-fast) ease;
  font-family: var(--font-heading);
  font-weight: 500;
}

.social-links a:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.copyright {
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: var(--medium-gray);
}

/*-----------------------------------------------------------
* COOKIE CONSENT
-----------------------------------------------------------*/
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--dark-gray);
  color: var(--white);
  padding: var(--spacing-md);
  z-index: 100;
  display: none;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-content p {
  margin-bottom: 0;
  margin-right: var(--spacing-md);
}

/*-----------------------------------------------------------
* ANIMATION UTILITIES
-----------------------------------------------------------*/
.animated-element {
  /*opacity: 0;*/
  transform: translateY(20px);
  transition: opacity var(--timing-medium) ease, transform var(--timing-medium) ease;
}

.animated-element.visible {
  opacity: 1;
  transform: translateY(0);
}

/*-----------------------------------------------------------
* SUCCESS PAGE
-----------------------------------------------------------*/
.success-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: var(--spacing-lg);
}

.success-icon {
  font-size: 5rem;
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
}

.success-title {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-sm);
  color: var(--dark-gray);
}

.success-message {
  font-size: 1.2rem;
  max-width: 600px;
  margin-bottom: var(--spacing-lg);
  color: var(--medium-gray);
}

/*-----------------------------------------------------------
* TERMS & PRIVACY PAGES
-----------------------------------------------------------*/
.terms-page,
.privacy-page {
  padding-top: 100px;
}

.terms-content,
.privacy-content {
  background-color: var(--white);
  padding: var(--spacing-lg);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--spacing-lg);
}

/*-----------------------------------------------------------
* RESPONSIVE STYLES
-----------------------------------------------------------*/
@media screen and (max-width: 1023px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
  }
  
  .timeline::before {
    left: 30px;
  }
  
  .timeline-marker {
    left: 30px;
  }
  
  .timeline-content {
    width: calc(100% - 60px);
    margin-left: 60px !important;
  }
  
  .timeline-item:nth-child(even) .timeline-content {
    margin-right: 0;
  }
  
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cookie-content p {
    margin-right: 0;
    margin-bottom: var(--spacing-sm);
  }
}

@media screen and (max-width: 768px) {
  .section {
    padding: var(--spacing-lg) 0;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .info-item {
    flex-direction: column;
  }
  
  .icon-container {
    margin-bottom: var(--spacing-xs);
  }
}

@media screen and (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .accolade-card .title,
  .innovation-card .title {
    font-size: 1.2rem;
  }
}