/* styles.css */
/* Color Variables */
:root {
    --dark-bg: #121212;
    --medium-gray: #1e1e1e;
    --neon-blue: #00f0ff;
    --neon-blue-glow: 0 0 10px #00f0ff, 0 0 20px rgba(0, 240, 255, 0.5);
    --text-color: #ffffff;
    --accent-color: #ff00c8;
  }
  
  /* Base Styles */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    background-color: var(--dark-bg);
    color: var(--text-color);
    font-family: 'Rajdhani', 'Orbitron', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
  }
  
  
  /* Header */
  header {
    padding: 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 100;
  }
  

  /* Navigation */
  nav ul {
    display: flex;
    list-style: none;
  }
  
  nav ul li {
    margin-left: 2rem;
  }
  
  nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 2rem;
    transition: color 0.3s, text-shadow 0.3s;
  }
  
  nav ul li a:hover {
    color: var(--neon-blue);
    text-shadow: var(--neon-blue-glow);
  }
  
/* Logo Styles */
.logo {
  display: flex;
  align-items: center;
  position: relative; /* Establish positioning context */
  width: 200px; /* Adjust width as needed for your logo */
  height: 200px; /* Adjust height as needed for your logo */
}

.dark-logo {
  position: absolute; /* Position absolutely within the .logo container */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  z-index: 1;
}

.glow-logo {
  position: absolute; /* Position absolutely to overlap with dark-logo */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  z-index: 2;
  opacity: 0;
  filter: drop-shadow(0 0 8px var(--neon-blue))
         drop-shadow(0 0 16px rgba(0, 240, 255, 0.7));
  animation: glowPulse 8s infinite ease-in-out;
}

/* Make SVGs fill their containers */
.dark-logo svg, .glow-logo svg {
  width: 100%;
  height: 100%;
}

/* Glow animation */
@keyframes glowPulse {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
  }
}

  /* Hero */

  /* Hero */
.hero {
  height: calc(80vh - 6rem); /* Reduced height to move it up */
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* Changed from center to start */
  align-items: flex-start; /* Changed from center to start for left alignment */
  text-align: left; /* Changed from center to left */
  padding: 8rem 4rem 2rem 8rem; /* Increased top padding to move content up */
  margin-top: -2rem; /* Additional negative margin to move up */
}

.hero h1 {
  font-size: 4.5rem; /* Slightly larger font for more impact */
  margin-bottom: 2rem;
  background: linear-gradient(45deg, var(--neon-blue), var(--accent-color));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: var(--neon-blue-glow);
  max-width: 100%; /* Limit width for better readability */
}

.hero p {
  font-size: 2.5rem; /* Slightly larger font */
  max-width: 800px; /* Reduced max-width since we're now left-aligned */
  margin-bottom: 2rem;
  color: var(--text-color);
  position: relative;
  padding-left: 1rem; /* Small indent */
}

/* Add a subtle glowing line to the left of the subtitle */
.hero p::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10%;
  height: 80%;
  width: 3px;
  background-color: var(--neon-blue);
  box-shadow: var(--neon-blue-glow);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero {
    padding: 4rem 2rem 2rem 2rem;
    height: calc(60vh - 6rem);
  }
  
  .hero h1 {
    font-size: 3.5rem;
  }
  
  .hero p {
    font-size: 1.5rem;
  }
}

/* Optional decorative elements */
.hero-content {
  position: relative;
  z-index: 2;
}

.hero-decoration {
  position: absolute;
  bottom: 30%;
  right: 40%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: 1;
  opacity: 0.7;
  animation: pulse 8s infinite ease-in-out;
}

/* Colombian-inspired pattern overlay (optional) */
.hero-decoration::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 20%;
  transform: translate(-50%, -50%);
  width: 150px;
  height: 150px;
  background-image: radial-gradient(var(--neon-blue) 1px, transparent 1px),
                    radial-gradient(var(--neon-blue) 1px, transparent 1px);
  background-size: 30px 30px;
  background-position: 0 0, 15px 15px;
  opacity: 0.3;
  border-radius: 50%;
  animation: rotateSlow 30s linear infinite;
}

