/*
Theme Name: Neon Lite
Author: Mikolaj & ChatGPT
Description: Lekki, szybki motyw pod landing + podstrony
Version: 1.0
*/

:root {
  --pink: #fb59be;
  --violet: #994bef;
  --cyan: #bff7ff;
  --dark: #0e0e12;
}

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

body {
  font-family: system-ui, sans-serif;
  background: #0b0b0f;
  color: white;
}

a { color: var(--cyan); text-decoration: none; }

/* =========================
   TOPBAR
========================= */

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;         /* poprawnie */
  padding: 1rem 0.75rem;
  background: #0e0e12;
  border-bottom: 1px solid #222;
}

.custom-logo-link { display: block; }
.custom-logo { height: 40px; width: auto; display: block; }

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

/* Przyciski w topbarze */
.nav-btn {
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  border: 1px solid #ffffff22;
  background: linear-gradient(135deg, #0e0e12, #111);
  color: var(--cyan);
  font-size: 0.9rem;
  transition: all 0.25s ease;
}

.nav-btn:hover {
  background: var(--cyan);
  color: black;
  box-shadow: 0 0 12px #bff7ff99;
}

/* Dropdown menu */
.menu { position: relative; }
.menu a { cursor: default; }

.menu-toggle {
  background: linear-gradient(135deg, #0e0e12, #111);
  border: 1px solid #ffffff22;
  color: var(--cyan);
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
}

.dropdown {
  position: absolute;
  right: 0;
  top: 120%;
  background: #0e0e12;
  border: 1px solid #ffffff22;
  border-radius: 12px;
  padding: 0.75rem;
  display: none;
  min-width: 220px;
  z-index: 999;
}

.dropdown-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.dropdown-list li a {
  display: block;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  background: #ffffff05;
  color: white;
  transition: all 0.2s ease;
  cursor: pointer; /* tu może być pointer, bo to realnie klika */
}

.dropdown-list li a:hover {
  background: var(--violet);
  color: black;
}

.menu.open .dropdown { display: block; }

/* =========================
   HERO
========================= */

.hero {
  position: relative;
  height: 90vh;
  background-size: cover;
  background-position: center;
  margin: 0;
  overflow: hidden; /* potrzebne, żeby glow nie wychodził */
}

/* overlay (przyciemnia obraz) */
.hero .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #000000cc, #00000066);
  z-index: 2;
}

/* border */
.hero.odd {
  border-top: 1px solid var(--pink);
  border-right: 1px solid var(--violet);
}
.hero.even {
  border-left: 1px solid var(--violet);
  border-bottom: 1px solid var(--cyan);
}

/* Glow WCHODZĄCY NA OBRAZEK – z każdej strony */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  box-shadow:
    inset 0 10px 70px #fb59be55,
    inset 0 -10px 70px #994bef55,
    inset 10px 0 70px #bff7ff55,
    inset -10px 0 70px #994bef55;
}

/* przycisk w hero */
.hero .button {
  position: absolute;
  bottom: 2rem;
  z-index: 3;
  background: var(--pink);
  padding: 1rem 2rem;
  color: black;
  font-weight: 800;
  border-radius: 10px;
  display: inline-flex;
  flex-direction: column;
  gap: 0.35rem;
  max-width: min(520px, 85vw);
}

/* jeżeli przycisk zawiera h2/p, niech wygląda sensownie */
.hero .button h2 { font-size: 1.25rem; line-height: 1.1; }
.hero .button p { opacity: 0.9; }

.hero.odd .button { right: 2rem; }
.hero.even .button { left: 2rem; }

/* =========================
   SEKCJE
========================= */

.section { padding: 4rem 2rem; }

/* =========================
   PODSTRONY (page)
========================= */

.page-content {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}

/* =========================
   SOCIALS
========================= */

.socials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
}

.social-card {
  display: grid;
  gap: 0.75rem;
  padding: 2rem;
  background: linear-gradient(135deg, #0e0e12, #111);
  border: 1px solid #ffffff10;
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s ease;
  justify-items: center;
}

.social-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 25px #994bef44;
}

.social-card strong { font-size: 1.1rem; color: white; }
.social-card p { font-size: 0.9rem; opacity: 0.7; line-height: 1.4; }

.icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #ffffff08;
}

.icon svg {
  width: 26px;
  height: 26px;
  fill: var(--cyan);
}

