@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+Georgian:wght@100..900&display=swap");

/* ============================================================
   0. RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */
:root {
  --primary: #f2c40d;
  --primary-hover: #eab308; /* yellow-500 */
  --navy: #1c2c4c;
  --bg-light: #f8f8f5;
  --text-900: #1e293b; /* slate-900 */
  --text-600: #475569; /* slate-600 */
  --text-500: #64748b; /* slate-500 */
  --text-400: #94a3b8; /* slate-400 */
  --text-300: #cbd5e1; /* slate-300 */
  --border-100: #f1f5f9; /* slate-100 */
  --border-200: #e2e8f0; /* slate-200 */
  --bg-slate-50: #f8fafc;
  --radius-lg: 0.5rem; /* 8 px */
  --radius-xl: 0.75rem; /* 12 px */
  --shadow-md:
    0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-xl:
    0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --max-w: 1280px; /* max-w-7xl */
  --max-w-4xl: 896px;
  --transition: 0.2s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans Georgian", sans-serif;
  font-optical-sizing: auto;
  font-variation-settings: "wdth" 100;
  background-color: var(--navy);
  color: var(--text-900);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

@media (max-width: 480px) {
  html {
    font-size: 13px;
  }
  .hero__title {
    font-size: 1.75rem;
  }
  .hero__subtitle {
    font-size: 0.95rem;
  }
  .services__inner-title {
    font-size: 1.5rem;
  }
  .services__desc {
    font-size: 0.95rem;
  }
}

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

/* ============================================================
   2. UTILITY – container
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem; /* px-6 */
  padding-right: 1.5rem;
}

@media (max-width: 480px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* ============================================================
   3. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-weight: 700;
  color: var(--navy);
  background-color: var(--primary);
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  letter-spacing: 0.025em;
  transition:
    background-color var(--transition),
    box-shadow var(--transition),
    transform var(--transition);
}

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

/* sizes */
.btn--sm {
  padding: 0.625rem 1.5rem; /* py-2.5  px-6 */
  font-size: 0.875rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.btn--lg {
  padding: 1rem 2rem; /* py-4  px-8 */
  font-size: 1rem;
  box-shadow: var(--shadow-xl);
}

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

/* ============================================================
   4. MATERIAL SYMBOLS – base tweak
   ============================================================ */
.material-symbols-outlined {
  font-variation-settings:
    "FILL" 0,
    "wght" 400,
    "GRAD" 0,
    "opsz" 24;
  display: inline-block;
  line-height: 1;
}

/* ============================================================
   5. HEADER
   ============================================================ */
.header {
  display: contents;
  color: #fff;
}

/* top row */

.header__top {
  background-color: var(--navy);
}

.header__top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 2rem;
}

/* logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo_img {
  width: 200px;
  transition:
    opacity var(--transition),
    filter var(--transition);
}

.header__top-items {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  font-size: 0.8rem;
}

@media (max-width: 1023px) {
  .header__top-inner {
    align-items: center;
    justify-content: center;
  }
  .header__top-items {
    display: none;
  }
}

.header__top-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-300);
}

.header__top-icon {
  font-size: 1.4rem;
  color: var(--primary);
}

.header__top-text span:first-child {
  display: block;
  font-weight: 600;
  color: #fff;
}

.header__top-text span:last-child {
  display: block;
  font-size: 0.8rem;
  color: var(--text-300);
}

/* bottom row */
.header__bottom {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.801);
  backdrop-filter: blur(10px);
}

.header__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1.5rem;
}

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

@media (max-width: 1023px) {
  .nav {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  .nav__link {
    font-size: 0.8rem;
    padding: 0.5rem 0.25rem;
  }
}

.nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-300);
  position: relative;
  padding: 0.25rem 0;
  transition: color var(--transition);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.4rem;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width var(--transition);
}

.nav__link:hover,
.nav__link--active {
  color: #fff;
  font-weight: 600;
}

