@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-color: #050505;
  --bg-light: #111111;
  --text-color: #e0e0e0;
  --text-muted: #a0a0a0;
  --accent-color: #0ea5e9; /* Teal/Blue */
  --accent-glow: #38bdf8;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-hover: rgba(255, 255, 255, 0.08);
  --success: #10b981;
  --warning: #f59e0b;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  overflow-x: hidden;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  color: #fff;
  line-height: 1.3;
}

/* Background Gradients */
.bg-gradients {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.3;
  animation: float 20s infinite alternate;
}

.orb-1 {
  width: 50vw;
  height: 50vw;
  background: var(--accent-color);
  top: -10%;
  left: -10%;
}

.orb-2 {
  width: 40vw;
  height: 40vw;
  background: var(--accent-glow);
  bottom: -10%;
  right: -10%;
  animation-delay: -5s;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(10%, 15%) scale(1.1); }
  100% { transform: translate(-5%, 5%) scale(0.9); }
}

/* Common Section Pads */
.section-pad {
  padding: 100px 5vw;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 60px;
  background: linear-gradient(to right, #fff, #a1a1a1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Navbar */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  background: rgba(5, 5, 5, 0.8);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--glass-border);
}

.logo {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo:hover .nav-logo {
  transform: scale(1.5);
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--accent-glow);
}

/* Language Dropdown */
.lang-dropdown {
  position: relative;
  display: inline-block;
  margin-left: 15px;
  padding-left: 15px;
  border-left: 1px solid var(--glass-border);
}

.lang-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 15px;
}

.lang-dropbtn {
  background: transparent;
  color: #fff;
  border: 1px solid var(--glass-border);
  padding: 6px 12px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s;
}

.lang-dropbtn:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.3);
}

.lang-dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 5px);
  background-color: var(--glass-bg);
  min-width: 100px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.5);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  overflow: hidden;
  z-index: 101;
  backdrop-filter: blur(10px);
}

.lang-dropdown-content a {
  color: var(--text-muted);
  padding: 10px 16px;
  text-decoration: none;
  display: block;
  font-weight: 500;
  font-size: 0.9rem;
  text-align: center;
  transition: background 0.2s, color 0.2s;
}

.lang-dropdown-content a:hover {
  background-color: rgba(14, 165, 233, 0.1);
  color: #fff;
}

.lang-dropdown:hover .lang-dropdown-content {
  display: block;
}

