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

body {
  background-color: #0D0B14;
  color: #F1F5F9;
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

/* Navigation */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding-bottom: 10px;
  padding-top: 10px;
}

.logo {
  height: 48px;
}

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

.nav-links a {
  color: #A855F7;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.nav-links a:hover {
  opacity: 0.8;
}

/* Main text */
.hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 5%;
}

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

.location-tag span {
  font-size: 0.7rem;
  vertical-align: super;
}

.hero-title {
  font-size: 5.5rem;
  line-height: 1.05;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #A855F7;
  font-size: clamp(3.8rem, 5vw, 3.5rem);
}


.hero-description {
  font-size: 1.35rem;
  line-height: 1.5;
  color: #e2e8f0;
  margin-bottom: 2.5rem;
  max-width: 650px;
}

.heros {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 5%;
}

.heros-content {
  max-width: 900px;
  width: 100%;
}

.heros-titles {
  font-size: 2rem;
  line-height: 1.05;
  font-weight: 700;
  margin-bottom: 1.5rem;
  margin-top: 1rem;
  color: #A855F7;
}

.heros-title {
  font-size: 3.5rem;
  line-height: 1.05;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #A855F7;
}

.heros-description {
  font-size: 1.35rem;
  line-height: 1.5;
  color: #e2e8f0;
  margin-bottom: 0.5rem;
  max-width: 850px;
}

/* Animation */
.hero-title::after {
  content: '|';
  margin-left: 5px;
  color: #A855F7;
  animation: blink 0.7s infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/*Sklls logos*/
.skill-badge {
  font-size: 20px;
}

.skills-inline {
  margin-bottom: 0.5rem;
}

/* Buttons */
.cta-buttons {
  display: flex;
  gap: 1rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-primary {
  background-color: #A855F7;
  color: black;
  border: 1px solid white;
}

.btn-primary:hover {
  background-color: white;
}

.btn-secondary {
  background-color: #A855F7;
  color: black;
  border: 1px solid white;
}

.btn-secondary:hover {
  background-color: white;
}

/* Footer */
footer {
  text-align: center;
  padding: 0.9rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 0.5rem;
}

.social-icons a {
  color: #a0aec0;
  font-size: 2rem;
  transition: color 0.2s ease;
}

.social-icons a:hover {
  color: #A855F7;
}

.footer-text {
  color: #A855F7;
  font-size: 0.8rem;
}


/* Contact */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.contact-form {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #A855F7;
  outline: none;
}

.submit-btn {
  background: #A855F7;
  color: #fff;
  border: none;
  padding: 0.8rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

.submit-btn:hover {
  background: #9333ea;
}

/* Side Cards */
.contact-info {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
}

.info-icon {
  color: #A855F7;
  font-size: 1.2rem;
}

.info-item a, 
.info-item p {
  color: #fff;
  text-decoration: none;
}

/* Projects */
.projects-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
}

/* Card */
.project-card {
  flex: 1 1 280px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 1.5rem;
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.project-folder-icon {
  font-size: 1.8rem;
  color: #A855F7;
}

.project-github-link {
  color: #ffffff;
  font-size: 1.4rem;
}

.project-title {
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.project-description {
  font-size: 0.95rem;
  color: #e2e8f0;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.project-tags span {
  font-size: 0.8rem;
  color: #A855F7;
  background: rgba(168, 85, 247, 0.1);
  padding: 0.3rem 0.6rem;
  border-radius: 5px;
}