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

body {
	font-family: "Inter", sans-serif;
	background: linear-gradient(135deg, #f5f5dc 0%, #faf0e6 50%, #f5f5dc 100%);
	min-height: 100vh;
	overflow-x: hidden;
	color: #2c2c2c;
}
/*style nowe */
.popup-card {
	position: fixed;
	top: 20%;
	left: 50%;
	transform: translateX(-50%);
	background: #fffbe6;
	border-radius: 16px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
	padding: 1.5rem;
	width: 90%;
	max-width: 320px;
	z-index: 9999;
	text-align: center;
	animation: fadeIn 0.5s ease-out;
}
.popup-photo {
	width: 80px;
	border-radius: 50%;
	margin-bottom: 1rem;
}
.popup-buttons button {
	margin: 0.5rem;
	padding: 0.6rem 1.2rem;
	border: none;
	border-radius: 8px;
	background-color: #d4af37;
	color: white;
	font-weight: bold;
}
.hidden {
	display: none;
}
@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(-20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Background Animation */
.background-animation {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
	opacity: 0.3;
}

/* Header */
.header {
	text-align: center;
	padding: 2rem 1rem;
	position: relative;
	z-index: 10;
}

.header h1 {
	font-family: "Playfair Display", serif;
	font-size: 2.5rem;
	font-weight: 700;
	color: #8b4513;
	margin-bottom: 0.5rem;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.header p {
	font-size: 1.1rem;
	color: #a0522d;
	font-weight: 300;
}

/* Main Container */
.main-container {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 70vh;
	padding: 2rem;
	perspective: 1000px;
}

/* 3D Card Container */
.card-container {
	position: relative;
	width: 350px;
	height: 500px;
	transform-style: preserve-3d;
	transition: transform 0.6s;
	cursor: pointer;
}

.card-container.flipped {
	transform: rotateY(180deg);
}

/* Card Faces */
.card-face {
	position: absolute;
	width: 100%;
	height: 100%;
	backface-visibility: hidden;
	border-radius: 20px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
	background: linear-gradient(145deg, #ffffff 0%, #f8f8f8 100%);
	border: 1px solid rgba(212, 175, 55, 0.2);
	overflow: hidden;
}

.card-front {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 2rem;
	text-align: center;
}

.card-back {
	transform: rotateY(180deg);
	padding: 2rem;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

/* Profile Image */
.profile-image {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	object-fit: cover;
	border: 4px solid #d4af37;
	box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
	margin-bottom: 1.5rem;
	transition: transform 0.3s ease;
}

.profile-image:hover {
	transform: scale(1.05);
}

/* Card Content */
.card-title {
	font-family: "Playfair Display", serif;
	font-size: 1.8rem;
	font-weight: 600;
	color: #8b4513;
	margin-bottom: 0.5rem;
}

.card-subtitle {
	font-size: 1rem;
	color: #a0522d;
	margin-bottom: 1rem;
	font-weight: 500;
}

.card-description {
	font-size: 0.9rem;
	color: #666;
	line-height: 1.6;
	margin-bottom: 1.5rem;
}

/* Rating Stars */
.rating {
	display: flex;
	justify-content: center;
	gap: 0.2rem;
	margin-bottom: 1rem;
}

.star {
	color: #ffd700;
	font-size: 1.2rem;
}

.rating-text {
	font-size: 0.8rem;
	color: #888;
	margin-left: 0.5rem;
}

/* Navigation Arrows */
.nav-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(212, 175, 55, 0.9);
	color: white;
	border: none;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	font-size: 1.2rem;
	cursor: pointer;
	transition: all 0.3s ease;
	z-index: 20;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.nav-arrow:hover {
	background: rgba(212, 175, 55, 1);
	transform: translateY(-50%) scale(1.1);
}

.nav-arrow.left {
	left: -60px;
}

.nav-arrow.right {
	right: -60px;
}

/* Back Side Content */
.contact-info {
	margin-bottom: 1.5rem;
}

.contact-item {
	display: flex;
	align-items: center;
	margin-bottom: 0.8rem;
	font-size: 0.9rem;
}

.contact-icon {
	width: 20px;
	height: 20px;
	margin-right: 0.8rem;
	color: #d4af37;
}

.services-list {
	margin-bottom: 1.5rem;
}

.service-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.5rem 0;
	border-bottom: 1px solid rgba(212, 175, 55, 0.2);
	font-size: 0.85rem;
}

.service-name {
	color: #8b4513;
	font-weight: 500;
}

.service-price {
	color: #d4af37;
	font-weight: 600;
}

/* Action Buttons */
.action-buttons {
	display: flex;
	flex-direction: column;
	gap: 0.8rem;
}

.btn {
	padding: 0.8rem 1.5rem;
	border: none;
	border-radius: 25px;
	font-size: 0.9rem;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
	display: inline-block;
	text-align: center;
}

.btn-primary {
	background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
	color: white;
	box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
	background: transparent;
	color: #8b4513;
	border: 2px solid #d4af37;
}

.btn-secondary:hover {
	background: #d4af37;
	color: white;
	transform: translateY(-2px);
}

/* Download Section */
.download-section {
	text-align: center;
	padding: 2rem;
	margin-top: 2rem;
}

.download-btn {
	background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
	color: white;
	padding: 1rem 2rem;
	border: none;
	border-radius: 30px;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.download-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.download-text {
	margin-top: 1rem;
	font-size: 0.9rem;
	color: #666;
}

/* Footer */
.footer {
	text-align: center;
	padding: 2rem;
	color: #888;
	font-size: 0.8rem;
}

/* Responsive Design */
@media (max-width: 768px) {
	.header h1 {
		font-size: 2rem;
	}

	.main-container {
		padding: 1rem;
		min-height: 60vh;
	}

	.card-container {
		width: 300px;
		height: 450px;
	}

	.nav-arrow {
		width: 35px;
		height: 35px;
		font-size: 1rem;
	}

	.nav-arrow.left {
		left: -50px;
	}

	.nav-arrow.right {
		right: -50px;
	}

	.profile-image {
		width: 100px;
		height: 100px;
	}

	.card-title {
		font-size: 1.5rem;
	}
}

@media (max-width: 480px) {
	.card-container {
		width: 280px;
		height: 420px;
	}

	.nav-arrow {
		display: none;
	}

	.card-container {
		margin: 0 auto;
	}
}

/* Animations */
@keyframes float {
	0%,
	100% {
		transform: translateY(0px);
	}
	50% {
		transform: translateY(-10px);
	}
}

.floating {
	animation: float 3s ease-in-out infinite;
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.fade-in-up {
	animation: fadeInUp 0.8s ease-out;
}

/* Loading Animation */
.loading {
	display: inline-block;
	width: 20px;
	height: 20px;
	border: 3px solid rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	border-top-color: #fff;
	animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}
/*Nowe stare */
.popup-card {
	position: fixed;
	top: 20%;
	left: 50%;
	transform: translateX(-50%);
	background: #fffbe6;
	border-radius: 16px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
	padding: 1.5rem;
	width: 90%;
	max-width: 320px;
	z-index: 9999;
	text-align: center;
	animation: fadeIn 0.5s ease-out;
}
.popup-photo {
	width: 80px;
	border-radius: 50%;
	margin-bottom: 1rem;
}
.popup-buttons button {
	margin: 0.5rem;
	padding: 0.6rem 1.2rem;
	border: none;
	border-radius: 8px;
	background-color: #d4af37;
	color: white;
	font-weight: bold;
}
.hidden {
	display: none;
}
@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(-20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}
