@font-face {
font-family: 'Roboto';
src: url(//ogrod-opole.pl/wp-content/themes/bywitek-theme/assets/fonts/Roboto-Regular.woff) format('woff');
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Roboto';
src: url(//ogrod-opole.pl/wp-content/themes/bywitek-theme/assets/fonts/Roboto-Medium.woff) format('woff');
font-weight: 500;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Roboto';
src: url(//ogrod-opole.pl/wp-content/themes/bywitek-theme/assets/fonts/Roboto-SemiBold.woff) format('woff');
font-weight: 600;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Roboto';
src: url(//ogrod-opole.pl/wp-content/themes/bywitek-theme/assets/fonts/Roboto-Bold.woff) format('woff');
font-weight: 700;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Roboto';
src: url(//ogrod-opole.pl/wp-content/themes/bywitek-theme/assets/fonts/Roboto-ExtraBold.woff) format('woff');
font-weight: 800;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Roboto';
src: url(//ogrod-opole.pl/wp-content/themes/bywitek-theme/assets/fonts/Roboto-Black.woff) format('woff');
font-weight: 900;
font-style: normal;
font-display: swap;
}
:root {
--primary: #378036;
--secondary: #6bb449;
--header-height: 80px;
--header-bg: #fff;
--drawer-bg: #fff;
--text-color: #000;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Roboto', sans-serif;
color: var(--text-color);
line-height: 1.6;
}
body.menu-open {
overflow: hidden;
}
.topbar {
width: 100%;
background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}
.topbar-inner {
display: flex;
align-items: center;
justify-content: flex-end;
gap: 1rem;
padding: 0.45rem 1rem;
flex-wrap: nowrap;
}
.topbar-link {
color: #fff;
text-decoration: none;
font-size: 0.8rem;
font-weight: 500;
line-height: 1.2;
white-space: nowrap;
}
.topbar-link:hover {
opacity: 0.9;
}
@media (min-width: 768px) {
.topbar-inner {
justify-content: flex-end;
gap: 1.5rem;
padding: 0.5rem 3.5rem;
}
.topbar-link {
font-size: 0.95rem;
}
}
@media (min-width: 992px) {
.topbar-inner {
padding: 0.5rem 6rem;
}
}
@media (min-width: 1200px) {
.topbar-inner {
padding: 0.5rem 9rem;
}
}
.site-header {
position: sticky;
top: 0;
left: 0;
width: 100%;
background-color: var(--header-bg);
z-index: 1000;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.header-inner {
display: flex;
justify-content: space-between;
align-items: center;
height: var(--header-height);
width: 100%;
padding: 0 1rem;
}
@media (min-width: 768px) {
.header-inner {
padding: 0 3.5rem;
}
}
@media (min-width: 992px) {
.header-inner {
padding: 0 6rem;
}
}
@media (min-width: 1200px) {
.header-inner {
padding: 0 9rem;
}
}
.header-col {
display: flex;
align-items: center;
}
.header-left {
justify-content: flex-start;
gap: 3rem;
}
.header-right {
justify-content: flex-end;
}
.main-navigation ul {
list-style: none;
display: flex;
gap: 2rem;
align-items: center;
margin: 0;
padding: 0;
flex-wrap: nowrap;
}
.main-navigation a {
text-decoration: none;
color: var(--text-color);
font-weight: 500;
font-size: 1rem;
text-transform: none;
transition: color 0.2s ease;
}
.main-navigation a:hover {
color: var(--primary);
}
.main-navigation a.btn-cta {
background-color: var(--secondary);
color: #fff;
padding: 0.8rem 2rem;
border-radius: 50px;
font-weight: 600;
transition: background-color 0.3s ease;
}
.main-navigation a.btn-cta:hover {
background-color: var(--primary);
color: #fff;
}
.site-branding img {
max-height: 60px;
width: auto;
display: block;
}
.header-socials {
display: flex;
gap: 1rem;
align-items: center;
}
.social-icon {
display: block;
line-height: 0;
}
.social-icon img {
height: 30px;
width: 30px;
display: block;
filter: brightness(0);
transition: filter 0.2s ease;
}
.social-icon:hover img {
filter: invert(44%) sepia(35%) saturate(996%) hue-rotate(76deg) brightness(95%) contrast(90%);
}
.menu-toggle {
background: none;
border: none;
cursor: pointer;
padding: 0;
line-height: 0;
}
.menu-toggle img {
height: 36px;
width: 36px;
}
.mobile-drawer {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100vh;
background-color: var(--drawer-bg);
z-index: 2000;
transform: translateX(100%);
transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
display: flex;
flex-direction: column;
}
.mobile-drawer.is-active {
transform: translateX(0);
}
.drawer-header {
display: flex;
justify-content: flex-end;
padding: 0 1rem;
height: var(--header-height);
align-items: center;
}
@media (min-width: 768px) {
.drawer-header {
padding: 0 3.5rem;
}
}
@media (min-width: 992px) {
.drawer-header {
padding: 0 6rem;
}
}
.drawer-close {
background: none;
border: none;
cursor: pointer;
padding: 0;
opacity: 1;
}
.drawer-close img {
height: 36px;
width: 36px;
}
.drawer-content {
flex: 1;
padding: 2rem 1.5rem;
display: flex;
flex-direction: column;
align-items: flex-start;
overflow-y: auto;
}
.mobile-navigation ul {
list-style: none;
padding: 0;
margin: 0;
display: flex;
flex-direction: column;
gap: 1.5rem;
margin-bottom: 2rem;
width: 100%;
}
.mobile-navigation a {
font-size: 1.8rem;
font-weight: 600;
color: var(--text-color);
text-decoration: none;
display: block;
}
.mobile-navigation a.btn-cta {
display: inline-block;
background-color: var(--secondary);
color: #fff;
padding: 0.8rem 2rem;
border-radius: 50px;
font-size: 1.5rem;
margin-top: 1rem;
transition: background-color 0.3s ease;
}
.mobile-navigation a.btn-cta:hover {
background-color: var(--primary);
}
.mobile-socials {
display: flex;
flex-direction: row;
gap: 1.5rem;
}
.mobile-socials .social-icon img {
height: 40px;
width: 40px;
filter: brightness(0);
}
.mobile-socials .social-icon:hover img {
filter: invert(44%) sepia(35%) saturate(996%) hue-rotate(76deg) brightness(95%) contrast(90%);
}
.desktop-only {
display: flex !important;
}
.mobile-only {
display: none !important;
}
@media (max-width: 1145px) {
.desktop-only {
display: none !important;
}
.mobile-only {
display: flex !important;
}
.header-center {
display: none;
}
.header-left {
justify-content: flex-start;
flex: 0 0 auto;
}
.header-right {
justify-content: flex-end;
flex: 1;
}
.site-branding img {
max-height: 50px;
}
}
.site-footer {
background: linear-gradient(135deg, var(--primary) 0%, #1a5a1a 100%);
color: rgba(255, 255, 255, 0.9);
position: relative;
overflow: hidden;
}
.site-footer::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background:
radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
radial-gradient(circle at 80% 70%, rgba(0, 0, 0, 0.1) 0%, transparent 50%);
pointer-events: none;
}
.footer-top {
padding: 4rem 1rem;
border-bottom: 1px solid rgba(255, 255, 255, 0.15);
position: relative;
z-index: 1;
}
.footer-columns {
display: flex;
flex-direction: column;
gap: 3rem;
}
.footer-cta {
flex: 1;
}
.footer-logo {
font-size: 1.8rem;
font-weight: 900;
color: #fff;
margin: 0 0 1rem 0;
text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
.footer-description {
font-size: 1rem;
line-height: 1.6;
margin: 0 0 1.5rem 0;
max-width: 400px;
color: rgba(255, 255, 255, 0.95);
}
.footer-contact {
display: flex;
flex-direction: column;
gap: 0.75rem;
margin-bottom: 1.5rem;
}
.footer-phone,
.footer-email {
display: inline-flex;
align-items: center;
gap: 0.75rem;
color: #fff;
font-size: 1.1rem;
font-weight: 600;
text-decoration: none;
transition: all 0.3s ease;
}
.footer-phone:hover,
.footer-email:hover {
opacity: 0.8;
}
.footer-phone img,
.footer-email img {
flex-shrink: 0;
filter: brightness(0) invert(1);
}
.btn-footer-contact {
display: inline-block;
padding: 0.75rem 0;
width: 200px;
text-align: center;
border-radius: 50px;
font-size: 1.1rem;
font-weight: 600;
text-decoration: none;
background-color: #fff;
color: var(--primary);
border: 2px solid #fff;
transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
margin-top: 0.5rem;
}
.btn-footer-contact:hover {
background-color: rgba(255, 255, 255, 0.9);
border-color: rgba(255, 255, 255, 0.9);
}
.footer-right {
display: flex;
flex-direction: column;
gap: 2.5rem;
}
.footer-column-title {
font-size: 1.1rem;
font-weight: 700;
color: #fff;
margin: 0 0 1rem 0;
text-transform: uppercase;
letter-spacing: 0.5px;
text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.footer-menu {
list-style: none;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
gap: 0.75rem;
}
.footer-menu a {
color: rgba(255, 255, 255, 0.95);
text-decoration: none;
font-size: 1rem;
transition: opacity 0.3s ease;
}
.footer-menu a:hover {
opacity: 0.7;
}
.footer-social {
list-style: none;
margin: 0;
padding: 0;
display: flex;
flex-direction: row;
gap: 1rem;
}
.footer-social a {
display: flex;
align-items: center;
justify-content: center;
transition: opacity 0.3s ease;
}
.footer-social a:hover {
opacity: 0.7;
}
.footer-social img {
filter: brightness(0) invert(1);
}
.footer-bottom {
padding: 1rem 1rem;
position: relative;
z-index: 1;
}
.footer-bottom-content {
display: flex;
flex-direction: column;
gap: 1rem;
font-size: 0.9rem;
}
.footer-bottom-left {
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.footer-bottom-left p {
margin: 0;
color: rgba(255, 255, 255, 0.85);
}
.footer-bottom-left a {
color: rgba(255, 255, 255, 0.95);
text-decoration: none;
transition: color 0.3s ease;
}
.footer-bottom-left a:hover {
color: #fff;
}
.footer-bottom-right p {
margin: 0;
color: rgba(255, 255, 255, 0.85);
}
.footer-bottom-right a {
color: #fff;
text-decoration: none;
font-weight: 600;
transition: all 0.3s ease;
text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.footer-bottom-right a:hover {
color: rgba(255, 255, 255, 0.9);
text-decoration: underline;
}
@media (min-width: 768px) {
.footer-top {
padding: 5rem 2rem;
}
.footer-columns {
flex-direction: row;
gap: 4rem;
}
.footer-right {
flex-direction: row;
gap: 3rem;
}
.footer-bottom-content {
flex-direction: row;
justify-content: space-between;
align-items: center;
}
.footer-bottom-left {
flex-direction: row;
gap: 2rem;
align-items: center;
}
}
@media (min-width: 1200px) {
.footer-top {
padding: 6rem 12rem;
}
.footer-bottom {
padding: 1.25rem 12rem;
}
}.lightbox {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.95);
z-index: 9999;
display: none;
align-items: center;
justify-content: center;
opacity: 0;
transition: opacity 0.3s ease;
}
.lightbox.active {
display: flex;
opacity: 1;
}
.lightbox-content {
position: relative;
max-width: 90%;
max-height: 90%;
display: flex;
align-items: center;
justify-content: center;
}
.lightbox-image {
max-width: 100%;
max-height: 90vh;
object-fit: contain;
border-radius: 4px;
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
.lightbox-close {
position: fixed;
top: 20px;
right: 20px;
width: 40px;
height: 40px;
background: rgba(255, 255, 255, 0.1);
border: none;
border-radius: 4px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: background 0.2s ease;
z-index: 10000;
}
.lightbox-close:hover {
background: rgba(255, 255, 255, 0.2);
}
.lightbox-close svg {
width: 24px;
height: 24px;
stroke: #fff;
stroke-width: 2;
}
.lightbox-nav {
position: fixed;
bottom: 20px;
right: 20px;
display: flex;
gap: 10px;
z-index: 10000;
}
.lightbox-nav button {
width: 40px;
height: 40px;
background: rgba(255, 255, 255, 0.1);
border: none;
border-radius: 4px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: background 0.2s ease;
}
.lightbox-nav button:hover:not(:disabled) {
background: rgba(255, 255, 255, 0.2);
}
.lightbox-nav button:disabled {
opacity: 0.3;
cursor: not-allowed;
}
.lightbox-nav svg {
width: 20px;
height: 20px;
stroke: #fff;
stroke-width: 2;
fill: none;
}
.lightbox-counter {
position: fixed;
bottom: 20px;
left: 20px;
color: #fff;
font-size: 16px;
font-weight: 500;
background: rgba(0, 0, 0, 0.5);
padding: 8px 16px;
border-radius: 4px;
z-index: 10000;
}
.gallery-mosaic-item {
cursor: pointer;
transition: opacity 0.2s ease;
}
.gallery-mosaic-item:hover {
opacity: 0.9;
}
@media (max-width: 768px) {
.lightbox-close {
top: 10px;
right: 10px;
width: 36px;
height: 36px;
}
.lightbox-nav {
bottom: 10px;
right: 10px;
}
.lightbox-nav button {
width: 36px;
height: 36px;
}
.lightbox-counter {
bottom: 10px;
left: 10px;
font-size: 14px;
padding: 6px 12px;
}
}:root {
--gallery-bg: #f9f9f9;
--gallery-primary: var(--primary, #378036);
--gallery-secondary: var(--secondary, #6bb449);
--text-color: #333;
}
.gallery-section {
padding: 60px 10px;
background-color: var(--gallery-bg);
min-height: 80vh;
}
.gallery-container {
max-width: 1200px;
margin: 0 auto;
}
.section-header {
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: flex-start;
margin-bottom: 3rem;
gap: 1.5rem;
}
@media (min-width: 768px) {
.section-header {
flex-direction: row;
align-items: flex-end;
}
}
.section-header-left {
flex: 1;
}
.section-header-right {
flex: 0 0 auto;
}
.section-title {
text-align: left;
font-size: 2.5rem;
font-weight: 900;
margin-bottom: 0.5rem;
text-transform: none;
color: var(--text-color);
}
.section-description {
font-size: 1.1rem;
color: #666;
max-width: 600px;
line-height: 1.6;
}
.btn-section-link {
display: inline-block;
padding: 0.75rem 0;
width: 200px;
text-align: center;
border-radius: 50px;
font-size: 1.1rem;
font-weight: 600;
text-decoration: none;
transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
background-color: var(--gallery-secondary);
color: #fff;
border: 2px solid var(--gallery-secondary);
}
.btn-section-link:hover {
background-color: var(--gallery-primary);
border-color: var(--gallery-primary);
}
.gallery-desktop-grid {
display: flex;
flex-direction: column;
gap: 2px;
}
.gallery-row {
display: grid;
grid-template-columns: repeat(7, 1fr);
grid-template-rows: repeat(2, 1fr);
height: 500px;
gap: 2px;
}
.gallery-row.layout-a .gallery-cell-1 {
grid-column: 1 / 5;
grid-row: 1;
}
.gallery-row.layout-a .gallery-cell-2 {
grid-column: 5 / 8;
grid-row: 1;
}
.gallery-row.layout-a .gallery-cell-3 {
grid-column: 1 / 3;
grid-row: 2;
}
.gallery-row.layout-a .gallery-cell-4 {
grid-column: 3 / 6;
grid-row: 2;
}
.gallery-row.layout-a .gallery-cell-5 {
grid-column: 6 / 8;
grid-row: 2;
}
.gallery-row.layout-b .gallery-cell-1 {
grid-column: 1 / 3;
grid-row: 1;
}
.gallery-row.layout-b .gallery-cell-2 {
grid-column: 3 / 6;
grid-row: 1;
}
.gallery-row.layout-b .gallery-cell-3 {
grid-column: 6 / 8;
grid-row: 1;
}
.gallery-row.layout-b .gallery-cell-4 {
grid-column: 1 / 4;
grid-row: 2;
}
.gallery-row.layout-b .gallery-cell-5 {
grid-column: 4 / 8;
grid-row: 2;
}
.gallery-row.layout-c .gallery-cell-1 {
grid-column: 1 / 4;
grid-row: 1;
}
.gallery-row.layout-c .gallery-cell-2 {
grid-column: 4 / 8;
grid-row: 1;
}
.gallery-row.layout-c .gallery-cell-3 {
grid-column: 1 / 2;
grid-row: 2;
}
.gallery-row.layout-c .gallery-cell-4 {
grid-column: 2 / 5;
grid-row: 2;
}
.gallery-row.layout-c .gallery-cell-5 {
grid-column: 5 / 8;
grid-row: 2;
}
.gallery-row.layout-d .gallery-cell-1 {
grid-column: 1 / 6;
grid-row: 1;
}
.gallery-row.layout-d .gallery-cell-2 {
grid-column: 6 / 8;
grid-row: 1;
}
.gallery-row.layout-d .gallery-cell-3 {
grid-column: 1 / 3;
grid-row: 2;
}
.gallery-row.layout-d .gallery-cell-4 {
grid-column: 3 / 5;
grid-row: 2;
}
.gallery-row.layout-d .gallery-cell-5 {
grid-column: 5 / 8;
grid-row: 2;
}
.gallery-row.is-partial {
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
grid-template-rows: auto;
}
.gallery-row.is-partial .gallery-item {
grid-column: auto !important;
grid-row: auto !important;
min-height: 220px;
}
.gallery-item {
position: relative;
border-radius: 0;
overflow: hidden;
cursor: pointer;
background: #eee;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.gallery-item.corner-tl {
border-top-left-radius: 12px;
}
.gallery-item.corner-tr {
border-top-right-radius: 12px;
}
.gallery-item.corner-bl {
border-bottom-left-radius: 12px;
}
.gallery-item.corner-br {
border-bottom-right-radius: 12px;
}
.gallery-item img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
transition: none;
}
.gallery-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.3);
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-overlay {
opacity: 1;
}
.gallery-icon {
width: 50px;
height: 50px;
background: var(--gallery-primary);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: white;
transform: translateY(20px);
transition: transform 0.3s ease;
}
.gallery-item:hover .gallery-icon {
transform: translateY(0);
}
.gallery-mobile {
display: none;
}
.gallery-mobile-viewport {
width: 100%;
overflow: hidden;
border-radius: 12px;
}
.gallery-mobile-track {
display: flex;
gap: 0;
transition: transform 0.3s ease;
will-change: transform;
}
.gallery-mobile-slide {
flex: 0 0 100%;
min-width: 100%;
}
.gallery-mobile-controls {
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
margin-top: 1rem;
width: 100%;
}
.gallery-mobile-counter {
font-size: 0.95rem;
font-weight: 600;
color: #666;
white-space: nowrap;
}
.gallery-mobile-arrows {
display: flex;
align-items: center;
gap: 1rem;
}
.gallery-mobile-nav {
background: transparent;
border: none;
width: 36px;
height: 36px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.2s ease;
color: #888;
padding: 0;
}
.gallery-mobile-nav svg {
width: 30px;
height: 30px;
fill: currentColor;
display: block;
}
.gallery-mobile-nav:hover {
color: var(--gallery-secondary);
transform: scale(1.1);
}
.no-gallery-message {
text-align: center;
padding: 60px;
}
.no-gallery-title {
font-size: 2rem;
font-weight: 700;
margin-bottom: 15px;
color: var(--text-color);
}
.no-gallery-text {
font-size: 1.1rem;
color: #666;
max-width: 600px;
margin: 0 auto;
}
@media (max-width: 1024px) {
.gallery-row {
height: 420px;
grid-template-rows: repeat(2, 1fr);
}
}
@media (max-width: 768px) {
.gallery-section {
padding: 50px 10px;
}
.gallery-desktop-grid {
display: none;
}
.gallery-mobile {
display: block;
}
.gallery-mobile .gallery-item {
border-radius: 12px;
aspect-ratio: 4 / 3;
}
.gallery-mobile .gallery-item img {
width: 100%;
height: 100%;
object-fit: cover;
}
}