/* MODIFICATION 1: Hero buttons hover state - white text and icons */
.cta-button:hover {
  transform: translateY(-3px);
  filter: drop-shadow(0 8px 25px rgba(34, 211, 238, 0.4))
    drop-shadow(0 8px 25px rgba(124, 58, 237, 0.4));
}

.cta-button:hover span {
  color: #f8fafc;
}

.cta-button:hover i {
  color: #f8fafc;
}

/* Hero Animation - New Simplified Design */
.hero-animation {
  position: relative;
  z-index: 0;
}

.stack-container {
  position: relative;
  width: 500px;
  height: 500px;
  margin: 0 auto;
}

/* Main Profile Image */
.profile-main {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 250px;
  height: 250px;
  z-index: 10;
}

.profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
  border: 4px solid #7c3aed;
  box-shadow: 0 20px 60px rgba(124, 58, 237, 0.3);
  background: #110f1a;
}

/* Stack Icons - FIXED Z-INDEX ISSUES */
.stack-icon {
  position: absolute;
  border-radius: 16px;
  background: #110f1a;
  padding: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 2px solid #7c3aed;
  transition: all 0.3s ease;
  cursor: pointer;
}

.stack-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.stack-icon:hover {
  transform: scale(1.15);
  box-shadow: 0 8px 30px #7c3aed;
  border-color: #7c3aed;
  z-index: 30 !important;
}

/* Tooltip for stack icons */
.stack-icon::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: linear-gradient(135deg, #7c3aed, #22d3ee);
  color: #f8fafc;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  font-family: "Satoshi", sans-serif;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px #7c3aed;
}

.stack-icon::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #7c3aed;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.stack-icon:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(-12px);
}

.stack-icon:hover::before {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
}

/* Large Icons - 30% smaller than profile */
.large-icon {
  width: 70px;
  height: 70px;
  animation: float-1 6s ease-in-out infinite;
  z-index: 5;
}

/* Small Icons - 50% smaller than profile */
.small-icon {
  width: 50px;
  height: 50px;
  animation: float-2 8s ease-in-out infinite;
  z-index: 3;
}

/* Different floating animations */
@keyframes float-1 {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
}

@keyframes float-2 {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Individual animation delays for natural movement */
.stack-icon:nth-child(2) {
  animation-delay: 0.5s;
}
.stack-icon:nth-child(3) {
  animation-delay: 1s;
}
.stack-icon:nth-child(4) {
  animation-delay: 1.5s;
}
.stack-icon:nth-child(5) {
  animation-delay: 2s;
}
.stack-icon:nth-child(6) {
  animation-delay: 2.5s;
}
.stack-icon:nth-child(7) {
  animation-delay: 3s;
}
.stack-icon:nth-child(8) {
  animation-delay: 3.5s;
}
.stack-icon:nth-child(9) {
  animation-delay: 4s;
}
.stack-icon:nth-child(10) {
  animation-delay: 4.5s;
}
.stack-icon:nth-child(11) {
  animation-delay: 5s;
}
.stack-icon:nth-child(12) {
  animation-delay: 5.5s;
}
.stack-icon:nth-child(13) {
  animation-delay: 6s;
}
.stack-icon:nth-child(14) {
  animation-delay: 6.5s;
}

/* Alternate floating directions */
.stack-icon:nth-child(even) {
  animation-name: float-3;
}

@keyframes float-3 {
  0%,
  100% {
    transform: translateY(0px) translateX(0px);
  }
  25% {
    transform: translateY(-10px) translateX(5px);
  }
  50% {
    transform: translateY(5px) translateX(-5px);
  }
  75% {
    transform: translateY(-15px) translateX(-3px);
  }
}

/* Responsive adjustments for stack container */
@media (max-width: 768px) {
  .stack-container {
    width: 350px;
    height: 400px;
  }

  .profile-main {
    width: 180px;
    height: 180px;
  }

  .large-icon {
    width: 70px;
    height: 70px;
  }

  .small-icon {
    width: 55px;
    height: 55px;
  }

  /* Status bar mobile adjustments */
  .status-bar {
    top: 64px;
  }

  .glass-nav {
    height: 64px;
  }

  /* Hero section mobile spacing */
  #hero {
    padding-top: 140px;
    padding-bottom: 100px;
  }

  /* Completely reposition icons for mobile to avoid overlap */
  /* Large icons positions */
  .stack-icon:nth-child(2) {
    /* HTML */
    top: 5% !important;
    left: 10% !important;
  }

  .stack-icon:nth-child(3) {
    /* CSS */
    top: 5% !important;
    right: 10% !important;
  }

  .stack-icon:nth-child(4) {
    /* JavaScript - MOVED TO BOTTOM RIGHT */
    bottom: 5% !important;
    right: 10% !important;
  }

  .stack-icon:nth-child(5) {
    /* Photoshop */
    bottom: 10% !important;
    right: 15% !important;
  }

  .stack-icon:nth-child(6) {
    /* Illustrator */
    top: 45% !important;
    right: 0% !important;
  }

  /* Small icons positions */
  .stack-icon:nth-child(7) {
    /* Elementor */
    top: 0% !important;
    left: 50% !important;
  }

  .stack-icon:nth-child(8) {
    /* WordPress */
    bottom: 0% !important;
    left: 50% !important;
  }

  .stack-icon:nth-child(9) {
    /* Figma */
    top: 45% !important;
    left: 0% !important;
  }

  .stack-icon:nth-child(10) {
    /* React */
    top: 25% !important;
    right: 0% !important;
  }

  .stack-icon:nth-child(11) {
    /* Tailwind */
    top: 25% !important;
    left: 10% !important;
  }

  .stack-icon:nth-child(12) {
    /* Bootstrap */
    top: 75% !important;
    right: 20% !important;
  }

  .stack-icon:nth-child(13) {
    /* PHP - MOVED TO TOP LEFT AREA */
    top: 10% !important;
    left: 35% !important;
  }
}

