/* NexoVisión Consulting - Main Styles */

:root {
  --primary-bg: #0F1D2F;
  --accent-pink: #F54768;
  --accent-teal: #29A19C;
  --text-light: #FFFFFF;
  --text-secondary: #C7D2FE;
  --icon-color: #FCD34D;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  background-color: var(--primary-bg);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 60px 0;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-light);
}

h1 {
  font-size: 3.5rem;
  line-height: 1.2;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  position: relative;
}

h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-pink), var(--accent-teal));
}

h3 {
  font-size: 1.8rem;
}

p {
  margin-bottom: 20px;
  color: var(--text-secondary);
}

a {
  color: var(--text-light);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--accent-pink);
}

img {
  max-width: 100%;
  height: auto;
}
.mobile-menu{
    display: none;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  background: linear-gradient(90deg, var(--accent-pink), var(--accent-teal));
  color: var(--text-light);
  border: none;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-teal), var(--accent-pink));
  transition: all 0.5s ease;
  z-index: -1;
}

.btn:hover::before {
  width: 100%;
}

/* Header */
header {
  padding: 20px 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(15, 29, 47, 0.95);
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo svg {
  height: 40px;
  width: auto;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  margin-left: 10px;
}

/* Navigation */
nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 25px;
}

nav ul li a {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}

nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: linear-gradient(90deg, var(--accent-pink), var(--accent-teal));
  transition: width 0.3s ease;
}

nav ul li a:hover::after {
  width: 100%;
}

/* Mobile Menu */
.hamburger {
  display: none;
  cursor: pointer;
}

#menu-toggle {
  display: none;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  background-image: url('./img/LDbPTe.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(15, 29, 47, 0.8), rgba(15, 29, 47, 0.95));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  margin-bottom: 30px;
  animation: fadeInUp 1s ease;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  animation: fadeInUp 1.2s ease;
}

