/*
 * Style.css for ElectroAuto Argentina
 * Minimalist design system with Neo-brutalism elements
 * Pastel color scheme with parallax animations
 * Using Inter for headings and IBM Plex Sans for body text
 * Compatible with Bulma framework
 */

/* Base Variables */
:root {
  /* Primary colors */
  --primary-color: #64c9e2;
  --primary-dark: #4ba4bb;
  --primary-light: #b1e3f3;
  
  /* Secondary colors */
  --secondary-color: #f7c59f;
  --secondary-dark: #e2a678;
  --secondary-light: #fde7d2;
  
  /* Accent colors */
  --accent-color: #dc6acf;
  --accent-dark: #b5539e;
  --accent-light: #f4c1ef;
  
  /* Neutral colors */
  --light-color: #ffffff;
  --light-gray: #f8f9fa;
  --medium-gray: #dee2e6;
  --dark-gray: #495057;
  --dark-color: #212529;
  
  /* Neo-brutalist shadow */
  --neo-shadow: 5px 5px 0 rgba(0, 0, 0, 0.8);
  --neo-border: 3px solid var(--dark-color);
  
  /* Typography */
  --heading-font: 'Inter', sans-serif;
  --body-font: 'IBM Plex Sans', sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 5rem;
  
  /* Transitions */
  --transition-fast: 0.3s ease;
  --transition-medium: 0.5s ease;
  --transition-slow: 0.8s ease;
  
  /* Border radius */
  --radius-small: 4px;
  --radius-medium: 8px;
  --radius-large: 12px;
}

/* Base Styles */
html {
  scroll-behavior: smooth;
}

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

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

p {
  margin-bottom: 1.5rem;
}

a {
  color: var(--primary-color);
  transition: color var(--transition-fast);
}

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

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

/* Utility Classes */
.reveal {
  opacity: 1;
  transform: translateY(30px);
  transition: opacity var(--transition-medium), transform var(--transition-medium);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.7));
  z-index: 1;
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--light-color);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 1000;
  transition: background-color var(--transition-fast);
}

.header .navbar {
  padding: 1rem 0;
}

.header .navbar-brand h1 {
  font-weight: 700;
  color: var(--primary-color);
}

.header .navbar-brand h1 span {
  color: var(--dark-color);
  font-weight: 400;
}

.header .navbar-item {
  font-weight: 600;
  padding: 0.5rem 1rem;
  transition: color var(--transition-fast);
}

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

.header.scrolled {
  background-color: rgba(255,255,255,0.95);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Parallax Background */
.parallax-bg {
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  z-index: 1;
}

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
}

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

.hero-body {
  position: relative;
  z-index: 2;
}