.nav__link--active::after {
  width: 100%;
}

.header__bottom-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header__socials {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

@media (max-width: 1023px) {
  .header__socials {
    display: none;
  }
}

.header__social-link {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-300);
  transition:
    background-color var(--transition),
    color var(--transition),
    border-color var(--transition);
}

.header__social-link:hover {
  background-color: var(--primary);
  color: var(--navy);
  border-color: var(--primary);
}

.header__social-icon {
  font-size: 1.1rem;
}

.header__cta {
  display: inline-flex;
  padding-inline: 2rem;
}

@media (max-width: 767px) {
  .logo_img {
    width: 140px;
  }
  .header__cta {
    display: none;
  }
  .header__bottom-inner {
    flex-direction: column;
    padding-top: 10px;
    padding-bottom: 0;
  }
}

/* hamburger – visible only on mobile */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

@media (max-width: 1023px) {
  .hamburger {
    display: flex;
  }
}

.hamburger__bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--navy);
  border-radius: 2px;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease,
    background-color var(--transition);
}

/* Dark theme hamburger */
/* header is always dark now */
.header--dark .hamburger__bar,
.hamburger__bar {
  background-color: #fff;
}

/* animated state when open */
.hamburger[aria-expanded="true"] .hamburger__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger[aria-expanded="true"] .hamburger__bar:nth-child(2) {
  opacity: 0;
}
.hamburger[aria-expanded="true"] .hamburger__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* mobile menu – hidden by default */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem 1.5rem 1.5rem;
  background: #fff;
  border-top: 1px solid var(--border-200);
  transition:
    background-color var(--transition),
    border-color var(--transition);
}

/* Dark theme mobile menu */
.header--dark .mobile-menu {
  background-color: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.header--dark .mobile-menu .nav__link {
  color: var(--text-300);
}

.header--dark .mobile-menu .nav__link:hover {
  color: var(--primary);
}

.mobile-menu.mobile-menu--open {
  display: flex;
}

.mobile-menu .nav__link {
  font-size: 1rem;
  padding: 0.5rem 0;
}

.mobile-menu__btn {
  margin-top: 0.5rem;
  align-self: flex-start;
}

/* ── desktop breakpoint ── */
/* handled above with max-width */

/* ============================================================
   6. HERO
   ============================================================ */
.hero {
  position: relative;
  background-color: var(--navy);
  overflow: hidden;
  min-height: calc(100vh - 7rem);
  display: flex;
  align-items: center;
}

/* Background image */
.hero__bg-image {
  background-image: url("img/cover2.png");
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(28, 44, 76, 0.85) 0%,
    rgba(28, 44, 76, 0.7) 100%
  );
  z-index: 1;
}

.hero__content {
  max-width: var(--max-w);
  padding-left: 7rem;
  padding-right: 1.5rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
  position: relative;
  z-index: 3;
}

@media (max-width: 1023px) {
  .hero {
    min-height: 50vh;
  }
  .hero__content {
    padding: 8rem 1.5rem;
    text-align: center;
    margin: 0 auto;
  }
}

.hero__content > * {
  max-width: 42rem; /* max-w-2xl */
}

@media (max-width: 1023px) {
  .hero__content > * {
    margin-left: auto;
    margin-right: auto;
  }
}

