/* ================ */
/* VARIABLES & BASE */
/* ================ */
:root {
  --forest-green: #1d4e1d;
  --pine-green: #2e6d2e;
  --leaf-green: #4caf50;
  --tech-blue: #00c6ff;
  --bark-brown: #4a3a2a;
  --soil-brown: #6b5a45;
  --light-bg: #f8f9fa;
  --dark-text: #2c3e50;
  --light-text: #ecf0f1;
  --tech-glow: rgba(0, 198, 255, 0.4);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Raleway', sans-serif;
  background-color: var(--light-bg);
  color: var(--dark-text);
  line-height: 1.7;
  overflow-x: hidden;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%23f8f9fa"/><path d="M0,50 L100,50 M50,0 L50,100" stroke="%23e9ecef" stroke-width="0.5"/></svg>');
}

/* ============= */
/* ANIMATIONS */
/* ============= */
@keyframes leafFlow {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 1500px 1500px, -1500px -1500px; }
}

@keyframes techPulse {
  0% { transform: scale(1); text-shadow: 0 0 8px var(--tech-glow); }
  100% { transform: scale(1.05); text-shadow: 0 0 15px var(--tech-blue); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  nav ul {
    display: none;
    flex-direction: column;
    background-color: var(--dark-bg);
    position: absolute;
    top: 60px; /* dostosuj w zależności od wysokości nagłówka */
    right: 0;
    width: 200px;
    padding: 10px 0;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
  }

  nav.active ul {
    display: flex;
  }
}


/* ============= */
/* BACKGROUNDS */
/* ============= */
.background-effect {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.5;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(76, 175, 80, 0.1) 0px, transparent 2px),
    radial-gradient(circle at 90% 80%, rgba(76, 175, 80, 0.1) 0px, transparent 2px);
  background-size: 150px 150px;
  animation: leafFlow 80s linear infinite;
}

.gis-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(rgba(0, 245, 212, 0.1), rgba(0, 245, 212, 0.1)),
    url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M0 0 L100 0 L100 100 L0 100 Z" fill="none" stroke="%2300f5d4" stroke-width="0.5"/></svg>');
  background-size: 50px 50px;
  z-index: 2;
  mix-blend-mode: screen;
  pointer-events: none;
}

/* ============= */
/* NAVIGATION */
/* ============= */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 5%;
  background: rgba(29, 78, 29, 0.95);
  color: var(--light-text);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.4s ease;
}

.navbar.scrolled {
  padding: 0.8rem 5%;
  background: rgba(29, 78, 29, 0.98);
}

.logo {
  display: flex;
  align-items: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  gap: 12px;
}

.logo-icon {
  width: 55px;
  height: 55px;
  filter: drop-shadow(0 0 6px var(--tech-glow));
  animation: techPulse 3s infinite alternate;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
  
}

.nav-links a {
  color: var(--light-text);
  text-decoration: none;
  padding: 8px 0;
  position: relative;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  letter-spacing: 0.8px;
}

.nav-links a:hover {
  color: var(--tech-blue);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--tech-blue);
  transition: width 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 0 8px var(--tech-glow);
}

.nav-links a:hover::after {
  width: 100%;
}
.nav-links.active {
  display: flex; /* menu pokazuje się po dodaniu klasy active */
}

/* ============= */
/* LANGUAGE SWITCHER */
/* ============= */
/* rozwijanie paska po najechaniu*/
.language-switcher {
  display: flex;
  align-items: center;
  margin-left: 20px;
  gap: 10px;
  cursor: pointer;
}

.language-switcher button {
  display: none;
}

.language-switcher button.active {
  display: inline-flex;
}

.language-switcher:hover button {
  display: inline-flex;
  margin: 0 5px;
  transition: all 0.3s ease;
}



.lang-btn {
  background: transparent;
  border: 1px solid rgba(0,0,0,0.2);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px; /* rozmiar emoji */
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
  color: initial; /* kolor emoji */
}

.lang-btn::before {
  content: attr(data-emoji);     /* lub konkretny content: '🇵🇱'; */
  font-size: inherit;
  line-height: 1;
  display: block;
  text-align: center;
  color: inherit;                /* TO JEST KLUCZOWE */
}


