/* Reset domyślnych stylów przeglądarki */
a, a:visited, a:hover, a:active, a:focus {
    text-decoration: none !important;
    color: inherit !important;
}

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

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


.hero {
	background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/static/img/back.jpg');
	background-size: cover;
	background-position: center;
	min-height: 80vh;
	background-attachment: fixed;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}


.cat-card:hover {
transform: translateY(-10px);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.paw-icon {
animation: float 4s ease-in-out infinite;
font-size: 20px;
}

@keyframes float {
0% { transform: translateY(0px); }
50% { transform: translateY(-20px);
    scale: 1.5; }
100% { transform: translateY(0px); }
}

.testimonial-card {
transition: all 0.3s ease;
}

.testimonial-card:hover {
background-color: #f3f4f6;
}

#catCarousel {
display: flex;
width: 100%;
}

.cat-card {
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
flex-shrink: 0;
opacity: 1;
transform: translateY(0) scale(1);
will-change: transform, opacity;
}

.cat-card.hidden {
opacity: 0;
transform: translateY(20px) scale(0.95);
position: absolute;
pointer-events: none;
height: 0;
width: 0;
overflow: hidden;
}

#cats .grid {
position: relative;
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 2rem;
transition: height 0.4s ease;
}

#prevCat, #nextCat {
transform: translateY(-50%) scale(1);
transition: all 0.3s ease;
}

#prevCat:hover, #nextCat:hover {
transform: translateY(-50%) scale(1.1);
}

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

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

.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;
}

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

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

/* Hamburger icon default hidden */
.hamburger {
	display: none;
	flex-direction: column;
	cursor: pointer;
	gap: 5px;
}

.hamburger span {
	width: 25px;
	height: 3px;
	background-color: white;
	border-radius: 2px;
	transition: all 0.3s ease;
}

/* Mobile Styles */
@media (max-width: 768px) {
	.nav-links {
		display: none;
		flex-direction: column;
		background-color: #78350f;
		position: absolute;
		top: 60px;
		right: 20px;
		width: 200px;
		padding: 15px;
		box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
		border-radius: 8px;
		z-index: 999;
	}

	.nav-links a {
		margin-bottom: 10px;
	}

	.nav-links.show {
		display: flex;
	}

	.hamburger {
		display: flex;
	}
}


/* Hero section */
.hero-content {
    text-align: center;
    color: white;
    padding: 60px 20px;
    position: relative;
    top: 50%;
    transform: translateY(10%);
}

.hero-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 30px;
}

/* Style dla przycisków Hero */
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    background-color: #d97706;
    color: white;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #b45309;
    transform: translateY(-3px);
}


.about-section {
    padding: 80px 0;
    background-color: white;
}

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

.about-title {
    text-align: center;
    margin-bottom: 48px;
}

.about-icon {
    display: inline-block;
    margin-bottom: 16px;
}

.about-title h2 {
    font-size: 32px;
    font-weight: bold;
    color: #1f2937; /* text-gray-800 */
    margin-bottom: 12px;
}

.title-line {
    width: 96px;
    height: 4px;
    background-color: #d97706; /* amber-600 */
    margin: 0 auto;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

@media (min-width: 768px) {
    .about-content {
    flex-direction: row;
    align-items: center;
    }
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
}

.about-text h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 16px;
}

.about-text p {
    color: #4b5563;
    margin-bottom: 16px;
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-list li {
    display: flex;
    align-items: center;
    color: #374151;
    margin-bottom: 10px;
    font-weight: 500;
}

.about-list li::before {
    content: "✔";
    color: #d97706;
    font-weight: bold;
    margin-right: 10px;
}

.our-cats-section {
    background-color: #f3f4f6;
    padding: 80px 0;
}

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

.our-cats-header {
    text-align: center;
    margin-bottom: 48px;
}

.our-cats-header h2 {
    font-size: 32px;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 8px;
}

.our-cats-header p {
    color: #4b5563;
    margin-top: 16px;
}

.title-line {
    width: 96px;
    height: 4px;
    background-color: #d97706;
    margin: 0 auto;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    border: 2px solid #d97706;
    background-color: white;
    color: #d97706;
    cursor: pointer;
    transition: 0.3s;
}

.filter-btn:hover {
    background-color: #d97706;
    color: white;
}

.filter-btn.active {
    background-color: #d97706;
    color: white;
}

.cats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 32px;
}

.cat-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    text-decoration: none !important;
    color: inherit !important;
}

.cat-card:hover {
    transform: translateY(-10px);
}

