:root {
  --primary-color: #ff69b4;
  --secondary-color: #f8f9fa;
  --accent-color: #ff1493;
  --text-color: #333;
  --light-text: #666;
  --white: #ffffff;
}

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

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
}

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

/* Navbar */
.navbar {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
}

.logo {
  font-family: "Poppins", sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--primary-color);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.5px;
}

.logo::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.8) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  transition: all 0.75s;
  opacity: 0;
}

.logo.shine::before {
  left: 150%;
  opacity: 1;
}

.logo:hover {
  transform: translateY(-3px);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary-color);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.hamburger span {
  width: 30px;
  height: 2px;
  background: var(--text-color);
  transition: 0.3s ease;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--white);
  padding-top: 80px;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}

.slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.slide.active {
  opacity: 1;
}

.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background-color: var(--white);
  transform: scale(1.3);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: 4rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 30px;
}

.cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: var(--primary-color);
  color: var(--white);
  text-decoration: none;
  border-radius: 30px;
  font-weight: 500;
  transition: transform 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-3px);
}

/* Services Section */
.services {
  padding: 100px 0;
  background: var(--secondary-color);
}

.services h2 {
  text-align: center;
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  margin-bottom: 50px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  top: 0;
  cursor: pointer;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(255, 105, 180, 0.1));
  opacity: 0;
  transition: all 0.5s ease;
}

.service-card:hover {
  transform: translateY(-15px) scale(1.03);
  box-shadow: 0 15px 30px rgba(255, 105, 180, 0.2);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  transition: all 0.5s ease;
}

.service-card:hover i {
  transform: scale(1.2) rotate(10deg);
}

.service-card h3 {
  margin-bottom: 15px;
}

/* Gallery Section */
.gallery {
  padding: 100px 0;
  background: var(--secondary-color);
}

.gallery h2 {
  text-align: center;
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: var(--text-color);
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
}

.filter-btn {
  padding: 10px 20px;
  border: 2px solid var(--primary-color);
  background: transparent;
  color: var(--text-color);
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--primary-color);
  color: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  height: 300px;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.7) 100%
  );
  opacity: 0;
  transition: all 0.5s ease;
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

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

.gallery-overlay {
  position: absolute;
  bottom: -100%;
  left: 0;
  width: 100%;
  padding: 20px;
  background: rgba(0, 0, 0, 0.7);
  color: var(--white);
  transition: bottom 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  bottom: 0;
}

/* Pricing Section */
.pricing {
  padding: 100px 0;
  background: var(--secondary-color);
}

.pricing h2 {
  text-align: center;
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  margin-bottom: 50px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.price-card {
  background: var(--white);
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.price-card::before {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 105, 180, 0.1),
    transparent
  );
  transition: all 0.8s ease;
}

.price-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border: 2px solid var(--primary-color);
  animation: pulse 2s infinite;
}

.price-card:hover::before {
  top: 100%;
}

.price-card.featured {
  transform: scale(1.05);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 105, 180, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(255, 105, 180, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 105, 180, 0);
  }
}

.price-card h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.price {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 30px;
}

.price-card ul {
  list-style: none;
  margin-bottom: 30px;
}

.price-card ul li {
  margin-bottom: 10px;
  color: var(--light-text);
}

/* Contact Section */
.contact {
  padding: 100px 0;
}

.contact h2 {
  text-align: center;
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  margin-bottom: 50px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
}

.contact-info h3 {
  margin-bottom: 20px;
}

.contact-info p {
  margin-bottom: 15px;
}

.contact-info i {
  color: var(--primary-color);
  margin-right: 10px;
}

.social-links {
  margin-top: 30px;
}

.social-links a {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-right: 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-links a:hover {
  transform: translateY(-5px) scale(1.2);
  color: var(--accent-color);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: rgba(255, 255, 255, 0.9);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form input,
.contact-form textarea {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  background: #f8f9fa;
  padding: 15px;
  border-radius: 5px;
  font-family: inherit;
  width: 100%;
  font-size: 16px;
  color: #333;
}

.contact-form input:focus,
.contact-form textarea:focus {
  transform: translateY(-2px);
  border-color: var(--primary-color);
  box-shadow: 0 5px 15px rgba(255, 105, 180, 0.2);
}

.contact-form textarea {
  height: 150px;
  resize: vertical;
}

.submit-button {
  background: var(--primary-color);
  color: var(--white);
  padding: 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  font-size: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.submit-button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.5s ease;
}

.submit-button:hover::before {
  width: 300px;
  height: 300px;
}

.submit-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 105, 180, 0.3);
}

