@charset "utf-8";
/*
Rework inspired by Tooplate 2150 Living Parallax
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --slide-transition-duration: 700ms;
  --bg: #050607;
  --text: #f6f7f7;
  --muted: rgba(255, 255, 255, 0.72);
  --accent: #5bbfb4;
  --accent-strong: #78d9ce;
}

body {
  font-family: "Poppins", sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

button,
input,
textarea {
  font-family: inherit;
}

img,
video,
canvas,
svg {
  max-width: 100%;
  height: auto;
}

/* UI Toggle Button */
.ui-toggle-btn {
  position: fixed;
  bottom: 60px;
  right: 30px;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10001;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.ui-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

.ui-toggle-btn svg {
  width: 18px;
  height: 18px;
  stroke: #fff;
  stroke-width: 2;
  fill: none;
  transition: all 0.3s ease;
}

.ui-toggle-btn.ui-hidden {
  animation: pulse 2s infinite;
}

.ui-toggle-btn.ui-hidden svg {
  opacity: 0.6;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 2px 15px rgba(120, 217, 206, 0.25);
  }
}

/* Hideable UI */
.ui-element {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.ui-element.hidden {
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.12);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(3px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  user-select: none;
}

.logo-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-title {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.logo-tagline {
  font-size: 0.85rem;
  color: var(--muted);
}

nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  color: #fff;
  background: transparent;
  border: none;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  padding: 8px 14px;
  border-radius: 10px;
  letter-spacing: 0.5px;
  position: relative;
  transition: all 0.3s ease;
}

.nav-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  transform: scale(0);
  transition: transform 0.3s ease;
  z-index: -1;
}

.nav-link:hover::before {
  transform: scale(1);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(120, 217, 206, 0.65);
  background: rgba(120, 217, 206, 0.2);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
}

.nav-cta:hover {
  background: rgba(120, 217, 206, 0.35);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(91, 191, 180, 0.35);
}

.fullscreen-btn {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.fullscreen-btn svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
  stroke-width: 2;
  fill: none;
}

.fullscreen-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.35);
  transform: scale(1.05);
}

.fullscreen-btn.active {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: #fff;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Slider */
.slider-wrapper {
  position: relative;
  width: 100vw;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  perspective: 1000px;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--slide-transition-duration) ease-in-out;
  transform-style: preserve-3d;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide.prev {
  opacity: 0.5;
  z-index: 1;
}

.parallax-layer {
  position: absolute;
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.background-layer img {
  width: 104%;
  height: 104%;
  object-fit: cover;
  position: absolute;
  top: -2%;
  left: -2%;
  filter: brightness(0.72);
  backface-visibility: hidden;
}

.image-info {
  position: absolute;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 92%;
  max-width: 880px;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  padding: 24px 36px;
  border-radius: 16px;
  opacity: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  animation: fadeInUp 1s ease-out 0.3s forwards;
}

.slide.active .image-info {
  animation: fadeInUp 1s ease-out 0.3s forwards;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translate(-50%, 20px);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.image-info h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.image-info p {
  font-size: 1rem;
  font-weight: 400;
  opacity: 0.9;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

/* Decorative Shapes */
.parallax-shape {
  position: fixed;
  background: rgba(91, 191, 180, 0.14);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  z-index: 500;
  pointer-events: auto;
}

.parallax-shape:hover {
  background: rgba(120, 217, 206, 0.2);
  transform: scale(1.08) !important;
}

.shape-1 {
  width: 46px;
  height: 46px;
  top: 16%;
  left: 10%;
}

.shape-2 {
  width: 46px;
  height: 46px;
  bottom: 25%;
  right: 12%;
}

.shape-3 {
  width: 46px;
  height: 46px;
  top: 28%;
  right: 22%;
}

.shape-4 {
  width: 46px;
  height: 46px;
  bottom: 18%;
  left: 26%;
}

.shape-5 {
  width: 46px;
  height: 46px;
  top: 62%;
  left: 44%;
}

.shape-6 {
  width: 46px;
  height: 46px;
  top: 14%;
  right: 46%;
}

/* Navigation */
.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 20;
}

.nav-arrow:hover {
  background: rgba(0, 0, 0, 0.6);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-50%) scale(1.05);
}

.nav-arrow.prev {
  left: 24px;
}

.nav-arrow.next {
  right: 24px;
}

.dots-container {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 20;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.dot.active {
  background: var(--accent-strong);
  transform: scale(1.2);
}

/* Play/Pause */
.play-pause-btn {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  transition: all 0.3s ease;
}

.play-pause-btn svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

.play-pause-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

/* Progress Bar */
.progress-bar-container {
  position: fixed;
  bottom: 75px;
  left: 100px;
  width: 160px;
  height: 3px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 3px;
  overflow: hidden;
  z-index: 100;
}

.progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
}

/* Duration Controls */
.duration-controls {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 6px 10px;
  z-index: 100;
}

.duration-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  cursor: pointer;
}

.duration-display {
  font-size: 0.9rem;
  color: #fff;
  min-width: 36px;
  text-align: center;
}

.duration-display span {
  font-size: 0.7rem;
  opacity: 0.7;
  margin-left: 2px;
}

/* Overlay */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 5000;
}

.overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.overlay-content {
  position: relative;
  width: min(1000px, 92vw);
  max-height: 85vh;
  max-height: 85svh;
  overflow-y: auto;
  background: rgba(12, 14, 16, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.overlay-content h2 {
  font-size: 2rem;
  margin-bottom: 12px;
  position: relative;
}

.overlay-content h2::after {
  content: "";
  display: block;
  width: 90px;
  height: 3px;
  margin-top: 10px;
  background: var(--accent);
  border-radius: 999px;
}

.overlay-content p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 14px;
}

.overlay-content a {
  color: var(--accent-strong);
  text-decoration: none;
}

.overlay-content a:hover {
  color: #fff;
}

.overlay-content::-webkit-scrollbar {
  width: 8px;
}

.overlay-content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
}

.close-btn,
.lightbox-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  z-index: 2;
}

.close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  cursor: pointer;
  font-size: 1.1rem;
}

/* Cards */
.card-grid,
.stat-grid {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.stat-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.card-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.info-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px;
}

.info-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.info-card p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

#servicesOverlay .info-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
}

#servicesOverlay .service-icon {
  width: 34px;
  height: 34px;
  color: var(--accent-strong);
}

#servicesOverlay .service-icon * {
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#servicesOverlay .info-card p {
  display: none;
}

#servicesOverlay .info-card h3 {
  margin-bottom: 0;
}

.overlay-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.overlay-gallery img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  height: 180px;
  object-fit: cover;
}

/* Projects Grid */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.project-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  text-align: left;
  padding: 0;
  color: #fff;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.project-card:hover {
  transform: translateY(-2px);
  border-color: rgba(120, 217, 206, 0.4);
}

.project-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

.project-body {
  padding: 14px;
}

.project-body h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.project-body p {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 18px;
  margin-top: 20px;
  align-items: center;
}

.client-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #fff;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.client-card:hover {
  transform: translateY(-2px);
  border-color: rgba(120, 217, 206, 0.4);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.35);
}

.client-logo {
  width: 100%;
  max-width: 200px;
  max-height: 90px;
  object-fit: contain;
}

/* Project Lightbox */
.project-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 6000;
}

.project-lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
}

.lightbox-nav.prev {
  left: 20px;
}

.lightbox-nav.next {
  right: 20px;
}

.lightbox-dots {
  position: absolute;
  bottom: 24px;
  display: flex;
  gap: 8px;
}

.lightbox-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
}

.lightbox-dot.active {
  background: var(--accent-strong);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1.1fr);
  gap: 24px;
  margin-top: 20px;
}

.contact-item {
  margin-bottom: 16px;
  color: var(--muted);
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  margin-right: 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.contact-nowrap {
  white-space: nowrap;
}

.contact-actions {
  margin-top: 20px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(91, 191, 180, 0.2);
  border: 1px solid rgba(91, 191, 180, 0.45);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.cta-btn.whatsapp {
  background: rgba(34, 197, 94, 0.18);
  border-color: rgba(34, 197, 94, 0.35);
}

.contact-note {
  display: block;
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form label {
  font-size: 0.85rem;
  color: #fff;
  letter-spacing: 0.04em;
}

.contact-form input,
.contact-form textarea {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 12px;
  color: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(120, 217, 206, 0.6);
}

.submit-btn {
  border: none;
  border-radius: 12px;
  padding: 12px 16px;
  background: linear-gradient(135deg, rgba(91, 191, 180, 0.8), rgba(120, 217, 206, 0.9));
  color: #0b1212;
  font-weight: 700;
  cursor: pointer;
}

/* Footer */
footer {
  position: fixed;
  bottom: 18px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Responsive */
@media (max-width: 980px) {
  nav {
    gap: 16px;
  }

  .logo-title {
    font-size: 1rem;
  }

  .image-info {
    padding: 20px 28px;
  }
}

@media (max-width: 820px) {
  header {
    padding: 16px 20px;
  }

  nav {
    position: fixed;
    top: 70px;
    right: 20px;
    background: rgba(12, 14, 16, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    flex-direction: column;
    padding: 16px;
    gap: 10px;
    width: min(320px, 92vw);
    align-items: stretch;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all 0.3s ease;
  }

  nav.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-cta {
    width: 100%;
    justify-content: center;
  }

  .nav-link {
    width: 100%;
    text-align: center;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .logo-tagline {
    display: none;
  }

  .image-info h2 {
    font-size: 1.6rem;
  }

  .image-info p {
    font-size: 0.95rem;
  }

  .background-layer img {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .project-card img {
    height: 120px;
  }
  .logo-img {
    width: 52px;
    height: 52px;
  }

  .logo-title {
    font-size: 1rem;
  }

  .image-info {
    bottom: 50px;
    padding: 16px 20px;
  }

  .image-info h2 {
    font-size: 1.35rem;
  }

  .image-info p {
    font-size: 0.9rem;
  }

  .nav-arrow {
    width: 44px;
    height: 44px;
  }

  .progress-bar-container {
    bottom: 60px;
    left: 74px;
    width: 110px;
  }

  .play-pause-btn {
    width: 44px;
    height: 44px;
    bottom: 20px;
    left: 16px;
  }

  .duration-controls {
    bottom: 20px;
    right: 16px;
    padding: 5px 8px;
  }

  .duration-btn {
    width: 24px;
    height: 24px;
  }

  .ui-toggle-btn {
    bottom: 100px;
    right: 16px;
  }

  .contact-nowrap {
    white-space: normal;
  }

  .overlay {
    align-items: flex-start;
    padding: 20px 0;
  }

  .overlay-content {
    max-height: calc(100vh - 40px);
    max-height: calc(100svh - 40px);
    padding: 20px;
  }

  footer {
    position: relative;
    margin-top: 24px;
  }
}