/* Service Cards */
.service-card {
  position: relative;
  overflow: hidden;
  background: rgba(17, 15, 26, 0.85) !important;
  border: 1px solid rgba(124, 58, 237, 0.18) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 58, 237, 0.55) !important;
  box-shadow:
    0 0 0 1px rgba(124, 58, 237, 0.35),
    0 24px 60px rgba(124, 58, 237, 0.12),
    0 8px 24px rgba(0, 0, 0, 0.5);
}

/* Dekoratív háttérszám */
.service-number {
  position: absolute;
  top: -1.5rem;
  right: 1.25rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 7.5rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.14), rgba(34, 211, 238, 0.08));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  pointer-events: none;
  user-select: none;
  transition: opacity 0.3s;
}

.service-card:hover .service-number {
  opacity: 0.7;
}

/* Ikon konténer */
.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.18), rgba(34, 211, 238, 0.1));
  border: 1px solid rgba(124, 58, 237, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
  color: #a78bfa;
}

.service-icon i,
.service-icon svg {
  color: #a78bfa !important;
  stroke: #a78bfa !important;
  fill: none !important;
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.3), rgba(34, 211, 238, 0.18));
  border-color: rgba(34, 211, 238, 0.45);
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.25);
}

.service-card:hover .service-icon i,
.service-card:hover .service-icon svg {
  color: #22d3ee !important;
  stroke: #22d3ee !important;
}

/* Tech tagek */
.tech-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(8, 7, 14, 0.7);
  border: 1px solid rgba(124, 58, 237, 0.22);
  border-radius: 999px;
  font-size: 0.7rem;
  color: #94a3b8;
  font-family: "Satoshi", sans-serif;
  font-weight: 500;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.tech-tag:hover {
  border-color: rgba(34, 211, 238, 0.45);
  color: #22d3ee;
  background: rgba(34, 211, 238, 0.06);
}

/* Section Titles */
h2 span {
  color: #f8fafc !important;
}

/* Text Colors */
p,
.font-geist {
  color: #94a3b8 !important;
}

h3,
.font-figtree {
  color: #f8fafc !important;
}

/* Portfolio Section - AGENCY LIST */
.portfolio-tabs-container {
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(17, 15, 26, 0.9);
  border-radius: 35px;
  padding: 6px;
  border: 1px solid rgba(124, 58, 237, 0.2);
  transition: all 0.3s ease;
}

.portfolio-tabs-container:hover {
  border-color: rgba(34, 211, 238, 0.35);
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.12);
}

.portfolio-tab {
  padding: 10px 24px;
  border-radius: 25px;
  background: transparent;
  color: #64748b;
  font-family: "Satoshi", sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  cursor: pointer;
  margin: 0 2px;
}

.portfolio-tab.active {
  background: linear-gradient(135deg, #7c3aed, #22d3ee);
  color: #f8fafc;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.35);
}

.portfolio-tab:hover:not(.active) {
  color: #e2e8f0;
  background: rgba(124, 58, 237, 0.1);
}

/* Grid = flex column list */
.portfolio-grid {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: rgba(124, 58, 237, 0.1);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(124, 58, 237, 0.14);
  counter-reset: portfolio-counter;
}

/* Filter state */
.portfolio-item {
  counter-increment: portfolio-counter;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.portfolio-item.hidden {
  display: none;
  counter-increment: none;
}

.portfolio-item.hiding {
  opacity: 0;
  pointer-events: none;
}

/* Horizontal card */
.portfolio-card {
  display: flex;
  align-items: stretch;
  background: #0c0a15;
  cursor: pointer;
  transition: background 0.3s ease;
  position: relative;
  overflow: hidden;
  min-height: 148px;
}

/* Gradient line that sweeps in on hover */
.portfolio-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, transparent 0%, #7c3aed 35%, #22d3ee 65%, transparent 100%);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 3;
}

.portfolio-card:hover {
  background: rgba(17, 15, 26, 0.95);
}

.portfolio-card:hover::after {
  transform: scaleX(1);
}

/* Left: image */
.portfolio-row-image {
  position: relative;
  width: 280px;
  flex-shrink: 0;
  overflow: hidden;
}

.portfolio-row-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-card:hover .portfolio-row-image img {
  transform: scale(1.07);
}

/* Badge on image */
.portfolio-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  padding: 3px 10px;
  border-radius: 999px;
  font-family: "Satoshi", sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
}

