/* ULTRA-AGGRESSIVE n8n Chat Override - FIRST PRIORITY */
/* Override ALL red buttons immediately - highest specificity */

*[style*="background-color: rgb(239, 68, 68)"] {
  background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%) !important;
  background-color: #ffd700 !important;
  color: #2c3e50 !important;
}

*[style*="background: rgb(239, 68, 68)"] {
  background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%) !important;
  background-color: #ffd700 !important;
  color: #2c3e50 !important;
}

*[style*="#ef4444"] {
  background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%) !important;
  background-color: #ffd700 !important;
  color: #2c3e50 !important;
}

/* Override any button that could be positioned fixed */
body button[style*="position"][style*="fixed"] {
  background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%) !important;
  background-color: #ffd700 !important;
  color: #2c3e50 !important;
  border: none !important;
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3) !important;
}

/* White icons in all fixed positioned buttons */
body button[style*="position"][style*="fixed"] * {
  fill: #ffffff !important;
  color: #ffffff !important;
  stroke: #ffffff !important;
}

/* Catch all red button variants */
button[style*="rgb(239, 68, 68)"],
[role="button"][style*="rgb(239, 68, 68)"],
div[style*="rgb(239, 68, 68)"] button,
div[style*="rgb(239, 68, 68)"] [role="button"] {
  background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%) !important;
  background-color: #ffd700 !important;
  color: #2c3e50 !important;
  border: none !important;
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3) !important;
}

/* Icons in red buttons */
button[style*="rgb(239, 68, 68)"] *,
[role="button"][style*="rgb(239, 68, 68)"] *,
div[style*="rgb(239, 68, 68)"] button *,
div[style*="rgb(239, 68, 68)"] [role="button"] * {
  fill: #ffffff !important;
  color: #ffffff !important;
  stroke: #ffffff !important;
}

/* IMMEDIATE n8n Chat Color Override - Applied before JavaScript loads */
/* This CSS targets the most common n8n chat selectors and forces Sauenka colors immediately */

/* Generic button selectors that catch early loading states */
button[style*="position: fixed"],
div[style*="position: fixed"] button,
button[style*="border-radius"][style*="background"],
button[style*="width"][style*="height"][style*="border-radius"],
*[style*="position: fixed"][style*="border-radius"][style*="background"] {
  background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%) !important;
  background-color: #ffd700 !important;
  color: #2c3e50 !important;
  border: none !important;
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3) !important;
}

/* Force white icons immediately for any button that could be the toggle */
button[style*="position: fixed"] svg,
button[style*="position: fixed"] i,
button[style*="position: fixed"] path,
div[style*="position: fixed"] button svg,
div[style*="position: fixed"] button i,
div[style*="position: fixed"] button path,
button[style*="border-radius"][style*="background"] svg,
button[style*="border-radius"][style*="background"] i,
button[style*="border-radius"][style*="background"] path {
  fill: #ffffff !important;
  color: #ffffff !important;
  stroke: #ffffff !important;
}

/* Catch n8n specific classes as soon as they appear */
[class*="chat"] button,
[class*="toggle"] button,
button[class*="chat"],
button[class*="toggle"],
[id*="n8n"] button,
button[id*="chat"] {
  background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%) !important;
  background-color: #ffd700 !important;
  color: #2c3e50 !important;
  border: none !important;
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3) !important;
}

/* White icons for n8n classes */
[class*="chat"] button svg,
[class*="chat"] button i,
[class*="chat"] button path,
[class*="toggle"] button svg,
[class*="toggle"] button i,
[class*="toggle"] button path,
button[class*="chat"] svg,
button[class*="chat"] i,
button[class*="chat"] path,
button[class*="toggle"] svg,
button[class*="toggle"] i,
button[class*="toggle"] path {
  fill: #ffffff !important;
  color: #ffffff !important;
  stroke: #ffffff !important;
}

/* Override any red backgrounds that might appear during loading */
*[style*="rgb(239, 68, 68)"],
*[style*="#ef4444"],
*[style*="background-color: rgb(239, 68, 68)"],
*[style*="background: rgb(239, 68, 68)"] {
  background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%) !important;
  background-color: #ffd700 !important;
  color: #2c3e50 !important;
}