/* Hide Google Translate UI */
body { top: 0 !important; }
.skiptranslate iframe,
.goog-te-banner-frame,
#goog-gt-tt,
.goog-tooltip {
  display: none !important;
}
.goog-text-highlight {
  background-color: transparent !important;
  border: none !important; 
  box-shadow: none !important;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 5vw;
  padding-top: 80px; /* For navbar */
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero h1 {
  font-size: 4.5rem;
  font-weight: 800;
  margin-bottom: 25px;
  letter-spacing: -1px;
}

.hero h1 span {
  display: block;
}

.hero h1 span:last-child {
  background: linear-gradient(to right, var(--accent-color), var(--accent-glow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 650px;
  margin-bottom: 40px;
  line-height: 1.6;
}

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

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 35px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  background: var(--accent-color);
  border: 1px solid var(--accent-glow);
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

.cta-btn:hover {
  background: var(--accent-glow);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(14, 165, 233, 0.5);
}

.cta-btn.secondary {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: none;
}

.cta-btn.secondary:hover {
  background: var(--glass-hover);
  border-color: rgba(255,255,255,0.2);
}

.hero-video-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  z-index: 1;
  mask-image: linear-gradient(to right, transparent, black 40%);
  -webkit-mask-image: linear-gradient(to right, transparent, black 40%);
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(5,5,5,0) 0%, rgba(5,5,5,1) 100%);
}

/* Case Studies */
.case-study-card {
  display: flex;
  gap: 60px;
  margin-bottom: 100px;
  align-items: center;
}

.case-study-card.reverse {
  flex-direction: row-reverse;
}

.cs-content {
  flex: 1;
}

.cs-tag {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(14, 165, 233, 0.1);
  color: var(--accent-glow);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.cs-content h3 {
  font-size: 2.5rem;
  margin-bottom: 30px;
}

.cs-blocks {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.cs-block {
  background-color: var(--bg-color);
  background-image: linear-gradient(rgba(255,255,255,0.03), rgba(255,255,255,0.03));
  padding: 20px;
  border-radius: 8px;
  border-left: 3px solid rgba(255,255,255,0.1);
  transition: all 0.3s;
}

.cs-block:hover {
  background: rgba(255,255,255,0.05);
  border-left-color: var(--accent-glow);
  transform: translateX(5px);
}

.cs-block h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cs-icon {
  width: 20px;
  height: 20px;
  color: var(--accent-glow);
  transition: all 0.3s;
}

.cs-block:hover .cs-icon {
  transform: scale(1.15) rotate(5deg);
  color: #fff;
}

.cs-block.highlight {
  border-color: rgba(16, 185, 129, 0.3); /* Greenish highlight for result */
  background: rgba(16, 185, 129, 0.05);
}

.cs-block h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cs-block p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.cs-tech {
  font-family: monospace;
  color: #888;
  margin-bottom: 20px;
}

.cs-link {
  color: var(--accent-glow);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: gap 0.3s;
}

.cs-link:hover {
  gap: 15px;
}

.cs-image-wrapper {
  flex: 1;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.cs-main-img {
  width: 100%;
  display: block;
  transition: transform 0.5s;
  cursor: zoom-in;
}

.cs-image-wrapper:hover .cs-main-img {
  transform: scale(1.03);
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background-color: var(--bg-color);
  background-image: linear-gradient(var(--glass-bg), var(--glass-bg));
  border: 1px solid var(--glass-border);
  padding: 40px 30px;
  border-radius: 16px;
  transition: transform 0.3s, background 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
  background: var(--glass-hover);
  border-color: rgba(255,255,255,0.15);
}

.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  color: var(--accent-glow);
  background: rgba(14, 165, 233, 0.1);
  border-radius: 12px;
  padding: 10px;
  transition: transform 0.4s ease, color 0.3s ease, background 0.3s ease;
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-card:hover .service-icon {
  transform: scale(1.15) rotate(-5deg);
  color: #fff;
  background: var(--accent-color);
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Process Timeline */
.timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 24px;
  width: 2px;
  background: var(--glass-border);
}

.timeline-step {
  position: relative;
  display: flex;
  margin-bottom: 50px;
  align-items: flex-start;
}

.timeline-step:last-child {
  margin-bottom: 0;
}

.step-num {
  width: 50px;
  height: 50px;
  background: var(--bg-color);
  border: 2px solid var(--accent-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--accent-glow);
  z-index: 2;
  flex-shrink: 0;
}

.step-content {
  margin-left: 30px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 25px;
  border-radius: 12px;
  flex: 1;
}

.step-content h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.step-content p {
  color: var(--text-muted);
}

/* About Me */
.about-container {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  max-width: 1000px;
  margin: 0 auto;
}

.about-video {
  flex: 0 0 180px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.about-video video {
  width: 100%;
  display: block;
  object-fit: cover;
}

.about-content {
  flex: 1;
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 25px;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.about-specializations {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 25px;
}

.spec-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  transition: transform 0.3s, background 0.3s, border-color 0.3s;
}

.spec-item:hover {
  transform: translateX(5px);
  background: var(--glass-hover);
  border-color: rgba(255,255,255,0.15);
}

.spec-item svg {
  flex-shrink: 0;
  color: var(--accent-glow);
  margin-top: 2px;
}

.spec-item strong {
  display: block;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 4px;
}

.spec-item span {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.about-tech {
  margin-top: 30px;
  padding: 15px;
  background: var(--glass-bg);
  border-radius: 8px;
  border-left: 4px solid var(--accent-color);
  color: var(--text-color);
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  background: var(--glass-bg);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
}

.faq-icon {
  font-size: 1.5rem;
  transition: transform 0.3s;
  color: var(--accent-glow);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  opacity: 0;
}

.faq-item.active .faq-answer {
  opacity: 1;
}

.faq-answer p {
  padding: 0 20px 20px 20px;
  color: var(--text-muted);
}

/* Contact Footer */
.contact-box {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 60px 40px;
  border-radius: 24px;
}

.contact-box h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.contact-box p {
  color: var(--text-muted);
  margin-bottom: 40px;
  font-size: 1.1rem;
}

.contact-methods {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
}

.contact-item svg {
  color: var(--accent-glow);
}

.copyright {
  margin-top: 60px !important;
  font-size: 0.9rem !important;
  opacity: 0.5;
}

/* Rest of the gallery styles (Carousel, Modals) */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  transition: transform 0.4s, background 0.4s;
  opacity: 0;
  transform: translateY(30px);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  background: var(--glass-hover);
  border-color: rgba(255, 255, 255, 0.2);
}

.carousel {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-bottom: 1px solid var(--glass-border);
}

.carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.4s ease-in-out;
}

.carousel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  flex-shrink: 0;
  cursor: zoom-in;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.3s, background 0.3s;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel:hover .carousel-btn { opacity: 1; }
.carousel-btn:hover { background: var(--accent-glow); }
.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }

.carousel-dots {
  position: absolute;
  bottom: 10px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 5px;
  z-index: 10;
}

.dot {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  cursor: pointer;
}

.dot.active { background: var(--accent-glow); }

.card-content {
  padding: 15px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 1rem;
  margin-bottom: 10px;
}

.card-link {
  color: var(--accent-glow);
  text-decoration: none;
  font-size: 0.85rem;
  margin-top: auto;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.modal.show {
  display: flex;
  opacity: 1;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1010;
  transition: transform 0.3s ease, color 0.3s ease;
}

.modal-close:hover {
  color: var(--accent-glow);
  transform: rotate(90deg) scale(1.1);
}

.modal-content-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 90%;
  max-height: 90%;
}

/* Links Modal specific styles */
.links-modal-content {
  background: var(--bg-light);
  border-radius: 12px;
  padding: 40px;
  max-width: 600px;
  width: 90%;
  margin: 5vh auto;
  overflow-y: auto;
  max-height: 80vh;
  border: 1px solid var(--glass-border);
  text-align: left;
  position: relative;
  z-index: 1001;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.links-modal-content::-webkit-scrollbar {
  width: 8px;
}

.links-modal-content::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.05);
  border-radius: 4px;
}

.links-modal-content::-webkit-scrollbar-thumb {
  background: var(--glass-border);
  border-radius: 4px;
}

.links-modal-content h2 {
  margin-bottom: 25px;
  color: #fff;
  font-size: 1.5rem;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 15px;
}

.links-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
}

.links-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.02);
  border-radius: 8px;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.links-list li:hover {
  background: rgba(14, 165, 233, 0.08);
  border-color: rgba(14, 165, 233, 0.2);
  transform: translateX(5px);
}