@keyframes rotateSlow {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

  /* .hero {
    height: calc(100vh - 6rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
  }
  
  .hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--neon-blue), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: var(--neon-blue-glow);
  }
  
  .hero p {
    font-size: 1.5rem;
    max-width: 800px;
    margin-bottom: 2rem;
  }
  
  .cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: transparent;
    color: var(--neon-blue);
    border: 2px solid var(--neon-blue);
    border-radius: 5px;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
  }
  
  .cta-button:hover {
    background-color: var(--neon-blue);
    color: var(--dark-bg);
    box-shadow: var(--neon-blue-glow);
  } */
  
  /* Sections */
  section {
    padding: 5rem 2rem;
    position: relative;
  }
  
  section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--neon-blue);
    text-shadow: var(--neon-blue-glow);
    text-align: center;
  }
  
  /* Projects */
  .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .project-card {
    background-color: var(--medium-gray);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(0, 240, 255, 0.2);
  }
  
  .project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 240, 255, 0.2);
  }
  
  .project-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background-color: #2a2a2a;
  }
  
  .project-content {
    padding: 1.5rem;
  }
  
  .project-content h3 {
    color: var(--neon-blue);
    margin-bottom: 0.5rem;
  }
  
  /* Contact */
  .contact-form {
    max-width: 600px;
    margin: 0 auto;
  }
  
  .form-group {
    margin-bottom: 1.5rem;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--neon-blue);
  }
  
  .form-group input,
  .form-group textarea {
    width: 100%;
    padding: 0.8rem;
    background-color: var(--medium-gray);
    border: 1px solid var(--neon-blue);
    border-radius: 5px;
    color: var(--text-color);
    font-family: inherit;
  }
  
  .form-group input:focus,
  .form-group textarea:focus {
    outline: none;
    box-shadow: 0 0 5px var(--neon-blue);
  }
  

/* About Section Styles */
.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.about-text p:last-child {
  margin-bottom: 0;
}

/* Skills section */
.skills {
  flex: 1;
  min-width: 300px;
  background-color: var(--medium-gray);
  border-radius: 10px;
  padding: 2rem;
  border: 1px solid rgba(0, 240, 255, 0.2);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.skills h3 {
  color: var(--neon-blue);
  margin-bottom: 1.5rem;
  text-align: center;
  text-shadow: var(--neon-blue-glow);
  font-size: 1.8rem;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.skill-item {
  text-align: center;
  transition: transform 0.3s ease;
}

.skill-item:hover {
  transform: translateY(-5px);
}

.skill-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 0.5rem;
  fill: var(--text-color);
  stroke: var(--neon-blue);
  filter: drop-shadow(0 0 1px var(--neon-blue));
  transition: filter 0.3s ease, transform 0.3s ease;
}

.skill-item:hover .skill-icon {
  filter: drop-shadow(0 0 8px var(--neon-blue));
  transform: scale(1.1);
}

.skill-name {
  font-size: 0.9rem;
  color: var(--text-color);
}




/* Media queries for skills grid */
@media (max-width: 768px) {
  .skills-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Contact Section Styles */
.contact-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  background-color: var(--medium-gray);
  border-radius: 10px;
  padding: 2.5rem;
  border: 1px solid rgba(0, 240, 255, 0.2);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.contact-text {
  text-align: center;
  margin-bottom: 1rem;
}

.contact-text p {
  font-size: 1.2rem;
  line-height: 1.6;
}

.contact-options {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  width: 100%;
}

/* Social Icons */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: var(--dark-bg);
  border: 2px solid var(--neon-blue);
  border-radius: 50%;
  color: var(--neon-blue);
  font-size: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-icon::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(0, 240, 255, 0.1) 10px,
    rgba(0, 240, 255, 0.1) 20px
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.social-icon:hover {
  transform: translateY(-5px);
  box-shadow: var(--neon-blue-glow);
  color: white;
}

.social-icon:hover::before {
  opacity: 0.4;
}

/* Email Button */
.email-btn {
  padding: 1rem 2.5rem;
  font-size: 1.3rem;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
  /* Add these properties to override .cta-button styles */
  background-color: transparent;
  color: var(--neon-blue);
  border: 2px solid var(--neon-blue);
  border-radius: 5px;
  text-decoration: none;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
  transition: all 0.3s;
}

.email-btn:hover {
  background-color: var(--neon-blue);
  color: var(--dark-bg);
  box-shadow: var(--neon-blue-glow);
}

.email-btn::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: -100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 240, 255, 0.2) 50%,
    transparent 100%
  );
  transition: left 0.5s ease;
  z-index: 1; /* Ensure the gradient appears above the button's background */
}

.email-btn:hover::after {
  left: 100%;
}

/* Make the icon and text appear above the gradient effect */
.email-btn i,
.email-btn span {
  position: relative;
  z-index: 2;
}
/* Footer Styles */
footer {
  padding: 2rem;
  text-align: center;
  background-color: var(--medium-gray);
  position: relative;
  overflow: hidden;
}

.footer-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--neon-blue), var(--accent-color), var(--neon-blue));
  opacity: 0.7;
  box-shadow: var(--neon-blue-glow);
}