/* Override red icon colors */
*[style*="rgb(239, 68, 68)"] svg,
*[style*="rgb(239, 68, 68)"] i,
*[style*="rgb(239, 68, 68)"] path,
*[style*="#ef4444"] svg,
*[style*="#ef4444"] i,
*[style*="#ef4444"] path {
  fill: #ffffff !important;
  color: #ffffff !important;
  stroke: #ffffff !important;
}

/* Reset i podstawowe style */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #ffd700;
  --secondary-color: #2c3e50;
  --accent-color: #ffa500;
  --text-dark: #ffffff;
  --text-light: #ffffff;
  --white: #2c3e50;
  --light-bg: #2c3e50;
  --gradient: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --border-radius: 12px;
  --transition: all 0.3s ease;

  /* Additional variables for complete customization */
  --chat--window--background: #fefcf7;
  --chat--window--border: 1px solid #ffd700;
  --chat--window--box-shadow: 0 20px 60px rgba(255, 215, 0, 0.15);

  /* Typography */
  --chat--font-family: "Poppins", sans-serif;
  --chat--font-size: 0.9rem;
  --chat--font-weight: 400;

  /* Button states */
  --chat--button--border-radius: 8px;
  --chat--button--transition: all 0.3s ease;

  /* Welcome screen */
  --chat--welcome--background: #ffffff;
  --chat--welcome--color: #2c3e50;

  /* Scrollbar */
  --chat--scrollbar--width: 6px;
  --chat--scrollbar--thumb: #dee2e6;
  --chat--scrollbar--track: #f8f9fa;

  /* Chat */
  --chat--color-primary: #ffd700;
  --chat--color-primary-shade-50: #e6c300;
  --chat--color-primary-shade-100: #ccaf00;
  --chat--color-secondary: #ffa500;
  --chat--color-secondary-shade-50: #e6940a;
  --chat--color-white: #ffffff;
  --chat--color-light: #fefcf7;
  --chat--color-light-shade-50: #fdf9f0;
  --chat--color-light-shade-100: #fcf4e3;
  --chat--color-medium: #f5ead4;
  --chat--color-dark: #2c3e50;
  --chat--color-disabled: #95a5a6;
  --chat--color-typing: #ffa500;

  --chat--spacing: 0.75rem;
  --chat--border-radius: 8px;
  --chat--transition-duration: 0.3s;

  --chat--window--width: 400px;
  --chat--window--height: 600px;

  --chat--header-height: auto;
  --chat--header--padding: var(--chat--spacing);
  --chat--header--background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
  --chat--header--color: #2c3e50;
  --chat--header--border-top: none;
  --chat--header--border-bottom: none;
  --chat--header--border-bottom: none;
  --chat--header--border-bottom: none;
  --chat--heading--font-size: 1.4em;
  --chat--header--color: #2c3e50;
  --chat--subtitle--font-size: 0.85rem;
  --chat--subtitle--line-height: 1.6;

  --chat--textarea--height: 45px;

  --chat--message--font-size: 0.9rem;
  --chat--message--padding: var(--chat--spacing);
  --chat--message--border-radius: var(--chat--border-radius);
  --chat--message-line-height: 1.6;
  --chat--message--bot--background: var(--chat--color-white);
  --chat--message--bot--color: var(--chat--color-dark);
  --chat--message--bot--border: none;
  --chat--message--user--background: var(--chat--color-secondary);
  --chat--message--user--color: var(--chat--color-white);
  --chat--message--user--border: none;
  --chat--message--pre--background: rgba(0, 0, 0, 0.05);

  --chat--toggle--background: var(--chat--color-primary);
  --chat--toggle--hover--background: var(--chat--color-primary-shade-50);
  --chat--toggle--active--background: var(--chat--color-primary-shade-100);
  --chat--toggle--color: var(--chat--color-white);
  --chat--toggle--size: 64px;
}

