/* ===== VARIABLES ===== */
:root {
  --bg: #0a0a0f;
  --surface: #14141c;
  --surface-hover: #1c1c26;
  --accent: #61A4FF;
  --accent-light: #a0cfff;
  --text: #ffffff;
  --text-muted: rgba(255,255,255,0.55);
  --text-dim: rgba(255,255,255,0.30);
  --border: rgba(255,255,255,0.06);
  --radius: 16px;
  --radius-sm: 12px;
  --font-display: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===== RESET ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ===== LAYOUT ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 760px; }
.center { text-align: center; }
.section { padding: 96px 0; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--bg);
}
.btn-primary:hover {
  background: #fff;
  box-shadow: 0 0 35px rgba(97,164,255,0.5);
  transform: translateY(-1px);
}
.btn-outline {
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ===== HEADER ===== */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: all 0.4s var(--ease);
}
#header.scrolled {
  padding: 12px 0;
  background: rgba(10,10,15,0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { height: 40px; width: auto; }
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-desktop a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  transition: color 0.3s;
  position: relative;
}
.nav-desktop a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}
.nav-desktop a:not(.btn):hover { color: var(--accent); }
.nav-desktop a:not(.btn):hover::after { width: 100%; }

/* ===== MOBILE MENU ===== */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.menu-toggle span {
  width: 24px; height: 2px;
  background: #fff;
  transition: all 0.3s var(--ease);
  border-radius: 2px;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px 24px;
  background: rgba(10,10,15,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: var(--border);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 12px 0;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
}
.nav-mobile a:hover { color: var(--accent); }
.nav-mobile .btn { margin-top: 12px; justify-content: center; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,15,0.8) 0%, rgba(10,10,15,0.4) 40%, rgba(10,10,15,1) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 0 20px;
}
.hero-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(97,164,255,0.3);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 24px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.accent-text {
  background: linear-gradient(to right, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.hero p {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  margin: 0 auto 40px;
}
.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.4);
  z-index: 2;
  animation: bounce 2s infinite;
  transition: color 0.3s;
}
.scroll-hint:hover { color: rgba(255,255,255,0.8); }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== SECTION HEADER ===== */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.section-sub {
  color: rgba(255,255,255,0.5);
  margin-top: 16px;
}

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.5s var(--ease);
}
.service-card:hover {
  border-color: rgba(97,164,255,0.3);
  transform: translateY(-6px);
}
.service-img {
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.service-card:hover .service-img img { transform: scale(1.1); }
.service-body { padding: 24px; }
.service-body h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
  transition: color 0.3s;
}
.service-card:hover .service-body h3 { color: var(--accent); }
.service-body p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

/* ===== ABOUT ===== */
.about { position: relative; }
.about::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top, rgba(97,164,255,0.06), transparent 60%);
  pointer-events: none;
}
.about > .container { position: relative; }
.about-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 24px;
  color: rgba(255,255,255,0.9);
}
.about-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
  text-align: center;
}
.about-strong { color: rgba(255,255,255,0.85) !important; }
.highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.highlight {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
}
.check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(97,164,255,0.15);
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 700;
  flex-shrink: 0;
}
.highlight span:last-child {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
}

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 3 / 4;
  cursor: pointer;
  padding: 0;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover::after { opacity: 1; }

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: var(--radius);
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 20px; right: 20px;
  color: rgba(255,255,255,0.7);
  transition: color 0.3s;
  padding: 8px;
}
.lightbox-close:hover { color: #fff; }

/* ===== CONTACT / FOOTER ===== */
.contact {
  position: relative;
  padding: 96px 0 40px;
  border-top: var(--border);
}
.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at bottom, rgba(97,164,255,0.08), transparent 60%);
  pointer-events: none;
}
.contact > .container { position: relative; }
.contact-desc {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 40px;
}
.contact-cta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  margin-bottom: 56px;
}
.contact-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 40px;
}
.contact-info a:hover { color: var(--accent); }
.contact-info .dot { color: rgba(255,255,255,0.2); }
.location { display: inline-flex; align-items: center; gap: 6px; }
.footer-bottom {
  padding-top: 32px;
  border-top: var(--border);
}
.footer-logo {
  height: 36px;
  margin: 0 auto 16px;
  opacity: 0.8;
}
.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
}

/* ===== FLOATING BUTTONS ===== */
.floating-buttons {
  position: fixed;
  bottom: 20px; right: 20px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.float-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  color: #fff;
  transition: all 0.3s var(--ease);
}
.float-btn.whatsapp {
  background: #25D366;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
}
.float-btn.whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 30px rgba(37,211,102,0.6);
}
.float-btn.email {
  background: #0072c6;
  box-shadow: 0 4px 20px rgba(0,114,198,0.4);
}
.float-btn.email:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 30px rgba(0,114,198,0.6);
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (min-width: 641px) {
  .hero-cta { flex-direction: row; justify-content: center; }
  .contact-cta { flex-direction: row; justify-content: center; }
}

@media (max-width: 980px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .menu-toggle { display: flex; }
  .section { padding: 64px 0; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .highlights { grid-template-columns: 1fr; }
  .contact-info { flex-direction: column; gap: 12px; }
  .contact-info .dot { display: none; }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
