/* ============================================
   JOLANTA SIWAK KOSMETOLOGIA TERAPEUTYCZNA
   Balinese Spa Luxury Design System
   ============================================ */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Lato:wght@300;400;700&display=swap');

/* ============================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================ */
:root {
  /* Balinese Earth Palette */
  --color-cream: #F5F0E8;
  --color-sand: #E8DFD0;
  --color-beige: #D4C5B0;
  --color-taupe: #A89880;
  --color-warm-taupe: #8B7355;
  --color-terracotta: #C4A484;
  --color-terracotta-muted: #B8956E;
  --color-gold: #C9A962;
  --color-gold-light: #D4BA7A;
  --color-earth-dark: #5C4A35;
  --color-earth-darker: #3D3224;

  /* Text Colors - IMPROVED CONTRAST */
  --text-primary: #2C1F14;
  --text-secondary: #4A3728;
  --text-light: #6B5344;
  --text-on-dark: #FFFFFF;

  /* Backgrounds */
  --bg-primary: #FFFCF8;
  --bg-secondary: #F8F4EE;
  --bg-accent: #F0EAE0;

  /* Typography */
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Lato', 'Segoe UI', sans-serif;

  /* Font Sizes - INCREASED FOR READABILITY */
  --fs-hero: clamp(2.8rem, 6vw, 5rem);
  --fs-h1: clamp(2.2rem, 4vw, 3.5rem);
  --fs-h2: clamp(1.9rem, 3vw, 2.8rem);
  --fs-h3: clamp(1.4rem, 2vw, 1.9rem);
  --fs-body: clamp(1.05rem, 1.3vw, 1.2rem);
  --fs-small: 0.95rem;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-xxl: 8rem;

  /* Borders & Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Shadows */
  --shadow-soft: 0 4px 20px rgba(61, 50, 36, 0.08);
  --shadow-medium: 0 8px 30px rgba(61, 50, 36, 0.12);
  --shadow-gold: 0 4px 20px rgba(201, 169, 98, 0.2);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.4s ease;
  --transition-slow: 0.6s ease;

  /* Container */
  --container-max: 1200px;
  --container-narrow: 800px;
}

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

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

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.8;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

/* Natural Texture Overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.02;
  pointer-events: none;
  z-index: -1;
}

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

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

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 {
  font-size: var(--fs-h1);
}

h2 {
  font-size: var(--fs-h2);
}

h3 {
  font-size: var(--fs-h3);
}

.heading-hero {
  font-size: var(--fs-hero);
  font-weight: 300;
  letter-spacing: 0.02em;
}

.heading-section {
  font-size: var(--fs-h2);
  font-weight: 400;
  margin-bottom: var(--space-md);
  position: relative;
}

.heading-section::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-terracotta));
  margin-top: var(--space-sm);
}

.heading-section.centered::after {
  margin-left: auto;
  margin-right: auto;
}

.text-accent {
  color: var(--color-terracotta-muted);
}

.text-gold {
  color: var(--color-gold);
}

.text-light {
  color: var(--text-light);
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container-narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: var(--space-xl) 0;
}

.section-lg {
  padding: var(--space-xxl) 0;
}

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

.flex {
  display: flex;
}

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

.grid {
  display: grid;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-sm) 0;
  background: rgba(250, 247, 242, 0.95);
  backdrop-filter: blur(10px);
  transition: var(--transition-medium);
}

.navbar.scrolled {
  box-shadow: var(--shadow-soft);
  padding: var(--space-xs) 0;
}

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

.navbar-logo {
  height: 60px;
  transition: var(--transition-medium);
}

.navbar.scrolled .navbar-logo {
  height: 50px;
}

.navbar-logo img {
  height: 100%;
  width: auto;
}

.nav-menu {
  display: flex;
  gap: var(--space-md);
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: var(--space-xs) 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-terracotta));
  transition: var(--transition-medium);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-terracotta-muted);
}

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

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition-fast);
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--bg-primary);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    transition: var(--transition-medium);
    box-shadow: var(--shadow-medium);
  }

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

  .nav-link {
    font-size: 1.5rem;
  }

  .nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(61, 50, 36, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-medium);
    z-index: 998;
  }

  .nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
      rgba(61, 50, 36, 0.6) 0%,
      rgba(92, 74, 53, 0.4) 50%,
      rgba(61, 50, 36, 0.6) 100%);
  z-index: -1;
}

.hero-content {
  text-align: center;
  color: var(--text-on-dark);
  padding: var(--space-md);
  max-width: 800px;
}

.hero-logo {
  max-width: 300px;
  margin: 0 auto var(--space-lg);
  animation: fadeInDown 1s ease;
}

.hero-title {
  font-size: var(--fs-hero);
  font-weight: 400;
  margin-bottom: var(--space-md);
  animation: fadeInUp 1s ease 0.3s both;
  text-shadow: 2px 2px 30px rgba(0, 0, 0, 0.5), 0 0 60px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  font-weight: 400;
  font-style: italic;
  opacity: 1;
  animation: fadeInUp 1s ease 0.5s both;
  text-shadow: 1px 1px 20px rgba(0, 0, 0, 0.4);
}

.hero-cta {
  margin-top: var(--space-lg);
  animation: fadeInUp 1s ease 0.7s both;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-indicator span {
  display: block;
  width: 30px;
  height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  position: relative;
}

.scroll-indicator span::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  animation: scrollDown 2s infinite;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-md);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm);
  transition: var(--transition-medium);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-gold), var(--color-terracotta));
  color: white;
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(201, 169, 98, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--text-on-dark);
  border: 2px solid var(--color-gold-light);
}

.btn-secondary:hover {
  background: var(--color-gold-light);
  color: var(--text-primary);
}

.btn-outline {
  background: transparent;
  color: var(--color-terracotta-muted);
  border: 2px solid var(--color-terracotta-muted);
}

.btn-outline:hover {
  background: var(--color-terracotta-muted);
  color: white;
}

.btn-lg {
  padding: var(--space-md) var(--space-lg);
  font-size: 1.2rem;
}

/* ============================================
   CARDS
   ============================================ */
