/* ==========================================================
   1. DEFINICJE FONTÓW LOKALNYCH
========================================================== */
@font-face {
  font-family: 'Bai Jamjuree';
  src: url('../fonts/BaiJamjuree-Medium.woff2') format('woff2'),
       url('../fonts/BaiJamjuree-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Bai Jamjuree';
  src: url('../fonts/BaiJamjuree-Bold.woff2') format('woff2'),
       url('../fonts/BaiJamjuree-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================
   2. RESET I BAZA
========================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --font-main: 'Bai Jamjuree', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --color-text-light: #ffffff;
  --color-text-dark: #121212;
  --color-accent-hover: #e32626;
}

html, body {
  height: 100%;
}

body {
  font-family: var(--font-main);
  background-color: #0b0b0b;
  color: var(--color-text-light);
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================
   3. GŁÓWNA SEKCJA
========================================================== */
.hero {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
  background-color: #0b0b0b;
  background-image: url('../img/bg.avif');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.content-wrapper {
  max-width: 600px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 34px;
}

/* Logo + Slogan */
header {
	margin-bottom: 20px;
}
.branding {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.logo-box img {
  display: block;
  max-width: 100%;
  width: min(320px, 80vw);
  height: auto;
}

.slogan {
  font-size: 1.25rem;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.5px;
}

/* Informacje o firmie */
.company-desc h2 {
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.company-desc h2 span {
  font-size: 1.05rem;
  font-weight: 500;
  text-transform: lowercase;
}

.company-desc .subtitle {
  font-size: 1.25rem;
  font-weight: 500;
  margin-top: 4px;
  color: #efefef;
}

/* Dane kontaktowe */
.contact-details {
  font-style: normal;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.contact-link {
  color: var(--color-text-light);
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 6px 12px;
  border-radius: 4px;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

/* Efekty hover + focus dla dostępności */
.contact-link:hover {
  color: var(--color-accent-hover);
}

.contact-link:focus-visible {
  outline: 2px solid var(--color-accent-hover);
  outline-offset: 3px;
}

/* ==========================================================
   4. STOPKA
========================================================== */
.footer {
  background-color: #ffffff;
  color: var(--color-text-dark);
  padding: 14px 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 12px;
  text-align: center;
}

.footer-inner .separator {
  color: #888888;
}

/* ==========================================================
   5. RWD
========================================================== */
@media (max-width: 600px) {
  .content-wrapper {
    gap: 28px;
  }

  .slogan {
    font-size: 1.1rem;
  }

  .company-desc h2 {
    font-size: 1.35rem;
  }

  .company-desc .subtitle {
    font-size: 1.1rem;
  }

  .contact-link {
    font-size: 1.05rem;
    padding: 8px 14px;
  }

  .footer-inner .separator {
    display: none;
  }

  .footer-inner {
    flex-direction: column;
    gap: 4px;
    font-size: 0.8rem;
  }
}