@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

.montserrat {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
}

:root {
  --font-sans: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
html, body { font-family: var(--font-sans); }
p { font-size: 1.1rem; }

html { scroll-behavior: smooth; }

.h2, h2 {
	font-size: 3rem;
	font-weight: bold;
	text-align: center;
}
.h3, h3 {
	font-size: 3rem;
	font-weight: bold!important;
}
.h5, h5 {
	font-weight: 700;
}

.gallery-wrap{
	padding: 1rem 0;
}
.gallery-info p{
	font-size: 0.9rem;
	text-align: center;
}

.btn-primary {
    color: #000;
    background-color: #fff;
    border-color: #fff;
	margin: 1.5rem 0;
	padding: .5rem 2rem;
	font-size: 1.2rem;
	font-weight: bold;
}
	.btn-primary:hover {
		color: #fff;
		background-color: #d03f3c;
		border-color: #d03f3c;
	}
	.btn-primary:focus {
		outline: 2px solid #fff;
		outline-offset: 2px;
		box-shadow: 0 0 0 .25rem rgba(255,255,255,.35);
	}

img {
	transition: transform 0.3s ease, filter 0.3s ease;
	}
.gallery-img {
  transition: transform .3s ease, filter .3s ease;
  cursor: zoom-in;
}
.gallery-img:hover {
  transform: scale(1.05);
  filter: brightness(85%);
}
.ratio { overflow: hidden; }

.header {
	background-color: #000;
}

.logo {
	text-align: center;
	margin-top: 30px;
	margin-bottom: 30px;
	/* min-height: 100px; */
	
}
	.logo img{
		width: 75%;	
	}
	

.menu-border {
	border-top: 1px solid #e3e3e3;
}
.navbar-brand img {
  height: 100px;       /* większe logo na desktopie */
  transition: height 0.2s ease;
}
.navbar-nav .nav-item {
	font-size: 1.1rem;
}
	.bg-dark {
		background-color: #000 !important;
	}
	.navbar-dark .navbar-nav .nav-link{
		color: #fff;
		margin: 2rem 0;
	}
	.navbar-dark .navbar-nav .nav-link:hover{
		color: #eee;
	}
	.navbar-dark .navbar-toggler {
		color: #fff;
		border-color: #fff;
		background-color: #000;
		}

.h2-title {
	text-align: center;
	padding-top: 5rem;
	padding-bottom: 5rem;
}

.text-primary {
	color: #d03f3c!important;
	font-weight: bold;
}

.offer {
	margin: 5rem 0;
}
	.offer p {
		text-align: justify;
		padding: 2rem 0;
	}
	.offer h2 {
		text-align: left;
	}
	.offer img {
		width: 90%!important;
	}
	.offer .bcg-color {
		background-color: rgba(0, 0, 0, 0.7);
		color: #fff;
		padding: 1rem 2rem;
	}
	.offer .btn-primary {
		color: #fff;
		background-color: #000;
		border-color: #000;
		margin: 1.5rem 0;
		padding: .5rem 2rem;
		font-size: 1.2rem;
		font-weight: bold;
	}
		.offer .btn-primary:hover {
			color: #fff;
			background-color: #d03f3c;
			border-color: #000;
		}

.services-info {
	color:#fff;
	background-color: #000;
	text-align: center;
	padding: 5rem 0;
}
	.services-info img {
		max-width: 150px; 
		width: 100%;
		height: auto;
	}
	.services-info p {
		text-align: center;
		padding: 0 2rem 0 2rem;
	}
	.services-info h3 {
		text-align: center;
		font-size: 2rem;
		padding-top: 2rem;
		padding-bottom: 1rem;
	}
	.services-info h5 {
		font-size: 2rem;
	}

.bcg-color-black {
	background-color: #000;
	color: #fff;
	padding-top: 6rem;
	padding-bottom: 6rem;
}
.bcg-color-white {
	background-color: #fff;
	color: #000;
	padding-top: 6rem;
	padding-bottom: 6rem;
}
	.bcg-color-white img {
		width: 35px;
	}
	.bcg-color-white a {
		color: #000;
	}
		.bcg-color-white a:hover {
			color: #5f5f5f;
		}


.bcg-img {
	background-image: url("../img/bcg-dzialki.jpg");
	background-size: cover;        /* wypełnia cały obszar */
	background-position: center;   /* centrowanie obrazu */
	background-repeat: no-repeat;  /* bez duplikacji */
	min-height: 100vh;             /* wysokość całego ekranu */
	color: white;                  /* kontrastowy tekst */
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	text-align: center;
}
.bcg-img-1 {
	background-image: url("../img/bcg-panoramy.jpg");
	background-size: cover;        /* wypełnia cały obszar */
	background-position: center;   /* centrowanie obrazu */
	background-repeat: no-repeat;  /* bez duplikacji */
	min-height: 100vh;             /* wysokość całego ekranu */
	color: white;                  /* kontrastowy tekst */
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	text-align: center;
}

.contact-us {
	padding-bottom: 5rem;
}

.partners {
	text-align: center;
}
	.partners img.partner-logo {
    width: auto !important;      /* Pozwala obrazkowi "oddychać" */
    max-width: 100%;             /* Blokuje wychodzenie poza ekran */
    height: 80px;                /* Ustawia równą wysokość dla wszystkich logotypów */
    object-fit: contain;         /* MAGIA: chroni proporcje obrazka! */
    margin: 0 auto;
    display: block;
    filter: grayscale(100%);     /* Domyślnie szare */
    opacity: 0.7;
    transition: all 0.3s ease-in-out;
	}

	.partners img.partner-logo:hover {
		filter: grayscale(0%);       /* Kolor po najechaniu myszką */
		opacity: 1;
	}

.footer {
	background-color: #000;
	padding-top: 1rem;
	padding-bottom: 1rem;
}
	.footer p {
		font-size: 1rem;
		text-align: center;
		color: #fff;
	}

#modalImage {
  transition: opacity .25s ease; /* czas i krzywa animacji */
  opacity: 1;
}
#modalImage.is-fading {
  opacity: 0;
}