.cat-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.cat-info {
    padding: 20px;
}

.cat-info h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
}

.cat-tag {
    color: #d97706;
    font-weight: 500;
    margin-bottom: 8px;
}

.cat-desc {
    color: #4b5563;
}

.history-section {
    padding: 80px 0;
    background-color: white;
}

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

.history-header {
    text-align: center;
    margin-bottom: 48px;
}

.history-header h2 {
    font-size: 32px;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 12px;
}

.history-header p {
    color: #4b5563;
    margin-top: 16px;
}

.title-line {
    width: 96px;
    height: 4px;
    background-color: #d97706;
    margin: 0 auto;
}

.history-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

@media (min-width: 768px) {
    .history-content {
    flex-direction: row;
    align-items: flex-start;
    }
}

.history-text {
    flex: 1;
}

.history-text h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 16px;
}

.history-text p {
    color: #4b5563;
    margin-bottom: 16px;
    line-height: 1.6;
}

.margin-top {
    margin-top: 40px;
}

.history-image {
    flex: 1;
    padding-left: 0;
}

@media (min-width: 768px) {
    .history-image {
    padding-left: 32px;
    }
}

.history-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
    margin-bottom: 32px;
}



/* CAT SHOW */
/* CAT SHOW SECTION */
.cat-show-section {
    padding: 80px 0;
    background-color: white;
}

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

.cat-show-header {
    text-align: center;
    margin-bottom: 48px;
}

.cat-show-header h2 {
    font-size: 32px;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 12px;
}

.cat-show-header p {
    color: #4b5563;
    margin-top: 16px;
}

.cat-show-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

@media (min-width: 768px) {
    .cat-show-content {
        flex-direction: row;
        align-items: center;
    }
}

.cat-show-text {
    flex: 1;
}

.cat-show-text h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 16px;
}

.cat-show-text p {
    color: #4b5563;
    margin-bottom: 16px;
    line-height: 1.6;
}

.cat-show-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cat-show-list li {
    display: flex;
    align-items: center;
    color: #374151;
    margin-bottom: 10px;
    font-weight: 500;
}


.cat-show-gallery {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

/* Na małych ekranach (1 kolumna) */
@media (max-width: 767px) {
    .cat-show-gallery {
        grid-template-columns: 1fr;
    }
}

/* Na średnich i dużych ekranach (2 kolumny) */
@media (min-width: 768px) {
    .cat-show-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Na bardzo dużych ekranach (3 kolumny) - opcjonalnie */
@media (min-width: 1200px) {
    .cat-show-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

.show-card {
    background-color: #f9fafb;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.show-card:hover {
    transform: translateY(-5px);
}

.show-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.show-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
}

.show-card p {
    color: #6b7280;
    font-size: 14px;
}


.gallery-section {
    background-color: #f3f4f6;
    padding: 80px 0;
}

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

.gallery-header {
    text-align: center;
    margin-bottom: 48px;
}

.gallery-header h2 {
    font-size: 32px;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 12px;
}

.title-line {
    width: 96px;
    height: 4px;
    background-color: #d97706;
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .gallery-grid {
    grid-template-columns: 1fr 1fr;
    }
}

.gallery-item {
    text-align: center;
}

.gallery-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 16px;
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.02);
}

.gallery-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1f2937;
}

.gallery-text {
    color: red;
}

.gallery-btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 999px;
    background-color: #d97706;
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
    transition: transform 0.3s ease;
}

.gallery-btn:hover {
    background-color: #b45309;
    transform: scale(1.1);
    transform: translateY(-5px);
}

.gallery-bottom {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-section {
    background-color: #78350f;
    color: white;
    padding: 80px 0;
}

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

.contact-header {
    text-align: center;
    margin-bottom: 48px;
}

.contact-header h2 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 12px;
}

.contact-header p {
    max-width: 600px;
    margin: 0 auto;
}