.badge-web {
  background: rgba(124, 58, 237, 0.65);
  color: #ede9fe;
  border: 1px solid rgba(167, 139, 250, 0.3);
}

.badge-design {
  background: rgba(34, 211, 238, 0.22);
  color: #a5f3fc;
  border: 1px solid rgba(34, 211, 238, 0.3);
}

.badge-new {
  background: rgba(251, 191, 36, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.3);
}

/* Right: info */
.portfolio-row-info {
  flex: 1;
  padding: 1.75rem 5rem 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

/* Ghost counter via CSS counter */
.portfolio-row-info::before {
  content: counter(portfolio-counter, decimal-leading-zero);
  position: absolute;
  top: 50%;
  right: 2rem;
  transform: translateY(-50%);
  font-family: "Space Grotesk", sans-serif;
  font-size: 5.5rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(34, 211, 238, 0.06));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  pointer-events: none;
  user-select: none;
  transition: opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-row-info::before {
  opacity: 0.6;
}

.portfolio-row-category-label {
  font-family: "Satoshi", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7c3aed;
  margin-bottom: 0.4rem;
  transition: color 0.25s ease;
}

.portfolio-card:hover .portfolio-row-category-label {
  color: #22d3ee;
}

.portfolio-row-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #cbd5e1;
  margin-bottom: 0.5rem;
  line-height: 1.3;
  transition: color 0.25s ease;
}

.portfolio-card:hover .portfolio-row-title {
  color: #f8fafc;
}

.portfolio-row-tech {
  font-family: "Satoshi", sans-serif;
  font-size: 0.78rem;
  color: #334155;
  transition: color 0.25s ease;
}

.portfolio-card:hover .portfolio-row-tech {
  color: #475569;
}