.icon.instagram svg { fill: var(--pink); }
.icon.linkedin svg  { fill: var(--violet); }
.icon.github svg    { fill: var(--cyan); }

/* =========================
   LOGOS
========================= */

.logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
  align-items: center;
}

.logos img {
  width: 180px;
  height: 100px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.8;
  transition: all 0.25s ease;
}

.logos img:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.05);
}

/* =========================
   PROJECT (opcjonalnie – jeśli używasz)
========================= */

.project-hero-content {
  position: absolute;
  bottom: 3rem;
  left: 3rem;
  z-index: 3;
}

.project-hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: white;
  text-shadow: 0 0 20px #000;
}

.project-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: stretch;
}

.project-tile {
  border: 1px solid #ffffff14;
  border-radius: 18px;
  background: linear-gradient(135deg, #0e0e12, #111);
  overflow: hidden;
}

.project-text { padding: 2rem; }
.project-text h1 {
  margin-bottom: 1rem;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}
.project-content { opacity: 0.9; line-height: 1.6; }

.project-media { display: grid; }
.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-image-placeholder {
  display: grid;
  place-items: center;
  min-height: 320px;
  opacity: 0.6;
}

@media (max-width: 900px) {
  .project-grid { grid-template-columns: 1fr; }
  .project-media { min-height: 260px; }
}

/* =========================
   TEAM
========================= */

.team-title {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 2.5rem;
}

.team-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2.5rem;
}

.team-card {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 1.2rem;
  padding: 2.2rem;
  border-radius: 22px;
  border: 1px solid #ffffff14;
  background: linear-gradient(135deg, #0e0e12, #111);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 30px #994bef33;
}

/* UWAGA: 300px na mobile będzie gigantyczne, ale zostawiam jak chciałeś */
.team-photo {
  width: 300px;
  height: 300px;
  border-radius: 999px;
  object-fit: cover;
  margin: 0 auto;
  border: 2px solid #ffffff22;
  box-shadow: 0 0 20px #bff7ff22;
}

.team-meta { display: grid; gap: 0.4rem; }
.team-name { font-size: 1.25rem; }
.team-role { font-size: 1rem; opacity: 0.8; }

.team-contact {
  margin-top: 0.8rem;
  display: grid;
  gap: 0.35rem;
}

.team-contact a {
  font-size: 0.95rem;
  color: var(--cyan);
  overflow-wrap: anywhere;
}

/* Mobile polish */
@media (max-width: 520px) {
  .team-photo { width: 180px; height: 180px; } /* inaczej zje ekran */
}

.blog-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.blog-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--pink), var(--violet));
  margin: 0.8rem auto 0;
  border-radius: 2px;
}

