/*
Theme Name: Altara Lite Theme
Theme URI: https://example.com/altara-lite-theme
Author: Ade MKDI
Author URI: https://example.com
Description: Base Theme Wordpress Carcoal (lightweight, no Elementor required)
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: altara-lite-theme
*/

:root {
  --bg-dark: #1f2025;
  --bg-deep: #151518;
  --text: #f2f2f4;
  --muted: #c4c4ca;
  --accent: #ecff1a;
  --orange: #ff6a2e;
  --line: #35363e;
  --cta-bg: #e8ff8f;
  --shadow: 0 14px 32px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.4;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, 90vw);
  margin: 0 auto;
}

.hero {
  min-height: 86vh;
  position: relative;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 106, 46, 0.28), transparent 34%),
    radial-gradient(circle at 85% 30%, rgba(236, 255, 26, 0.18), transparent 30%),
    linear-gradient(145deg, #181a1d 0%, #23252d 42%, #181a20 100%);
  border-bottom: 1px solid #272833;
  overflow: hidden;
}

.hero,
.about,
.metrics,
.cta,
.footer {
  position: relative;
  overflow: hidden;
}

.section-bg-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.section-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.section-bg-image,
.section-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero > .container,
.about > .container,
.metrics > .container,
.cta > .container,
.footer > .container {
  position: relative;
  z-index: 2;
}

.section-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 80%, rgba(255, 106, 46, 0.15), transparent 35%);
  pointer-events: none;
  z-index: 1;
}

.hero.has-custom-image::after,
.hero.has-custom-video::after,
.hero.bg-transparent::after {
  background: transparent;
}

.topbar {
  padding: 26px 0;
  position: relative;
  z-index: 2;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #d9d9df;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.logo-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #7c7d82;
  display: grid;
  place-items: center;
  font-size: 14px;
  color: #8f9096;
}

.logo-text {
  font-size: 10px;
  line-height: 1.15;
  text-transform: uppercase;
  opacity: 0.9;
}

.logo img {
  max-height: 48px;
  width: auto;
}

.menu {
  position: relative;
  z-index: 120;
  display: flex;
  align-items: center;
  margin-left: auto;
}

.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 500;
  color: #f6f6f7;
}

.menu-item {
  list-style: none;
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
}

.menu ul,
.menu li {
  list-style: none !important;
  margin: 0;
  padding: 0;
}

.menu-item > a {
  display: inline-flex;
  align-items: center;
  padding: 8px 4px;
  transition: color 0.2s ease;
}

.menu-close {
  display: none;
}

.submenu-toggle {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  font-size: 14px;
  transform: rotate(90deg);
  opacity: 0.86;
}

.submenu-list {
  list-style: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 210px;
  border: 1px solid #3a3d47;
  background: #1c1f26;
  border-radius: 10px;
  padding: 8px;
  display: none;
  box-shadow: var(--shadow);
}

.submenu-list li a {
  display: block;
  padding: 9px 10px;
  border-radius: 7px;
}

.menu-item.has-children:hover > .submenu-list,
.menu-item.has-children:focus-within > .submenu-list {
  display: block;
}

.submenu-list li a:hover,
.submenu-list li a:focus-visible {
  background: #2b2e38;
}

.menu-scrim {
  display: none;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid #d4d5dc;
  border-radius: 999px;
  background: #ffffff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0;
}

.menu-toggle .bar {
  display: block;
  width: 17px;
  height: 1.7px;
  background: #181920;
  border-radius: 4px;
}

.menu-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.menu a:hover,
.menu .current-menu-item > a,
.menu-item.has-children:hover > a,
.menu-item.has-children:focus-within > a {
  color: var(--accent);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 76px 0 110px;
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
}

.eyebrow {
  color: var(--orange);
  text-transform: uppercase;
  font-size: clamp(12px, 1.2vw, 16px);
  letter-spacing: 0.5px;
  margin-bottom: 14px;
  font-weight: 500;
}

.hero h1 {
  font-size: clamp(40px, 7vw, 78px);
  line-height: 0.96;
  letter-spacing: -1.8px;
  margin-bottom: 22px;
  font-weight: 800;
}