/* Arrow */
.portfolio-row-arrow {
  position: absolute;
  right: 1.75rem;
  bottom: 1.25rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(124, 58, 237, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-card:hover .portfolio-row-arrow {
  opacity: 1;
  transform: translateX(0);
  border-color: rgba(34, 211, 238, 0.4);
  color: #22d3ee;
}

/* Responsive */
@media (max-width: 768px) {
  .portfolio-row-image {
    width: 160px;
  }
  .portfolio-row-info {
    padding: 1.25rem 3.5rem 1.25rem 1.25rem;
  }
  .portfolio-row-title {
    font-size: 1rem;
  }
  .portfolio-row-info::before {
    font-size: 4rem;
    right: 0.75rem;
  }
  .portfolio-row-arrow {
    right: 0.75rem;
    bottom: 0.75rem;
  }
}

@media (max-width: 480px) {
  .portfolio-card {
    flex-direction: column;
    min-height: auto;
  }
  .portfolio-row-image {
    width: 100%;
    height: 180px;
  }
  .portfolio-row-info {
    padding: 1rem 1rem 2.75rem;
  }
  .portfolio-row-info::before {
    top: auto;
    bottom: 0.25rem;
    right: 0.75rem;
    transform: none;
    font-size: 3rem;
  }
  .portfolio-row-arrow {
    bottom: 0.625rem;
    right: 0.75rem;
  }
}

/* Portfolio More Button & Expanded Grid */
.portfolio-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  background: transparent;
  border: 1px solid rgba(124, 58, 237, 0.3);
  color: #94a3b8;
  font-family: "Satoshi", sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.portfolio-more-btn:hover {
  border-color: rgba(34, 211, 238, 0.5);
  color: #22d3ee;
  background: rgba(34, 211, 238, 0.05);
}

.portfolio-more-btn.active .btn-chevron {
  transform: rotate(180deg);
}

.btn-chevron {
  transition: transform 0.3s ease;
}

.portfolio-expanded {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.4s ease,
    margin-top 0.4s ease;
  margin-top: 0;
}

.portfolio-expanded.open {
  max-height: 3000px;
  opacity: 1;
  margin-top: 2rem;
}

.portfolio-expanded-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.portfolio-grid-card {
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  background: rgba(17, 15, 26, 0.72);
  border: 1px solid rgba(124, 58, 237, 0.12);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.portfolio-grid-card:hover {
  border-color: rgba(124, 58, 237, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(124, 58, 237, 0.15);
}

.portfolio-grid-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.portfolio-grid-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-grid-card:hover .portfolio-grid-image img {
  transform: scale(1.05);
}

.portfolio-grid-hover {
  position: absolute;
  inset: 0;
  background: rgba(8, 7, 14, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f8fafc;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-grid-card:hover .portfolio-grid-hover {
  opacity: 1;
}

.portfolio-grid-footer {
  padding: 0.875rem 1rem;
}

.portfolio-grid-category {
  font-family: "Satoshi", sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7c3aed;
  margin-bottom: 0.25rem;
}

.portfolio-grid-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: #cbd5e1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 768px) {
  .portfolio-expanded-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .portfolio-expanded-grid {
    grid-template-columns: 1fr;
  }
}

/* Contact Form */
.form-input {
  width: 100%;
  padding: 14px 18px;
  background: rgba(17, 15, 26, 0.9);
  border: 2px solid #94a3b8;
  border-radius: 12px;
  color: #f8fafc;
  font-family: "Satoshi", sans-serif;
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: #22d3ee;
  background: #110f1a;
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.1);
}

.form-input::placeholder {
  color: #94a3b8;
}

/* Privacy Checkbox Styling */
.privacy-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #94a3b8;
  border-radius: 4px;
  background: rgba(17, 15, 26, 0.9);
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.privacy-checkbox:checked {
  background: linear-gradient(45deg, #22d3ee, #7c3aed);
  border-color: #7c3aed;
}

.privacy-checkbox:checked::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #f8fafc;
  font-size: 12px;
  font-weight: bold;
}

.privacy-checkbox:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.3);
}

.privacy-link {
  color: #7c3aed !important;
  text-decoration: underline !important;
  transition: all 0.3s ease;
  display: inline !important;
  visibility: visible !important;
  opacity: 1 !important;
  font-weight: 600 !important;
}

.privacy-link:hover {
  color: #22d3ee !important;
  text-decoration: underline !important;
  transform: none;
}

/* Social Icons */
.social-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(17, 15, 26, 0.9);
  border: 2px solid #94a3b8;
  border-radius: 14px;
  color: #94a3b8;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: #22d3ee;
  border-color: #22d3ee;
  color: #08070e;
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 10px 25px rgba(34, 211, 238, 0.3);
}

/* Footer - UPDATED STYLES */
footer {
  border-top: 1px solid #94a3b8;
  background: linear-gradient(135deg, #08070e 0%, #110f1a 100%);
  position: relative;
}

/* Footer Links */
.footer-link {
  color: #94a3b8;
  font-family: "Satoshi", sans-serif;
  font-size: 14px;
  transition: all 0.3s ease;
  display: block;
  padding: 2px 0;
}

.footer-link:hover {
  color: #22d3ee;
  transform: translateX(4px);
}

/* Footer Social Icons */
.social-icon-footer {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(17, 15, 26, 0.7);
  border: 1px solid rgba(135, 134, 140, 0.3);
  border-radius: 12px;
  color: #94a3b8;
  transition: all 0.3s ease;
}

.social-icon-footer:hover {
  background: linear-gradient(45deg, #22d3ee, #7c3aed);
  border-color: transparent;
  color: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(34, 211, 238, 0.3);
}

/* Footer Typography */
footer h4 {
  color: #f8fafc !important;
  font-family: "Space Grotesk", sans-serif;
}

footer p {
  color: #94a3b8;
  font-family: "Satoshi", sans-serif;
}

footer .text-gray-400 {
  color: #94a3b8 !important;
}

footer .text-white {
  color: #f8fafc !important;
}

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

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #110f1a;
}

::-webkit-scrollbar-thumb {
  background: #22d3ee;
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: #22d3ee;
}

/* Modal Background */
#portfolioModal > div:first-child {
  background: rgba(0, 0, 0, 0.8);
}

/* Portfolio Modal Content */
#portfolioModal .glass-card {
  background: #110f1a;
  border: 1px solid #94a3b8;
  color: #f8fafc;
}

#portfolioModal h3 {
  color: #f8fafc !important;
}

#portfolioModal p {
  color: #94a3b8 !important;
}

/* Close button styles */
.close-menu i,
button[onclick="closePortfolioModal()"] i {
  color: #94a3b8;
  transition: all 0.3s ease;
}

.close-menu:hover i,
button[onclick="closePortfolioModal()"]:hover i {
  color: #22d3ee;
  transform: rotate(90deg);
}

/* Responsive adjustments for logo */
@media (max-width: 768px) {
  .logo img {
    height: 35px;
  }

}

.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(135, 134, 140, 0.3);
  border-top-color: #22d3ee;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Success/Error Messages */
.message {
  padding: 16px 20px;
  border-radius: 12px;
  margin-top: 16px;
  font-family: "Satoshi", sans-serif;
}

.message.success {
  background: rgba(34, 211, 238, 0.1);
  border: 2px solid #22d3ee;
  color: #22d3ee;
}

.message.error {
  background: rgba(239, 68, 68, 0.1);
  border: 2px solid #ef4444;
  color: #ef4444;
}

/* ===== SZEKCIÓNKÉNTI HÁTTÉR MEGOLDÁSOK - DARK THEME ===== */

/* 1. HERO SECTION */
#hero {
  background: transparent;
  position: relative;
}

/* 2. SERVICES SECTION */
#services {
  background: transparent;
  position: relative;
  overflow: hidden;
}

#services .container {
  position: relative;
  z-index: 1;
}

#services h2,
#services .service-card {
  position: relative;
  z-index: 1;
}

/* 3. ABOUT SECTION */
#about {
  background: transparent;
  position: relative;
}

/* 4. PORTFOLIO SECTION */
#portfolio {
  background: transparent;
  position: relative;
}

