/* Header */

nav {
  padding: 20px 0;
  position: fixed;
  top: 0;
  width: 100%;

  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(10px);

  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav .container {
  display: flex;
  justify-content: center;
  align-items: center;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 40px;
}

nav li {
  position: relative;
}

nav a {
  color: var(--color-white);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  cursor: pointer;
  padding: 10px 0;
  display: block;
  position: relative;
}

nav a:hover {
  color: var(--color-blue);
}

nav a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--color-blue),
    var(--color-blue-medium)
  );
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

nav a.active {
  color: var(--color-blue);
}

nav a.active::after {
  width: 100%;
}

/* Apresentation Section */

.apresentation {
  padding: 150px 0 100px;
  display: flex;
  align-items: center;
  min-height: 100vh;
}

.apresentation-content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.apresentation-text h1 {
  font-size: 3.5rem;
  font-weight: 700;
}

.apresentation-text .highlight {
  font-size: 3.5rem;
  display: block;

  background: linear-gradient(
    90deg,
    var(--color-blue),
    var(--color-blue-medium)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.apresentation-text .subtitle {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.85;
}

.apresentation-buttons {
  display: flex;
  gap: 20px;
}

.btn {
  padding: 15px 30px;
  border-radius: 50px;

  text-decoration: none;
  font-weight: 600;

  transition: all 0.3s ease;
  cursor: pointer;
  border: none;

  font-size: 1rem;
}

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

.btn-primary:hover {
  background: var(--color-grey);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}

.btn-secondary:hover {
  background: var(--color-white);
  color: var(--color-black);
  transform: translateY(-2px);
}

.apresentation-image {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  background: linear-gradient(
    45deg,
    var(--color-blue-medium),
    var(--color-blue-light)
  );
  padding: 4px;
}

.apresentation-image img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #333;
}

/* Section Styles */
section {
  padding: 100px 0;
}

.section-title {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 20px;
  color: var(--color-blue);
}

/* About Section */
.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.8;
  opacity: 0.9;
}

/* Projects Section */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.project-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  position: relative;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 133, 241, 0.2);
}

.project-image {
  height: 200px;
  background: linear-gradient(
    45deg,
    var(--color-blue),
    var(--color-blue-light)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
  color: var(--color-white);
  position: relative;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.project-category {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(0, 133, 241, 0.9);
  color: var(--color-white);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.project-info {
  padding: 30px;
}

.project-info h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--color-white);
}

.project-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.project-info .project-meta {
  color: var(--color-blue);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.project-card:hover .project-meta {
  color: var(--color-blue-light);
}

.project-technologies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
  margin-bottom: 15px;
}

.tech-tag {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-blue-light);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid rgba(77, 166, 255, 0.3);
}

/* Experience Section */
.experience-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 40px;
  margin-bottom: 30px;
  border-left: 4px solid var(--color-blue);
}

.experience-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.experience-header h3 {
  display: flex;
  align-items: center;
  font-size: 1.2rem;
  color: var(--color-blue-light);
  gap: 10px;
}

.experience-date {
  color: var(--color-blue);
  font-weight: 600;
}

.experience-description {
  line-height: 1.7;
  opacity: 0.9;
  font-size: 1rem;
}

.company-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 4px;
}

/* Technologies Section */
.technologies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 2rem;
  justify-items: center;
  padding: 2rem 0;
}

.technology-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease;
}

.technology-card img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 0.5rem;
}

.technology-card h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.experience-text {
  font-size: 0.875rem;
  color: #888;
  margin-top: 0.25rem;
}

/* Certificates Section */
#certificates {
  margin-top: 50px;
}

.certificate-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
}

.certificate-card img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.certificate-card p {
  margin-top: 10px;
  font-weight: bold;
  text-align: center;
}

.swiper {
  position: relative;
  padding: 0 60px;
}

/* Contact Section */
.contact-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.contact-info {
  font-size: 1rem;
  margin-bottom: 30px;
  line-height: 1.8;
}

.contact-email {
  color: var(--color-blue-light);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.2rem;
}

.contact-email:hover {
  color: var(--color-blue);
}

.contact-form {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 40px;
  margin-top: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.contact-form label {
  display: block;
  margin-bottom: 25px;
  color: var(--color-white);
  font-weight: 500;
  font-size: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px 20px;
  margin-top: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: var(--color-white);
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-blue);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 3px rgba(0, 133, 241, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
  font-family: inherit;
}

.contact-form button[type="submit"] {
  width: 100%;
  padding: 18px 30px;
  background: linear-gradient(
    90deg,
    var(--color-blue),
    var(--color-blue-medium)
  );
  color: var(--color-white);
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-form button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 133, 241, 0.3);
  background: linear-gradient(
    90deg,
    var(--color-blue-medium),
    var(--color-blue-light)
  );
}

.contact-form button[type="submit"]:active {
  transform: translateY(0);
}

/* Footer */
footer {
  background: linear-gradient(
    135deg,
    rgba(0, 133, 241, 0.1) 0%,
    rgba(30, 144, 255, 0.05) 50%,
    rgba(77, 166, 255, 0.1) 100%
  );
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 60px 0 30px;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--color-blue) 50%,
    transparent 100%
  );
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-name {
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(
    90deg,
    var(--color-blue),
    var(--color-blue-light)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.footer-title {
  font-size: 1rem;
  opacity: 0.8;
  color: var(--color-white);
}

.footer-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.social-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--color-white);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    var(--color-blue),
    var(--color-blue-heavy)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 50%;
}

.social-link:hover::before {
  opacity: 1;
}

.social-link:hover {
  transform: translateY(-5px);
  border-color: var(--color-blue);
  box-shadow: 0 10px 25px rgba(0, 133, 241, 0.3);
}

.social-link svg {
  width: 24px;
  height: 24px;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.social-link:hover svg {
  transform: scale(1.1);
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 15px;
}

.footer-email {
  color: var(--color-blue);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.footer-email:hover {
  color: var(--color-blue-light);
}

.footer-location {
  opacity: 0.7;
  font-size: 0.9rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.6;
  font-size: 0.9rem;
}

.footer-bottom p {
  margin-bottom: 10px;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Loading animation */
.hidden {
  opacity: 0;
  transform: translateY(30px);
}

.fade-in {
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
