/* global.css */

/* ======= Base ======= */
/* --primary-light: #FFD6E0; */

:root {
	--primary: #E30069;
	--primary-light: #FFD6E0;

	
	--secondary: #d6c26c;

	--text-dark: #2B2B2B;

	--bg-light: #FFF9FB;
}

body {
	font-family: 'Open Sans', sans-serif;
	color: var(--text-dark);
	background-color: var(--bg-light);
	margin: 0;
	padding: 0;
}

h1, h2, h3 {
	font-family: 'Poppins', sans-serif;
	margin: 0 0 0.5em;
	color: var(--primary);
}

p {
	margin: 0 0 1em;
	line-height: 1.6;
}

/* ======= Layout Helpers ======= */
section {
	padding: 4rem 0; /* more vertical breathing room */
}

.section-title{
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.container {
	width: 90%;
	max-width: 1200px;
	margin: 0 auto;
}

.grid {
	display: grid;
	gap: 2rem;
}

.button-group {
	display: flex;
	gap: 1rem;
}

.hero .button-group {
	justify-content: center;
	margin-top: 2rem; /* space above buttons */
}

.btn {
	display: inline-block;
	padding: 0.75rem 1.5rem;
	border-radius: 0.5rem;
	text-decoration: none;
	font-weight: 700;
	
	transition: transform 0.2s, background-color 0.2s;
}

.btn-primary {
	background-color: var(--primary);
	color: white;
}

.btn-secondary {
	border: 4px solid var(--primary);
	color: var(--text-dark);
}

.btn-primary:hover,
.btn-secondary:hover {
	transform: translateY(-2px);
}

/* ======= Hero ======= */
.hero {
	background: url('images/Manicure7.jpg') center/cover no-repeat;
	color: white;
	position: relative;
	padding: 0%;
}

.hero-overlay {
	background: linear-gradient(to bottom right, rgba(227, 0, 106, 0.776), rgba(0, 0, 0, 0.719));
	padding: 8rem 0;


	overflow: hidden;
	object-fit: cover;
}

.hero-inner {
	text-align: center;


}

.hero-overlay img {
	width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;

}

.hero-title {
	font-size: 2.5rem;
	color: white;
}

.hero-text{
	font-weight: 700;
}

/* .hero-text {
	background:   #ffffff;  
	padding: 0.4em 0.6em;      
	line-height: 1.8;         
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone; 
	display: inline;          
	border-radius: 0.2em;  
	color: black;
} */

.hero-subtitle {
	font-size: 1.25rem;
	margin-bottom: 1.5rem;
	color: white;
}

/* ======= Promo Strip ======= */
.promo-strip {
	background-color: var(--primary-light);
	padding: 1rem 0;
}

.promo-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4rem;
	text-align: center;
}

.promo-item {
	font-weight: bold;
}

/* ======= Cards ======= */
.card {
	background: white;
	border-radius: 0.75rem;
	padding: 1.5rem;
	text-align: center;
	box-shadow: 0 2px 6px rgba(0,0,0,0.05);
	transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
	transform: translateY(-5px);
	box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}