/* Enhanced n8n Chat Styling for Sauenka Branding */
#n8n-chat {
  font-family: "Poppins", sans-serif !important;
  font-size: 0.9rem !important;
}

/* Chat window styling */
#n8n-chat .chat-window {
  background: var(--chat--window--background) !important;
  border: var(--chat--window--border) !important;
  border-radius: var(--chat--border-radius) !important;
  box-shadow: var(--chat--window--box-shadow) !important;
  font-family: "Poppins", sans-serif !important;
}

/* Chat header styling */
#n8n-chat .chat-header,
#n8n-chat [class*="header"] {
  background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%) !important;
  color: #2c3e50 !important;
  border-radius: var(--chat--border-radius) var(--chat--border-radius) 0 0 !important;
}

#n8n-chat .chat-header h1,
#n8n-chat .chat-header h2,
#n8n-chat .chat-header h3,
#n8n-chat [class*="header"] h1,
#n8n-chat [class*="header"] h2,
#n8n-chat [class*="header"] h3 {
  font-size: 1.4em !important;
  color: #2c3e50 !important;
  font-weight: 600 !important;
  margin: 0 !important;
}

#n8n-chat .chat-subtitle,
#n8n-chat [class*="subtitle"] {
  font-size: 0.85rem !important;
  color: #2c3e50 !important;
  opacity: 0.8 !important;
}

/* Message styling */
#n8n-chat .message,
#n8n-chat [class*="message"] {
  font-size: 0.9rem !important;
  line-height: 1.6 !important;
  font-family: "Poppins", sans-serif !important;
}

/* Bot messages */
#n8n-chat .message.bot,
#n8n-chat [class*="message"][class*="bot"],
#n8n-chat .message:not(.user) {
  background: #ffffff !important;
  color: #2c3e50 !important;
  border: 1px solid #f5ead4 !important;
  border-radius: var(--chat--border-radius) !important;
}

/* User messages */
#n8n-chat .message.user,
#n8n-chat [class*="message"][class*="user"] {
  background: linear-gradient(135deg, #ffa500 0%, #ff8c00 100%) !important;
  color: #ffffff !important;
  border-radius: var(--chat--border-radius) !important;
}

/* Input field styling */
#n8n-chat input,
#n8n-chat textarea,
#n8n-chat [type="text"] {
  font-family: "Poppins", sans-serif !important;
  font-size: 0.9rem !important;
  border: 1px solid #f5ead4 !important;
  border-radius: var(--chat--border-radius) !important;
  padding: 12px !important;
}

#n8n-chat input:focus,
#n8n-chat textarea:focus {
  border-color: #ffd700 !important;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.2) !important;
}

/* Send button and other buttons */
#n8n-chat button {
  font-family: "Poppins", sans-serif !important;
  font-size: 0.9rem !important;
  background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%) !important;
  color: #2c3e50 !important;
  border: none !important;
  border-radius: var(--chat--border-radius) !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
  padding: 10px 16px !important;
}

#n8n-chat button:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3) !important;
}

/* Scrollbar styling */
#n8n-chat ::-webkit-scrollbar {
  width: 6px !important;
}

#n8n-chat ::-webkit-scrollbar-track {
  background: #fdf9f0 !important;
}

#n8n-chat ::-webkit-scrollbar-thumb {
  background: #f5ead4 !important;
  border-radius: 3px !important;
}

#n8n-chat ::-webkit-scrollbar-thumb:hover {
  background: #ffd700 !important;
}

/* Additional aggressive n8n selectors for better coverage */
[data-v-*] {
  font-family: "Poppins", sans-serif !important;
}

/* Target any n8n specific classes that might appear */
[class*="n8n"] {
  font-family: "Poppins", sans-serif !important;
  font-size: 0.9rem !important;
}

/* Override any inline styles that might interfere */
#n8n-chat * {
  font-family: "Poppins", sans-serif !important;
}

