/*
Theme Name: Toskhana Modern
Theme URI: https://toskhana.pl
Author: Kamil Poświatowski + AI
Description: A modern, premium aesthetic theme for Toskhana beauty salon featuring soft pinks, beiges, gold/copper accents, smooth animations, and glassmorphism.
Version: 1.0.4
Text Domain: toskhana-modern
*/

/* --- CSS Variables / Design System --- */
:root {
  --primary-color: #EDE7E1;      /* Beż / kamień */
  --secondary-color: #B28394;    /* Brudny róż (Brand) */
  --accent-color: #f5f0ed;       /* Very light beige */
  --text-dark: #2E2E2E;          /* Grafit (Contrast) */
  --text-light: #5a5a5a;
  --white: #ffffff;
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-editorial: 'Playfair Display', serif; /* New Luxury Font */
  
  --transition-fast: 0.3s ease;
  --transition-slow: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.1);
  --glass-bg: rgba(245, 240, 237, 0.95); 
}

/* --- Custom Cursor --- */
.custom-cursor {
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--secondary-color);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.15s ease-out, width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
  transform: translate(-50%, -50%);
}

.custom-cursor-dot {
  width: 6px;
  height: 6px;
  background-color: var(--secondary-color);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
}

.custom-cursor.active {
    transform: translate(-50%, -50%) scale(1.5);
    background-color: rgba(198, 163, 134, 0.1);
    border-color: transparent;
}

/* --- Global Reset & Basics --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--primary-color) url('assets/marble-bg.png') fixed;
  background-size: cover;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

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

a:hover {
  color: var(--secondary-color);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* --- Typography --- */
h1 { 
    font-family: var(--font-editorial); 
    font-size: clamp(2.5rem, 6vw, 5.5rem); 
    line-height: 1.05; 
    margin-bottom: 2rem; 
    font-weight: 500;
}
h2 { 
    font-family: var(--font-editorial);
    font-size: clamp(2.2rem, 5vw, 3.8rem); 
    text-align: center; 
    margin-bottom: 3.5rem; 
    font-weight: 500;
}
h3 { font-size: 1.6rem; margin-bottom: 1rem; }

/* --- Header / Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 0.5rem 0; /* Reduced padding to fix height */
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(178, 131, 148, 0.15); /* Subtle pinkish border */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03); /* Soft shadow to separate from page */
  transition: var(--transition-fast);
}

.site-header.scrolled {
  padding: 0.2rem 0;
  box-shadow: var(--shadow-sm);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dark);
  height: 60px; /* Force small height to keep header slim */
  display: flex;
  align-items: center;
  overflow: hidden; /* Crops the extra empty background from the logo */
}

.logo-img {
  height: 150px; /* Significantly increased size */
  max-height: none; /* Override previous max-height */
  width: auto;
  display: block;
  margin-top: 8px; /* Push logo slightly lower to center it visually */
  transition: transform var(--transition-fast);
  mix-blend-mode: multiply; /* Multiplies to drop the background */
  filter: contrast(1.15) brightness(1.05); /* Blows out the logo's beige background to white so it disappears */
}

.site-logo:hover .logo-img {
  transform: scale(1.05);
}

.main-nav ul {
  display: flex;
  gap: 2rem;
}

.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--secondary-color);
  transition: width var(--transition-fast);
}

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

/* --- Dropdown Menu Styles --- */
.main-nav ul li {
  position: relative;
}

.main-nav ul li ul.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-fast);
  padding: 1rem 0;
  border-radius: 8px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.main-nav ul li:hover > ul.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-nav ul li ul.sub-menu li {
  width: 100%;
  position: relative; /* Fix for 3rd level submenu positioning */
}