.title-line.white {
    width: 96px;
    height: 4px;
    background-color: white;
    margin: 0 auto;
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

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

.contact-form,
.contact-info {
    flex: 1;
}

.contact-form h3,
.contact-info h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-form label {
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    padding: 10px 16px;
    background-color: #92400e;
    border: 1px solid #78350f;
    border-radius: 6px;
    color: white;
    font-size: 16px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #f59e0b;
    box-shadow: 0 0 0 2px #fbbf24;
}

.send-btn {
    align-self: start;
    background-color: white;
    color: #78350f;
    font-weight: bold;
    padding: 12px 24px;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.send-btn:hover {
    background-color: #f3f4f6;
}

.contact-info .info-block {
    margin-bottom: 24px;
}

.contact-info h4 {
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-info p {
    color: #fcd34d;
}

.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);
}

.faq-section {
	background-color: #f3f4f6;
	padding: 80px 0;
}

.faq-container {
	max-width: 800px;
	margin: 0 auto;
	padding: 0 24px;
}

.faq-header {
	text-align: center;
	margin-bottom: 48px;
}

.faq-header h2 {
	font-size: 32px;
	font-weight: bold;
	color: #1f2937;
	margin-bottom: 12px;
}

.title-line.amber {
	width: 96px;
	height: 4px;
	background-color: #d97706;
	margin: 0 auto;
}

.faq-list {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.faq-item {
	background-color: white;
	border-radius: 8px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
	overflow: hidden;
}

.faq-btn {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	padding: 24px;
	background: none;
	border: none;
	cursor: pointer;
	outline: none;
}

.faq-btn h3 {
	font-size: 18px;
	color: #1f2937;
	text-align: left;
	font-weight: 600;
}

.faq-btn i {
	font-size: 18px;
	color: #d97706;
	transition: transform 0.3s;
}

.faq-content {
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	padding: 0 24px;
	transition: all 0.4s ease;
}

.faq-content p {
	color: #4b5563;
	line-height: 1.6;
}

.faq-item.active .faq-content {
	max-height: 500px; /* wystarczająco dużo na cały tekst */
	opacity: 1;
	padding-bottom: 24px;
}

.faq-item.active .faq-btn i {
	transform: rotate(180deg);
}

@keyframes fadeIn {
	from { opacity: 0; transform: translateY(-5px); }
	to { opacity: 1; transform: translateY(0); }
}

.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;
    opacity: 0;
    visibility: hidden;
    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);
}


/* ==================== MODAL STYLES ==================== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    animation: zoomIn 0.3s;
}

@keyframes zoomIn {
    from {transform: scale(0.8); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    z-index: 2001;
}

.modal-close:hover,
.modal-close:focus {
    color: #d97706;
    text-decoration: none;
    cursor: pointer;
}

/* Responsywność dla mniejszych ekranów */
@media only screen and (max-width: 768px) {
    .modal-content {
    max-width: 95%;
    }
    
    .modal-close {
    font-size: 30px;
    top: 10px;
    right: 20px;
    }
}

.our-cats-section { padding: 60px 0; background: #f5f7f8; }
    .container-inner { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
    .container-inner.centered { text-align: center; }
    .section-title { font-size: 32px; margin: 0 0 6px; color: #10233b; font-weight:700; }
    .section-sub { margin-bottom: 18px; color:#6b7b85; }

    .cats-filters { margin: 14px 0 26px; display:inline-flex; gap:12px; justify-content:center; }
    .filter-btn {
        border: 1px solid #e7a33a;
        background: transparent;
        color: #e7a33a;
        padding: 8px 16px;
        border-radius: 999px;
        cursor: pointer;
        font-weight:600;
    }
    .filter-btn.active { background: #e7a33a; color:#fff; border-color: #e7a33a; }

    .cats-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
        align-items: start;
        margin-top: 12px;
        justify-items: center;
    }
    .cat-card { width: 100%; max-width: 340px; box-shadow: 0 6px 18px rgba(12,18,22,0.06); border-radius: 10px; overflow: hidden; background:#fff; text-align:left; }
    .cat-link { color: inherit; text-decoration: none; display:block; }
    .cat-image { width:100%; height:220px; background:#eee; display:block; overflow:hidden; }
    .cat-image img { width:100%; height:100%; object-fit:cover; display:block; }
    .cat-body { padding: 14px 16px; }
    .cat-name { margin:0 0 6px; font-size:18px; color:#10233b; font-weight:700; display:flex; align-items:center; justify-content:space-between; }
    .status { font-size:12px; color:#888; font-weight:700; margin-left:8px; }

    .cat-short { margin:6px 0 8px; color:#e7a33a; font-weight:700; font-size:14px; }
    .cat-desc { margin:0; color:#6b7b85; font-size:13px; line-height:1.4; max-height:66px; overflow:hidden; }

    @media (max-width: 980px) { .cats-grid { grid-template-columns: repeat(2, 1fr); gap:18px; } .cat-image { height:180px; } }
    @media (max-width: 560px) { .cats-grid { grid-template-columns: 1fr; } .cat-image { height:200px; } .container-inner { padding: 0 12px; text-align: left; } }
