/* ═══════════════════════════════════════════════════════════
   AIKOU TECHNOLOGIES — Landing Page Stylesheet
   ═══════════════════════════════════════════════════════════ */

/* ─── CUSTOM PROPERTIES ─────────────────────────────────── */
:root {
  --teal:          #0d4444;
  --teal-contact:  #0d4040;
  --purple:        #3d1050;
  --bg:            #edf0f5;
  --white:         #ffffff;
  --text-dark:     #0d1b2e;
  --text-purple:   #3d1050;
  --text-body:     #4a4a5a;
  --border:        #cdd1d9;

  --radius-pill:    999px;
  --radius-card:    14px;   /* less rounded per todo */
  --radius-card-lg: 40px;

  --ff: 'Space Grotesk', sans-serif;
  --max-w: 1140px;
  --section-py: 100px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--ff);
  background-color: var(--bg);
  background-image: url("assets/00_MENU, HÁTTÉR, LOGOK, EGYÉB/background.jpg");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

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

ul { list-style: none; }

/* ─── UTILITY ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 48px;
}

.section { padding-block: var(--section-py); }

/* ─── SKIP LINK ──────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999;
  padding: 12px 24px;
  background: var(--purple);
  color: var(--white);
  font-family: var(--ff);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 0 0 var(--radius-card) 0;
  transform: translateY(-100%);
  transition: transform 0.2s ease;
}

.skip-link:focus { transform: translateY(0); }

.section-title {
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  line-height: 1.25;
  margin-bottom: 64px;
}

.section-title--teal { color: var(--teal); }

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--ff);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
}

.btn:hover  { opacity: 0.88; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

/* ─── FOCUS VISIBLE ──────────────────────────────────────── */
.btn:focus-visible,
.nav-link:focus-visible,
.nav-hamburger:focus-visible,
.nav-brand:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

.nav-link:focus-visible     { border-radius: var(--radius-pill); }
.nav-hamburger:focus-visible { border-radius: 6px; }
.nav-brand:focus-visible    { border-radius: 10px; }

.contact-email-link:focus-visible,
.contact-social__link:focus-visible,
.skip-link:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 4px;
}

.contact-social__link:focus-visible { border-radius: 6px; }

.btn--contact {
  background: var(--purple);
  color: var(--white);
  padding: 11px 28px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
}

.btn--haigo {
  background: var(--teal);
  color: var(--white);
  padding: 18px 60px;
  border-radius: var(--radius-pill);
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}


/* ═══════════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════════ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(237, 240, 245, 0.72);
}

.nav-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 18px 48px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-brand { flex-shrink: 0; }

.nav-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  flex: 1;
}

.nav-link {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-dark);
  letter-spacing: 0.01em;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  transition: border-color 0.2s;
}

.nav-link--active {
  border-color: var(--text-dark);
}

.nav-link:hover:not(.nav-link--active) {
  border-color: rgba(13, 27, 46, 0.3);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
  margin-left: auto;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

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

.nav-mobile-panel {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 16px 20px 20px;
  border-top: 1px solid rgba(13, 27, 46, 0.08);
  background: rgba(237, 240, 245, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.navbar--open .nav-mobile-panel { display: flex; }

.nav-mobile-panel .nav-link {
  font-size: 1rem;
  padding: 8px 12px;
  width: 100%;
}

.nav-mobile-panel .btn--contact {
  display: inline-block;
  margin-top: 4px;
}

/* ═══════════════════════════════════════════════════════════
   HERO  — logo only, no headline
   ═══════════════════════════════════════════════════════════ */
.hero {
  min-height: 42vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 56px 48px;
}

.hero-logo {
  width: clamp(200px, 26vw, 320px);
}

/* ═══════════════════════════════════════════════════════════
   ABOUT  — single white card contains headline + two columns
   ═══════════════════════════════════════════════════════════ */
.about { padding-block: var(--section-py); }

/* TODO 1: less rounded (14px via --radius-card), TODO 3+4: headline inside */
.about-card {
  background: var(--white);
  border-radius: var(--radius-card);        /* 14px — less rounded */
  padding: 52px 64px;
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.06);
}

/* TODO 3: headline smaller and purple */
.hero-headline {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 700;
  color: var(--purple);                     /* purple, matching profile bg */
  line-height: 1.3;
  text-align: center;
  margin-bottom: 44px;
}

/* TODO 4: taglines right under headline, same white box */
.about-columns {
  display: flex;
  align-items: center;
  gap: 0;
}