.main-nav ul li ul.sub-menu li a {
  padding: 0.8rem 1.5rem;
  display: block;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

.main-nav ul li ul.sub-menu li a::before {
  content: '>';
  margin-right: 8px;
  font-weight: 400;
  color: var(--secondary-color);
}

.main-nav ul li ul.sub-menu li a::after {
  display: none;
}

.main-nav ul li ul.sub-menu li a:hover {
  background-color: rgba(255, 255, 255, 0.5);
  color: var(--secondary-color);
}

/* Multi-level dropdown */
.main-nav ul li ul.sub-menu ul.sub-menu {
  top: 0;
  left: auto;
  right: 100%;
  width: max-content;
  max-width: 400px;
}

/* --- Scroll Progress Bar --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--secondary-color);
  z-index: 2001;
  transition: width 0.1s ease-out;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--text-dark);
  margin-bottom: 5px;
  transition: var(--transition-fast);
}

.mobile-menu-btn span:last-child {
  margin-bottom: 0;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-fast);
  border: 1px solid transparent;
}

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

.btn-primary:hover {
  background-color: transparent;
  color: var(--secondary-color);
  border-color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(198, 163, 134, 0.2);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--text-dark);
  color: var(--text-dark);
}

.btn-outline:hover {
  background-color: var(--text-dark);
  color: var(--white);
}

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

.hero-parallax-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 120%;
    background: linear-gradient(135deg, rgba(245, 240, 237, 0.85) 0%, rgba(255, 255, 255, 0.65) 100%),
                url('https://toskhana.pl/wp-content/uploads/2026/09/hero-bg-scaled.jpg') center / cover no-repeat;
    z-index: 0;
    will-change: transform;
}

.hero-content {
  max-width: 600px;
  z-index: 2;
  color: var(--text-dark);
}

.hero-content h1 {
  color: var(--text-dark);
}

.hero-subtitle {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--secondary-color);
  margin-bottom: 1rem;
  display: block;
  font-weight: 600;
}

.editorial-stamp {
    font-family: var(--font-editorial);
    font-style: italic;
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-top: 2rem;
    display: block;
    opacity: 0.8;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.hero .btn-outline {
  border-color: var(--text-dark);
  color: var(--text-dark);
}

.hero .btn-outline:hover {
  background-color: var(--text-dark);
  color: var(--white);
}

/* --- Hero Image/Decoration (Placeholder visual appeal) --- */
.hero-image-wrap {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 50%;
  height: 80%;
  z-index: 1;
}

.hero-shape {
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--white);
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  animation: morph 8s ease-in-out infinite both alternate;
  box-shadow: var(--shadow-lg);
  opacity: 0.6;
}

@keyframes morph {
  0% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
  100% { border-radius: 50% 50% 40% 60% / 60% 40% 50% 50%; }
}

/* --- Services Flow --- */
.services-section {
  padding: 8rem 0;
  background-color: rgba(255, 255, 255, 0.4); /* Semi-transparent to show marble */
  backdrop-filter: blur(5px);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.service-card {
  padding: 3rem 2rem;
  background: var(--accent-color);
  border-radius: 20px;
  text-align: center;
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
}

.service-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* --- About/Philosophy Section --- */
.about-section {
  padding: 8rem 0;
  background-color: transparent;
}

.about-content-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-text {
  transform: translateY(-40px);
}

.about-text h2 {
  margin-bottom: 1.5rem;
}

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

.about-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* Adding an overlay for aesthetic */
.about-image::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(198, 163, 134, 0.1); /* Soft secondary tint */
}


/* --- Testimonials --- */
.testimonials-section {
  padding: 8rem 0;
  background-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(5px);
  text-align: center;
}

.testimonial-carousel {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  padding: 2rem 1rem;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none;    /* Firefox */
}
.testimonial-carousel::-webkit-scrollbar { display: none; }

.testimonial-item {
  flex: 0 0 350px;
  scroll-snap-align: center;
  background: var(--primary-color);
  padding: 2.5rem;
  border-radius: 15px;
  text-align: left;
  box-shadow: var(--shadow-sm);
}

.testimonial-item p {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.testimonial-author {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--secondary-color);
}


/* --- Footer Redesign --- */
.site-footer {
  background: linear-gradient(180deg, rgba(46, 46, 46, 0.98) 0%, rgba(30, 30, 30, 1) 100%),
              url('https://www.transparenttextures.com/patterns/marble-similar.png'); /* Marble texture overlay */
  color: #d1d1d1;
  padding: 8rem 0 0;
  position: relative;
  overflow: hidden;
}

.footer-top {
  padding-bottom: 5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 4rem;
}

@media (min-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

.footer-logo {
  margin-bottom: 2rem;
}

.brand-mission {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6);
  max-width: 300px;
}

.footer-col h4 {
  font-family: var(--font-editorial);
  color: var(--secondary-color);
  font-size: 1.4rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.8rem;
  width: 30px;
  height: 1px;
  background: var(--secondary-color);
  opacity: 0.5;
}

/* Navigation & Lists */
.contact-details {
  list-style: none;
  padding: 0;
}

.contact-details li, .footer-nav li {
  margin-bottom: 1.2rem;
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.contact-details a, .footer-nav a, .social-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease, padding-left 0.3s ease;
  display: inline-block;
}

.icon {
  margin-right: 12px;
  color: var(--secondary-color);
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}