/* --- GÓRNY PASEK USŁUG (TOP BAR) --- */
.top-bar-switcher {
    font-size: 0.9rem;
    border-bottom: 1px solid #333;
}
.service-link {
    color: #ccc;
    text-decoration: none;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    margin: 0 0.2rem;
    transition: all 0.3s ease;
    display: inline-block;
}
.service-link:hover {
    color: #fff;
    transform: translateY(-2px);
}
/* Wyróżnienie aktywnej zakładki (tej, na której obecnie jest klient) */
.service-link.active {
    color: #fff;
    background-color: rgba(208, 63, 60, 1);
    border-radius: 4px;
}
/* Kolory marek po najechaniu myszką */
a[href="/och-print3d"].service-link:hover { 
    color: rgb(0, 174, 66); /* Zielony Print3D */
}
a[href="/och-party"].service-link:hover { 
    color: #ff5a2f; /* Pomarańczowy Och-Party */
}

@media only screen and (max-width: 1198px) {
	.baner-bottom-info p{
		font-size: 2rem;
	}
	.social-icons-top img {
		width: 30px;
	}
	.offer h2 {
		text-align: center;
	}
}
	

@media only screen and (max-width: 990px) {
	.navbar-brand img {
		height: 60px;     /* mniejsze na tablecie */
	}
	.baner-bottom-info p{
		font-size: 2rem;
	}
	.navbar-dark .navbar-nav .nav-link {
		color: #fff;
		margin: .5rem 0;
	}
	.baner-bottom-info p{
		font-size: 2rem;
	}
	.offer {
		text-align: center;
	}
}


@media only screen and (max-width: 768px) {

	.h2, h2 { font-size: 2rem; }
  	.h3, h3 { font-size: 1.6rem; }

	.logo img{
		width: 50%;	
	}
	.baner-bottom-info p{
		font-size: 2rem;
	}
	.offer {
		text-align: center;
	}
	.contact-us {
		text-align: center;
	}
	.partners img.partner-logo {
    width: auto !important;      /* Pozwala obrazkowi "oddychać" */
    max-width: 100%;             /* Blokuje wychodzenie poza ekran */
    height: 80px;                /* Ustawia równą wysokość dla wszystkich logotypów */
    object-fit: contain;         /* MAGIA: chroni proporcje obrazka! */
    margin: 0 auto;
    display: block;
    filter: grayscale(100%);     /* Domyślnie szare */
    opacity: 0.7;
    transition: all 0.3s ease-in-out;
	}

	.partners img.partner-logo:hover {
		filter: grayscale(0%);       /* Kolor po najechaniu myszką */
		opacity: 1;
	}
	.bcg-color-black {
		text-align: center;
	}
	.bcg-color-white {
		text-align: center;
	}
}