.lang-btn:hover,
.lang-btn.active {
  background: var(--dark-text, #131313);
  border-color: var(--dark-text, #000000);
  transform: scale(1.2);
  color: rgb(0, 0, 0); /* kolor emoji po najechaniu */
}





/* RESPONSYWNOŚĆ */
@media (max-width: 768px) {
  .language-switcher.desktop-only {
    display: none;
  }
  
  .language-switcher.mobile-only {
    display: flex;
    bottom: 10px;
  }
}

@media (min-width: 769px) {
  .language-switcher.mobile-only {
    display: none;
  }
}


/* Pokazuj flagi w menu (li.language-switcher) niezależnie od hovera */
.nav-links .language-switcher button {
  display: inline-flex !important;
  margin: 0 5px;
}


/* ============= */
/* HAMBURGER MENU */
/* ============= */
/* STAN AKTYWNY HAMBURGERA */
.hamburger.active .line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}




.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 24px;
}

.hamburger .line {
  width: 100%;
  height: 3px;
  background: var(--light-text);
  transition: all 0.4s;
  border-radius: 2px;
}

/* ============= */
/* HERO SECTION */
/* ============= */
.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
  margin-top: 0;
}

.video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transform: translateZ(0);
  backface-visibility: hidden;
  perspective: 1000px;
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  -webkit-perspective: 1000px;
}

.hero-content {
  position: relative;
  z-index: 4;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  color: var(--light-text);
  text-shadow: 0 0 5px rgba(0,0,0,0.6);
}

.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 3px 6px rgb(55, 160, 67);
  letter-spacing: 1px;
  font-weight: 700;
  animation: fadeInDown 1s ease-out;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 2.5rem;
  text-shadow: 0 2px 4px rgba(45, 133, 99, 0.3);
  animation: fadeInUp 1s ease-out 0.2s forwards;
}

.cta-button {
  padding: 14px 40px;
  background: linear-gradient(135deg, var(--tech-blue) 0%, #00ff517a 100%);
  color: var(--light-text);
  border: none;
  border-radius: 50px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.9);
  font-weight: 600;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 1s ease-out 0.4s forwards;
}

.cta-button:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: all 0.6s;
}

.cta-button:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 198, 255, 0.4);
}

.cta-button:hover:before {
  left: 100%;
}

/* ============= */
/* SECTIONS */
/* ============= */
.section {
  padding: 100px 5%;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.section:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%234caf50" opacity="0.03"><path d="M12 2L2 7l10 5 10-5-10-5zM2 17l10 5 10-5M2 12l10 5 10-5"/></svg>');
  background-size: 100px;
  opacity: 0.1;
  z-index: -1;
}

.section h2 {
  text-align: center;
  margin-bottom: 70px;
  font-size: 2.8rem;
  color: var(--forest-green);
  position: relative;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.section h2:after {
  content: '';
  display: block;
  width: 100px;
  height: 5px;
  background: linear-gradient(to right, var(--tech-blue), var(--leaf-green));
  margin: 20px auto 0;
  border-radius: 3px;
  box-shadow: 0 2px 8px rgba(0, 198, 255, 0.3);
}

.dark-section {
  background: linear-gradient(135deg, var(--pine-green) 0%, var(--forest-green) 100%);
  color: var(--light-text);
  border-radius: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.dark-section:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://www.transparenttextures.com/patterns/45-degree-fabric-light.png');
  opacity: 0.05;
  z-index: 0;
}

.dark-section h2 {
  color: var(--light-text);
}

.dark-section h2:after {
  background: linear-gradient(to right, var(--tech-blue), #4caf50);
}

/* ============= */
/* ABOUT SECTION */
/* ============= */
.about-content {
  display: flex;
  gap: 50px;
  align-items: center;
}

.about-text {
  flex: 1;
  font-size: 1.15rem;
  line-height: 1.8;
  padding-right: 20px;
}

.about-text p {
  margin-bottom: 25px;
  position: relative;
  padding-left: 20px;
}

.about-text p:before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  height: 8px;
  width: 8px;
  background: var(--leaf-green);
  border-radius: 50%;
}

.about-image {
  flex: 1;
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  transition: transform 0.6s ease, box-shadow 0.6s ease;
  border: 5px solid white;
}

.about-image:hover img {
  transform: scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2), 0 0 30px rgba(76, 175, 80, 0.3);
}

/* ============= */
/* CV SECTION */
/* ============= */
/* ============= */
/* CV SECTION - UNIFIED STYLES */
/* ============= */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(5px);
}

.modal-content {
  background: linear-gradient(135deg, var(--pine-green) 0%, var(--forest-green) 100%);
  margin: 5% auto;
  padding: 40px;
  border-radius: 15px;
  width: 80%;
  max-width: 1000px;
  max-height: 80vh;
  overflow: auto;
  position: relative;
  color: var(--light-text);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 30px;
  color: var(--light-text);
  cursor: pointer;
  background: transparent;
  border: none;
  transition: color 0.3s;
}

