/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

:root {
  /* Color Palette */
  --color-primary: #DDBBB2;       /* Główny kolor salonu */
  --color-primary-light: #F6ECE9; /* Bardzo jasny pastelowy róż */
  --color-primary-dark: #C9A097;  /* Ciemniejszy róż do podświetleń/hoverów */
  --color-primary-deep: #7D5C54;  /* Głęboki brązowo-różowy do tekstu akcentowego */
  
  --color-bg: #FCFAF9;            /* Ciepłe, luksusowe tło strony (off-white) */
  --color-card-bg: #FFFFFF;       /* Tło kart i cennika (czysta biel) */
  
  --color-text: #2C2523;          /* Elegancki, bardzo ciemny brązowo-szary */
  --color-text-muted: #8E7F7A;    /* Stonowany kolor pomocniczy */
  
  /* Cennik (Wymaganie: białe tło, czarna czcionka) */
  --color-price-bg: #FFFFFF;
  --color-price-text: #000000;
  --color-price-accent: #111111;
  --color-price-muted: #555555;
  
  /* Fonts */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  /* Transitions & Shadows */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-soft: 0 8px 30px rgba(221, 187, 178, 0.15);
  --shadow-premium: 0 20px 50px rgba(44, 37, 35, 0.04);
  --shadow-price: 0 15px 40px rgba(0, 0, 0, 0.06);
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 12px;
  --radius-lg: 24px;
  
  /* Layout */
  --container-width: 1200px;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

ul {
  list-style: none;
}

/* ==========================================================================
   REUSABLE UTILITIES
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section-padding {
  padding: 8rem 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 5rem 0;
  }
}

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

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background-color: var(--color-primary);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(221, 187, 178, 0.4);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: var(--color-primary-dark);
  z-index: -1;
  transition: var(--transition-smooth);
}

.btn:hover::after {
  height: 100%;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(221, 187, 178, 0.6);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(252, 250, 249, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(221, 187, 178, 0.15);
  transition: var(--transition-smooth);
}

.header.scrolled {
  padding: 0.8rem 0;
  box-shadow: var(--shadow-premium);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 85px;
}

/* Estetyczne Logo */
.logo-container {
  display: flex;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.logo-icon {
  width: 38px;
  height: 38px;
  stroke: var(--color-primary-deep);
  stroke-width: 1.5;
  fill: none;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--color-text);
  position: relative;
}

.logo-text span {
  color: var(--color-primary-deep);
  font-weight: 300;
  font-size: 1.4rem;
  margin-left: 2px;
}

/* Menu */
.nav-menu {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-text);
  padding: 0.5rem 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background-color: var(--color-primary);
  transition: var(--transition-smooth);
  transform: translateX(-50%);
}

.nav-link:hover {
  color: var(--color-primary-deep);
}

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

.nav-link.active {
  color: var(--color-primary-deep);
}

.nav-link.active::after {
  width: 100%;
}

/* Hamburger Menu for Mobile */
.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 1001;
}

.hamburger-line {
  display: block;
  width: 25px;
  height: 2px;
  margin: 5px auto;
  background-color: var(--color-text);
  transition: var(--transition-smooth);
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
  
  .hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  
  .hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--color-bg);
    flex-direction: column;
    justify-content: center;
    gap: 3rem;
    box-shadow: -10px 0 30px rgba(0,0,0,0.05);
    transition: 0.5s ease-in-out;
  }
  
  .nav-menu.active {
    right: 0;
  }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, #FCFAF9 0%, #F6ECE9 50%, #FCFAF9 100%);
  overflow: hidden;
  padding-top: 85px;
}

/* Dekoracyjne koła w tle */
.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  opacity: 0.6;
}

.hero-shape-1 {
  width: 500px;
  height: 500px;
  background-color: var(--color-primary);
  top: -10%;
  right: -5%;
}

.hero-shape-2 {
  width: 400px;
  height: 400px;
  background-color: #EED7D1;
  bottom: -10%;
  left: -5%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 4rem;
  z-index: 1;
  position: relative;
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
}

.hero-content {
  max-width: 650px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--color-primary-deep);
  margin-bottom: 1.5rem;
  display: block;
}

.hero-title {
  font-size: 4.8rem;
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 2rem;
  color: var(--color-text);
}

.hero-title strong {
  font-weight: 700;
  color: var(--color-text);
  position: relative;
  display: inline-block;
}

.hero-title strong::after {
  content: '';
  position: absolute;
  bottom: 12px;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: rgba(221, 187, 178, 0.4);
  z-index: -1;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin-bottom: 3rem;
  font-weight: 400;
}

/* Wizualizacja Hero (Zamiast placeholderów, estetyczna minimalistyczna grafika w CSS) */
.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: scale(0.95);
  animation: scaleUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

@media (max-width: 992px) {
  .hero-image-wrapper {
    display: none; /* Ukryj na mniejszych ekranach dla minimalistycznego wyglądu */
  }
}

