/* Reset podstawowych ustawień */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen-Sans, Ubuntu, Cantarell, Helvetica Neue, sans-serif;
	    -webkit-font-smoothing: antialiased;

}

main {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;
	height: 63vh;
}

:root {

--divider-pattern-url: url(data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' overflow='visible' height='100%' viewBox='0 0 20 16' fill='none' stroke='black' stroke-width='3' stroke-linecap='square' stroke-miterlimit='10'%3E%3Cg transform='translate(-12.000000, 0)'%3E%3Cpath d='M28,0L10,18'/%3E%3Cpath d='M18,0L0,18'/%3E%3Cpath d='M48,0L30,18'/%3E%3Cpath d='M38,0L20,18'/%3E%3C/g%3E%3C/svg%3E);

}

.opis {
	//max-width: 839px;
	width: 100%;
}

.opis h2 {
	margin-bottom: 20px !important;
	color: #3a3a3a;
}

.opis div, .opis span {
	margin-bottom: 20px !important;
	color: #4B4F58;
}

.opis p {
	color: #4B4F58;
}
.elementor-divider {
	display: flex;
	flex-shrink: 0;
}

.dividertext { 
	text-transform: uppercase;
    letter-spacing: 2.7px;
	margin-left: 0;
	flex-shrink: 0;
	font-size: 15px;
    line-height: 1;
    max-width: 95%;
	margin-right: 12px;
	color: #4B4F58 !important;
}

.divider-separator {
	width: 100%;
    min-height: 14px;
    -webkit-mask-size: 10px 100%;
    mask-size: 10px 100%;
    -webkit-mask-repeat: repeat-x;
    mask-repeat: repeat-x;
    background-color: #f21e1e;
    -webkit-mask-image: var(--divider-pattern-url);
    mask-image: var(--divider-pattern-url);

}



/* Galeria */

.galeria {
    display: flex;
    border-radius: 10px;
    padding: 30px;
    max-width: 1080px;
    width: 100%;
    /* margin-bottom: 30px; */
    text-align: center;
    color: #4B4F58;
    margin: 0 auto;
    flex-direction: column;
    justify-content: center;
}

.galeria h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #00bcd4;
}

.opis h2, .company-info h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #000000;
	font-weight: 400;
}

.opis h3, .company-info h3 {
    font-size: 1.75rem;
    margin-bottom: 10px;
    color: #000000;
	font-weight: 300;
}

.galeria p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.gallery-grid img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.gallery-grid img:hover {
    transform: scale(1.05);
}
.lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.lightbox img {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 10px;
    box-shadow: 0 0 20px #000;
    transition: transform 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 3rem;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
}
footer {
    text-align: center;
    padding: 10px;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0;
    color: #e0f7fa;
    font-size: 0.9rem;
}

a {
    text-decoration: none !important;
    color: inherit !important;
    border-bottom: none !important;
}