/* =========================================================
   SAITECH ULTRA LAYOUT SYSTEM
   Clean Architecture + Luxury Grid + Responsive Engine
========================================================= */

/* =========================================================
   1. CORE CONTAINER SYSTEM
========================================================= */

.container {
  width: min(1200px , 100%);
  margin-inline: auto;
}

/* Section spacing = consistent rhythm system */
section {
  padding: var(--space-8) 0;
  position: relative;
  overflow: hidden;
}

/* =========================================================
   2. SECTION TYPOGRAPHY BLOCK
========================================================= */

.section__header {
  margin-bottom: var(--space-7);
  text-align: left;
}

.section__header h2 {
  margin-bottom: var(--space-2);
  font-size: clamp(2rem, 3vw, 5.5rem);
  letter-spacing: -0.03em;
}

.section__header p {
  color: var(--text-dim);
  max-width: 1200px;
}

/* =========================================================
   3. HEADER SYSTEM (LUXURY GLASS NAV)
========================================================= */

.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;

  padding: 18px 0;

  background: rgba(10,10,10,0.35);
  backdrop-filter: blur(22px);

  border-bottom: 1px solid var(--line);

  transition: all 0.4s var(--ease-out);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* NAVIGATION */
.nav__list {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav__list a {
  font-size: 0.95rem;
  color: var(--text-dim);
  transition: 0.3s var(--ease-soft);
  position: relative;
}

.nav__list a:hover {
  color: var(--text);
}

/* underline micro interaction */
.nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 1px;
  background: var(--accent);
  transition: width 0.4s var(--ease-out);
}

.nav__list a:hover::after {
  width: 100%;
}

/* MOBILE */
.nav-toggle {
  display: none;
}

/* =========================================================
   4. HERO LAYOUT (CINEMATIC FOUNDATION)
========================================================= */

.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center,
    rgba(0,0,0,0.2),
    #000
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  height: 300px;
}

.hero__content h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero__actions {
  margin-top: var(--space-5);
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* =========================================================
   5. GRID SYSTEM (MODERN RESPONSIVE ENGINE)
========================================================= */

/* SERVICES GRID */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* TEAM GRID */
.team__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

/* ABOUT GRID */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* CONTACT GRID */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

/* =========================================================
   6. LUXURY CARD SYSTEM (UNIFIED STYLE)
========================================================= */

.card,
.service-card,
.team__card {
  position: relative;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.05),
    rgba(255,255,255,0.02)
  );

  border: 1px solid var(--line);
  border-radius: var(--radius-md);

  padding: 22px;

  backdrop-filter: blur(14px);

  transition: all 0.5s var(--ease-out);
}

/* hover = subtle lift (luxury, not aggressive) */
.card:hover,
.service-card:hover,
.team__card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
}

/* =========================================================
   7. IMAGE SYSTEM (HIGH-END VISUAL CONTROL)
========================================================= */

img {
  border-radius: var(--radius-md);
  filter: saturate(0.92) contrast(1.05);
  transition: transform 0.7s var(--ease-out);
}

.service-card:hover img,
.team__card:hover img {
  transform: scale(1.04);
}

/* =========================================================
   8. BUTTON SYSTEM (LUXURY MINIMAL UI)
========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 14px 26px;
  border-radius: 999px;

  font-size: 2rem;
  letter-spacing: 0.02em;

  transition: all 0.4s var(--ease-out);
  cursor: pointer;
}

/* PRIMARY */
.btn.primary {
  background: var(--text);
  color: var(--bg);
}

.btn.primary:hover {
  transform: translateY(-2px);
}

/* SECONDARY */
.btn.secondary {
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: transparent;
}

.btn.secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* =========================================================
   9. CTA SYSTEM (FOCUS MOMENT)
========================================================= */

.cta {
  background: radial-gradient(circle at center, #111, #000);
  text-align: center;
  padding: var(--space-8) 0;
}

.cta__container h2 {
      margin-bottom: var(--space-2);
    font-size: clamp(2rem, 3vw, 5.5rem);
    letter-spacing: -0.03em;
}

/* =========================================================
   10. FOOTER SYSTEM (MINIMAL ENDING)
========================================================= */

.footer {
  padding: 80px 0 30px;
  border-top: 1px solid var(--line);
}

.footer__grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* =========================================================
   11. BACKGROUND DEPTH LAYER (AMBIENT LUXURY)
========================================================= */

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;

  background:
    radial-gradient(circle at 20% 10%, rgba(255,255,255,0.04), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(200,169,106,0.06), transparent 45%);
}

/* =========================================================
   12. RESPONSIVE SYSTEM (MOBILE FIRST FIX)
========================================================= */

@media (max-width: 900px) {

  .services__grid,
  .team__grid,
  .about__grid,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .nav__list {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .hero__content h1 {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
  }
}