* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #ffffff;
  color: #1a1a1a;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Navigation */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 5%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a1a1a;
  text-decoration: none;
}

.logo-photo {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #2196F3;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: #1a1a1a;
  border-radius: 3px;
  transition: all 0.3s;
}

.logo svg {
  width: 40px;
  height: 40px;
}

.nav-links {
  display: flex;
  gap: 3rem;
  list-style: none;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #2196F3;
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  padding: 0.5rem 0;
  margin-top: 1rem;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.nav-links li:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  margin-top: 0.5rem;
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: #1a1a1a;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s;
}

.dropdown-menu a:hover {
  background: rgba(33, 150, 243, 0.1);
  color: #2196F3;
  padding-left: 2rem;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8rem 5% 5rem 5%;
  width: 100%;
  margin: 0;
  gap: 5rem;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-content h1 {
  font-size: 6rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-content h1 .name-first {
  color: #1a1a1a;
  display: block;
}

.hero-content h1 .name-last {
  color: #2196F3;
  display: block;
}

.hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, #2196F3, #1976D2);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  letter-spacing: 0.05em;
  box-shadow: 0 10px 30px rgba(33, 150, 243, 0.3);
  border: 1px solid rgba(33, 150, 243, 0.2);
}

.hero-icons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  max-width: 550px;
}

.icon-card {
  background: rgba(33, 150, 243, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(33, 150, 243, 0.2);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  transition: transform 0.3s, background 0.3s;
  cursor: pointer;
}

.icon-card:hover {
  transform: translateY(-10px);
  background: rgba(33, 150, 243, 0.1);
  border-color: rgba(33, 150, 243, 0.4);
}

.icon-card svg {
  width: 60px;
  height: 60px;
  fill: #2196F3;
}

.icon-card span {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1a1a1a;
  text-align: center;
}

/* Sections */
main {
  padding: 5rem 5%;
  max-width: 90vw;
  margin: 0 auto;
}

section.content-section {
  margin-bottom: 5rem;
}

section.content-section h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #1a1a1a;
  text-align: center;
}

.experience-grid {
  display: grid;
  gap: 2rem;
}

.experience-card {
  background: rgba(33, 150, 243, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(33, 150, 243, 0.2);
  border-radius: 15px;
  padding: 2rem;
  transition: transform 0.3s, border-color 0.3s;
}

.experience-card:hover {
  transform: translateY(-5px);
  border-color: rgba(33, 150, 243, 0.4);
}

.experience-card h3 {
  font-size: 1.3rem;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}

.experience-card .company {
  color: #2196F3;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.experience-card .date {
  color: #666666;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.experience-card ul {
  list-style: none;
  padding-left: 0;
}

.experience-card ul li {
  margin-bottom: 0.6rem;
  padding-left: 1.5rem;
  position: relative;
  color: #333333;
}

.experience-card ul li::before {
  content: "▹";
  color: #2196F3;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.interests-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.interest-item {
  background: rgba(33, 150, 243, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(33, 150, 243, 0.2);
  border-radius: 15px;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s, background 0.3s;
}

.interest-item:hover {
  transform: translateY(-5px);
  background: rgba(33, 150, 243, 0.08);
  border-color: rgba(33, 150, 243, 0.4);
}

.interest-item h3 {
  font-size: 1.1rem;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
}

.interest-item p {
  color: #666666;
  font-size: 0.95rem;
}

/* Skills Grid for Competences Page */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin: 0 auto;
  max-width: 1200px;
}

.skill-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 15px;
  padding: 2rem;
  text-align: left;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.skill-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.skill-icon {
  width: 64px;
  height: 64px;
  background: #2196F3;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.skill-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 0.75rem;
}

.skill-description {
  font-size: 1rem;
  color: #666666;
  line-height: 1.6;
}

.skill-list {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
}

.skill-list li {
  padding: 0.6rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: #666666;
  font-size: 0.95rem;
  line-height: 1.5;
}

.skill-list li::before {
  content: "•";
  color: #2196F3;
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    text-align: center;
    gap: 3rem;
    padding: 10rem 5% 5rem 5%;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-content h1 {
    font-size: 4.5rem;
  }

  .hero-icons {
    max-width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }

  .icon-card {
    padding: 1.5rem;
  }
}

@media (max-width: 768px) {
  nav {
    padding: 1.5rem 5%;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 70%;
    max-width: 300px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    gap: 2rem;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 1.1rem;
  }

  .hero {
    padding: 8rem 5% 3rem 5%;
    gap: 2rem;
  }

  .hero-content h1 {
    font-size: 3.5rem;
  }

  .hero-badge {
    font-size: 0.95rem;
    padding: 0.8rem 2rem;
  }

  .hero-icons {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .icon-card {
    padding: 1.2rem;
  }

  .icon-card svg {
    width: 35px;
    height: 35px;
  }

  .icon-card span {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  nav {
    padding: 1rem 5%;
  }

  .logo {
    font-size: 0.95rem;
  }

  .logo-photo {
    width: 35px;
    height: 35px;
  }

  .nav-links {
    width: 80%;
    padding: 5rem 1.5rem 2rem;
  }

  .hero {
    padding: 7rem 5% 2rem 5%;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 0.7rem 1.5rem;
  }

  .hero-icons {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .icon-card {
    padding: 1rem;
  }

  .icon-card svg {
    width: 30px;
    height: 30px;
  }
}