.hero-image-card {
  width: 100%;
  max-width: 400px;
  height: 500px;
  background-color: var(--color-card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(221, 187, 178, 0.3);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  position: relative;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.hero-image-card:hover .hero-img {
  transform: scale(1.05);
}

.hero-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(221, 187, 178, 0.2);
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition-smooth);
}

.hero-image-overlay h3 {
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
  color: var(--color-text);
  font-weight: 600;
}

.hero-image-overlay p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
}


/* Animations */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleUp {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(5deg);
  }
}

/* ==========================================================================
   CENNIK SECTION (BIAŁE TŁO, CZARNA CZCIONKA)
   ========================================================================== */
.pricing {
  background-color: var(--color-primary-light);
  position: relative;
}

.pricing::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(var(--color-primary) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.15;
  pointer-events: none;
}

.pricing-header {
  max-width: 600px;
  margin: 0 auto 5rem auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.pricing-subtitle {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-primary-deep);
  margin-bottom: 1rem;
  display: block;
}

.pricing-title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--color-text);
}

.pricing-description {
  font-size: 1rem;
  color: var(--color-text-muted);
}

/* Karta Cennika - Wymaganie: BIAŁE TŁO, CZARNY TEKST */
.pricing-card {
  background-color: var(--color-price-bg);
  color: var(--color-price-text);
  border-radius: var(--radius-lg);
  padding: 4rem;
  box-shadow: var(--shadow-price);
  border: 1px solid rgba(0, 0, 0, 0.05);
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .pricing-card {
    padding: 2.5rem 1.5rem;
  }
}

.pricing-category {
  margin-bottom: 3.5rem;
}

.pricing-category:last-child {
  margin-bottom: 0;
}

.category-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--color-price-accent);
  padding-bottom: 0.5rem;
  display: inline-block;
  color: var(--color-price-text);
  letter-spacing: 1px;
}

.pricing-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Wiersz Cennika */
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  transition: var(--transition-smooth);
  padding: 0.5rem 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

.price-row:hover {
  transform: translateX(5px);
}

.service-details {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-name {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-price-text);
}

.service-desc {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--color-price-muted);
  margin-top: 0.2rem;
}

.service-price {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-price-accent);
  white-space: nowrap;
}

/* Informacja o łatwej edycji dla właściciela */
.price-note {
  margin-top: 3rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-price-muted);
  font-style: italic;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 1.5rem;
}

/* ==========================================================================
   GALLERY PAGE (MINIMALIST "WORK IN PROGRESS")
   ========================================================================== */
.gallery-viewport {
  height: calc(100vh - 85px - 220px); /* 100vh odjąć nagłówek i stopkę */
  min-height: 450px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--color-bg);
  position: relative;
  overflow: hidden;
  padding-top: 85px;
}

.wip-container {
  text-align: center;
  z-index: 1;
  padding: 2rem;
}

.wip-subtitle {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--color-primary-deep);
  margin-bottom: 1.5rem;
  display: block;
}

.wip-title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 2rem;
  color: var(--color-text);
  letter-spacing: 2px;
}

/* Animowany wskaźnik ładowania/oczekiwania */
.wip-spinner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 2rem;
}

.spinner-dot {
  width: 10px;
  height: 10px;
  background-color: var(--color-primary);
  border-radius: 50%;
  animation: jump 1.4s ease-in-out infinite;
}

.spinner-dot:nth-child(2) {
  animation-delay: 0.2s;
  background-color: var(--color-primary-dark);
}

.spinner-dot:nth-child(3) {
  animation-delay: 0.4s;
  background-color: var(--color-primary-deep);
}

@keyframes jump {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ==========================================================================
   FOOTER (MIEJSCE NA SOCIAL MEDIA)
   ========================================================================== */
.footer {
  background-color: #2C2523; /* Bardzo ciemny brąz dla luksusowego domknięcia strony */
  color: #FFFFFF;
  padding: 5rem 0 3rem 0;
  font-family: var(--font-body);
  border-top: 1px solid rgba(221, 187, 178, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
}

.footer-brand h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
}

.footer-brand p {
  color: #BEB4B0;
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 320px;
}

@media (max-width: 768px) {
  .footer-brand p {
    margin: 0 auto;
  }
}

.footer-links h4,
.footer-social h4 {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  color: #FFFFFF;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links-list a {
  color: #BEB4B0;
  font-size: 0.95rem;
}

.footer-links-list a:hover {
  color: var(--color-primary);
  transform: translateX(3px);
}

@media (max-width: 768px) {
  .footer-links-list a:hover {
    transform: none;
  }
}

/* Sekcja Social Media w stopce */
.social-icons {
  display: flex;
  gap: 1.2rem;
  margin-top: 1.5rem;
}

@media (max-width: 768px) {
  .social-icons {
    justify-content: center;
  }
}

.social-link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(221, 187, 178, 0.2);
  color: var(--color-primary);
  transition: var(--transition-smooth);
}

.social-link svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.social-link:hover {
  background-color: var(--color-primary);
  color: #2C2523;
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(221, 187, 178, 0.3);
}

/* Prawa Autorskie */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #8E827D;
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