/* Ensure buttons have Sauenka styling */
#n8n-chat button,
#n8n-chat [role="button"],
[class*="n8n"] button,
[class*="chat"] button {
  background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%) !important;
  color: #2c3e50 !important;
  border: none !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  font-family: "Poppins", sans-serif !important;
  font-size: 0.9rem !important;
  transition: all 0.3s ease !important;
  padding: 10px 16px !important;
}

#n8n-chat button:hover,
[class*="n8n"] button:hover,
[class*="chat"] button:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3) !important;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--secondary-color);
  overflow-x: hidden;
}

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

/* Header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(44, 62, 80, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: var(--transition);
}

.navbar {
  padding: 1rem 0;
}

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

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.logo-img {
  height: 50px; /* Dostosuj wysokość logo */
  width: 50px; /* Dostosuj szerokość logo */
  border-radius: 50%; /* Zaokrąglenie logo */
  object-fit: cover; /* Dopasowanie obrazu do koła */
  margin-right: 10px; /* Dodatkowy margines, jeśli tekst jest obok */
  border: 2px solid var(--primary-color); /* Opcjonalna ramka w kolorze głównym */
}

.logo span {
  margin-left: 10px; /* Odstęp między logo a tekstem */
  font-weight: 600; /* Pogrubienie nazwy firmy */
  font-size: 1.2em; /* Rozmiar czcionki nazwy firmy */
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
}

.nav-menu li {
  margin: 0 1rem;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

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

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

.reserve-btn {
  background: var(--gradient);
  color: var(--secondary-color);
  border: none;
  padding: 12px 24px;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
}

.reserve-btn i {
  margin-right: 8px;
  color: var(--secondary-color);
}

.reserve-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  margin: 3px 0;
  transition: var(--transition);
  border-radius: 2px;
}

.hamburger:hover span {
  background: var(--accent-color);
  transform: scale(1.1);
}

.hamburger:active span {
  background: var(--accent-color);
  transform: scale(0.95);
}

/* Hero Section */
.hero {
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  min-height: 100vh;
  min-height: calc(var(--vh, 1vh) * 100);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  height: calc(var(--vh, 1vh) * 100);
  background: url("../images/sauna-6.webp") center/cover no-repeat;
  background-attachment: fixed;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  will-change: transform;
}

/* Poprawki dla Safari iOS i mobilnych urządzeń */
@media (max-width: 768px) {
  .hero {
    min-height: 100vh;
    min-height: -webkit-fill-available;
    min-height: calc(var(--vh, 1vh) * 100);
  }

  .hero-background {
    background-attachment: scroll;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    height: 100%;
    height: calc(var(--vh, 1vh) * 100);
  }
}

/* Specjalne poprawki dla Safari */
@supports (-webkit-appearance: none) {
  .hero-background {
    background-attachment: scroll;
  }
}

/* Dodatkowe poprawki dla iOS Safari */
@media screen and (-webkit-min-device-pixel-ratio: 2) {
  .hero {
    height: 100vh;
    height: -webkit-fill-available;
    height: calc(var(--vh, 1vh) * 100);
  }

  .hero-background {
    background-attachment: scroll;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    background-position: center 25%;
    height: 100%;
    height: calc(var(--vh, 1vh) * 100);
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 107, 53, 0.8),
    rgba(243, 156, 18, 0.8)
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease;
}

.hero h2 {
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease 0.2s both;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  animation: fadeInUp 1s ease 0.4s both;
}

.cta-button {
  background: var(--white);
  color: var(--text-dark) !important;
  border: none;
  padding: 18px 36px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  animation: fadeInUp 1s ease 0.6s both;
}

.cta-button i {
  margin-right: 10px;
  color: var(--text-dark) !important;
}

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

.hero-stats {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 3rem;
  z-index: 2;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* About Section */
.about {
  padding: 100px 0;
  background: var(--white);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-text {
  padding-right: 2rem;
}

.about-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--border-radius);
  transition: transform 0.3s ease;
}

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