.submit-button.loading {
  background-color: #ccc;
  cursor: not-allowed;
  opacity: 0.7;
}

.submit-button.loading::after {
  content: "...";
  display: inline-block;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    content: ".";
  }
  33% {
    content: "..";
  }
  66% {
    content: "...";
  }
}

/* Footer */
footer {
  background: var(--white);
  color: var(--text-color);
  padding: 20px 0;
  text-align: center;
  border-top: 1px solid #e0e0e0;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.05);
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 1000;
    text-align: center;
    gap: 15px;
  }

  .nav-links li {
    margin: 10px 0;
  }

  .nav-links a {
    display: block;
    padding: 10px;
    font-size: 1.1rem;
  }

  .nav-links a:hover {
    background-color: rgba(255, 105, 180, 0.1);
    border-radius: 5px;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    cursor: pointer;
  }

  .hamburger span {
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    border-radius: 3px;
  }

  .hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .price-card.featured {
    transform: none;
  }
}

/* Globalne animacje */
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInLeft {
  from {
    transform: translateX(-100px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Płynne przewijanie dla całej strony */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

/* Animacje sekcji */
section {
  opacity: 0;
  transform: translateY(20px);
  transition: all 1s ease-out;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Ulepszenia dla kart usług */
.service-card {
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  top: 0;
  cursor: pointer;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(255, 105, 180, 0.1));
  opacity: 0;
  transition: all 0.5s ease;
}

.service-card:hover {
  transform: translateY(-15px) scale(1.03);
  box-shadow: 0 15px 30px rgba(255, 105, 180, 0.2);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  transition: all 0.5s ease;
}

.service-card:hover i {
  transform: scale(1.2) rotate(10deg);
}

/* Ulepszenia dla galerii */
.gallery-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  height: 300px;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.7) 100%
  );
  opacity: 0;
  transition: all 0.5s ease;
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

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

/* Ulepszenia dla cennika */
.price-card {
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.price-card::before {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 105, 180, 0.1),
    transparent
  );
  transition: all 0.8s ease;
}

.price-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border: 2px solid var(--primary-color);
  animation: pulse 2s infinite;
}

.price-card:hover::before {
  top: 100%;
}

.price-card.featured {
  transform: scale(1.05);
}

/* Animacja dla menu nawigacji */
.nav-links a {
  position: relative;
  transition: all 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: all 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Animacja dla social links */
.social-links a {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-links a:hover {
  transform: translateY(-5px) scale(1.2);
  color: var(--accent-color);
}

/* Instagram Feed Styles */
.instagram-feed {
  margin: 40px auto;
  padding: 30px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(255, 105, 180, 0.15);
  max-width: 1000px;
  width: 100%;
  transition: all 0.5s ease;
  animation: fadeInUp 1s ease-out;
  position: relative;
  overflow: hidden;
}

.instagram-feed::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    to right,
    var(--primary-color),
    var(--accent-color)
  );
}

.instagram-feed:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(255, 105, 180, 0.2);
}

.instagram-media {
  margin: 0 auto !important;
  border-radius: 15px !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
}

.instagram-feed a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  display: block;
  text-align: center;
  padding: 20px 15px;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  margin-top: 15px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.instagram-feed a:hover {
  color: var(--accent-color);
  background: rgba(255, 105, 180, 0.05);
}

@media (max-width: 1024px) {
  .instagram-feed {
    max-width: 800px;
    margin: 30px auto;
  }

  .services-grid,
  .pricing-grid {
    flex-wrap: wrap;
    justify-content: center;
  }

  .service-card,
  .price-card {
    min-width: 45%;
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .instagram-feed {
    max-width: 600px;
    padding: 20px;
    margin: 20px auto;
  }

  .service-card,
  .price-card {
    min-width: 100%;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 540px) {
  .instagram-feed {
    padding: 15px;
    margin: 15px auto;
    border-radius: 15px;
  }

  .instagram-feed a {
    padding: 15px;
    font-size: 1rem;
  }
}