/* 5. CONTACT SECTION */
#contact {
  background: transparent;
  position: relative;
  overflow: hidden;
}

/* Contact section overlay for better contrast */
#contact::before {
  display: none;
}

/* Animated wave pattern */
#contact::after {
  display: none;
}

@keyframes waveMove {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* FOOTER - Dark gradient */
footer {
  background: linear-gradient(90deg, #08070e 0%, #110f1a 100%);
  position: relative;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 768px) {
  /* Reduce animation intensity on mobile */
  #hero {
    animation-duration: 20s;
  }

  #about {
    background-size: 60px 60px, 60px 60px, 30px 30px;
  }

  #portfolio::before,
  #portfolio::after {
    width: 60px;
    height: 60px;
  }

  #contact::after {
    animation-duration: 35s;
  }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  #hero,
  #about::after,
  #portfolio::before,
  #portfolio::after,
  #contact::after,
  .shimmer {
    animation: none;
  }
}

/* Special styling for contact and services section titles */
#contact .container h2 span,
#services .container h2 span {
  color: #f8fafc !important;
}

/* MODIFICATION 4: Updated Section dividers with 50% width and centered purple gradient blur */
section:not(:last-child):not(#contact)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 1px;
  background: #94a3b8;
  opacity: 0.3;
}

section:not(:last-child):not(#contact)::before {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background: radial-gradient(
    circle,
    rgba(124, 58, 237, 0.6) 0%,
    transparent 70%
  );
  border-radius: 50%;
  filter: blur(8px);
  z-index: 1;
}

