/*
Theme Name: NBS
Theme URI: http://localhost
Author: NBS
Version: 1.0
*/

/* Montserrat (400, 700) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');
/* Oswald (500) */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500&display=swap');

/* Friendly anchor navigation (Contact -> footer) */
html {
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

#footer {
	/* Backward-compatible: jeśli gdzieś zostały linki do `#footer`. */
	scroll-margin-top: 120px;
}

#footer-contact {
	/* Cel: sekcja "Get in touch by email" (mniej niższego offsetu na mobile). */
	scroll-margin-top: 120px;
}

/* Typography styles */
.body-default {
  font-family: Montserrat, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: 0;
  color: var(--wp--preset--color--text-primary);
}

.body-large {
  font-family: Montserrat, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 20px;
  line-height: 150%;
  letter-spacing: 0;
  color: var(--wp--preset--color--text-primary);
}

.body-small {
  font-family: Montserrat, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 14px;
  line-height: 150%;
  letter-spacing: 0;
  color: var(--wp--preset--color--text-primary);
}

.button-primary {
  font-family: Montserrat, sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0;
  color: var(--wp--preset--color--text-primary);
}

/* Headings (Oswald) */
h1 {
  font-family: Oswald, sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 48px;
  line-height: 120%;
  letter-spacing: 0;
  color: var(--wp--preset--color--text-primary);
}

h2 {
  font-family: Oswald, sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 32px;
  line-height: 130%;
  letter-spacing: 0;
  color: var(--wp--preset--color--text-primary);
}

h3 {
  font-family: Oswald, sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 20px;
  line-height: 140%;
  letter-spacing: 0;
  color: var(--wp--preset--color--text-primary);
}

/* Global styles – CTA Button */
.cta-button .wp-block-button__link {
	font-family: var(--wp--preset--font-family--montserrat);
	font-size: var(--wp--preset--font-size--body-default);
	font-weight: 700;
	line-height: 1.5;
	color: var(--wp--preset--color--white);
	background-color: var(--wp--preset--color--int-green);
	border-radius: 6px;
	padding-top: 6px;
	padding-right: 24px;
	padding-bottom: 6px;
	padding-left: 24px;
	transition: background-color 0.6s cubic-bezier(0.4, 0, 0.2, 1), color 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-button .wp-block-button__link:hover {
	background-color: var(--wp--preset--color--accent-blue);
	color: var(--wp--preset--color--white);
}

.cta-button .wp-block-button__link:focus-visible {
	background-color: var(--wp--preset--color--accent-blue);
	color: var(--wp--preset--color--white);
}
