/*
 Theme Name: Good Care Theme
 Theme URI: https://goodcare.pl
 Description: Motyw dla Good Care
 Version: 1.0
 Text Domain: goodcare
*/

:root {
  /* Kolory */
  --gc-green: #82c601;
  --gc-text: #000000;
  --gc-gray: #c4c4c4;
  --gc-bg: #ffffff;

  /* Typografia */
  --gc-font-main: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --gc-font-weight-light: 300;
  --gc-font-weight-regular: 400;
  --gc-font-weight-medium: 500;
  --gc-font-weight-semibold: 600;

  /* Skala odstępów (rem ~ 16px) */
  --space-xs: 0.5rem;   /* 8px */
  --space-sm: 0.75rem;  /* 12px */
  --space-md: 1rem;     /* 16px */
  --space-lg: 1.5rem;   /* 24px */
  --space-xl: 2rem;     /* 32px */
  --space-2xl: 3rem;    /* 48px */
  --space-3xl: 4rem;    /* 64px */

  /* Szerokość kontenera treści */
  --gc-content-max-width: 72rem; /* ~1152px */
}

/* Reset / baza */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--gc-font-main);
  color: var(--gc-text);
  background-color: var(--gc-bg);
  font-size: 16px;
  line-height: 1.5;
}

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

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gc-green);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* Layout ogólny */

.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  padding: var(--space-md) var(--space-md) 0;
}

.site-header-inner {
  max-width: var(--gc-content-max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.site-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl) var(--space-md);
}

.site-footer {
  padding: var(--space-lg) var(--space-md) var(--space-xl);
}

/* ---------------------------------------- */
/* 2. Header – przełącznik języka           */
/* ---------------------------------------- */

.lang-switch {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.5rem;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--gc-green);
  font-size: 0.75rem;
  font-weight: var(--gc-font-weight-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background-color: transparent;
  color: var(--gc-text);
  cursor: pointer;
}

/* ---------------------------------------- */
/* 3. Splash / front page                   */
/* ---------------------------------------- */

.splash {
  width: 100%;
  max-width: var(--gc-content-max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Logo */

.splash-logo {
  margin-bottom: var(--space-2xl);
}

.splash-logo img,
.splash-logo svg {
  width: 80vw;
  max-width: 22rem; /* mobile */
  height: auto;
  margin: 0 auto;
}

/* Blok kontaktowy – email + tel, dwie linie */

.splash-contact {
  margin-bottom: var(--space-2xl);
}

.splash-contact-heading {
  margin: 0 0 var(--space-sm);
  font-weight: var(--gc-font-weight-medium);
  font-size: 1rem;
}

.splash-contact-line {
  margin: 0.15rem 0;
  font-weight: var(--gc-font-weight-light);
  font-size: 1.1rem;
  line-height: 1.4;
}

.splash-contact-label {
  font-weight: var(--gc-font-weight-light);
}

.splash-contact-value {
  color: var(--gc-font-weight-light);
}

/* Ikonka LinkedIn */

.splash-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: var(--space-xl);
}

.splash-linkedin-icon {
  /* jeśli użyjesz tła obrazka zamiast inline SVG */
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* ---------------------------------------- */
/* 4. Stopka – nazwa firmy + adres          */
/* ---------------------------------------- */

.site-footer {
  padding: var(--space-lg) var(--space-md) var(--space-xl);
}

.footer-inner {
  max-width: var(--gc-content-max-width);
  margin: 0 auto;
  text-align: center;
}

.footer-divider {
  width: 100%;
  max-width: 90%;
  height: 0;
  border-top: 1px solid var(--gc-gray);
  margin: 0 auto var(--space-lg);
}

.footer-claim {
  margin: 0 0 var(--space-lg);
  font-weight: var(--gc-font-weight-regular);
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--gc-green);
}

.footer-company-name {
  font-weight: var(--gc-font-weight-medium);
  font-size: 0.75rem;
}

.footer-company-address {
  font-weight: var(--gc-font-weight-light);
  font-size: 0.75rem;
}

/* unikamy auto-linkowania NIP/KRS jako tel (gdyby przeglądarka to zrobiła) */
.footer-company-address a[href^="tel"] {
  color: inherit;
  text-decoration: none;
  pointer-events: none;
}

/* ---------------------------------------- */
/* 5. Breakpoint – tablet (min-width: 768)  */
/* ---------------------------------------- */

@media (min-width: 768px) {
  .site-header {
    padding-top: var(--space-lg); /* bliżej 53px z designu */
    padding-left: var(--space-lg);
    padding-right: var(--space-lg);
  }

  .site-main {
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-2xl);
  }

  .splash-logo {
    margin-bottom: var(--space-2xl);
  }

  .splash-logo img,
  .splash-logo svg {
    max-width: 32rem;
  }

  .splash-logo a {
    pointer-events: none;
    cursor: default;
  }
	
  .splash-contact-heading {
	  font-size: 1.25rem;
  }	

  .splash-contact {
    margin-bottom: var(--space-2xl);
  }

  .splash-contact-line {
    font-size: 1.35rem;
  }

  .splash-linkedin {
    margin-bottom: var(--space-2xl);
  }

  .footer-divider {
    max-width: 80%;
  }

  .footer-claim {
    font-size: 1.5rem;
  }

  .site-footer {
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-2xl);
  }

  .footer-company-name {
    font-size: 1.1rem;
  }

  .footer-company-address {
    font-size: 1rem;
  }
}

/* ---------------------------------------- */
/* 6. Breakpoint – desktop (min-width:1024) */
/* ---------------------------------------- */

@media (min-width: 1024px) {
  .site-header {
    padding-top: var(--space-xl); /* ~48px */
  }

  .splash-logo {
    margin-bottom: var(--space-2xl);
  }

  .splash-logo img,
  .splash-logo svg {
    width: 65vw;
    max-width: 52rem;
  }

  .splash-contact {
    margin-bottom: var(--space-2xl);
  }

  .splash-contact-heading {
	  font-size: 1.5rem;
  }
	
  .splash-contact-line {
    font-size: 1.9rem; /* ~30px */
  }

  .footer-divider {
    width: 100%;
    max-width: 100%;
  }

  .footer-claim {
    font-size: 1.9rem; /* ~30px */
  }

  .footer-company-name {
    font-size: 1.25rem; /* ~20px */
  }

  .footer-company-address {
    font-size: 1.25rem; /* ~20px */
  }
	
  .site-footer {
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xl);
  }
}