.close-modal:hover {
  color: var(--tech-blue);
}

/* CV CONTAINER - unified for both modal and section */
.cv-container, #cv .cv-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  position: relative;
  z-index: 1;
}

/* CV BRIEF/PROFESSIONAL SUMMARY */
.cv-brief, #cv .cv-brief {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  padding: 20px;
  margin: 0 auto 30px;
  width: auto;
  max-width: 900px;
  text-align: center;
  grid-column: 1 / -1;
}

.cv-brief h3, #cv .cv-brief h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--tech-blue);
}

/* CV CONTENT */
.cv-content, #cv .cv-content {
  display: grid;
  grid-template-columns: 1fr 1fr;  /* Dwie kolumny obok siebie */
  gap: 40px;
  grid-column: 1 / -1; /* Rozciąga na całą szerokość */
}
/* CV COLUMNS */
.cv-column, #cv .cv-column {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.cv-column:hover, #cv .cv-column:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

/* CV HEADER */
.cv-header {
  text-align: center;
  margin-bottom: 40px;
}

.cv-header h3 {
  font-size: 2.2rem;
  color: var(--light-text);
  margin-bottom: 10px;
  font-family: 'Montserrat', sans-serif;
}

.cv-header p {
  font-size: 1.25rem;
  color: var(--tech-blue);
  font-weight: 300;
}

/* CV SECTIONS */
.cv-section h4 {
  color: var(--tech-blue);
  margin: 25px 0 15px;
  font-size: 1.5rem;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(0, 198, 255, 0.3);
  position: relative;
}

.cv-section h4:after {
  content: '';
  display: block;
  width: 50px;
  height: 2px;
  background: var(--tech-blue);
}

/* EXPERIENCE & EDUCATION ITEMS */
.experience-item, .education-item {
  margin-bottom: 25px;
  padding-left: 25px;
  position: relative;
}

.experience-item:before, .education-item:before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--tech-blue);
  box-shadow: 0 0 10px var(--tech-glow);
}

.experience-date, .education-date {
  font-weight: 600;
  color: var(--tech-blue);
  margin-bottom: 5px;
  display: block;
}

.experience-company, .education-school {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--light-text);
  margin-bottom: 8px;
  display: block;
}

.experience-description, .education-description {
  margin-top: 10px;
}

/* SKILLS GRID */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.skill-category {
  background: rgba(0, 198, 255, 0.1);
  padding: 20px;
  border-radius: 10px;
  border-left: 4px solid var(--tech-blue);
  transition: transform 0.3s ease;
}

.skill-category:hover {
  transform: translateY(-5px);
  background: rgba(0, 198, 255, 0.15);
}

.skill-category h5 {
  margin-bottom: 15px;
  color: var(--tech-blue);
  font-size: 1.2rem;
}

.skill-category ul {
  list-style-type: none;
}

.skill-category li {
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.skill-category li:before {
  content: '▹';
  position: absolute;
  left: 0;
  color: var(--tech-blue);
}

/* CV ACTIONS BUTTONS */
.cv-actions, #cv .cv-actions {
  display: inline-flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.cv-btn, #cv .cv-btn {
  padding: 12px 30px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--tech-blue) 0%, #0072ff 100%);
  color: white;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.cv-btn:hover, #cv .cv-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 114, 255, 0.3);
}

.cv-btn:active, #cv .cv-btn:active {
  transform: translateY(1px);
}

.cv-btn i, #cv .cv-btn i {
  transition: transform 0.2s;
}

.cv-btn:hover i, #cv .cv-btn:hover i {
  transform: translateX(3px);
}

/* Special download button effect */
.cv-download-btn, #cv .cv-download-btn {
  background: linear-gradient(135deg, var(--tech-blue) 0%, #0066cc 100%);
}

.cv-download-btn:hover, #cv .cv-download-btn:hover {
  animation: pulse-blue 1.5s infinite;
}

@keyframes pulse-blue {
  0% { box-shadow: 0 0 0 0 rgba(0, 102, 204, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(0, 102, 204, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 102, 204, 0); }
}

/* RESPONSIVENESS */
@media (max-width: 768px) {
  #cv .cv-content {
    grid-template-columns: 1fr; /*Jedna linia na telefonie*/
  }
}


@media (max-width: 1024px) {
  .cv-container, #cv .cv-container {
    grid-template-columns: 1fr;
  }
  
  #cv .cv-brief {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .modal-content {
    width: 90%;
    padding: 30px 20px;
  }
  
  .cv-header h3 {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .cv-actions, #cv .cv-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .cv-btn, #cv .cv-btn {
    width: 100%;
    text-align: center;
  }
}

