/* ============================================================
   geciow.com – main stylesheet
   ============================================================ */

/* --- Custom properties --- */
:root {
  --bg:          #1c1e21;
  --bg-dark:     #18191a;
  --bg-card:     #22252a;
  --accent:      #3988c4;
  --accent-light:#61bef4;
  --text:        #ffffff;
  --text-muted:  #adadad;
  --font:        'Rajdhani', sans-serif;
  --header-h:    64px;
  --radius:      7px;
  --transition:  all 0.3s ease;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,.5);
}

/* Nav */
.site-nav ul {
  display: flex;
  gap: 28px;
  align-items: center;
}
.site-nav a {
  font-size: 18px;
  letter-spacing: 1px;
  color: var(--text);
  transition: var(--transition);
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover,
.site-nav a.active {
  color: var(--accent);
  border-color: var(--accent);
}

/* Contact info */
.header-contact {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 15px;
  letter-spacing: 0.8px;
}
.header-contact a {
  color: var(--text);
  transition: var(--transition);
}
.header-contact a:hover { color: var(--accent); }

.sep {
  color: var(--text-muted);
  user-select: none;
}

/* LinkedIn icon */
.header-linkedin svg {
  width: 20px;
  height: 20px;
  fill: var(--text);
  transition: var(--transition);
  display: block;
}
.header-linkedin:hover svg { fill: var(--accent); }

/* Lang switcher */
.lang-switch {
  display: flex;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
}
.lang-switch a {
  font-size: 20px;
  line-height: 1;
  opacity: 0.6;
  transition: var(--transition);
  padding: 0 2px;
}
.lang-switch a:hover,
.lang-switch a.current { opacity: 1; }

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
  transform-origin: center;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 40px) 60px 60px;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.hero-label img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.hero-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 40px;
  color: var(--text);
}

.btn-primary {
  display: inline-block;
  font-family: var(--font);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--text);
  background: var(--accent);
  padding: 14px 40px;
  border-radius: var(--radius);
  transition: var(--transition);
  border: 2px solid var(--accent);
  cursor: pointer;
}
.btn-primary:hover {
  background: transparent;
  color: var(--accent-light);
  border-color: var(--accent-light);
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services {
  background: var(--bg-dark);
  padding: 80px 24px;
  text-align: center;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 56px;
  color: var(--text);
}
.section-title span { color: var(--accent); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1140px;
  margin: 0 auto;
}

.service-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 36px 28px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.05);
  position: relative;
  cursor: pointer;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 8px 32px rgba(57,136,196,0.2);
}

.service-img {
  width: 100%;
  border-radius: calc(var(--radius) - 2px);
  margin-bottom: 28px;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.service-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: var(--accent-light);
  line-height: 1.3;
  min-height: calc(20px * 1.3 * 2);
  display: flex;
  align-items: flex-start;
}

.service-desc {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-muted);
  flex: 1;
}

.service-more {
  margin-top: 24px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--accent);
  text-transform: uppercase;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}
.service-more::after {
  content: '';
  position: absolute;
  inset: 0;
}
.service-card:hover .service-more {
  color: var(--accent-light);
  border-color: var(--accent-light);
}

/* ============================================================
   CONTACT SECTION (strona główna – skrót)
   ============================================================ */
.contact-cta {
  background: var(--bg);
  padding: 80px 24px;
  text-align: center;
}
.contact-cta p {
  font-size: 22px;
  font-weight: 300;
  color: var(--text-muted);
  margin-bottom: 32px;
  letter-spacing: 0.5px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg-dark);
  padding: 40px 24px;
  font-size: 13px;
  letter-spacing: 0.4px;
  color: var(--text-muted);
  font-weight: 300;
}

.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.footer-logo {
  height: 54px;
  width: auto;
  display: block;
  margin-bottom: 8px;
  opacity: 0.85;
}

.footer-col p,
.footer-col a {
  display: block;
  color: var(--text-muted);
  line-height: 1.9;
  transition: var(--transition);
}
.footer-col a:hover { color: var(--accent-light); }

.footer-col--copy {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.footer-col--copy a {
  display: inline;
  text-decoration: underline;
  color: var(--text-muted);
}
.footer-col--copy a:hover { color: var(--accent-light); }

.footer-col--contact {
  text-align: right;
}

/* ============================================================
   CONTACT PAGE – FORM
   ============================================================ */
.contact-page {
  min-height: 100vh;
  padding: calc(var(--header-h) + 60px) 24px 80px;
  background: var(--bg);
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.contact-form-wrap {
  width: 100%;
  max-width: 640px;
}

.page-title {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.page-subtitle {
  font-size: 18px;
  font-weight: 300;
  color: var(--text-muted);
  margin-bottom: 48px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--bg-dark);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  padding: 12px 16px;
  transition: var(--transition);
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(57,136,196,0.15);
}
.form-group textarea { resize: vertical; min-height: 140px; }

/* Honeypot – ukryte przed użytkownikiem */
.hp-field { display: none !important; }

.form-status {
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  display: none;
}
.form-status.success { background: rgba(57,196,97,0.15); border: 1px solid #39c461; color: #39c461; }
.form-status.error   { background: rgba(196,57,57,0.15); border: 1px solid #c43939; color: #f87171; }

/* reCAPTCHA badge – opcjonalnie ukryj wizualnie (wymaga info w formularzu) */
.grecaptcha-badge { visibility: hidden; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
  .services-grid { grid-template-columns: 1fr; max-width: 480px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-col--copy,
  .footer-col--contact { text-align: left; }
  .hero-inner { padding: 48px 32px; }
  .hero-title { font-size: 36px; }
}

@media (max-width: 767px) {
  /* Header – ukryj telefon i email, zostaw nav + linkedin + flagi */
  .header-contact-info { display: none; }
  .menu-toggle { display: none; }

  /* Mobile nav overlay */
  .site-nav.open {
    display: flex;
    position: fixed;
    inset: 0;
    background: var(--bg-dark);
    z-index: 99;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
  }
  .site-nav.open ul {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }
  .site-nav.open a { font-size: 28px; }


  .hero { padding: calc(var(--header-h) + 24px) 24px 48px; }
  .hero-title { font-size: 28px; }
  .hero-label { font-size: 17px; }
  .btn-primary { font-size: 17px; padding: 12px 28px; }

  .section-title { font-size: 26px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .footer-col--copy {
    order: -1;
    grid-column: 1 / -1;
    text-align: center;
    align-items: center;
  }
  .footer-col--brand {
    order: 0;
    text-align: left;
  }
  .footer-col--contact {
    order: 1;
    text-align: right;
  }
}

@media (max-width: 479px) {
  .hero-title { font-size: 24px; }
  .hero-inner { padding: 32px 16px; }
  .header-logo img { height: 28px; }
}