.card {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-medium);
}

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

.card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

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

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

.card-content {
  padding: var(--space-md);
}

.card-title {
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  margin-bottom: var(--space-sm);
}

.card-text {
  color: var(--text-light);
  margin-bottom: var(--space-md);
}

/* Treatment Card */
.treatment-card {
  background: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
  border: 1px solid var(--color-sand);
}

.treatment-card.featured {
  border: 2px solid var(--color-gold);
  position: relative;
}

.treatment-card.featured::before {
  content: 'POLECANY';
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  background: linear-gradient(135deg, var(--color-gold), var(--color-terracotta));
  color: white;
  font-size: var(--fs-small);
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.1em;
}

/* Info Box */
.info-box {
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  border-left: 4px solid var(--color-gold);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.info-item {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.info-item .icon {
  width: 24px;
  height: 24px;
  color: var(--color-gold);
}

.info-item .label {
  font-size: var(--fs-small);
  color: var(--text-light);
}

.info-item .value {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* ============================================
   FEATURES LIST (with leaf icons)
   ============================================ */
.features-list {
  padding: var(--space-md) 0;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-xs) 0;
}

.feature-item::before {
  content: '🌿';
  font-size: 1.2rem;
  flex-shrink: 0;
}

.feature-item span {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

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

.about-image {
  position: relative;
}

.about-image img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-medium);
}

.about-image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--color-gold);
  border-radius: var(--radius-xl);
  z-index: -1;
}

.about-content {
  padding: var(--space-md);
}

.about-content p {
  margin-bottom: var(--space-md);
  color: var(--text-secondary);
}

/* ============================================
   VOUCHER SECTION
   ============================================ */
.voucher-card {
  background: linear-gradient(135deg, var(--color-cream), var(--color-sand));
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  position: relative;
  overflow: hidden;
  border: 2px solid var(--color-gold-light);
  text-align: center;
}

.voucher-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, var(--color-gold-light), transparent);
  border-radius: 0 0 0 100%;
  opacity: 0.5;
}

.voucher-icon {
  font-size: 4rem;
  margin-bottom: var(--space-md);
}

.voucher-title {
  font-family: var(--font-heading);
  font-size: var(--fs-h2);
  margin-bottom: var(--space-sm);
}

.voucher-description {
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

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

.contact-form {
  background: var(--bg-secondary);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: var(--space-xs);
  color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid var(--color-beige);
  border-radius: var(--radius-md);
  background: var(--bg-primary);
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.1);
}

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

.contact-info {
  padding: var(--space-md);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.contact-item .icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--color-gold), var(--color-terracotta));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-item h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: var(--space-xs);
}

.contact-item p {
  color: var(--text-light);
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 300px;
  margin-top: var(--space-lg);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--color-earth-darker);
  color: var(--text-on-dark);
  padding: var(--space-lg) 0 var(--space-md);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}