.about h2 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.about p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.values {
  display: grid;
  /* grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); Zmieniono na 3 kolumny */
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.value {
  text-align: center;
  padding: 2rem;
  background: var(--light-bg);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.value:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.value i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.value h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Usunięto style dla .about-image img, ponieważ element został usunięty z HTML */

/* How It Works */
.how-it-works {
  padding: 100px 0;
  background: var(--light-bg);
}

.how-it-works h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 3rem;
  color: var(--text-dark);
}

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

.step {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}

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

.step-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.step-icon i {
  font-size: 2rem;
  color: var(--white);
}

.step h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.step p {
  color: var(--text-light);
  line-height: 1.6;
}

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

.gallery h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 3rem;
  color: var(--text-dark);
}

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

.gallery-item {
  position: relative;
  height: 250px;
  border-radius: var(--border-radius);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  background: none;
  padding: 0;
}

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

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

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

.gallery-overlay i {
  font-size: 2rem;
  color: var(--white);
}

/* Pricing */
.pricing {
  padding: 100px 0;
  background: var(--light-bg);
}

.pricing h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 3rem;
  color: var(--text-dark);
}

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

.pricing-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: center;
  position: relative;
  transition: var(--transition);
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
  transform: scale(1.05);
  background: var(--gradient);
  color: var(--secondary-color);
}

.pricing-card.featured .period {
  color: var(--secondary-color);
}

.pricing-card.featured h3 {
  color: var(--secondary-color);
}

.pricing-card.featured .features {
  color: var(--secondary-color);
}

.pricing-card.featured .features i {
  color: var(--secondary-color);
}

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
  color: var(--secondary-color);
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

.pricing-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.price {
  margin-bottom: 2rem;
}

.currency {
  font-size: 1rem;
  vertical-align: top;
}

.amount {
  font-size: 3rem;
  font-weight: 700;
}

.period {
  font-size: 1rem;
  color: var(--text-light);
}

.features {
  list-style: none;
  margin-bottom: 2rem;
  text-align: left;
}

.features li {
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
}

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

.pricing-btn {
  width: 100%;
  background: var(--gradient);
  color: var(--white);
  border: none;
  padding: 15px;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
}

.pricing-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

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

.payment-info {
  text-align: center;
  padding-top: 2rem;
}

/* Service Area */
.service-area {
  padding: 100px 0;
  background: var(--white);
}

.service-area h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 3rem;
  color: var(--text-dark);
}

.service-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: stretch;
}

.map-placeholder {
  height: 400px;
  background: var(--light-bg);
  border-radius: var(--border-radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--text-light);
}

.map-placeholder i {
  font-size: 3rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.service-info h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.service-description {
  line-height: 1.6;
}

.service-description p {
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  font-size: 1.1rem;
}

.service-description p strong {
  color: var(--primary-color);
  font-weight: 600;
}

.highlight-box {
  display: flex;
  align-items: center;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: var(--white);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  margin-top: 2rem;
  box-shadow: var(--shadow);
}

.highlight-box i {
  font-size: 1.5rem;
  margin-right: 1rem;
  color: var(--white);
}

.highlight-box span {
  font-weight: 500;
  font-size: 1.1rem;
}

.cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.city-item {
  display: flex;
  align-items: center;
  padding: 1rem;
  background: var(--light-bg);
  border-radius: var(--border-radius);
}

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

.service-note {
  padding: 1.5rem;
  background: var(--light-bg);
  border-radius: var(--border-radius);
  border-left: 4px solid var(--primary-color);
}

.service-map {
  position: relative;
  height: 100%;
}

#map {
  height: 100% !important;
  min-height: 400px !important;
  width: 100% !important;
  border-radius: 12px !important;
  border: 2px solid var(--light-bg);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  z-index: 1;
}

/* Niestandardowe markery mapy */
.custom-sauenka-marker {
  background: none !important;
  border: none !important;
  cursor: pointer;
  transform: translate(-50%, -100%);
}

.custom-city-marker {
  background: none !important;
  border: none !important;
  cursor: pointer;
  transform: translate(-50%, -100%);
}

/* Popupy mapy */
.leaflet-popup-content-wrapper {
  border-radius: 8px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
  border: 1px solid var(--light-bg) !important;
}

.leaflet-popup-content {
  margin: 15px !important;
  line-height: 1.4 !important;
  font-family: "Poppins", sans-serif !important;
}