footer p {
  position: relative;
  z-index: 1;
  font-size: 1rem;
  letter-spacing: 1px;
}

  /* Animations */
  @keyframes glow {
    0% {
      text-shadow: 0 0 5px var(--neon-blue), 0 0 10px var(--neon-blue);
    }
    50% {
      text-shadow: 0 0 20px var(--neon-blue), 0 0 30px var(--neon-blue);
    }
    100% {
      text-shadow: 0 0 5px var(--neon-blue), 0 0 10px var(--neon-blue);
    }
  }
  

  /* Project Modal Styles */

  /* Project Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
  overflow-y: auto;
}

.show-modal {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 1200px;
  max-height: 90vh;
  overflow-y: auto;
  background-color: var(--medium-gray);
  border-radius: 10px;
  border: 1px solid var(--neon-blue);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
  color: var(--text-color);
  animation: modalFadeIn 0.5s;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Carousel Styles */

.modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(0, 240, 255, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  color: var(--neon-blue);
  font-size: 2.2rem;
  margin: 0;
  text-shadow: var(--neon-blue-glow);
  background: linear-gradient(45deg, var(--neon-blue), var(--accent-color));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.close-button {
  color: var(--neon-blue);
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  position: absolute;
  right: 20px;
  top: 20px;
  z-index: 10;
}

.close-button:hover {
  color: var(--accent-color);
  transform: rotate(90deg);
  text-shadow: 0 0 10px var(--accent-color);
}

.modal-body {
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: calc(90vh - 70px); 
}


.modal-carousel {
  width: 70%;
  height: 60%;
  position: relative;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.5);
}

.carousel-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.carousel-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--neon-blue);
  color: var(--neon-blue);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  opacity: 0.6;
  transition: all 0.3s ease;
}

.carousel-button:hover {
  opacity: 1;
  box-shadow: 0 0 15px var(--neon-blue);
}

.carousel-button.prev {
  left: 20px;
}

.carousel-button.next {
  right: 20px;
}

.carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}

.carousel-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-indicator.active {
  background-color: var(--neon-blue);
  box-shadow: 0 0 8px var(--neon-blue);
}

/* Project Info Styles */
.modal-info {
  flex: 1;
  padding: 2rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.modal-description {
  font-size: 1.1rem;
  line-height: 1.8;
}

.modal-description p {
  margin-bottom: 1rem;
}

.modal-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  padding: 1.5rem;
  border: 1px solid rgba(0, 240, 255, 0.1);
}

.detail-section h3 {
  color: var(--neon-blue);
  margin-bottom: 1rem;
  font-size: 1.3rem;
  position: relative;
  padding-left: 15px;
}

.detail-section h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 70%;
  background-color: var(--neon-blue);
  border-radius: 2px;
}

.detail-section ul {
  list-style: none;
  padding-left: 15px;
}

.detail-section li {
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 15px;
}

.detail-section li::before {
  content: "•";
  color: var(--neon-blue);
  position: absolute;
  left: 0;
}

/* Project Card Enhancements */
.project-card {
  cursor: pointer;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}

.project-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, 
                             rgba(0, 0, 0, 0) 70%, 
                             rgba(0, 0, 0, 0.7) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.project-card::after {
  content: "View Project";
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  color: var(--neon-blue);
  font-size: 1rem;
  font-weight: bold;
  text-shadow: var(--neon-blue-glow);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 2;
}

.project-card:hover::before {
  opacity: 1;
}

.project-card:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.project-card:hover .project-content {
  background-color: rgba(30, 30, 30, 0.8);
}

.project-card .project-content {
  transition: background-color 0.3s ease;
  position: relative;
  z-index: 2;
}

/* Add a subtle pulsing effect to entice clicking */
@keyframes pulseGlow {
  0% {
    box-shadow: 0 5px 15px rgba(0, 240, 255, 0.1);
  }
  50% {
    box-shadow: 0 5px 25px rgba(0, 240, 255, 0.3);
  }
  100% {
    box-shadow: 0 5px 15px rgba(0, 240, 255, 0.1);
  }
}

.project-card:hover {
  animation: pulseGlow 2s infinite ease-in-out;
}

/* Show a small "click" icon in the corner of project cards */
.project-card .project-content::after {
  content: "+";
  position: absolute;
  right: 15px;
  bottom: 15px;
  width: 25px;
  height: 25px;
  background-color: var(--neon-blue);
  color: var(--dark-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: bold;
  opacity: 0;
  transform: scale(0);
  transition: all 0.3s ease;
}

.project-card:hover .project-content::after {
  opacity: 1;
  transform: scale(1);
}

/* Colombian-inspired decorative elements */
.modal-content::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background-image: radial-gradient(var(--neon-blue) 1px, transparent 1px),
                    radial-gradient(var(--neon-blue) 1px, transparent 1px);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
  opacity: 0.1;
  border-radius: 0 0 0 100%;
  pointer-events: none;
}

.modal-info::after {
  content: "";
  position: absolute;
  bottom: 20px;
  left: 20px;
  width: 80px;
  height: 80px;
  border: 1px solid var(--neon-blue);
  border-radius: 50%;
  opacity: 0.2;
  pointer-events: none;
}