.footer-logo {
  height: 50px;
}

.footer-logo img {
  height: 100%;
  filter: brightness(1.2);
}

.footer-nav {
  display: flex;
  gap: var(--space-md);
}

.footer-nav a {
  color: var(--color-sand);
  font-size: var(--fs-small);
  transition: var(--transition-fast);
}

.footer-nav a:hover {
  color: var(--color-gold);
}

.footer-bottom {
  text-align: center;
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: var(--fs-small);
  color: var(--color-taupe);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  40% {
    transform: translateX(-50%) translateY(-15px);
  }

  60% {
    transform: translateX(-50%) translateY(-7px);
  }
}

@keyframes scrollDown {
  0% {
    opacity: 0;
    top: 8px;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    top: 25px;
  }
}

/* Scroll Reveal Animation Classes */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger delays */
.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.delay-4 {
  transition-delay: 0.4s;
}

.delay-5 {
  transition-delay: 0.5s;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.mb-1 {
  margin-bottom: var(--space-sm);
}

.mb-2 {
  margin-bottom: var(--space-md);
}

.mb-3 {
  margin-bottom: var(--space-lg);
}

.mb-4 {
  margin-bottom: var(--space-xl);
}

.mt-1 {
  margin-top: var(--space-sm);
}

.mt-2 {
  margin-top: var(--space-md);
}

.mt-3 {
  margin-top: var(--space-lg);
}

.mt-4 {
  margin-top: var(--space-xl);
}

.pt-nav {
  padding-top: 100px;
}

/* Background Variants */
.bg-cream {
  background-color: var(--bg-secondary);
}

.bg-sand {
  background-color: var(--bg-accent);
}

/* ============================================
   PAGE HEADER (for subpages)
   ============================================ */
.page-header {
  background: linear-gradient(135deg, var(--color-earth-dark), var(--color-earth-darker));
  padding: calc(var(--space-xxl) + 80px) 0 var(--space-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.05;
}

.page-header h1 {
  color: var(--text-on-dark);
  position: relative;
}

.page-header p {
  color: var(--color-sand);
  font-family: var(--font-heading);
  font-style: italic;
  font-size: var(--fs-h3);
  margin-top: var(--space-sm);
  position: relative;
}

/* ============================================
   INTRO SECTION
   ============================================ */
.intro-section {
  padding: var(--space-xl) 0;
  background: var(--bg-secondary);
}

.intro-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.intro-content p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.9;
}

/* Decorative divider */
.divider {
  width: 100px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  margin: var(--space-lg) auto;
}

/* ============================================
   GALLERY GRID
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-md);
  background: linear-gradient(to top, rgba(61, 50, 36, 0.9), transparent);
  color: var(--text-on-dark);
  transform: translateY(100%);
  transition: var(--transition-medium);
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

/* ============================================
   DELICATE HERO SECTION (Refined Balinese Style)
   ============================================ */
.hero-delicate {
  min-height: 100vh;
}

.hero-delicate .hero-bg img {
  filter: brightness(0.85) saturate(1.1);
}

.hero-overlay-soft {
  background: linear-gradient(180deg,
      rgba(44, 31, 20, 0.4) 0%,
      rgba(44, 31, 20, 0.35) 30%,
      rgba(44, 31, 20, 0.5) 70%,
      rgba(44, 31, 20, 0.7) 100%) !important;
}

/* Subtle Corner Logo */
.hero-corner-logo {
  position: absolute;
  top: 100px;
  left: var(--space-lg);
  z-index: 10;
  opacity: 0.95;
  animation: fadeIn 1.5s ease;
}

.hero-corner-logo img {
  max-width: 130px;
  height: auto;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.25));
  border-radius: var(--radius-md);
}

@media (max-width: 768px) {
  .hero-corner-logo {
    top: 90px;
    left: var(--space-md);
  }

  .hero-corner-logo img {
    max-width: 90px;
  }
}

/* Delicate Hero Content */
.hero-content-delicate {
  max-width: 750px;
  padding: var(--space-lg);
}

.hero-pretext {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: var(--space-sm);
  animation: fadeInDown 1s ease 0.2s both;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
}

.hero-title-elegant {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: #FFFFFF;
  text-shadow: 0 3px 30px rgba(0, 0, 0, 0.5), 0 0 60px rgba(0, 0, 0, 0.3);
}

