
/* NYANG NEXORA DIGITAL
   Premium Digital Agency Website
*/

:root {
  --navy: #101a2e;
  --navy-light: #182943;
  --teal: #20c6b2;
  --gold: #eabf62;
  --white: #ffffff;
  --muted: #aab6c8;
  --light-bg: #f4f7fa;
  --dark-text: #17243a;
  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--white);
  color: var(--dark-text);
  line-height: 1.7;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(1120px, 90%);
  margin: auto;
}

.section {
  padding: 100px 0;
}

/* NAVIGATION */

.site-header {
  background: var(--navy);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  color: var(--white);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1.2;
}

.logo span {
  color: var(--teal);
}

.logo small {
  display: block;
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: #d8e0eb;
  font-size: 14px;
  transition: color 0.3s;
}

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

.nav-links .nav-cta {
  background: var(--teal);
  color: var(--navy);
  padding: 11px 22px;
  border-radius: 5px;
  font-weight: 700;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
}

/* HERO */

.hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 55px;
  padding-top: 70px;
  padding-bottom: 70px;
}

.eyebrow {
  color: #159d91;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2.5px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(42px, 6vw, 70px);
  line-height: 1.08;
  letter-spacing: -2px;
  color: var(--navy);
  margin-bottom: 25px;
}

.hero h1 span,
.section-heading h2 span,
.contact h2 span {
  color: #139e91;
}

.hero-description {
  color: #647187;
  font-size: 17px;
  max-width: 510px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.btn {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.3s, background 0.3s;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  background: var(--teal);
  color: var(--navy);
}

.btn-primary:hover {
  background: #42dfcc;
}

.btn-secondary {
  border: 1px solid #d5dce6;
  color: var(--navy);
}

.hero-note {
  margin-top: 25px;
  color: #8290a3;
  font-size: 12px;
}

/* HERO VISUAL */

.hero-visual {
  position: relative;
  padding: 20px;
}

.visual-card {
  background: linear-gradient(145deg, #172943, #0c1425);
  min-height: 420px;
  border-radius: 15px;
  padding: 35px;
  color: white;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.visual-card::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  background: rgba(32, 198, 178, 0.12);
  border-radius: 50%;
  right: -80px;
  top: -70px;
}

.visual-label {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--muted);
}

.visual-symbol {
  font-size: 100px;
  font-weight: 900;
  color: var(--white);
  line-height: 1.5;
}

.visual-symbol span {
  color: var(--teal);
}

.visual-card h2 {
  font-size: 36px;
  line-height: 1.25;
  position: relative;
}

.visual-card h2 span {
  color: var(--teal);
}

.visual-footer {
  position: absolute;
  bottom: 25px;
  left: 35px;
  right: 35px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 1px;
}

.floating-tag {
  position: absolute;
  background: white;
  padding: 12px 18px;
  border-radius: 7px;
  box-shadow: var(--shadow);
  font-size: 12px;
  font-weight: 700;
}

.tag-one {
  top: 65px;
  right: -5px;
  color: #139e91;
}

.tag-two {
  bottom: 65px;
  left: -10px;
  color: var(--navy);
}

/* SECTION HEADINGS */

.section-heading {
  max-width: 650px;
  margin-bottom: 45px;
}

.section-heading h2 {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.2;
  color: var(--navy);
  letter-spacing: -1px;
}

/* ABOUT */

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
}

.about-content p {
  color: #657287;
  font-size: 17px;
}

/* SERVICES */

.services {
  background: var(--light-bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  background: white;
  padding: 30px 24px;
  border-radius: 9px;
  border: 1px solid #e7ebf0;
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
}

.service-card > span {
  color: #159e91;
  font-size: 13px;
  font-weight: 800;
}

.service-card h3 {
  margin: 20px 0 12px;
  color: var(--navy);
  font-size: 18px;
}

.service-card p {
  color: #778398;
  font-size: 14px;
}

/* PROJECTS */

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.work-card {
  border: 1px solid #e7ebf0;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s;
}

.work-card:hover {
  transform: translateY(-6px);
}

.work-art {
  min-height: 210px;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 4px;
  color: white;
}

.art-one {
  background: linear-gradient(135deg, #142b48, #168f87);
}

.art-two {
  background: linear-gradient(135deg, #8b6a32, #e6bd69);
}

.art-three {
  background: linear-gradient(135deg, #453b79, #9872b7);
}

.work-card h3 {
  color: var(--navy);
  font-size: 19px;
  margin: 20px 20px 5px;
}

.work-card p {
  color: #778398;
  font-size: 14px;
  margin: 0 20px 22px;
}

/* CONTACT */

.contact {
  background: var(--navy);
  text-align: center;
}

.contact-content {
  max-width: 720px;
}

.contact .eyebrow {
  color: var(--teal);
}

.contact h2 {
  color: white;
  font-size: clamp(38px, 6vw, 60px);
  line-height: 1.15;
  margin-bottom: 20px;
}

.contact-content > p:not(.eyebrow) {
  color: var(--muted);
  margin-bottom: 30px;
}

.contact-details {
  display: grid;
  gap: 12px;
  margin: 25px 0 30px;
  color: white;
}

.contact-details a {
  color: var(--teal);
}

.contact-details a:hover {
  text-decoration: underline;
}

/* FOOTER */

.footer {
  background: #0a1120;
  padding: 30px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer p,
.footer-content > a:last-child {
  color: var(--muted);
  font-size: 12px;
}

/* ACCESSIBILITY */

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

/* RESPONSIVE DESIGN */

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

  .hero {
    gap: 25px;
  }
}

@media (max-width: 700px) {
  .navbar {
    min-height: 72px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 5%;
    gap: 20px;
  }

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

  .nav-links .nav-cta {
    display: inline-block;
    text-align: center;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 60px;
  }

  .hero-visual {
    max-width: 480px;
    width: 100%;
    margin: auto;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .work-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 450px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .visual-card {
    min-height: 360px;
    padding: 25px;
  }

  .visual-symbol {
    font-size: 75px;
  }

  .visual-card h2 {
    font-size: 29px;
  }

  .floating-tag {
    font-size: 10px;
    padding: 9px 12px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    text-align: center;
  }
}