/* About Section */
.about {
  position: relative;
  overflow: hidden;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text h2 {
  text-align: left;
}

.about-image {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.about-image img {
  transition: transform 0.5s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

/* Services Section */
.services {
  background-color: rgba(41, 161, 156, 0.05);
}

.services-title {
  text-align: center;
  margin-bottom: 60px;
}

.services-title h2::after {
  left: 50%;
  transform: translateX(-50%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background-color: rgba(255, 255, 255, 0.03);
  border-radius: 15px;
  padding: 30px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--accent-pink), var(--accent-teal));
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.service-icon {
  color: var(--icon-color);
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.service-price {
  margin-top: 20px;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-pink);
}

/* Process Section */
.process {
  text-align: center;
}

.process-title {
  margin-bottom: 60px;
}

.process-title h2::after {
  left: 50%;
  transform: translateX(-50%);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.process-step {
  position: relative;
}

.step-number {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  background: linear-gradient(45deg, var(--accent-pink), var(--accent-teal));
  border-radius: 50%;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 auto 20px;
}

/* Testimonials Section */
.testimonials {
  background-color: rgba(245, 71, 104, 0.05);
  text-align: center;
  overflow: hidden;
}

.testimonials-title {
  margin-bottom: 60px;
}

.testimonials-title h2::after {
  left: 50%;
  transform: translateX(-50%);
}

.testimonials-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 350px;
}

.testimonials-track {
  display: flex;
  width: 300%;
  animation: carousel 30s linear infinite;
}

.testimonial-card {
  width: calc(100% / 3);
  padding: 0 20px;
  flex-shrink: 0;
}

.testimonial-content {
  background-color: rgba(255, 255, 255, 0.03);
  border-radius: 15px;
  padding: 30px;
  height: 100%;
  position: relative;
}

.testimonial-content::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 5rem;
  color: rgba(245, 71, 104, 0.2);
  font-family: Georgia, serif;
  line-height: 1;
}

.client-info {
  display: flex;
  align-items: center;
  margin-top: 20px;
}

.client-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
}

.client-name {
  font-weight: 700;
  color: var(--accent-teal);
}

.client-company {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Partners Section */
.partners {
  text-align: center;
}

.partners-title {
  margin-bottom: 60px;
}

.partners-title h2::after {
  left: 50%;
  transform: translateX(-50%);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  align-items: center;
}

.partner-logo {
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.partner-logo:hover {
  filter: grayscale(0);
  opacity: 1;
}

/* Blog Section */
.blog {
  background-color: rgba(41, 161, 156, 0.05);
}

.blog-title {
  text-align: center;
  margin-bottom: 60px;
}

.blog-title h2::after {
  left: 50%;
  transform: translateX(-50%);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-card {
  background-color: rgba(255, 255, 255, 0.03);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.blog-image {
  height: 200px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.1);
}

.blog-content {
  padding: 20px;
}

.blog-date {
  font-size: 0.9rem;
  color: var(--accent-teal);
  margin-bottom: 10px;
}

.blog-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

/* Contact Form Section */
.contact {
  position: relative;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.contact-info {
  padding-right: 30px;
}

.contact-info h2 {
  text-align: left;
}

.contact-details {
  margin-top: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-icon {
  color: var(--icon-color);
  font-size: 1.5rem;
  margin-right: 15px;
  margin-top: 5px;
}

.contact-text h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.form-container {
  background-color: rgba(255, 255, 255, 0.03);
  border-radius: 15px;
  padding: 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  background-color: #0f1d2f;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  color: var(--text-light);
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-teal);
  background-color: #0f1d2f;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23ffffff' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 15px) center;
  padding-right: 40px;
}

.form-check {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.form-check-input {
  margin-right: 10px;
  margin-top: 5px;
}

.form-check-label {
  font-size: 0.9rem;
}

.form-check-label a {
  color: var(--accent-teal);
  text-decoration: underline;
}

.form-check-label a:hover {
  color: var(--accent-pink);
}

/* Footer */
footer {
  padding: 80px 0 30px;
  background-color: rgba(0, 0, 0, 0.3);
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 20px;
}

.footer-about p {
  margin-bottom: 20px;
}

.footer-heading {
  font-size: 1.3rem;
  margin-bottom: 25px;
  position: relative;
}

.footer-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-pink), var(--accent-teal));
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-pink);
  padding-left: 5px;
}

.copyright {
  text-align: center;
  padding-top: 40px;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--primary-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 20px;
  width: 300px;
  z-index: 1000;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.cookie-popup h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.cookie-popup p {
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.cookie-popup .btn {
  width: 100%;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes carousel {
  0% {
    transform: translateX(0);
  }
  33.33% {
    transform: translateX(-33.33%);
  }
  66.66% {
    transform: translateX(-66.66%);
  }
  100% {
    transform: translateX(0);
  }
}

/* Media Queries */
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 992px) {
  .container {
    max-width: 720px;
  }

  .about-content,
  .contact-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .services-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 540px;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  /* Mobile Menu */
  nav ul {
    display: none;
  }

  .hamburger {
    display: block;
    width: 30px;
    height: 20px;
    position: relative;
  }

  .hamburger span {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--text-light);
    transition: all 0.3s ease;
  }

  .hamburger span:nth-child(1) {
    top: 0;
  }

  .hamburger span:nth-child(2) {
    top: 9px;
  }

  .hamburger span:nth-child(3) {
    bottom: 0;
  }

  #menu-toggle:checked ~ .hamburger span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
  }

  #menu-toggle:checked ~ .hamburger span:nth-child(2) {
    opacity: 0;
  }

  #menu-toggle:checked ~ .hamburger span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 9px;
  }

  #menu-toggle:checked ~ .mobile-menu {
    transform: translateX(0);
  }

  .mobile-menu {
    position: fixed;
    top: 80px;
    right: 0;
    width: 80%;
    height: calc(100vh - 80px);
    background-color: var(--primary-bg);
    padding: 40px;
    transform: translateX(100%);
    transition: all 0.4s ease;
    z-index: 999;
  }

  .mobile-menu ul {
    display: flex;
    flex-direction: column;
  }

  .mobile-menu ul li {
    margin: 0 0 20px 0;
  }

  .mobile-menu ul li a {
    font-size: 1.2rem;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .services-grid,
  .blog-grid,
  .partners-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }

  .cookie-popup {
    width: calc(100% - 40px);
    left: 20px;
    right: 20px;
  }
} 