.hero-title-accent {
  color: #E8D4A8;
  font-style: italic;
}

.hero-divider {
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #E8D4A8, transparent);
  margin: var(--space-md) auto;
  animation: fadeIn 1s ease 0.6s both;
}

.hero-delicate .hero-subtitle {
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  color: #FFFFFF;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
}

.hero-delicate .hero-cta {
  margin-top: var(--space-md);
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

/* Soft Primary Button */
.btn-primary-soft {
  background: linear-gradient(135deg, rgba(201, 169, 98, 0.9), rgba(184, 149, 110, 0.9));
  color: white;
  padding: var(--space-sm) var(--space-md);
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 20px rgba(201, 169, 98, 0.25);
}

.btn-primary-soft:hover {
  background: linear-gradient(135deg, rgba(201, 169, 98, 1), rgba(184, 149, 110, 1));
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(201, 169, 98, 0.4);
}

/* Ghost Button */
.btn-ghost {
  background: transparent;
  color: rgba(245, 240, 232, 0.9);
  padding: var(--space-sm) var(--space-md);
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  border: 1px solid rgba(245, 240, 232, 0.4);
}

.btn-ghost:hover {
  background: rgba(245, 240, 232, 0.1);
  border-color: rgba(245, 240, 232, 0.7);
  color: white;
}

/* Delicate Scroll Indicator */
.hero-delicate .scroll-indicator span {
  border-color: rgba(245, 240, 232, 0.3);
}

.hero-delicate .scroll-indicator span::before {
  background: rgba(201, 169, 98, 0.7);
}

/* ============================================
   READABLE CTA BUTTONS (High Contrast)
   ============================================ */
.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--color-earth-dark);
  color: #FFFFFF;
  padding: 16px 32px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: none;
  border: 2px solid var(--color-gold);
  box-shadow: 0 4px 20px rgba(92, 74, 53, 0.3);
  transition: all 0.3s ease;
}

.btn-cta-primary:hover {
  background: var(--color-gold);
  color: var(--color-earth-darker);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(201, 169, 98, 0.4);
}

.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-earth-dark);
  padding: 16px 32px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: 2px solid var(--color-beige);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.btn-cta-secondary:hover {
  background: var(--color-cream);
  border-color: var(--color-gold);
  transform: translateY(-3px);
}

/* ============================================
   BADGE STYLES
   ============================================ */
.badge-new {
  display: inline-block;
  background: linear-gradient(135deg, #D4442B, #B8372A);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: var(--space-sm);
}

.badge-popular {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-gold), var(--color-terracotta));
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
}

/* ============================================
   INFO BOX (Clear & Readable)
   ============================================ */
.info-box-clear {
  background: var(--bg-secondary);
  border: 2px solid var(--color-beige);
  border-radius: var(--radius-md);
  padding: var(--space-md);
}

.info-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--color-sand);
}

.info-item-row:last-child {
  border-bottom: none;
}

.info-label {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.info-value {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
}

.info-value.highlight {
  color: var(--color-gold);
  font-size: 1.4rem;
}

/* ============================================
   REVIEWS SECTION
   ============================================ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.review-card {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-soft);
  border-left: 4px solid var(--color-gold);
}

.review-stars {
  color: var(--color-gold);
  font-size: 1.2rem;
  letter-spacing: 2px;
  margin-bottom: var(--space-sm);
}

.review-text {
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.review-author {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* ============================================
   SOCIAL MEDIA BUTTONS
   ============================================ */
.social-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: white;
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  transition: all 0.3s ease;
}

.btn-whatsapp:hover {
  background: #128C7E;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  color: white;
}

.btn-instagram {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: white;
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(225, 48, 108, 0.3);
  transition: all 0.3s ease;
}

.btn-instagram:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(225, 48, 108, 0.5);
  color: white;
}

.social-icon {
  font-size: 1.2rem;
}

/* ============================================
   PRICE LIST STYLES
   ============================================ */
.price-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.price-card {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-sand);
  transition: all 0.3s ease;
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.price-card.featured {
  border: 2px solid var(--color-gold);
  position: relative;
  background: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
}

.price-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-sm);
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.price-card-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-primary);
}

.price-card-price {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-gold);
  white-space: nowrap;
}

.price-card-duration {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: var(--space-sm);
}

.price-card-description {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.price-card-cta {
  display: flex;
  justify-content: flex-end;
}

/* ============================================
   PACKAGES SECTION
   ============================================ */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
}

