* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
    background-color: #f9fafb;
    font-family: sans-serif
}

/* Header styles */
.header {
    background-color: #78350f;
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    height: 40px;
}

.site-title {
    font-weight: bold;
    font-size: 20px;
}

.nav-links {
    display: flex;
    gap: 20px;
    margin-left: auto;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    margin-right: 100px;
}

.nav-links a:hover {
    color: #fde68a;
}





/* Gallery Styles */
.litters-a {
    padding: 40px 20px;
    background-color: #f9fafb;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    background: white; /* Dodajemy białe tło */
    display: flex;
    flex-direction: column; /* Kluczowa zmiana - układ kolumnowy */
    height: 100%; /* Pełna wysokość */
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain; /* Zachowuje proporcje */
    flex-grow: 1; /* Wypełnia kontener */
}

/* Responsywność */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

.image-caption {
    text-align: center;
    padding: 12px;
    background: #f3f4f6;
    color: #78350f;
    font-weight: bold;
    width: 100%;
    border-top: 1px solid #e5e7eb;
    line-height: normal; /* Resetujemy line-height */
    margin: 0; /* Usuwamy marginesy */
}


.socials h4 {
    margin-top: 32px;
    margin-bottom: 12px;
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icons img {
    width: 30px; /* lub inny rozmiar według preferencji */
    height: 32px;
    transition: transform 0.3s ease;
}

.social-icons a:hover img {
    transform: scale(1.1);
}

.footer-section {
	background-color: #1f2937;
	color: white;
	padding: 80px 0 40px;
}

.footer-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

.footer-top {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

@media (min-width: 768px) {
	.footer-top {
		flex-direction: row;
		justify-content: space-between;
	}
}

.footer-brand {
	max-width: 400px;
}

.footer-logo {
	display: flex;
	align-items: center;
	margin-bottom: 16px;
}

.footer-logo img {
	height: 64px;
	margin-right: 10px;
}

.footer-logo span {
	font-weight: bold;
	font-size: 20px;
}

.footer-description {
	color: #9ca3af;
	line-height: 1.6;
}

.footer-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
}

@media (min-width: 768px) {
	.footer-links {
		grid-template-columns: repeat(3, 1fr);
	}
}

.footer-column h4 {
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 16px;
}

.footer-column ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-column li {
	margin-bottom: 8px;
}

.footer-column a {
	color: #9ca3af;
	text-decoration: none;
	transition: color 0.3s;
}

.footer-column a:hover {
	color: white;
}

.footer-bottom {
	border-top: 1px solid #374151;
	margin-top: 48px;
	padding-top: 24px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

@media (min-width: 768px) {
	.footer-bottom {
		flex-direction: row;
	}
}

.footer-bottom p {
	color: #9ca3af;
	margin: 0;
}

.footer-socials {
	display: flex;
	gap: 24px;
}

.footer-socials a {
	color: #9ca3af;
	font-size: 20px;
	transition: color 0.3s;
}

.footer-socials a:hover {
	color: white;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #d97706;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #b45309;
    transform: translateY(-3px);
}