.card-img {
	width: 100%;
	height: 200px;
	border-radius: 0.75rem;
	background-color: var(--primary-light);
	
	overflow: hidden;
	object-fit: cover;
	margin-bottom: 1rem;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card ul {
	list-style: none;
	padding: 0;
	margin: 0.75rem 0;
	color: #555;
	font-size: 0.95rem;
}

.card ul li {
	margin-bottom: 0.3rem;
}

.card strong {
	font-size: 1.2rem;
	color: var(--primary, #e86a92);
	font-weight: 600;
	bottom: 0;
}

.card span {
	display: block;
	margin-bottom: 0.5rem;
	font-size: 0.9rem;
	color: #777;
}


/* ======= Team ======= */


.team-grid {
  	display: flex;
  	gap: 1rem;
  	overflow-x: auto;
  	scroll-behavior: smooth;
	
  	user-select: none; /* prevent text selection while dragging */
  	padding-bottom: 1rem; /* so scrollbar doesn't overlap content */
  	-webkit-overflow-scrolling: touch; /* smooth scrolling on iOS */
}

.team-photo {
	/* height: 280px; */

}

.team-card {
  flex: 0 0 280px; /* fixed width, no shrinking */
  /* or use your preferred fixed width */
}

/* Optional: hide scrollbar for Webkit browsers */
.team-grid::-webkit-scrollbar {
  height: 8px;
}

.team-grid::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}



/* ======= Services ======= */
.service-grid {
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.service-img {
	background-image: url('images/service-placeholder.jpg');
}

/* ======= Call to Action ======= */
.cta {
	color: white;
	background: url('images/Salon.jpg') center/cover no-repeat;
	position: relative;
	padding: 0%;

	overflow: hidden;
	object-fit: cover;
}

.cta img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;


}

.cta-overlay {
	background: linear-gradient(to bottom right, rgba(255, 128, 187, 0.776), rgba(0, 0, 0, 0.719));
	padding: 3rem 0;
	text-align: center;
}



.cta-title {
	color: white;
	font-size: 2rem;
	margin-bottom: 1rem;
}

.btn-lg {
	padding: 1rem 2rem;
	font-size: 1.25rem;
}


/* LOCATION */
.location-container {
  display: flex;
  gap: 2rem;
  padding: 0rem 0;
  align-items: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.map-side {
  flex: 1 1 400px;
  min-width: 300px;
  max-width: 600px;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 0 10px rgb(0 0 0 / 0.1);
}

.map-side iframe {
  width: 100%;
  height: 400px;
  border: 0;
  display: block;
}

.info-side {
  min-width: 280px;
  font-size: 1.1rem;
  color: #333;
}

.info-side a {
  color: var(--primary);
  text-decoration: none;
}

.info-side a:hover {
  text-decoration: underline;
}

.social-icons {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
}

.social-icons a svg {
  display: block;
  width: 32px;
  height: 32px;
  transition: transform 0.3s ease;
}

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





.faq-item {
  border-bottom: 1px solid var(--primary-light);
  padding: 0.75rem 0;
}
.faq-question {
  background: none;
  border: none;
  font-weight: bold;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-size: 1.1rem;
  padding: 0.5rem 0;
  color: var(--primary);
}
.faq-answer {
  display: none;
  padding: 0.5rem 0;
  color: var(--text-dark);
}
.faq-item.active .faq-answer {
  display: block;
}





.carousel-container {
    
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}
.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}
.carousel-slide {
    width: 100%;
    height: 40vh;
    background-color: #e0d5cc;
    border-radius: 8px;
    margin-bottom: 15px;
    min-width: 100%;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}
.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255,255,255,0.7);
    border: none;
    font-size: 2rem;
    padding: 0 12px;
    cursor: pointer;
    z-index: 2;
}
.carousel-button.prev {
    left: 10px;
}
.carousel-button.next {
    right: 10px;
}

.carousel-button:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.cert-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.8);
  display: none; /* domyślnie ukryte */
  justify-content: center;
  align-items: center;
  z-index: 1000;
  cursor: pointer;
}

.cert-overlay img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 1rem;
  box-shadow: 0 0 20px #000;
}

.cert-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 3rem;
  color: white;
  cursor: pointer;
  user-select: none;
  z-index: 1100;
}




.we-also-offer {
	background: linear-gradient(135deg, #fff6f9, #ffeef4);
	padding: 60px 20px;
	animation: fadeIn 0.8s ease-in-out;
}

.we-also-offer-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
	align-items: start;
}

.we-also-offer .offer-block {
	background: white;
	border-radius: 0.75rem;
	padding: 2rem;
	text-align: center;
	box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.we-also-offer .offer-text {
	font-size: 1.1rem;
	margin-bottom: 1.5rem;
}

.we-also-offer .btn:hover {
	transform: scale(1.05);
}









.gallery-scroll {
	display: flex;
	gap: 1rem;
	overflow-x: auto;
	scroll-behavior: smooth;
	padding-bottom: 1rem;
	-webkit-overflow-scrolling: touch;
	user-select: none;
}

.gallery-scroll img {
	flex: 0 0 auto;
	height: 200px;
	border-radius: 0.75rem;
	cursor: pointer;
	object-fit: cover;
	user-select: none;
	transition: transform 0.2s ease;
}

.gallery-scroll img:hover {
	transform: scale(1.05);
}

.gallery-scroll::-webkit-scrollbar {
	height: 8px;
}
.gallery-scroll::-webkit-scrollbar-thumb {
	background: rgba(0, 0, 0, 0.2);
	border-radius: 4px;
}

/* Overlay */
.img-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-color: rgba(0, 0, 0, 0.8);
	display: none;
	justify-content: center;
	align-items: center;
	z-index: 1000;
	cursor: pointer;
}

.img-overlay img {
	max-width: 90%;
	max-height: 90%;
	border-radius: 1rem;
	box-shadow: 0 0 20px #000;
}

.img-close {
	position: absolute;
	top: 20px;
	right: 30px;
	font-size: 3rem;
	color: white;
	cursor: pointer;
	user-select: none;
	z-index: 1100;
}



a.link {
	display: inline-block;
	color: var(--primary);

	margin-left: auto;
	margin-right: auto;

	text-align: center;
	font-size: 1.1rem;
	font-weight: bold;
	transition: color 0.2s;
}







@media screen and (max-width: 1000px) {
	.promo-list{
		gap: 1rem;
	}
}