.leaflet-popup-tip {
  background: white !important;
  border: 1px solid var(--light-bg) !important;
}

/* Kontrolki mapy */
.leaflet-control-zoom a {
  background-color: white !important;
  color: var(--text-dark) !important;
  border: 1px solid var(--light-bg) !important;
  border-radius: 4px !important;
  transition: all 0.3s ease !important;
}

.leaflet-control-zoom a:hover {
  background-color: var(--primary-color) !important;
  color: white !important;
  border-color: var(--primary-color) !important;
}

/* Testimonials */
.testimonials {
  padding: 100px 0;
  background: var(--light-bg);
}

.testimonials h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 3rem;
  color: var(--text-dark);
}

.testimonials-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial {
  display: none;
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.testimonial.active {
  display: block;
}

.stars {
  margin-bottom: 1.5rem;
}

.stars i {
  color: var(--accent-color);
  font-size: 1.2rem;
  margin: 0 2px;
}

.testimonial p {
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 2rem;
  color: var(--text-light);
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.client-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 600;
  font-size: 1.2rem;
  text-transform: uppercase;
  flex-shrink: 0;
  overflow: hidden;
  border: 3px solid var(--white);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.client-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Fallback styles for avatars without photos */
.client-avatar span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* Different colors for each avatar (fallback) */
.client-avatar[data-initials="AK"] {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.client-avatar[data-initials="MN"] {
  background: linear-gradient(135deg, #3498db, #2980b9);
}

.client-avatar[data-initials="KW"] {
  background: linear-gradient(135deg, #9b59b6, #8e44ad);
}

.client-avatar[data-initials="OZ"] {
  background: linear-gradient(135deg, #f39c12, #e67e22);
}

.testimonial-author h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.testimonial-author span {
  color: var(--text-light);
  font-size: 0.9rem;
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.prev-btn,
.next-btn {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.prev-btn:hover,
.next-btn:hover {
  background: var(--secondary-color);
  transform: scale(1.1);
}

/* FAQ */
.faq {
  padding: 100px 0;
  background: var(--light-bg);
}

.faq h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.faq-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
}

.faq-item {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.faq-question {
  padding: 2rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  transition: var(--transition);
  border: none;
  outline: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
  font-size: inherit;
}

.faq-question-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex: 1;
}

.faq-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.faq-icon i {
  font-size: 1.2rem;
  color: var(--white);
}

.faq-question h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
}

.faq-arrow {
  font-size: 1rem;
  color: var(--primary-color);
  transition: var(--transition);
  flex-shrink: 0;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background: var(--white);
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer-content {
  padding: 2rem;
}

.faq-answer-content p {
  color: var(--text-light);
  line-height: 1.7;
  font-size: 1rem;
}

/* Footer */
.footer {
  background: var(--secondary-color);
  color: #ffffff;
  padding: 50px 0 20px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
  justify-content: flex-start;
  align-items: flex-start;
}

.footer-logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

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

.footer-section p {
  color: #bdc3c7;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Usuń kursywę z elementu address w footer */
.footer-section address {
  font-style: normal !important;
}

.footer-section address * {
  font-style: normal !important;
}

.contact-item,
.contact-item a,
.contact-item h3 {
  font-style: normal !important;
}

#contact-info {
  font-style: normal !important;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition);
}

.social-links a:hover {
  transform: translateY(-3px);
  background: var(--accent-color);
}

.footer-section h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #ffffff;
}

.footer-section {
  flex: 1;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
  color: #bdc3c7;
}

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

.contact-item a {
  color: #ffffff;
  text-decoration: none;
  transition: var(--transition);
}

.contact-item a:hover {
  color: #ffd700;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #bdc3c7;
  text-decoration: none;
  transition: var(--transition);
}

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

.newsletter-form {
  display: flex;
  margin-top: 1rem;
}

.newsletter-form input {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  outline: none;
}

.newsletter-form button {
  background: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 12px 16px;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background: var(--accent-color);
}

.footer-bottom {
  text-align: left;
  padding-top: 2rem;
  border-top: 1px solid #34495e;
  color: #bdc3c7;
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 80%;
  max-height: 80%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--border-radius);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 2.5rem;
  color: var(--white);
  cursor: pointer;
  transition: var(--transition);
  background: transparent;
  border: none;
  z-index: 2002;
}

.lightbox-close:hover {
  color: var(--primary-color);
  transform: scale(1.1);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.8rem;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: var(--transition);
  z-index: 2001;
}

.lightbox-nav:hover {
  background-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
  left: 30px;
}

.lightbox-next {
  right: 30px;
}

/* Responsive adjustments for lightbox navigation */
@media (max-width: 768px) {
  .lightbox-content img {
    max-height: 70vh;
  }

  .lightbox-close {
    top: 20px;
    right: 20px;
    font-size: 2rem;
  }

  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

  .lightbox-prev {
    left: 15px;
  }

  .lightbox-next {
    right: 15px;
  }
}

/* Map Styles */
#map {
  height: 400px;
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.custom-marker {
  background: transparent !important;
  border: none !important;
}

.custom-marker div {
  transition: transform 0.2s ease;
}

.custom-marker:hover div {
  transform: scale(1.2);
}

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

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* Animacja ładowania mapy */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
    border: none;
    outline: none;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--white);
    flex-direction: column;
    justify-content: start;
    align-items: center;
    padding-top: 2rem;
    transition: var(--transition);
    box-shadow: var(--shadow);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 1rem 0;
  }

  .reserve-btn {
    display: none;
  }

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

  .hero h2 {
    font-size: 1.5rem;
  }

  .hero-stats {
    display: none;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

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

  .testimonial-author {
    flex-direction: column;
    text-align: center;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .chat-window {
    width: calc(100vw - 40px);
    height: 70vh;
    bottom: 20px;
    right: 20px;
  }

  .container {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero h2 {
    font-size: 1.2rem;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .cities-grid {
    grid-template-columns: 1fr;
  }
}

/* Responsywność dla sekcji O nas */
@media (max-width: 992px) {
  .values {
    grid-template-columns: repeat(
      auto-fit,
      minmax(250px, 1fr)
    ); /* Lepsze dopasowanie na mniejszych ekranach */
  }
}

@media (max-width: 768px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-text {
    padding-right: 0;
  }

  .about-image {
    max-width: 100%;
    margin: 0 auto;
  }

  .values {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .value {
    padding: 1.5rem;
  }

  .about h2 {
    font-size: 2rem;
  }

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

@media (max-width: 576px) {
  .about {
    padding: 60px 0;
  }
}

/* Service Area - Responsive */
@media (max-width: 992px) {
  .service-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-info {
    order: -1; /* Przenieś informacje nad mapę na tableach */
  }
}

@media (max-width: 768px) {
  .service-area {
    padding: 60px 0;
  }

  .service-area h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .service-content {
    gap: 1.5rem;
  }

  #map {
    height: 300px !important;
  }

  .cities-grid {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 0.8rem;
  }

  .city-item {
    padding: 0.8rem;
    font-size: 0.9rem;
  }

  .service-info h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }
}

@media (max-width: 480px) {
  .service-area h2 {
    font-size: 1.8rem;
  }

  #map {
    height: 250px !important;
    border-radius: 8px !important;
  }

  .cities-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .city-item {
    padding: 0.7rem;
    font-size: 0.85rem;
  }

  .city-item i {
    margin-right: 8px;
  }

  .service-note {
    padding: 1rem;
    font-size: 0.9rem;
  }

  /* Dostosuj markery na mobile */
  .custom-sauenka-marker div {
    width: 20px !important;
    height: 20px !important;
  }

  .custom-city-marker div {
    width: 12px !important;
    height: 12px !important;
  }
}

/* Animacja ładowania mapy */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Loading states */
.loading {
  opacity: 0.5;
  pointer-events: none;
}

/* Enhanced focus indicators for accessibility */
button:focus,
a:focus,
input:focus,
textarea:focus,
select:focus,
[tabindex]:focus {
  outline: 3px solid var(--primary-color);
  outline-offset: 2px;
  box-shadow: 0 0 0 1px var(--white), 0 0 0 4px var(--primary-color);
}

/* Focus styles for specific components */
.nav-menu a:focus,
.footer-links a:focus {
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 4px;
  padding: 2px 4px;
}

.gallery-item:focus,
.pricing-card:focus {
  transform: translateY(-2px);
  box-shadow: var(--shadow), 0 0 0 3px var(--primary-color);
}

.faq-question:focus {
  background-color: #e9ecef;
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
  box-shadow: var(--shadow);
}

.chat-toggle:focus {
  transform: scale(1.1);
  box-shadow: 0 0 0 3px var(--primary-color);
}

.lightbox-close:focus,
.lightbox-prev:focus,
.lightbox-next:focus {
  background-color: rgba(255, 215, 0, 0.3);
  transform: scale(1.1);
}

/* Ensure focus is visible in high contrast mode */
@media (prefers-contrast: high) {
  button:focus,
  a:focus,
  input:focus,
  textarea:focus,
  select:focus,
  [tabindex]:focus {
    outline: 4px solid;
    outline-offset: 2px;
  }
}

/* Print styles */
@media print {
  .header,
  .lightbox {
    display: none !important;
  }
}

/* Skip Link for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-color);
  color: var(--white);
  padding: 8px 16px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 0 0 4px 4px;
  z-index: 9999;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 0;
}

/* Screen reader only content */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sr-only:focus {
  position: static;
  width: auto;
  height: auto;
  padding: inherit;
  margin: inherit;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

/* Legal Pages Styles */
.legal-page {
  padding-top: 80px;
}

.page-header {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--accent-color) 100%
  );
  padding: 4rem 0 3rem;
  text-align: center;
  color: var(--white);
}

.page-header h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.legal-content {
  padding: 4rem 0;
  background: var(--white);
}

.legal-text {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
  color: var(--text-color);
}

.legal-text h2 {
  color: var(--primary-color);
  font-size: 1.8rem;
  font-weight: 600;
  margin: 3rem 0 1.5rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--light-gray);
}

.legal-text h3 {
  color: var(--text-color);
  font-size: 1.3rem;
  font-weight: 600;
  margin: 2rem 0 1rem 0;
}

.legal-text p {
  margin-bottom: 1.5rem;
  text-align: justify;
}

.legal-text ul {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.legal-text li {
  margin-bottom: 0.8rem;
}

.legal-text strong {
  color: var(--text-color);
  font-weight: 600;
}

.update-info {
  background: var(--light-gray);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  margin-bottom: 3rem;
  border-left: 4px solid var(--primary-color);
}

.update-info p {
  margin: 0;
  font-weight: 500;
}

.contact-box {
  background: var(--bg-light);
  border: 1px solid var(--light-gray);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.contact-box p {
  margin: 0;
  font-weight: 500;
}

.back-to-home {
  text-align: center;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--light-gray);
}

.back-to-home .cta-button {
  background: var(--primary-color);
  color: var(--text-light);
  border: none;
  padding: 18px 36px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.back-to-home .cta-button:hover {
  background: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.back-to-home .cta-button i {
  margin-right: 10px;
}

/* Responsive Design for Legal Pages */
@media (max-width: 768px) {
  .page-header {
    padding: 3rem 0 2rem;
  }

  .page-header h1 {
    font-size: 2.2rem;
  }

  .page-subtitle {
    font-size: 1rem;
  }

  .legal-content {
    padding: 3rem 0;
  }

  .legal-text {
    padding: 0 1rem;
  }

  .legal-text h2 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
  }

  .legal-text h3 {
    font-size: 1.2rem;
  }

  .legal-text ul {
    padding-left: 1.5rem;
  }

  .contact-box {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .page-header h1 {
    font-size: 1.8rem;
  }

  .legal-text p {
    text-align: left;
  }

  .back-to-home .cta-button {
    padding: 15px 25px;
    font-size: 1rem;
  }
}