/* Cookie Consent Manager Styles - Dark Theme */

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 500px;
  background: rgba(17, 15, 26, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(135, 134, 140, 0.3);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  z-index: 9999;
  animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.cookie-banner.hidden {
  display: none !important;
}

.cookie-content {
  position: relative;
}

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

.cookie-header h3 {
  font-size: 20px;
  font-weight: 600;
  background: linear-gradient(45deg, #22d3ee, #7c3aed);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: "Space Grotesk", sans-serif;
  margin: 0;
}

.close-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border-radius: 8px;
}

.close-btn:hover {
  background: rgba(34, 211, 238, 0.1);
  color: #22d3ee;
  transform: rotate(90deg);
}

.cookie-body {
  margin-bottom: 20px;
}

.cookie-body p {
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.6;
  font-family: "Satoshi", sans-serif;
  margin: 0 0 8px 0;
}

.cookie-policy-link {
  color: #7c3aed;
  text-decoration: underline;
  transition: color 0.3s ease;
  font-size: 14px;
  font-family: "Satoshi", sans-serif;
}

.cookie-policy-link:hover {
  color: #22d3ee;
  text-decoration: none;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 10px 20px;
  border-radius: 25px;
  border: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Satoshi", sans-serif;
  flex: 1;
  min-width: 100px;
}

.cookie-btn-accept {
  background: linear-gradient(45deg, #22d3ee, #7c3aed);
  color: #f8fafc;
}

.cookie-btn-accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(34, 211, 238, 0.4);
}

.cookie-btn-reject {
  background: rgba(135, 134, 140, 0.2);
  color: #94a3b8;
  border: 1px solid #94a3b8;
}

.cookie-btn-reject:hover {
  background: rgba(239, 68, 68, 0.1);
  border-color: #ef4444;
  color: #ef4444;
}

.cookie-btn-settings {
  background: transparent;
  color: #22d3ee;
  border: 2px solid #22d3ee;
}

.cookie-btn-settings:hover {
  background: #22d3ee;
  color: #08070e;
  transform: translateY(-2px);
}

.cookie-btn-secondary {
  background: rgba(135, 134, 140, 0.2);
  color: #94a3b8;
  border: 1px solid #94a3b8;
}

.cookie-btn-secondary:hover {
  background: rgba(135, 134, 140, 0.3);
  color: #f8fafc;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

.cookie-modal.hidden {
  display: none !important;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.cookie-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
}

.cookie-modal-content {
  position: relative;
  background: #110f1a;
  border: 1px solid rgba(135, 134, 140, 0.3);
  border-radius: 24px;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: slideUpModal 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideUpModal {
  from {
    transform: translateY(50px) scale(0.95);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.cookie-modal-header {
  padding: 24px 24px 16px;
  border-bottom: 1px solid rgba(135, 134, 140, 0.2);
  position: relative;
}

.cookie-modal-header h2 {
  font-size: 24px;
  font-weight: 700;
  background: linear-gradient(45deg, #22d3ee, #7c3aed);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: "Space Grotesk", sans-serif;
  margin: 0;
}

.cookie-modal-header .close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
}

.cookie-modal-body {
  padding: 24px;
}

.cookie-modal-intro {
  color: #94a3b8;
  margin-bottom: 20px;
  line-height: 1.5;
  font-family: "Satoshi", sans-serif;
  font-size: 13px;
}

.cookie-category {
  margin-bottom: 12px;
  padding: 14px;
  background: rgba(8, 7, 14, 0.5);
  border-radius: 12px;
  border: 1px solid rgba(135, 134, 140, 0.2);
  transition: all 0.3s ease;
}

.cookie-category:hover {
  border-color: rgba(124, 58, 237, 0.3);
  background: rgba(8, 7, 14, 0.8);
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.cookie-category-info {
  flex: 1;
  margin-right: 20px;
}

.cookie-category-info h4 {
  color: #f8fafc;
  margin: 0 0 6px 0;
  font-size: 14px;
  font-weight: 600;
  font-family: "Space Grotesk", sans-serif;
}

.cookie-category-info p {
  color: #94a3b8;
  font-size: 12px;
  line-height: 1.4;
  font-family: "Satoshi", sans-serif;
  margin: 0;
}

/* Toggle Switch */
.cookie-toggle {
  position: relative;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.cookie-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(135, 134, 140, 0.3);
  transition: 0.4s;
  border-radius: 26px;
  border: 1px solid rgba(135, 134, 140, 0.3);
}

.cookie-toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: #f8fafc;
  transition: 0.4s;
  border-radius: 50%;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
  background: linear-gradient(45deg, #22d3ee, #7c3aed);
  border-color: #7c3aed;
}

.cookie-toggle input:checked + .cookie-toggle-slider:before {
  transform: translateX(22px);
}

.cookie-toggle input:disabled + .cookie-toggle-slider {
  opacity: 0.5;
  cursor: not-allowed;
}

.cookie-modal-footer {
  padding: 16px 24px 20px;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  flex-wrap: wrap;
  border-top: 1px solid rgba(135, 134, 140, 0.2);
}

/* Settings Button (Floating) */
.cookie-settings-btn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: rgba(17, 15, 26, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 2px solid #22d3ee;
  border-radius: 25px;
  padding: 10px 20px;
  color: #22d3ee;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 9998;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Satoshi", sans-serif;
}

.cookie-settings-btn:hover {
  background: #22d3ee;
  color: #08070e;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(34, 211, 238, 0.3);
}

.cookie-settings-btn.hidden {
  display: none !important;
}

/* Scrollbar Styling for Modal */
.cookie-modal-content::-webkit-scrollbar {
  width: 8px;
}

.cookie-modal-content::-webkit-scrollbar-track {
  background: rgba(135, 134, 140, 0.1);
  border-radius: 4px;
}

.cookie-modal-content::-webkit-scrollbar-thumb {
  background: #7c3aed;
  border-radius: 4px;
}

.cookie-modal-content::-webkit-scrollbar-thumb:hover {
  background: #22d3ee;
}

/* Responsive Design */
@media (max-width: 768px) {
  .cookie-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
    max-width: none;
  }

  .cookie-actions {
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
    min-width: auto;
  }

  .cookie-modal-content {
    max-width: calc(100vw - 40px);
    margin: 20px;
  }

  .cookie-modal-header {
    padding: 24px 24px 20px;
  }

  .cookie-modal-body {
    padding: 24px;
  }

  .cookie-modal-footer {
    padding: 20px 24px 24px;
    flex-direction: column;
  }

  .cookie-modal-footer .cookie-btn {
    width: 100%;
  }

  .cookie-category {
    padding: 16px;
  }

  .cookie-category-header {
    flex-direction: column;
    gap: 16px;
  }

  .cookie-toggle {
    align-self: flex-start;
  }
}/* Custom CSS for Portfolio Website - Dark Theme */

/* Font Definitions */
.font-figtree {
  font-family: "Space Grotesk", sans-serif;
}

.font-geist {
  font-family: "Satoshi", sans-serif;
}

/* Global Dark Theme Base */
body {
  background-color: #08070e !important;
  color: #f8fafc !important;
}

/* Gradient text utility */
.gradient-text {
  background: linear-gradient(135deg, #a78bfa 0%, #22d3ee 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Dark theme text overrides */
.text-gray-900, .text-gray-800 { color: #f1f5f9 !important; }
.text-gray-700, .text-gray-600 { color: #cbd5e1 !important; }
.text-gray-500, .text-gray-400 { color: #94a3b8 !important; }
.text-gray-300 { color: #64748b !important; }
.border-gray-200 { border-color: rgba(124, 58, 237, 0.15) !important; }
.border-t { border-color: rgba(124, 58, 237, 0.15) !important; }
.border-gray-600 { border-color: rgba(124, 58, 237, 0.2) !important; }

/* Glassmorphism Base - Dark Version */
.glass-card {
  background: rgba(17, 15, 26, 0.8);
  border: 1px solid rgba(124, 58, 237, 0.2);
  box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255,255,255,0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.glass-nav {
  background: rgba(8, 7, 14, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  height: 72px;
}

.glass-button {
  background: rgba(8, 7, 14, 0.8);
  border: 2px solid transparent;
  background-image: linear-gradient(#08070e, #08070e),
    linear-gradient(45deg, #22d3ee, #7c3aed);
  background-origin: border-box;
  background-clip: content-box, border-box;
  transition: all 0.3s ease;
  color: #f8fafc;
  font-weight: 600;
  position: relative;
  overflow: hidden;
}

.glass-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: left 0.5s ease;
}

.glass-button:hover::before {
  left: 100%;
}

.glass-button:hover {
  background: linear-gradient(45deg, #22d3ee, #7c3aed);
  color: #08070e;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(34, 211, 238, 0.3);
}

.glass-icon {
  background: #110f1a;
  border: 2px solid #94a3b8;
  padding: 12px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: #22d3ee;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.glass-icon:hover {
  transform: scale(1.1);
  background: #22d3ee;
  color: #08070e;
  box-shadow: 0 8px 25px rgba(34, 211, 238, 0.3), 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Navigation Styles */
.glass-nav {
  background: rgba(8, 7, 14, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  height: 72px;
}

/* Status Bar - Glass Effect */
.status-bar {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  z-index: 40;
  background: rgba(8, 7, 14, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(135, 134, 140, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.status-bar .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.status-bar.hidden {
  transform: translateY(-100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.status-item {
  color: #94a3b8;
  font-size: 0.875rem;
}

.status-item strong {
  color: #22d3ee;
  font-weight: 600;
  position: relative;
  background: #22d3ee;
  background-size: 200% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: glow-sweep 3s ease-in-out infinite;
  animation-delay: 2s;
}

@keyframes glow-sweep {
  0% {
    background-position: -100% 0;
  }
  50% {
    background-position: 100% 0;
  }
  100% {
    background-position: 100% 0;
  }
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  animation: pulse 2s infinite;
}

.status-indicator.available {
  background: #22d3ee;
  box-shadow: 0 0 0 2px rgba(34, 211, 238, 0.3);
}

.status-indicator.busy {
  background: #ef4444;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.4);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(34, 211, 238, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 211, 238, 0);
  }
}

/* Language Switcher Toggle */
.lang-switcher {
  background: rgba(8, 7, 14, 0.9);
  border: 2px solid #94a3b8;
  border-radius: 25px;
  padding: 4px;
  width: 80px;
  height: 40px;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
}

.lang-switcher:hover {
  border-color: #22d3ee;
  box-shadow: 0 4px 15px rgba(34, 211, 238, 0.2);
}

.lang-switcher::before {
  content: "";
  position: absolute;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #22d3ee, #7c3aed);
  border-radius: 50%;
  top: 2px;
  left: 2px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(34, 211, 238, 0.3);
  z-index: 1;
}

.lang-switcher.english::before {
  transform: translateX(38px);
}

.lang-text {
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
  transition: all 0.3s ease;
  z-index: 2;
  position: relative;
  width: 24px;
  text-align: center;
}

.lang-text.active {
  color: #f8fafc;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.lang-hu {
  margin-left: 2px;
}

.lang-en {
  margin-right: 2px;
}

/* Navigation Styles */
.nav-link {
  color: #94a3b8;
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 2px;
  font-family: "Satoshi", sans-serif;
  font-weight: 500;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(45deg, #22d3ee, #7c3aed);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: #f8fafc;
}

.nav-link:hover::after {
  width: 100%;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

/* Mobile Menu */
.mobile-menu {
  background: rgba(8, 7, 14, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.5);
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-nav-link {
  color: #94a3b8;
  font-size: 1.25rem;
  font-family: "Satoshi", sans-serif;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 12px 16px;
  border-radius: 12px;
  display: block;
}

.mobile-nav-link:hover {
  background: rgba(34, 211, 238, 0.1);
  color: #f8fafc;
  transform: translateX(8px);
}

/* Hamburger Menu Animation */
.hamburger {
  width: 30px;
  height: 24px;
  position: relative;
  cursor: pointer;
}

.hamburger span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: #22d3ee;
  border-radius: 3px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: all 0.3s ease;
}

.hamburger span:nth-child(1) {
  top: 0px;
}

.hamburger span:nth-child(2) {
  top: 10px;
}

.hamburger span:nth-child(3) {
  top: 20px;
}

.menu-toggle.active .hamburger span:nth-child(1) {
  top: 10px;
  transform: rotate(135deg);
}

.menu-toggle.active .hamburger span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

.menu-toggle.active .hamburger span:nth-child(3) {
  top: 10px;
  transform: rotate(-135deg);
}

/* Hero Section */
.hero-content {
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  background: linear-gradient(45deg, #22d3ee, #7c3aed);
  background-size: 200% 200%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  animation: shimmer 3s ease-in-out infinite;
}

/* MODIFICATION 3: Hero description white color */
.hero-content p {
  color: #f8fafc !important;
}

/* Shimmer effect for hero title */
@keyframes shimmer {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* MODIFICATION 4: Updated Section dividers with 50% width and centered purple gradient blur */
section:not(:last-child)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 1px;
  background: #94a3b8;
  opacity: 0.3;
}

section:not(:last-child)::before {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background: radial-gradient(
    circle,
    rgba(124, 58, 237, 0.6) 0%,
    transparent 70%
  );
  border-radius: 50%;
  filter: blur(8px);
  z-index: 1;
}

section {
  position: relative;
}

/* Section Titles with Neon Dots */
.section-title {
  position: relative;
}

.section-title::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -15px;
  width: 25px;
  height: 25px;
  background: #22d3ee;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.6), 0 0 40px rgba(34, 211, 238, 0.4);
  animation: neon-pulse 2s ease-in-out infinite;
  z-index: -1;
}

@keyframes neon-pulse {
  0%,
  100% {
    opacity: 0.8;
    transform: scale(1);
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.6),
      0 0 40px rgba(34, 211, 238, 0.4);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(34, 211, 238, 0.8),
      0 0 60px rgba(34, 211, 238, 0.6);
  }
}

/* CTA Buttons */
.cta-button {
  padding: 14px 32px;
  border-radius: 50px;
  font-family: "Satoshi", sans-serif;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  background: linear-gradient(45deg, #22d3ee, #7c3aed);
  border: none;
  color: #f8fafc;
}

.cta-button span {
  color: #f8fafc;
}

.cta-button i {
  color: #f8fafc;
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.cta-button:hover::before {
  left: 100%;
}

/* MODIFICATION 1
/* ============================================
   BENTO GRID - About Section
   ============================================ */

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-areas:
    "profile bio     bio"
    "stat1   stat2   available"
    "tech    tech    cta";
  gap: 1rem;
  max-width: 960px;
  margin: 0 auto;
}

.bento-profile  { grid-area: profile; }
.bento-bio      { grid-area: bio; }
.bento-stat-1   { grid-area: stat1; }
.bento-stat-2   { grid-area: stat2; }
.bento-available{ grid-area: available; }
.bento-tech     { grid-area: tech; }
.bento-cta      { grid-area: cta; }

.bento-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.bento-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(124, 58, 237, 0.18), 0 4px 16px rgba(0,0,0,0.5);
}

.bento-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(124, 58, 237, 0.12);
  color: #a78bfa;
  border: 1px solid rgba(124, 58, 237, 0.25);
}

.bento-tech-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-mini {
  width: 42px;
  height: 42px;
  padding: 9px;
  background: rgba(17, 15, 26, 0.9);
  border: 1px solid rgba(124, 58, 237, 0.18);
  border-radius: 10px;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
  cursor: default;
  position: relative;
}
.tech-mini img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.tech-mini:hover {
  border-color: rgba(34, 211, 238, 0.5);
  background: rgba(34, 211, 238, 0.06);
  transform: scale(1.08);
}

/* Tablet */
@media (max-width: 768px) {
  .bento-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "profile profile"
      "bio     bio"
      "stat1   stat2"
      "available available"
      "tech    tech"
      "cta     cta";
  }

  .bento-profile {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.25rem;
  }

  .bento-profile img {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    margin-bottom: 0;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .bento-profile {
    flex-direction: column;
    align-items: flex-start;
  }

  .bento-profile img {
    width: 64px;
    height: 64px;
    margin-bottom: 0.75rem;
  }

  .bento-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "profile  profile"
      "bio      bio"
      "stat1    stat2"
      "available available"
      "tech     tech"
      "cta      cta";
    gap: 0.75rem;
  }
}

/* iPhone 5 / tiny screens */
@media (max-width: 360px) {
  .bento-grid {
    gap: 0.5rem;
  }

  .bento-card.glass-card {
    padding: 1rem !important;
  }

  .bento-stat-1 .font-figtree,
  .bento-stat-2 .font-figtree {
    font-size: 2.25rem !important;
  }

  .tech-mini {
    width: 34px;
    height: 34px;
    padding: 7px;
    border-radius: 8px;
  }

  .bento-tech-icons {
    gap: 0.375rem;
  }
}

/* ============================================
   GRAIN TEXTURE + AMBIENT GLOW + GLASSMORPHISM
   ============================================ */

/* Ambient glow orbok – fixen a háttérben */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 65% 55% at 15% 25%, rgba(124, 58, 237, 0.09) 0%, transparent 70%),
    radial-gradient(ellipse 55% 45% at 85% 75%, rgba(34, 211, 238, 0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 35% at 60% 10%, rgba(124, 58, 237, 0.05) 0%, transparent 65%);
}

/* Grain/noise textúra overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9997;
  opacity: 0.038;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='256' height='256' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* Finomított glass card */
.glass-card {
  background: rgba(17, 15, 26, 0.72) !important;
  border: 1px solid rgba(124, 58, 237, 0.16) !important;
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 -1px 0 rgba(0, 0, 0, 0.25) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
}

/* Grain a kártyákon is – nagyon finom */
.glass-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
  opacity: 0.025;
  pointer-events: none;
  z-index: 0;
}

.glass-card > * {
  position: relative;
  z-index: 1;
}

/* ============================================
   MIKRO-ANIMÁCIÓK & SCROLL REVEAL
   ============================================ */

/* Scroll reveal alap */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Stagger delays */
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }
.reveal-d5 { transition-delay: 0.40s; }
.reveal-d6 { transition-delay: 0.48s; }

/* Nav link animált aláhúzás */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: linear-gradient(90deg, #7c3aed, #22d3ee);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 999px;
}

.nav-link:hover::after {
  width: 100%;
}

/* prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
