/* ==========================================================================
   UCXgpt — Shared Styles matching ucxgpt.com
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@400;600;700&display=swap');

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: #ffffff;
  background-color: #2c1e4a;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3 { font-family: 'Playfair Display', serif; line-height: 1.15; font-weight: 700; }
h1 { font-size: clamp(2.5rem, 6vw, 5.5rem); letter-spacing: -0.04em; }
h2 { font-size: clamp(1.8rem, 4vw, 3.5rem); letter-spacing: 0.025em; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 1.5rem; }

/* ==========================================================================
   Navigation — matching ucxgpt.com top nav
   ========================================================================== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  background-color: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  height: 50px;
  padding: 0 1.5rem;
}

.nav-logo {
  margin-right: auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo img {
  height: 30px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: #2c1e4a;
  transition: color 0.2s ease;
}

.nav-links a:hover, .nav-links a.active {
  color: #d73cbe;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #2c1e4a;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero Section — video background
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 4rem 2rem;
  display: flex;
  align-items: center;
  gap: 3rem;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
}

.hero-logo-area {
  flex-shrink: 0;
}

.hero-logo-circle {
  width: 100px;
  height: 100px;
  position: relative;
}

.hero-logo-circle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-x {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Inter', sans-serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: #ffffff;
}

.hero-text h1 { color: #ffffff; font-weight: 700; }
.hero-text h1 span { display: block; }

/* ==========================================================================
   Dark Section — purple gradient bg
   ========================================================================== */
.section-dark {
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
}

.section-dark-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.7;
  z-index: 0;
}

.section-dark .container { position: relative; z-index: 1; }

/* ==========================================================================
   About Section
   ========================================================================== */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: 0;
}

.about-text p {
  font-size: 1rem;
  line-height: 1.5;
  color: #ffffff;
  opacity: 0.9;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-title {
  text-align: center;
  margin-bottom: 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.service-card {
  position: relative;
}

.service-card-image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.service-card-body {
  background: #ffffff;
  padding: 1.5rem 2rem;
}

.service-card-body h3 {
  color: #d73cbe;
  font-family: 'Playfair Display', serif;
  margin-bottom: 0.75rem;
}

.service-card-body p {
  color: #2c1e4a;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ==========================================================================
   CTA / Contact Section
   ========================================================================== */
.cta-section {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.cta-section .hero-video { opacity: 1; }

.cta-content {
  position: relative;
  z-index: 1;
  padding: 4rem 2rem;
  max-width: 1200px;
  margin-inline: auto;
  width: 100%;
}

.btn-contact {
  display: inline-block;
  padding: 0.6rem 2rem;
  background-color: #386b83;
  color: #ffffff;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: underline;
  transition: background-color 0.2s ease;
}

.btn-contact:hover { background-color: #2d5a70; }

/* ==========================================================================
   Animation System
   ========================================================================== */
[data-animate] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

[data-animate-delay="1"] { transition-delay: 0.1s; }
[data-animate-delay="2"] { transition-delay: 0.2s; }
[data-animate-delay="3"] { transition-delay: 0.3s; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  padding: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  background: #2c1e4a;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 767px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 50px; left: 0; width: 100%;
    flex-direction: column;
    background: #ffffff;
    border-bottom: 1px solid rgba(0,0,0,0.07);
    max-height: 0; overflow: hidden;
    transition: max-height 0.3s ease;
    gap: 0;
  }
  .nav-links.open { max-height: 300px; }
  .nav-links a { display: block; padding: 0.75rem 1.5rem; border-bottom: 1px solid rgba(0,0,0,0.04); }

  .hero-content { flex-direction: column; text-align: center; gap: 1.5rem; padding: 3rem 1.5rem; }
  .about-layout { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-animate] { opacity: 1; transform: none; }
}