.hero h1 .hl {
  color: var(--accent);
}

.hero p {
  max-width: 760px;
  margin: 0 auto 28px;
  color: #f1f1f3;
  font-size: clamp(13px, 1.2vw, 16px);
}

.btn-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  border: 0;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: inline-block;
}

.btn-main {
  background: var(--accent);
  color: #111214;
  box-shadow: var(--shadow);
}

.btn-ghost {
  background: #f3f3f6;
  color: #141419;
}

.about {
  background:
    radial-gradient(circle at 16% 58%, rgba(255, 106, 46, 0.14), transparent 24%),
    radial-gradient(circle at 78% 18%, rgba(236, 255, 26, 0.12), transparent 26%),
    linear-gradient(180deg, #262730 0%, #202127 100%);
  padding: 78px 0;
  border-bottom: 1px solid #2c2d35;
}

.about-wrap {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 44px;
  align-items: center;
}

.about-photo {
  width: 260px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 6px solid #25262b;
  box-shadow: var(--shadow);
  background: linear-gradient(135deg, #3a3d46, #1f2127);
  justify-self: center;
}

.about h2 {
  color: var(--accent);
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1;
  margin-bottom: 18px;
}

.about p {
  color: #ececf0;
  max-width: 780px;
  font-size: clamp(14px, 1.15vw, 18px);
  margin-bottom: 18px;
  font-weight: 500;
}

.metrics {
  background: #26272e;
  padding: 80px 0;
}

.metrics h2 {
  font-size: clamp(44px, 5.8vw, 82px);
  line-height: 0.95;
  max-width: 700px;
  margin-bottom: 34px;
  letter-spacing: -1px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.metric .dot {
  color: var(--orange);
  font-size: 20px;
  margin-bottom: 8px;
}

.metric h3 {
  font-size: clamp(52px, 7vw, 92px);
  line-height: 1;
  letter-spacing: -1.2px;
  margin-bottom: 10px;
}

.metric p {
  color: #dcdee6;
  max-width: 300px;
  font-size: 14px;
}

.cta {
  background: var(--cta-bg);
  color: #1c1d23;
  padding: 72px 0;
}

.cta-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
}

.cta h2 {
  font-size: clamp(44px, 7vw, 94px);
  line-height: 0.92;
  letter-spacing: -1.5px;
}

.cta p {
  font-size: clamp(14px, 1.3vw, 20px);
  max-width: 460px;
  margin-bottom: 24px;
  font-weight: 500;
}

.btn-dark {
  background: #20212a;
  color: #ffffff;
}

.footer {
  background: #1a1b1f;
  padding: 66px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.7fr 1.3fr;
  gap: 46px;
  align-items: start;
  margin-bottom: 40px;
}

.footer h3 {
  font-size: clamp(44px, 6vw, 70px);
  line-height: 0.95;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.footer .muted,
.footer-col p,
.footer-col li {
  color: #e5e5ea;
}

.footer-col .tag {
  color: #ff6a2e;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 2px;
  margin-bottom: 14px;
  font-weight: 700;
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 15px;
}

.footer-col li a {
  display: inline-block;
  padding: 2px 0;
}

.footer-col h4 {
  color: var(--accent);
  font-size: 42px;
  line-height: 0.9;
  margin-bottom: 16px;
}

.footer-col .label {
  color: var(--accent);
  margin-top: 10px;
  font-weight: 700;
}

.copyright {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  color: #d8d8de;
  font-size: 13px;
}

@media (max-width: 1024px) {
  body.menu-open {
    overflow: hidden;
  }

  .topbar {
    background: #ffffff;
    border-bottom: 1px solid #e6e8ee;
    padding: 14px 0;
  }

  .about-wrap,
  .cta-wrap,
  .footer-grid,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .about-wrap {
    text-align: center;
  }

  .hero-content {
    padding: 64px 0 86px;
  }

  .hero h1 {
    font-size: clamp(38px, 7vw, 62px);
    letter-spacing: -1px;
  }

  .metrics h2,
  .cta h2,
  .footer h3 {
    letter-spacing: -0.7px;
  }

  .nav-wrap {
    position: relative;
    gap: 14px;
    justify-content: space-between;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: 0;
    flex-direction: column;
    order: 0;
    z-index: 130;
  }

  .logo {
    order: 1;
    margin: 0 auto;
    color: #15171d;
  }

  .menu {
    position: fixed;
    top: 0;
    right: 0;
    width: min(88vw, 410px);
    height: 100dvh;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-left: 0;
    padding: 14px 18px 26px;
    border-left: 1px solid #d8dbe5;
    background: #ffffff;
    color: #1a1b21;
    transform: translateX(103%);
    transition: transform 0.3s ease;
    z-index: 125;
    box-shadow: -16px 0 42px rgba(0, 0, 0, 0.24);
  }

  body.menu-open .menu {
    transform: translateX(0);
  }

  .menu-close {
    display: inline-grid;
    place-items: center;
    margin-left: auto;
    margin-bottom: 8px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #11131a;
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
  }

  .menu-list {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    color: #171821;
    margin-top: 6px;
  }

  .menu-item {
    width: 100%;
    justify-content: space-between;
    border-bottom: 1px solid #ececf1;
    padding: 2px 0;
  }

  .menu-item > a {
    flex: 1;
    padding: 12px 2px;
    font-size: clamp(24px, 5.6vw, 36px);
    line-height: 1.1;
    letter-spacing: -0.4px;
    color: #13141b;
    font-weight: 600;
  }

  .submenu-toggle {
    width: 32px;
    height: 32px;
    font-size: 22px;
    transform: rotate(90deg);
    color: #606370;
  }

  .menu-item.submenu-open > .submenu-toggle {
    transform: rotate(-90deg);
  }

  .submenu-list {
    position: static;
    display: none;
    min-width: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    margin: 0;
    padding: 0 0 12px;
    box-shadow: none;
  }

  .menu-item.submenu-open > .submenu-list {
    display: block;
  }

  .submenu-list li a {
    color: #4b4f5f;
    padding: 9px 2px 9px 14px;
    font-size: 17px;
    border-left: 2px solid #d5d8e2;
  }

  .menu a:hover,
  .menu a:focus-visible {
    background: transparent;
    color: #13141b;
  }

  .menu-scrim {
    position: fixed;
    inset: 0;
    display: block;
    background: rgba(11, 12, 16, 0.58);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.24s ease;
    z-index: 118;
  }

  body.menu-open .menu-scrim {
    opacity: 1;
    pointer-events: auto;
  }
}

@media (max-width: 768px) {
  .container {
    width: min(1180px, 92vw);
  }

  .topbar {
    padding: 16px 0;
  }

  .nav-wrap {
    align-items: center;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .menu-toggle .bar {
    width: 16px;
  }

  .logo img {
    max-height: 40px;
  }

  .logo-text {
    font-size: 9px;
  }

  .hero-content {
    padding: 36px 0 62px;
  }

  .hero h1 {
    font-size: clamp(34px, 11vw, 48px);
    line-height: 0.98;
  }

  .hero p {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .btn-row {
    width: 100%;
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: min(320px, 100%);
    text-align: center;
  }

  .about,
  .metrics,
  .cta,
  .footer {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .about-wrap,
  .metric-grid,
  .cta-wrap,
  .footer-grid {
    gap: 24px;
  }

  .about-photo {
    width: 190px;
    border-width: 4px;
  }

  .metrics h2 {
    margin-bottom: 22px;
  }

  .metric h3 {
    font-size: clamp(38px, 11vw, 62px);
  }

  .footer-col h4 {
    font-size: clamp(30px, 10vw, 40px);
  }

  .copyright {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .menu {
    width: 100vw;
    padding: 10px 12px 20px;
    border-left: 0;
  }

  .menu-item > a {
    font-size: 24px;
  }

  .hero h1 {
    font-size: clamp(30px, 12vw, 40px);
  }

  .about h2,
  .metrics h2,
  .cta h2 {
    font-size: clamp(30px, 12vw, 44px);
  }
}