/* ============= */
/* PROJECTS */
/* ============= */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.project-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  transform: translateY(0);
}

.project-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15), 0 0 40px rgba(76, 175, 80, 0.2);
}

.project-img {
  height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
  transition: transform 0.5s ease;
}

.project-card:hover .project-img {
  transform: scale(1.05);
}

.project-tech {
  position: absolute;
  bottom: 15px;
  left: 15px;
  display: flex;
  gap: 8px;
  z-index: 2;
}

.project-tech span {
  background: rgba(29, 78, 29, 0.9);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.project-card:hover .project-tech span {
  background: var(--tech-blue);
  transform: translateY(-5px);
}

.project-info {
  padding: 25px;
  position: relative;
  z-index: 2;
}

.project-info h3 {
  margin-bottom: 12px;
  color: var(--forest-green);
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.project-card:hover .project-info h3 {
  color: var(--tech-blue);
}

.project-link {
  display: inline-block;
  margin-top: 15px;
  color: var(--tech-blue);
  text-decoration: none;
  font-weight: 600;
  position: relative;
  padding-bottom: 3px;
}

.project-link:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--tech-blue);
  transition: width 0.4s ease;
}

.project-link:hover:after {
  width: 100%;
}

/* ============= */
/* CONTACT */
/* ============= */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.contact-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  border-color: rgba(0, 198, 255, 0.4);
}

.contact-card i {
  font-size: 2.8rem;
  color: var(--tech-blue);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  text-shadow: 0 0 15px rgba(0, 198, 255, 0.5);
}

.contact-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.contact-card p {
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
}

.contact-form {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: var(--light-text);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--tech-blue);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 198, 255, 0.2);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.submit-btn {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, var(--tech-blue) 0%, #0072ff 100%);
  color: var(--light-text);
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.submit-btn:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: all 0.6s;
}

.submit-btn:hover:before {
  left: 100%;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 198, 255, 0.4);
}

/* ============= */
/* FOOTER */
/* ============= */
footer {
  background: var(--forest-green);
  color: var(--light-text);
  text-align: center;
  padding: 60px 20px 40px;
  position: relative;
  overflow: hidden;
}

footer:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--tech-blue), var(--leaf-green));
  z-index: 1;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-bottom: 30px;
}

.footer-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--light-text);
  font-size: 1.5rem;
  border-radius: 50%;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.footer-links a:hover {
  background: var(--tech-blue);
  transform: translateY(-8px) scale(1.1);
  color: white;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

footer p {
  font-size: 1.1rem;
  opacity: 0.8;
  margin-top: 20px;
}



/* ============= */
/* RESPONSYWNOŚĆ */
/* ============= */
@media (max-width: 1024px) {
  .cv-container, .contact-container {
    grid-template-columns: 1fr;
  }
  
  .about-content {
    flex-direction: column;
  }
  
  .about-text {
    padding-right: 0;
  }
}

@media (max-width: 768px) {
            .nav-links {
                position: fixed;
                top: 80px;
                left: -100%;
                width: 100%;
                height: calc(100vh - 80px);
                background: var(--pine-green);
                flex-direction: column;
                align-items: center;
                justify-content: flex-start;
                padding-top: 40px;
                transition: left 0.5s ease;
                gap: 35px;
                backdrop-filter: blur(10px);
            }
            
            .nav-links.active {
                left: 0;
            }
            
            .hamburger {
                display: flex;
            }
            
            .hamburger.active .line:nth-child(1) {
                transform: rotate(45deg) translate(6px, 6px);
            }
            
            .hamburger.active .line:nth-child(2) {
                opacity: 0;
            }
            
            .hamburger.active .line:nth-child(3) {
                transform: rotate(-45deg) translate(6px, -6px);
            }

            .hero h1 {
                font-size: 2.5rem;
            }

            .hero p {
                font-size: 1.3rem;
            }

            .section {
                padding: 80px 5%;
            }

            .section h2 {
                font-size: 2.3rem;
                margin-bottom: 50px;
            }
            
            .projects-grid {
                grid-template-columns: 1fr;
            }
            
            .language-switcher {
                margin-left: 20;
                margin-top: 100px;
                width: auto;
                justify-content: center;
                display: flex;
            }
            
            .modal-content {
                width: 90%;
                padding: 30px 20px;
            }
        }


@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .section h2 {
    font-size: 2rem;
  }
  
  .logo {
    font-size: 1.5rem;
  }
  
  .cv-actions {
    flex-direction: column;
  }
  
  .lang-btn {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }
}