.about-taglines {
  flex: 0 0 34%;
  padding-right: 48px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.about-taglines p {
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  font-weight: 700;
  color: var(--text-purple);
  line-height: 1.3;
}

.about-divider {
  flex: 0 0 1px;
  align-self: stretch;
  background: var(--border);
}

.about-desc-wrap {
  flex: 1;
  padding-left: 48px;
}

.about-desc-wrap p {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 2.1;
  text-align: justify;
}

/* ═══════════════════════════════════════════════════════════
   TEAM
   ═══════════════════════════════════════════════════════════ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Profile TODO 4: deeper purple matches inspiration more closely */
.team-card {
  background: #3c1050;
  border-radius: var(--radius-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--white);
  padding-top: 28px;
}

.team-card__photo-wrap {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 4px solid rgba(255, 255, 255, 0.15);
}

.team-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Profile TODO 3: text centred */
.team-card__body {
  padding: 16px 20px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  width: 100%;
}

.team-card__name {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.3;
  color: var(--white);
}

/* Profile TODO 2: role highlighted — bold, full white opacity */
.team-card__role {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.5;
  margin-bottom: 6px;
}

.team-card__skills {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.team-card__skills li {
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.45;
}

/* ═══════════════════════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════════════════════ */

/* Innovative Solutions TODO 1: less top padding (closer to team section) */
.services { padding-top: 56px; padding-bottom: var(--section-py); }

.services-list {
  max-width: 860px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;                               /* gap between white cards */
}

/* Innovative Solutions TODO 2: each tile gets its own white card */
.service-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding: 36px 40px;
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.service-item__text { flex: 1; }

.service-item__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-purple);
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-item__desc {
  font-size: 0.97rem;
  color: var(--text-body);
  line-height: 1.85;
  text-align: justify;
  max-width: 560px;
}

.service-item__icon {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin-top: 4px;
}

/* ═══════════════════════════════════════════════════════════
   PROJECTS — HAIGO
   ═══════════════════════════════════════════════════════════ */
.projects .container {
  display: flex;
  justify-content: center;
}

.projects-card {
  background: var(--white);
  border-radius: var(--radius-card-lg);
  padding: 72px 80px;
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.08);
  max-width: 960px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.projects-card__header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Pet project TODO 1: label larger */
.pet-label {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
}

.haigo-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
}

/* Pet project TODO 2: headline purple */
.projects-card__headline {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
  color: var(--purple);                    /* purple */
  text-align: center;
  line-height: 1.25;
  margin-top: -8px;
}

.projects-card__body {
  display: flex;
  align-items: center;
  gap: 48px;
  width: 100%;
}

.projects-card__desc {
  flex: 1;
  font-size: 0.97rem;
  color: var(--text-body);
  line-height: 2;
  text-align: justify;
}

.projects-card__mockup { flex: 0 0 46%; }

.projects-card__mockup img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.projects-card__cta { margin-top: 8px; }

/* ═══════════════════════════════════════════════════════════
   CONTACT + FOOTER
   ═══════════════════════════════════════════════════════════ */
.contact {
  background-color: var(--teal-contact);
  padding: 88px 0 48px;
}

.contact-simple {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  padding: 20px 0;
}

.contact-heading {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
}

.contact-email-msg {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
}

.contact-email-link {
  color: var(--white);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  border-bottom: 2px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 4px;
  transition: border-color 0.2s;
}

.contact-email-link:hover {
  border-color: var(--white);
}

/* ── Social links ── */
.contact-social {
  display: flex;
  gap: 16px;
  margin-top: 4px;
}

.contact-social__link {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
  display: flex;
}

.contact-social__link:hover { color: var(--white); }

/* ── Copyright ── */
.copyright {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.82rem;
  margin-top: 30px;
  letter-spacing: 0.02em;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — TABLET (≤ 1024px)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .container { padding-inline: 32px; }
  .nav-inner  { padding-inline: 32px; }

  .about-card { padding: 40px 44px; }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 680px)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 680px) {
  :root { --section-py: 64px; }

  .container { padding-inline: 20px; }
  .nav-inner  { padding: 14px 20px; gap: 16px; }

  .nav-hamburger { display: flex; }
  .nav-links     { display: none; }
  .nav-inner .btn--contact { display: none; }

  /* Hero */
  .hero-inner { padding: 40px 20px; }
  .hero-logo  { width: 180px; }

  /* About */
  .about-card { padding: 28px 24px; }
  .hero-headline { font-size: 1.3rem; margin-bottom: 28px; }

  .about-columns {
    flex-direction: column;
    gap: 28px;
  }
  .about-taglines  { padding-right: 0; flex: none; width: 100%; }
  .about-divider   { display: none; }
  .about-desc-wrap { padding-left: 0; width: 100%; }

  /* Team */
  .team-grid { grid-template-columns: 1fr; }

  /* Services */
  .services { padding-top: 40px; }
  .service-item {
    flex-direction: column;
    gap: 20px;
    padding: 28px 24px;
  }
  .service-item__icon { width: 56px; height: 56px; }

  /* Projects */
  .projects-card { padding: 40px 28px; gap: 24px; }
  .projects-card__body {
    flex-direction: column;
    gap: 28px;
  }
  .projects-card__mockup { flex: none; width: 100%; }

}