.package-card {
  background: linear-gradient(135deg, var(--color-earth-dark), var(--color-earth-darker));
  color: var(--text-on-dark);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  transition: all 0.3s ease;
}

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

.package-discount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: var(--space-xs);
}

.package-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: var(--space-sm);
}

.package-desc {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* ============================================
   TEXT UTILITIES (Improved Readability)
   ============================================ */
.text-muted {
  color: var(--text-light);
}

.text-readable {
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ============================================
   FOOTER IMPROVEMENTS
   ============================================ */
.footer-contact {
  text-align: right;
}

.footer-contact p {
  font-size: var(--fs-small);
  margin-bottom: var(--space-xs);
  color: var(--color-sand);
}

.footer-contact a {
  color: var(--color-gold-light);
}

.footer-contact a:hover {
  color: var(--color-gold);
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: var(--space-md);
  }

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

  .footer-nav {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ============================================
   MOBILE RESPONSIVE IMPROVEMENTS
   ============================================ */
@media (max-width: 768px) {
  .price-card-header {
    flex-direction: column;
  }

  .price-card-price {
    font-size: 1.4rem;
  }

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

  .social-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-whatsapp,
  .btn-instagram {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}

/* ============================================
   COMPARISON GRID (Natural vs Invasive)
   ============================================ */
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.comparison-card {
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.comparison-card.natural {
  background: linear-gradient(145deg, #F0FFF0, #E8F5E8);
  border: 2px solid #7CB342;
}

.comparison-card.invasive {
  background: linear-gradient(145deg, #FFF8F0, #FFEBE0);
  border: 2px solid #E57373;
}

.comparison-card h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #2C1F14;
}

.comparison-card ul {
  list-style: none;
}

.comparison-card li {
  padding: 0.6rem 0;
  font-size: 1.05rem;
  color: #4A3728;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.comparison-card li:last-child {
  border-bottom: none;
}

/* ============================================
   SLOGAN TEXT
   ============================================ */
.slogan-text {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.4rem;
  font-style: italic;
  color: #8B6914;
  margin-top: 0.5rem;
}

.cta-text {
  font-size: 1.1rem;
  color: #4A3728;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================
   TREATMENT FULL DESCRIPTIONS
   ============================================ */
.treatment-full-desc {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #E8DFD0;
}

.treatment-full-desc h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #2C1F14;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.treatment-full-desc h4:first-child {
  margin-top: 0;
}

.treatment-full-desc p {
  font-size: 1.05rem;
  color: #4A3728;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.benefits-list {
  list-style: none;
  margin: 1rem 0;
}

.benefits-list li {
  position: relative;
  padding-left: 1.8rem;
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
  font-size: 1.05rem;
  color: #4A3728;
}

.benefits-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #7CB342;
  font-weight: bold;
}

/* ============================================
   PACKAGE CARDS - READABLE VERSION
   ============================================ */
.packages-grid-new {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.package-card-new {
  background: #FFFFFF;
  border: 2px solid #D4C5B0;
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.package-card-new:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.package-card-new.featured {
  border-color: #C9A962;
  border-width: 3px;
}

.package-badge {
  display: inline-block;
  background: linear-gradient(135deg, #C9A962, #B8956E);
  color: white;
  font-size: 1.2rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.package-badge.best {
  background: linear-gradient(135deg, #7CB342, #558B2F);
  font-size: 0.8rem;
  display: block;
  text-align: center;
  margin-bottom: 0.5rem;
}

.package-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #2C1F14;
  margin-bottom: 1.5rem;
}

.package-prices {
  margin-top: 1rem;
}

.package-prices p {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #E8DFD0;
  font-size: 1rem;
}

.package-prices p:last-child {
  border-bottom: none;
}

.treatment-name {
  color: #4A3728;
  font-weight: 500;
}

.package-price {
  color: #2C1F14;
  font-weight: 700;
  font-size: 1.15rem;
}

.original-price {
  color: #999;
  text-decoration: line-through;
  font-size: 0.9rem;
}

.package-note {
  font-size: 1rem;
  color: #6B5344;
}

/* ============================================
   BACKGROUND UTILITIES
   ============================================ */
.bg-white {
  background-color: #FFFFFF;
}

/* ============================================
   ENHANCED MOBILE RESPONSIVENESS
   ============================================ */
@media (max-width: 768px) {

  /* Grid layouts */
  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .packages-grid-new {
    grid-template-columns: 1fr;
  }

  .package-prices p {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Better text readability on mobile */
  .treatment-full-desc p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .treatment-full-desc h4 {
    font-size: 1.15rem;
  }

  .benefits-list li {
    font-size: 1rem;
    padding-left: 1.5rem;
  }

  /* Buttons - larger touch targets */
  .btn {
    padding: 14px 24px;
    font-size: 1rem;
    min-height: 48px;
  }

  .btn-cta-primary,
  .btn-cta-secondary,
  .btn-whatsapp {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* Price cards mobile */
  .price-card {
    padding: 1.25rem;
  }

  .price-card-title {
    font-size: 1.2rem;
  }

  .price-card-price {
    font-size: 1.3rem;
  }

  /* Hero section mobile */
  .hero-content-delicate {
    padding: 1rem;
  }

  .hero-pretext {
    font-size: 0.9rem;
    letter-spacing: 0.15em;
  }

  /* Gallery mobile - full width images */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .gallery-item {
    height: 250px;
  }

  /* Contact cards mobile */
  .contact-card {
    padding: 1.5rem;
  }

  .contact-card h3 {
    font-size: 1.2rem;
  }

  /* Package cards mobile */
  .package-card-new {
    padding: 1.5rem;
  }

  .package-title {
    font-size: 1.3rem;
  }

  /* Voucher cards mobile */
  .voucher-item {
    padding: 1.5rem;
  }

  /* Section padding mobile */
  .section {
    padding: 3rem 0;
  }

  /* About grid mobile */
  .about-grid {
    gap: 2rem;
  }
}

@media (max-width: 480px) {

  /* Extra small screens */
  .hero-title-elegant {
    font-size: 1.8rem;
  }

  .heading-section {
    font-size: 1.5rem;
  }

  .slogan-text {
    font-size: 1.1rem;
  }

  .price-card-header {
    gap: 0.75rem;
  }

  .badge-new {
    font-size: 0.75rem;
    padding: 0.3rem 0.8rem;
  }

  /* Social buttons stack */
  .social-buttons {
    gap: 0.75rem;
  }

  .btn-whatsapp,
  .btn-instagram {
    font-size: 0.95rem;
  }
}

/* ============================================
   PHILOSOPHY QUOTE STYLES
   ============================================ */
.philosophy-quote {
  position: relative;
  padding: var(--space-lg) var(--space-md);
  background: linear-gradient(135deg, rgba(255, 252, 248, 0.8), rgba(248, 244, 238, 0.9));
  border-left: 4px solid var(--color-gold);
  border-radius: var(--radius-md);
  margin: var(--space-md) 0;
  box-shadow: var(--shadow-soft);
}

.philosophy-quote::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-family: var(--font-heading);
  font-size: 5rem;
  color: var(--color-gold);
  opacity: 0.3;
  line-height: 1;
}

.philosophy-text {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.9;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
  position: relative;
  z-index: 1;
}

.philosophy-text:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .philosophy-quote {
    padding: var(--space-md) var(--space-sm);
  }

  .philosophy-quote::before {
    font-size: 3rem;
    top: -5px;
    left: 10px;
  }

  .philosophy-text {
    font-size: 1.05rem;
  }
}

/* ============================================
   CONTRAINDICATIONS LIST STYLES
   ============================================ */
.contraindications-list {
  list-style: none;
  padding: var(--space-md);
  background: linear-gradient(135deg, #FFF5F5, #FFEBEE);
  border-left: 4px solid #E57373;
  border-radius: var(--radius-md);
  margin: var(--space-sm) 0;
}

.contraindications-list li {
  position: relative;
  padding: 0.5rem 0 0.5rem 1.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.contraindications-list li::before {
  content: '⚠️';
  position: absolute;
  left: 0;
  font-size: 0.85rem;
}

.contraindications-list li strong {
  color: #C62828;
}

/* ============================================
   TREATMENT FLOW DESCRIPTION
   ============================================ */
.treatment-flow {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--color-gold);
  margin: 0.3rem 0 0.5rem 0;
  padding-left: 0;
  opacity: 0.9;
}

/* ============================================
   SERIES INFO STYLES
   ============================================ */
.series-info {
  padding: var(--space-md);
  background: linear-gradient(135deg, #F0FFF0, #E8F5E9);
  border-left: 4px solid #7CB342;
  border-radius: var(--radius-md);
  margin: var(--space-md) 0;
}

.series-info h4 {
  margin-bottom: 0.5rem;
  color: #558B2F;
}

.series-info p {
  margin-bottom: 0.5rem;
}