.blog-grid {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.blog-card {
  display: grid;
  grid-template-rows: auto auto; /* było 190px → więcej wysokości */
  background: linear-gradient(135deg, #0e0e12, #111);
  border: 1px solid #ffffff22;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border 0.25s ease;
  color: inherit;
}

.blog-card:hover {
  transform: translateY(-6px);
  border: 1px solid var(--violet);
box-shadow:
  0 0 45px #994bef99,
  0 0 15px #fb59be66,
  inset 0 0 30px #00000055;
}

.blog-thumb {
  background-size: cover;
  background-position: center;
  aspect-ratio: 3 / 4;
}

.blog-thumb-empty {
  display: grid;
  place-items: center;
  background: #0c0c10;
  opacity: 0.4;
  font-size: 0.9rem;
}

.blog-content {
  padding: 1.5rem;
  display: grid;
  gap: 0.6rem;
}

.blog-content h3 {
  color: white;
  font-size: 1.15rem;
}

.blog-content p {
  opacity: 0.75;
  font-size: 0.92rem;
  line-height: 1.45;
}

.blog-date {
  font-size: 0.75rem;
  opacity: 0.5;
}

.blog-section {
  border-top: 1px solid #ffffff10;
  border-bottom: 1px solid #ffffff10;
  background: radial-gradient(circle at top, #994bef11, transparent 70%);
}

/* =========================
   ZESPÓŁ – WERSJA STRONY /zespol
========================= */

.team-page .team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
}

/* bez ramek, bez tła */
.team-page .team-card {
  background: none;
  border: none;
  box-shadow: none;
  padding: 1rem;
}

/* zdjęcie zostaje głównym elementem */
.team-page .team-photo {
  width: 260px;
  height: 260px;
  border: none;
  box-shadow: 0 0 20px #00000055; /* delikatny cień zamiast ramki */
}

/* wyśrodkowanie tekstu */
.team-page .team-meta {
  text-align: center;
}

/* mobile nadal czytelne */
@media (max-width: 900px) {
  .team-page .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .team-page .team-grid {
    grid-template-columns: 1fr;
  }
}
/* =========================
   TEAM – PROFILE (autor jak pod wpisem)
========================= */

.team-divider {
  margin: 4rem auto;
  height: 1px;
  max-width: 900px;
  background: linear-gradient(90deg, transparent, var(--violet), transparent);
  opacity: 0.6;
}

.team-profiles {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 3rem;
}

.team-profile {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 2.5rem;
  align-items: flex-start;

  padding: 2rem 2.2rem;
  border-radius: 18px;

  border: 1px solid #ffffff14;
  background: linear-gradient(135deg, #0e0e12, #0b0b10);
  box-shadow:
    0 0 0 transparent,
    inset 0 0 0 transparent;

  transition: all 0.3s ease;
}

.team-profile:hover {
  border: 1px solid #994bef55;
  box-shadow:
    0 0 30px #994bef33,
    inset 0 0 20px #00000055;
  transform: translateY(-2px);
}

/* Lewa kolumna (foto + podpis) */
.team-profile-photo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
}

.team-profile-photo img {
  width: 110px;
  height: 110px;
  border-radius: 999px;
  object-fit: cover;
  box-shadow: 0 0 15px #00000088;
}

.team-profile-photo strong {
  font-size: 1rem;
}

.team-profile-photo span {
  font-size: 0.85rem;
  opacity: 0.65;
}

/* Prawa kolumna – tekst jak w poście */
.team-profile-desc {
  font-size: 1rem;
  line-height: 1.7;
  opacity: 0.9;
}

.team-profile-desc p {
  margin-bottom: 1rem;
}

/* Mobile */
@media (max-width: 800px) {
  .team-profile {
    grid-template-columns: 1fr;
  }

  .team-profile-photo {
    align-items: center;
  }

  .team-profile-desc {
    text-align: center;
  }
}
/* =========================
   CONTACT PAGE
========================= */

.contact-page {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 3rem;
}

.contact-title {
  text-align: center;
}

.contact-form {
  display: grid;
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
  background: #0e0e12;
  border: 1px solid #ffffff22;
  padding: 1rem;
  border-radius: 12px;
  color: white;
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 10px #994bef44;
}

.contact-form button {
  padding: 1rem;
  border-radius: 999px;
  background: var(--cyan);
  color: black;
  border: none;
  font-weight: bold;
  cursor: pointer;
}

.contact-form button:hover {
  box-shadow: 0 0 20px #bff7ff99;
}

.contact-success {
  text-align: center;
  color: var(--cyan);
}

/* osoby */
.contact-people {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.contact-person {
  border: 1px solid #ffffff14;
  border-radius: 18px;
  padding: 1.8rem;
  background: linear-gradient(135deg, #0e0e12, #0b0b10);
  display: grid;
  gap: 0.4rem;
}

.contact-person span {
  opacity: 0.7;
  font-size: 0.9rem;
}

/* mapa */
.contact-map iframe {
  width: 100%;
  height: 380px;
  border: 0;
  border-radius: 20px;
  filter: grayscale(1) contrast(1.1);
}

.contact-message {
  max-width: 600px;
  margin: 0 auto;
  padding: 1rem 1.4rem;
  border-radius: 14px;
  font-size: 0.95rem;
  text-align: center;
  animation: fadeIn 0.4s ease;
}

.contact-message.success {
  background: linear-gradient(135deg, #0e2018, #0b1410);
  border: 1px solid #bff7ff55;
  color: #bff7ff;
  box-shadow: 0 0 20px #bff7ff33;
}

.contact-message.error {
  background: linear-gradient(135deg, #200e14, #140b10);
  border: 1px solid #fb59be55;
  color: #fb59be;
  box-shadow: 0 0 20px #fb59be33;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to   { opacity: 1; transform: translateY(0); }
}
.contact-status {
  padding: 1rem 1.5rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  text-align: center;
}

.contact-status.success {
  background: #00ff9922;
  border: 1px solid #00ff99;
  color: #00ff99;
}

.contact-status.error {
  background: #ff003322;
  border: 1px solid #ff0033;
  color: #ff8899;
}

.contact-map iframe {
  filter: none !important;
}