.hero-body .title,
.hero-body .subtitle {
  color: var(--light-color) !important;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.hero-body p {
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  text-align: center;
  animation: bounce 2s infinite;
}

.scroll-down .icon {
  color: var(--light-color);
  font-size: 1.5rem;
}

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

/* Features Section */
.features-section {
  padding: var(--spacing-xl) 0;
  background-color: var(--light-gray);
}

.feature-card {
  height: 100%;
  transition: transform var(--transition-fast);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  border: none;
  border-radius: var(--radius-medium);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

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

.feature-card .card-image {
  overflow: hidden;
}

.feature-card .card-image img {
  transition: transform var(--transition-medium);
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

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

.progress-container {
  position: relative;
  margin: 1rem 0;
}

.progress-value {
  position: absolute;
  top: -25px;
  right: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-color);
}

/* Insights Section */
.insights-section {
  position: relative;
  padding: var(--spacing-xl) 0;
  color: var(--light-color);
}

.insight-card {
  height: 100%;
  transition: transform var(--transition-fast);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  border: none;
  border-radius: var(--radius-medium);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

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

.insight-card .card-image {
  overflow: hidden;
}

.insight-card .card-image img {
  transition: transform var(--transition-medium);
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

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

.insight-card .button {
  margin-top: auto;
}

/* External Resources Section */
.external-resources {
  padding: var(--spacing-xl) 0;
  background-color: var(--light-gray);
}

.resource-card {
  height: 100%;
  transition: transform var(--transition-fast);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  border: none;
  border-radius: var(--radius-medium);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

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

.resource-card .card-image {
  overflow: hidden;
}

.resource-card .card-image img {
  transition: transform var(--transition-medium);
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

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

.resource-card .button {
  margin-top: auto;
}

/* Testimonials Section */
.testimonials-section {
  position: relative;
  padding: var(--spacing-xl) 0;
  color: var(--light-color);
}

.testimonial-card {
  height: 100%;
  padding: var(--spacing-md);
  border-radius: var(--radius-medium);
  background-color: var(--light-color);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

.testimonial-image {
  margin-bottom: var(--spacing-md);
}

.testimonial-rating {
  margin: 1rem 0;
}

.testimonial-text {
  font-style: italic;
  margin-top: 1rem;
}

/* Partners Section */
.partners-section {
  padding: var(--spacing-xl) 0;
  background-color: var(--light-gray);
}

.partner-logo {
  text-align: center;
  padding: var(--spacing-md);
  transition: transform var(--transition-fast);
}

.partner-logo:hover {
  transform: translateY(-10px);
}

.partner-logo img {
  max-height: 100px;
  max-width: 100%;
  margin: 0 auto;
  display: block;
  filter: grayscale(100%);
  transition: filter var(--transition-medium);
}

.partner-logo:hover img {
  filter: grayscale(0%);
}

.partner-name {
  margin-top: var(--spacing-sm);
  font-weight: 600;
  font-size: 1rem;
}

/* Webinars Section */
.webinars-section {
  position: relative;
  padding: var(--spacing-xl) 0;
  color: var(--light-color);
}

.webinar-card {
  height: 100%;
  padding: var(--spacing-md);
  border-radius: var(--radius-medium);
  background-color: var(--light-color);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform var(--transition-fast);
}

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

.webinar-date {
  color: var(--dark-gray);
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}

.webinar-card .title {
  color: var(--dark-color);
}

.webinar-card p {
  color: var(--dark-gray);
}

/* Behind the Scenes Section */
.behind-scenes-section {
  padding: var(--spacing-xl) 0;
  background-color: var(--light-gray);
}

.scene-card {
  height: 100%;
  border-radius: var(--radius-medium);
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform var(--transition-fast);
  display: flex;
  flex-direction: column;
}

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

.scene-card .card-image {
  overflow: hidden;
}

.scene-card .card-image img {
  transition: transform var(--transition-medium);
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.scene-card .card-content {
  padding: var(--spacing-md);
  flex-grow: 1;
}

/* Events Section */
.events-section {
  position: relative;
  padding: var(--spacing-xl) 0;
  color: var(--light-color);
}

.event-card {
  height: 100%;
  border-radius: var(--radius-medium);
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform var(--transition-fast);
  display: flex;
  flex-direction: column;
  background-color: var(--light-color);
}

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

.event-card .card-image {
  overflow: hidden;
}

.event-card .card-image img {
  transition: transform var(--transition-medium);
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

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

.event-date, .event-location {
  margin-bottom: var(--spacing-xs);
  color: var(--dark-gray);
}

.event-card .button {
  margin-top: auto;
}

/* Projects Section */
.projects-section {
  padding: var(--spacing-xl) 0;
  background-color: var(--light-gray);
}

.project-card {
  height: 100%;
  border-radius: var(--radius-medium);
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform var(--transition-fast);
  display: flex;
  flex-direction: column;
}

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

.project-card .card-image {
  overflow: hidden;
}

.project-card .card-image img {
  transition: transform var(--transition-medium);
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.project-card .card-content {
  padding: var(--spacing-md);
  flex-grow: 1;
}

/* Contact Section */
.contact-section {
  position: relative;
  padding: var(--spacing-xl) 0;
  color: var(--light-color);
}

.contact-info .contact-item {
  display: flex;
  align-items: center;
  margin-bottom: var(--spacing-sm);
}

.contact-info .icon {
  margin-right: var(--spacing-sm);
}

.social-media {
  display: flex;
  flex-wrap: wrap;
}

.social-link {
  margin-right: var(--spacing-md);
  font-weight: 600;
  transition: color var(--transition-fast);
  text-decoration: underline;
}

.social-link:hover {
  color: var(--primary-light) !important;
}

.contact-form-container {
  background-color: var(--light-color);
  border-radius: var(--radius-medium);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  padding: var(--spacing-md);
}

.contact-form .label {
  color: var(--dark-color);
}

.contact-form .input, 
.contact-form .textarea, 
.contact-form .select select {
  border: 2px solid var(--medium-gray);
  box-shadow: none;
  transition: border-color var(--transition-fast);
}

.contact-form .input:focus, 
.contact-form .textarea:focus, 
.contact-form .select select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 1px var(--primary-light);
}

/* Footer */
.footer {
  background-color: var(--dark-color);
  color: var(--light-color);
  padding: var(--spacing-lg) 0;
}

.footer .title {
  color: var(--light-color);
}

.footer p {
  color: var(--medium-gray);
}

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

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

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

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

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

.social-links a {
  margin-right: var(--spacing-md);
  color: var(--medium-gray);
  transition: color var(--transition-fast);
}

.social-links a:hover {
  color: var(--primary-light);
  text-decoration: underline;
}

.newsletter .title {
  color: var(--light-color);
}

.copyright {
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-sm);
  border-top: 1px solid var(--dark-gray);
  text-align: center;
}

/* Button Styles */
.button {
  font-weight: 600;
  transition: all var(--transition-fast);
  border-radius: var(--radius-small);
}

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

.button.is-primary:hover {
  background-color: var(--primary-dark);
  box-shadow: var(--neo-shadow);
  transform: translateY(-2px);
}

.button.is-light.is-outlined {
  border-color: var(--light-color);
  color: var(--light-color);
}

.button.is-light.is-outlined:hover {
  background-color: var(--light-color);
  color: var(--dark-color);
  box-shadow: var(--neo-shadow);
  transform: translateY(-2px);
}

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

.button.is-link.is-outlined:hover {
  background-color: var(--primary-color);
  color: var(--light-color);
  box-shadow: var(--neo-shadow);
  transform: translateY(-2px);
}

/* Success Page */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--spacing-md);
}

.success-container {
  max-width: 600px;
  padding: var(--spacing-lg);
  border-radius: var(--radius-medium);
  background-color: var(--light-color);
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

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

/* Terms and Privacy Pages */
.terms-page, .privacy-page {
  padding-top: 100px;
}

.terms-container, .privacy-container {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--spacing-lg);
}

/* Media Queries */
@media screen and (max-width: 768px) {
  .header .navbar-menu {
    background-color: var(--light-color);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  }
  
  .partner-logo {
    margin-bottom: var(--spacing-md);
  }
  
  .contact-form-container {
    margin-top: var(--spacing-md);
  }
}

@media screen and (max-width: 1023px) {
  .hero-body {
    padding: var(--spacing-xl) var(--spacing-md);
  }
  
  .parallax-bg {
    background-attachment: scroll;
  }
}

/* Animation for scroll reveal */
@keyframes fadeInUp {
  from {
    opacity: 1;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fadeInUp {
  animation: fadeInUp var(--transition-medium);
}

/* Utility classes for read more links */
.read-more {
  font-weight: 600;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  transition: transform var(--transition-fast);
}

.read-more:after {
  content: '→';
  margin-left: 5px;
  transition: transform var(--transition-fast);
}

.read-more:hover {
  color: var(--primary-dark);
}

.read-more:hover:after {
  transform: translateX(5px);
}

/* Fix for image containers */
.image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.image img {
  margin: 0 auto;
}

/* Additional utility classes */
.has-background-blur {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.is-centered-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}