/* Hover Effects */
.footer-nav a:hover, .contact-details a:hover, .social-link:hover {
  color: var(--secondary-color);
  padding-left: 8px;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.social-link {
  font-family: var(--font-heading);
  letter-spacing: 1px;
  font-size: 0.9rem;
  text-transform: uppercase;
}

/* Footer Bottom */
.footer-bottom {
  background: rgba(0, 0, 0, 0.2);
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-flex {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 1px;
}

.designed-by {
  font-family: var(--font-editorial);
  font-style: italic;
  opacity: 0.5;
}

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

/* --- Treatment Grid Enhancement --- */
.treatment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.treatment-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.treatment-card {
  position: relative;
  height: 350px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
  cursor: pointer;
}

.treatment-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.treatment-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.treatment-card:hover .treatment-image {
  transform: scale(1.1);
}

.treatment-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 60%;
  transition: var(--transition-fast);
}

.treatment-card:hover .treatment-overlay {
  height: 80%;
  background: linear-gradient(to top, rgba(198, 163, 134, 0.9) 0%, rgba(0,0,0,0.1) 100%);
}

.treatment-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.treatment-desc {
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.treatment-card:hover .treatment-desc {
  opacity: 1;
  transform: translateY(0);
}

/* --- Animations (Intersection Observer) --- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Modal System --- */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: var(--white);
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  border-radius: 30px;
  position: relative;
  overflow-y: auto;
  transform: scale(0.9) translateY(30px);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  padding: 4rem;
  box-shadow: var(--shadow-lg);
}

.modal-overlay.active .modal-content {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 2rem;
  right: 2.5rem;
  font-size: 2rem;
  cursor: pointer;
  color: var(--text-light);
  line-height: 1;
  transition: var(--transition-fast);
}

.modal-close:hover {
  color: var(--secondary-color);
  transform: rotate(90deg);
}

.modal-header h2 {
  text-align: left;
  margin-bottom: 2rem;
  color: var(--secondary-color);
}

.modal-body p {
  margin-bottom: 1.5rem;
  color: var(--text-light);
  font-size: 1.1rem;
}

/* --- Treatment Content Styles (Subpages) --- */
.treatment-content h3 {
  color: var(--secondary-color);
  margin: 3rem 0 1.5rem;
  font-family: var(--font-heading);
  font-size: 1.8rem;
}

.treatment-content p {
  margin-bottom: 1.5rem;
}

.treatment-content ul {
  margin-bottom: 2rem;
  padding-left: 1.5rem;
}

.treatment-content li {
  margin-bottom: 0.8rem;
  position: relative;
  list-style: none;
}

.treatment-content li::before {
  content: '✦';
  position: absolute;
  left: -1.5rem;
  color: var(--secondary-color);
}

/* --- Responsive --- */
@media (max-width: 1200px) {
  .treatment-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .hero-image-wrap { display: none; }
  .about-content-wrap { grid-template-columns: 1fr; gap: 3rem; }
  .treatment-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .treatment-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .main-nav { display: none; } /* Could be fixed in JS for mobile menu */
  .mobile-menu-btn { display: block; }
  .hero-buttons { flex-direction: column; }
  .btn { text-align: center; width: 100%; }
}

/* --- Partners Section --- */
.partners-section {
  padding: 6rem 0;
  background-color: transparent;
  overflow: hidden;
}

.partners-wrapper {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.partners-carousel {
  display: flex;
  gap: 4rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 2rem 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
}

.partners-carousel::-webkit-scrollbar {
  display: none;
}

.partner-item {
  flex: 0 0 calc(25% - 3rem);
  min-width: 150px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: center;
  transition: transform var(--transition-fast), filter var(--transition-fast);
  filter: grayscale(1) opacity(0.6);
}

.partner-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.partner-item:hover {
  filter: grayscale(0) opacity(1);
  transform: scale(1.05);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 2rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

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

@media (max-width: 900px) {
  .partner-item {
    flex: 0 0 calc(33.333% - 2.6rem);
  }
}

@media (max-width: 600px) {
  .partner-item {
    flex: 0 0 calc(50% - 2rem);
  }
  .partners-carousel {
    gap: 2rem;
  }
}

/* --- Accordion Styles --- */
.accordion-container {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.accordion-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.accordion-header {
  width: 100%;
  text-align: left;
  padding: 1.5rem 0;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  text-transform: uppercase;
  color: var(--text-dark);
  transition: color var(--transition-fast);
}

.accordion-header:hover {
  color: var(--secondary-color);
}

.accordion-title {
  letter-spacing: 1px;
}

.accordion-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  color: var(--text-dark);
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.accordion-inner {
  padding-bottom: 1.5rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* --- Standard Text Page (Privacy Policy etc.) --- */
.text-page-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  padding: 4rem 3rem;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.text-page-header .entry-title {
  font-size: clamp(2rem, 4vw, 3rem);
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(178, 131, 148, 0.2);
}

.text-page-content h2 {
  font-size: 1.8rem;
  text-align: left;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
  font-weight: 500;
}

.text-page-content h3 {
  font-size: 1.4rem;
  text-align: left;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.text-page-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  text-align: left;
}

.text-page-content ul, .text-page-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  color: var(--text-light);
  text-align: left;
}

.text-page-content li {
  margin-bottom: 0.5rem;
  text-align: left;
}

@media (max-width: 768px) {
  .text-page-wrapper {
    padding: 2.5rem 1.5rem;
  }
}