.hero__title {
  color: #fff;
  font-size: clamp(2.25rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
}

.hero__subtitle {
  color: var(--text-300);
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

/* gold accent shape – right side */
.hero__accent {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 33.33%;
  height: 100%;
  opacity: 0.3;
  pointer-events: none;
  background: linear-gradient(45deg, transparent 0%, var(--primary) 100%);
  clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
  display: none; /* hidden until lg */
  z-index: 2;
}

/* gold accent shape – right side */
.hero__accent {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 33.33%;
  height: 100%;
  opacity: 0.3;
  pointer-events: none;
  background: linear-gradient(45deg, transparent 0%, var(--primary) 100%);
  clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
  z-index: 2;
  display: block;
}

@media (max-width: 1023px) {
  .hero__accent {
    display: none;
  }
}

.hero__content {
  padding-top: 8rem;
  padding-bottom: 8rem;
}

/* ============================================================
   7. SECTION HEADER (shared)
   ============================================================ */
.section-header {
  margin-bottom: 4rem; /* mb-16 */
}

.section-header__title {
  font-size: clamp(1.875rem, 4vw, 2.25rem); /* 3xl → 4xl */
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1rem;
}

.section-header__bar {
  display: block;
  width: 5rem; /* w-20 */
  height: 0.375rem; /* h-1.5 */
  background-color: var(--primary);
  border-radius: 9999px;
}

/* ============================================================
   8. SERVICES
   ============================================================ */
.services {
  background-color: var(--bg-light);
  padding: 6rem 1.5rem;
  overflow: hidden;
}

.services__container {
  display: flex;
  flex-direction: row;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0;
  min-height: 600px;
  background-color: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

@media (max-width: 1023px) {
  .services__container {
    flex-direction: column;
    min-height: auto;
  }
}

.services__nav {
  width: 320px;
  background-color: #fff;
  border-right: 1px solid var(--border-200);
  display: flex;
  flex-direction: column;
}

@media (max-width: 1023px) {
  .services__nav {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--border-200);
  }
}

.services__nav-item {
  padding: 1.75rem 2.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  cursor: pointer;
  border-bottom: 1px solid var(--border-100);
  transition: all var(--transition);
  position: relative;
}

@media (max-width: 1023px) {
  .services__nav-item {
    padding: 1.25rem 1.5rem;
    gap: 1rem;
    border-bottom: none;
    border-right: 1px solid var(--border-100);
    flex-shrink: 0;
  }
}

.services__nav-item:hover {
  background-color: var(--bg-slate-50);
}

.services__nav-item.active {
  background-color: var(--navy);
  color: #fff;
}

.services__nav-icon {
  font-size: 1.6rem;
  color: var(--navy);
  transition: inherit;
}

.services__nav-item.active .services__nav-icon {
  color: var(--primary);
}

.services__nav-text {
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 480px) {
  .services__nav-text {
    font-size: 0.8rem;
  }
}

.services__display {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.services__content {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
  display: flex;
  align-items: center;
  padding: 5rem;
  z-index: 1;
}

@media (max-width: 1023px) {
  .services__content {
    position: relative;
    inset: auto;
    height: 0;
    overflow: hidden;
    padding: 2.5rem 1.5rem;
  }
  .services__content.active {
    height: auto;
    min-height: 400px;
  }
  .services__display {
    max-height: 436px;
  }
}

.services__content.active {
  opacity: 1;
  visibility: visible;
}

.services__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.services__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(28, 44, 76, 0.95) 0%,
    rgba(28, 44, 76, 0.7) 50%,
    transparent 100%
  );
}

.services__info {
  position: relative;
  z-index: 1;
  max-width: 700px;
  color: #fff;
}

.services__info .btn {
  padding: 1.125rem 3.5rem;
  font-size: 1.1rem;
  margin-top: 1rem;
}

.services__inner-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: #fff;
}

@media (max-width: 1023px) {
  .services__inner-title {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
  }
}

.services__desc {
  display: flex;
  flex-direction: column;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  color: var(--bg-slate-50);
}

.service__desc_subtitle {
  font-weight: 700;
}

@media (max-width: 992px) {
  .services__container {
    flex-direction: column;
  }

  .services__nav {
    width: 100%;
    overflow-x: auto;
    border-right: none;
    border-bottom: 1px solid var(--border-200);
  }

  .services__nav-item {
    flex: 0 0 auto;
    padding: 1rem 1.5rem;
  }

  .services__content {
    padding: 3rem 1.5rem;
    min-height: 400px;
  }
}