.links-list li svg {
  color: var(--accent-glow);
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.links-list a {
  color: #ddd;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s;
  word-break: break-all;
}

.links-list li:hover a {
  color: #fff;
}

.modal-content {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 10px;
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-btn {
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  font-size: 30px;
  padding: 10px 20px;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 10px;
  z-index: 10;
}

.modal-btn.prev { left: -60px; }
.modal-btn.next { right: -60px; }

/* Responsive Adjustments */

/* Hamburger Button */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 992px) {
  .hero h1 { font-size: 3.5rem; }
  .case-study-card, .case-study-card.reverse { flex-direction: column; gap: 30px; }
  .about-container { flex-direction: column; }
  .hero-video-wrapper { opacity: 0.3; width: 100%; mask-image: none; -webkit-mask-image: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (max-width: 768px) {
  /* Hide custom cursor on touch devices */
  .cursor-dot, .cursor-glow { display: none !important; }

  /* Hamburger visible */
  .hamburger { display: flex; }

  /* Nav links become fullscreen overlay */
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(5, 5, 5, 0.97);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* Zmenené z center, aby menu nebolo urezané v strede */
    padding-top: 120px; /* Posunuté odvrchu */
    gap: 20px; /* Zmenšené medzery pre lepšie zapadnutie na menšie obrazovky */
    z-index: 1000;
    backdrop-filter: blur(20px);
    overflow-y: auto; /* Ak by bolo menu dlhšie, umožníme skrolovanie */
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    font-size: 1.3rem;
    padding: 10px 20px;
  }

  .lang-dropdown {
    margin-left: 0 !important;
    border-left: none; /* Zrušenie bočnej čiary v mobile */
    margin-top: 20px;
  }

  /* Mobilné prepínanie jazykov vedľa seba */
  .lang-dropbtn {
    display: none; /* Skrytie tlačidla na rozbalenie */
  }

  .lang-dropdown-content {
    display: flex !important; /* Vždy zobrazené ako riadok na mobile */
    position: relative;
    top: 0;
    flex-direction: row;
    gap: 20px;
    background: transparent;
    border: none;
    box-shadow: none;
    justify-content: center;
    padding: 0;
    min-width: auto;
  }

  .lang-dropdown-content a {
    padding: 0;
    font-size: 1.1rem;
    position: relative;
  }

  /* Oddeľovníky medzi jazykmi na mobile */
  .lang-dropdown-content a:not(:last-child)::after {
    content: "|";
    position: absolute;
    right: -13px; /* Pozícia oddeľovníka */
    color: rgba(255, 255, 255, 0.3);
  }

  /* Nav bar */
  nav {
    padding: 15px 20px !important;
  }

  /* Hero */
  .hero { padding: 0 20px; padding-top: 80px; min-height: auto; padding-bottom: 60px; }
  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1rem; }
  .hero-content { max-width: 100%; }

  /* Section padding */
  .section-pad { padding: 60px 20px; }
  .section-title { font-size: 1.8rem; margin-bottom: 30px; }

  /* Services - single column */
  .services-grid { grid-template-columns: 1fr; gap: 15px; }
  .service-card { padding: 25px 20px; }

  /* Case Studies */
  .cs-content h3 { font-size: 1.8rem; margin-bottom: 20px; }

  /* About */
  .about-video { max-width: 250px; margin: 0 auto 30px; }
  .about-content h2 { font-size: 1.8rem; }

  /* Process timeline */
  .timeline::before { left: 15px; }
  .step-num { width: 30px; height: 30px; font-size: 0.9rem; }
  .step-content { margin-left: 15px; padding: 15px; }

  /* Portfolio grid */
  .portfolio-grid { grid-template-columns: 1fr !important; }

  /* FAQ */
  .faq-question { font-size: 1rem; padding: 15px; }
  .faq-answer { padding: 0 15px 15px; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr !important; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr !important; text-align: center; }

  /* Modal */
  .modal-btn.prev { left: 10px; font-size: 20px; padding: 8px 12px; }
  .modal-btn.next { right: 10px; font-size: 20px; padding: 8px 12px; }

  /* Google Translate hidden override */
  #google_translate_element { display: none !important; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .cs-content h3 { font-size: 1.5rem; }
  .about-content h2 { font-size: 1.5rem; }
}

/* 3D Background & Matrix Streams z hlavnej stranky */
#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -3;
    background: radial-gradient(circle at center, #050505 0%, #000000 100%);
    pointer-events: none;
}

#bg-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    pointer-events: none;
    overflow: hidden;
}

.matrix-stream {
    position: absolute;
    color: rgba(14, 165, 233, 0.6);
    font-family: 'Courier New', monospace;
    font-weight: 700;
    user-select: none;
    pointer-events: none;
    white-space: nowrap;
    line-height: 1.2;
    text-shadow: 0 0 8px rgba(14, 165, 233, 0.3);
    animation: matrixFall linear infinite;
    z-index: 1;
}

@keyframes matrixFall {
    0% { top: -100vh; }
    100% { top: 150vh; }
}

#matrix-canvas {
    display: none !important;
}