/* ============================================================
   9. ABOUT
   ============================================================ */
.about {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  padding: 0;
  overflow: visible;
}

.about__bg {
  position: absolute;
  inset: 0;
  background-image: url("./img/contaner.png");
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.about__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.2);
}

.about__container {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-start;
  padding-bottom: 0;
}

.about__card {
  background-color: var(--navy);
  color: #fff;
  padding: 4rem;
  max-width: 600px;
  box-shadow: var(--shadow-xl);
  transform: translateY(60px);
  border-radius: var(--radius-lg);
}

.about__card-title {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 2rem;
  color: #fff;
  text-transform: uppercase;
}

.about__card-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-300);
  margin-bottom: 2.5rem;
}

.about__card-btn {
  gap: 0.75rem;
  padding: 1rem 2.5rem;
}

@media (max-width: 768px) {
  .about {
    min-height: auto;
    flex-direction: column;
  }

  .about__bg {
    position: relative;
    height: 300px;
    width: 100%;
  }

  .about__card {
    position: relative;
    transform: none;
    max-width: 100%;
    margin: 0 1.5rem;
    top: -40px;
    padding: 2.5rem 2rem;
  }
}

/* stats section */
.stats-section {
  background-color: #fff;
  padding: 4rem 1.5rem;
}

.container--stats {
  padding-top: 4rem;
}

.stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}

@media (max-width: 767px) {
  .services,
  .stats-section,
  .cta,
  .footer {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .stats-section {
    padding-top: 2rem;
  }

  .stats {
    gap: 1rem;
    flex-wrap: nowrap;
    justify-content: space-between;
    width: 100%;
  }

  .stat__value {
    font-size: 1.5rem;
  }
  .stat__label {
    font-size: 0.65rem;
    letter-spacing: 0.025em;
  }
}

@media (max-width: 480px) {
  .services__content.active {
    padding: 2rem 1rem;
  }

  .about__card {
    padding: 1.5rem 1.25rem;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat__value {
  font-size: 3rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat__label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ============================================================
  10. CTA BAND
   ============================================================ */
.cta {
  background-color: var(--navy);
  padding: 5rem 1.5rem; /* py-20 */
}

.cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .cta__inner {
    flex-direction: row;
    text-align: left;
  }
}

.cta__title {
  color: #fff;
  font-size: clamp(1.875rem, 4vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta__subtitle {
  color: var(--text-400);
  font-size: 1.125rem;
}

.cta .btn--lg {
  flex-shrink: 0;
  padding: 1rem 2.5rem; /* px-10 */
  font-size: 1.125rem; /* text-lg */
}

/* ============================================================
  11. FOOTER
   ============================================================ */
.footer {
  background-color: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 4rem;
  padding-bottom: 2rem;
  color: #fff;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem; /* gap-12 */
  margin-bottom: 4rem; /* mb-16 */
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 1.2fr 1fr 1.2fr;
  }
}

/* brand column */
.logo--light .logo__icon {
  color: var(--primary);
}
.logo--light .logo__text {
  color: #fff;
}

.footer__brand-desc {
  margin-top: 1.5rem;
  color: var(--text-400);
  line-height: 1.6;
  max-width: 22rem;
}

/* link columns */
.footer__col-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #fff;
}

.footer__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer__link {
  color: var(--text-400);
  transition: color var(--transition);
}

.footer__link:hover {
  color: var(--primary);
}

/* contact items */
.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-400);
  font-size: 0.925rem;
  line-height: 1.5;
}

.footer__contact-icon {
  color: var(--primary);
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* bottom bar */
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer__copy {
  font-size: 0.875rem;
  color: var(--text-500);
}

.footer__socials {
  display: flex;
  gap: 1.5rem;
}

.footer__social {
  font-size: 0.875rem;
  color: var(--text-500);
  transition: color var(--transition);
}

.footer__social:hover {
  color: #fff;
}
