/* ============================================
   ThermaVita Spa - Gradient Modern Design
   ============================================ */

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

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

body {
  font-family: 'Lato', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #1a1a1a;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul, ol {
  list-style-position: inside;
  margin-bottom: 16px;
}

li {
  margin-bottom: 8px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #2B5F6F 0%, #1a4552 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h1 {
  font-size: 48px;
  margin-bottom: 24px;
}

h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

h3 {
  font-size: 24px;
  margin-bottom: 16px;
}

h4 {
  font-size: 20px;
}

p {
  margin-bottom: 16px;
  line-height: 1.8;
}

strong {
  font-weight: 700;
  color: #2B5F6F;
}

/* ===== CONTAINER & LAYOUT ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ===== HEADER ===== */
header {
  background: linear-gradient(135deg, rgba(43, 95, 111, 0.98) 0%, rgba(26, 69, 82, 0.98) 100%);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.logo img {
  height: 50px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease;
}

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

.main-nav {
  display: flex;
  gap: 30px;
  align-items: center;
  flex-wrap: wrap;
}

.main-nav a {
  color: #ffffff;
  font-weight: 500;
  font-size: 16px;
  padding: 8px 16px;
  border-radius: 8px;
  position: relative;
  transition: all 0.3s ease;
}

.main-nav a:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #E8D5C4 0%, #8FB5AA 100%);
  transition: width 0.3s ease;
}

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

/* ===== MOBILE MENU ===== */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 2000;
  background: linear-gradient(135deg, #2B5F6F 0%, #1a4552 100%);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(43, 95, 111, 0.4);
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(43, 95, 111, 0.6);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 350px;
  height: 100vh;
  background: linear-gradient(180deg, #2B5F6F 0%, #1a4552 100%);
  z-index: 3000;
  padding: 80px 30px 30px;
  transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
  overflow-y: auto;
}

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

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mobile-menu-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-nav a {
  color: white;
  font-size: 18px;
  font-weight: 500;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  transition: all 0.3s ease;
  text-align: center;
}

.mobile-nav a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(5px);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, #2B5F6F 0%, #1a4552 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(43, 95, 111, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(43, 95, 111, 0.5);
}

.btn-secondary {
  background: linear-gradient(135deg, #8FB5AA 0%, #7a9e94 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(143, 181, 170, 0.3);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(143, 181, 170, 0.5);
}

/* ===== HERO SECTION ===== */
.hero {
  background: linear-gradient(135deg, rgba(43, 95, 111, 0.95) 0%, rgba(26, 69, 82, 0.95) 100%), url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  padding: 100px 20px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(143, 181, 170, 0.1) 0%, transparent 70%);
  animation: pulse 15s infinite ease-in-out;
}

@keyframes pulse {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(10%, 10%) scale(1.1); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  color: white;
  background: none;
  -webkit-text-fill-color: white;
  font-size: 56px;
  margin-bottom: 24px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 20px;
  margin-bottom: 32px;
  color: #E8D5C4;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.trust-badge {
  font-size: 14px;
  color: #8FB5AA;
  font-weight: 600;
  letter-spacing: 1px;
}

/* ===== BENEFITS GRID ===== */
.benefits {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.benefits h2 {
  text-align: center;
  margin-bottom: 48px;
}

.benefits-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}

.benefit-item {
  flex: 1 1 calc(50% - 24px);
  min-width: 250px;
  padding: 32px;
  background: linear-gradient(135deg, rgba(143, 181, 170, 0.1) 0%, rgba(232, 213, 196, 0.1) 100%);
  border-radius: 16px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.benefit-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #2B5F6F 0%, #8FB5AA 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.benefit-item:hover::before {
  opacity: 0.05;
}

.benefit-item:hover {
  transform: translateY(-5px);
  border-color: #8FB5AA;
  box-shadow: 0 8px 30px rgba(143, 181, 170, 0.3);
}

.benefit-item h3,
.benefit-item p {
  position: relative;
  z-index: 1;
}

.benefit-item h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.benefit-item p {
  color: #4a5568;
  line-height: 1.7;
}

/* ===== SERVICES GRID ===== */
.services-preview {
  text-align: center;
}

.section-subtitle {
  font-size: 18px;
  color: #6b7280;
  margin-bottom: 40px;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  margin-bottom: 40px;
}

.service-card {
  flex: 1 1 calc(33.333% - 32px);
  min-width: 280px;
  max-width: 380px;
  padding: 40px 32px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #2B5F6F 0%, #8FB5AA 50%, #E8D5C4 100%);
}

.service-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 50px rgba(43, 95, 111, 0.2);
}

.service-card h3 {
  font-size: 24px;
  margin-bottom: 16px;
  color: #2B5F6F;
}

.service-card p {
  color: #4a5568;
  margin-bottom: 16px;
  line-height: 1.7;
}

.service-card .price {
  font-size: 28px;
  font-weight: 700;
  background: linear-gradient(135deg, #2B5F6F 0%, #8FB5AA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0;
}

/* ===== ARRANGEMENTS PAGE ===== */
.page-header {
  background: linear-gradient(135deg, #2B5F6F 0%, #1a4552 100%);
  color: white;
  text-align: center;
  padding: 80px 20px 60px;
  margin-bottom: 60px;
}

.page-header h1 {
  color: white;
  background: none;
  -webkit-text-fill-color: white;
  font-size: 48px;
  margin-bottom: 16px;
}

.page-header p {
  font-size: 18px;
  color: #E8D5C4;
  max-width: 700px;
  margin: 0 auto;
}

.arrangements {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.arrangement-card {
  background: white;
  padding: 48px;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  margin-bottom: 20px;
}

.arrangement-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, #2B5F6F 0%, #8FB5AA 100%);
  border-radius: 20px 0 0 20px;
}

.arrangement-card:hover {
  transform: translateX(5px);
  box-shadow: 0 12px 40px rgba(43, 95, 111, 0.15);
}

.arrangement-card h2 {
  font-size: 32px;
  margin-bottom: 12px;
}

.tagline {
  font-size: 18px;
  color: #8FB5AA;
  font-style: italic;
  margin-bottom: 20px;
}

.arrangement-card .price {
  font-size: 32px;
  font-weight: 700;
  color: #2B5F6F;
  margin-bottom: 8px;
}

.duration {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 16px;
  font-weight: 600;
}

.arrangement-card h3 {
  font-size: 20px;
  margin-top: 24px;
  margin-bottom: 16px;
}

.arrangement-card ul {
  margin-bottom: 24px;
}

.arrangement-card li {
  padding-left: 24px;
  position: relative;
  color: #4a5568;
  margin-bottom: 10px;
}

.arrangement-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #8FB5AA;
  font-weight: 700;
}

/* ===== THERMAL POOLS ===== */
.pool-card,
.treatment-card {
  background: white;
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 24px;
  transition: all 0.3s ease;
  border-left: 4px solid #8FB5AA;
}

.pool-card:hover,
.treatment-card:hover {
  transform: translateX(8px);
  box-shadow: 0 6px 30px rgba(143, 181, 170, 0.2);
  border-left-color: #2B5F6F;
}

.pool-card h3,
.treatment-card h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.pool-card p strong,
.treatment-card p strong {
  color: #2B5F6F;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 24px;
  padding: 60px 20px;
}

.testimonials h2 {
  text-align: center;
  margin-bottom: 48px;
}

.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  margin-bottom: 32px;
}

.testimonial-card {
  flex: 1 1 calc(50% - 32px);
  min-width: 300px;
  max-width: 550px;
  padding: 32px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
  position: relative;
  margin-bottom: 20px;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 80px;
  color: #E8D5C4;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-card p {
  color: #1a1a1a;
  font-style: italic;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  font-size: 16px;
}

.testimonial-author {
  font-weight: 700;
  color: #2B5F6F;
  font-style: normal;
  margin-bottom: 0;
}

.rating {
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  color: #2B5F6F;
}

/* ===== FACILITIES & FEATURES ===== */
.facilities,
.thermal-experience,
.thermal-intro,
.thermal-benefits,
.sustainability,
.philosophy {
  background: white;
  border-radius: 20px;
  padding: 48px 32px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
}

.facilities-list,
.thermal-benefits ul,
.category-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.facilities-list li,
.thermal-benefits ul li,
.category-list li {
  padding: 20px;
  background: linear-gradient(135deg, rgba(143, 181, 170, 0.05) 0%, rgba(232, 213, 196, 0.05) 100%);
  border-radius: 12px;
  border-left: 4px solid #8FB5AA;
  transition: all 0.3s ease;
  color: #1a1a1a;
}

.facilities-list li:hover,
.thermal-benefits ul li:hover,
.category-list li:hover {
  background: linear-gradient(135deg, rgba(143, 181, 170, 0.1) 0%, rgba(232, 213, 196, 0.1) 100%);
  transform: translateX(5px);
  border-left-color: #2B5F6F;
}

.info-note {
  background: linear-gradient(135deg, #E8D5C4 0%, #d4bfa8 100%);
  padding: 16px 24px;
  border-radius: 12px;
  font-weight: 600;
  color: #2B5F6F;
  text-align: center;
  margin-top: 24px;
}

/* ===== CTA SECTIONS ===== */
.cta-booking,
.cta,
.booking-cta {
  background: linear-gradient(135deg, #2B5F6F 0%, #1a4552 100%);
  color: white;
  text-align: center;
  padding: 80px 20px;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}

.cta-booking::before,
.cta::before,
.booking-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(232, 213, 196, 0.1) 0%, transparent 70%);
  animation: pulse 20s infinite ease-in-out;
}

.cta-booking h2,
.cta h2,
.booking-cta h2 {
  color: white;
  background: none;
  -webkit-text-fill-color: white;
  font-size: 40px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.cta-booking p,
.cta p,
.booking-cta p {
  font-size: 18px;
  color: #E8D5C4;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.special-offer {
  background: rgba(232, 213, 196, 0.2);
  padding: 16px 24px;
  border-radius: 12px;
  font-weight: 600;
  margin-bottom: 32px;
  display: inline-block;
  position: relative;
  z-index: 1;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ===== CONTACT & LOCATION ===== */
.contact-info,
.location,
.directions {
  background: white;
  border-radius: 20px;
  padding: 48px 32px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
  margin-bottom: 40px;
}

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
}

.contact-method {
  flex: 1 1 calc(50% - 32px);
  min-width: 250px;
  padding: 32px;
  background: linear-gradient(135deg, rgba(143, 181, 170, 0.1) 0%, rgba(232, 213, 196, 0.1) 100%);
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s ease;
}

.contact-method:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(143, 181, 170, 0.2);
}

.address-card {
  background: linear-gradient(135deg, #2B5F6F 0%, #1a4552 100%);
  color: white;
  padding: 40px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(43, 95, 111, 0.3);
}

.address-card h3 {
  color: white;
  background: none;
  -webkit-text-fill-color: white;
  margin-bottom: 16px;
}

/* ===== ABOUT PAGE ===== */
.key-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.key-facts li {
  flex: 1 1 calc(50% - 16px);
  min-width: 250px;
  background: linear-gradient(135deg, #E8D5C4 0%, #d4bfa8 100%);
  padding: 20px;
  border-radius: 12px;
  font-weight: 600;
  color: #2B5F6F;
  text-align: center;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #2B5F6F 0%, #8FB5AA 100%);
}

.timeline li {
  position: relative;
  padding-left: 32px;
  color: #1a1a1a;
}

.timeline li::before {
  content: '';
  position: absolute;
  left: -34px;
  top: 6px;
  width: 12px;
  height: 12px;
  background: #8FB5AA;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 0 0 2px #2B5F6F;
}

.principles-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-top: 32px;
}

.principle {
  flex: 1 1 calc(50% - 24px);
  min-width: 250px;
  padding: 32px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-top: 4px solid #8FB5AA;
  transition: all 0.3s ease;
}

.principle:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(143, 181, 170, 0.2);
  border-top-color: #2B5F6F;
}

/* ===== THANK YOU PAGE ===== */
.thank-you-hero {
  text-align: center;
  padding: 100px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.confirmation-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #8FB5AA 0%, #7a9e94 100%);
  color: white;
  font-size: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
  box-shadow: 0 8px 30px rgba(143, 181, 170, 0.3);
  animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.subtitle {
  font-size: 22px;
  color: #2B5F6F;
  font-weight: 600;
  margin-bottom: 24px;
}

.steps-list {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
  counter-reset: step-counter;
}

.steps-list li {
  counter-increment: step-counter;
  padding-left: 60px;
  position: relative;
  margin-bottom: 24px;
  color: #1a1a1a;
}

.steps-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #2B5F6F 0%, #8FB5AA 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
}

.links-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 32px;
}

.link-card {
  flex: 1 1 calc(50% - 20px);
  min-width: 250px;
  max-width: 300px;
  padding: 24px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  color: #2B5F6F;
  font-weight: 600;
  transition: all 0.3s ease;
}

.link-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(43, 95, 111, 0.2);
  background: linear-gradient(135deg, rgba(143, 181, 170, 0.1) 0%, rgba(232, 213, 196, 0.1) 100%);
}

/* ===== LEGAL PAGES ===== */
.legal-content {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  padding: 48px;
  border-radius: 20px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
}

.legal-content h2 {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 2px solid #E8D5C4;
}

.legal-content h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.legal-content h3 {
  margin-top: 24px;
  color: #2B5F6F;
}

.legal-content ul,
.legal-content ol {
  margin-left: 24px;
  margin-bottom: 24px;
}

.legal-content li {
  color: #4a5568;
  margin-bottom: 12px;
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  overflow: hidden;
}

.legal-content th,
.legal-content td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}

.legal-content th {
  background: linear-gradient(135deg, #2B5F6F 0%, #1a4552 100%);
  color: white;
  font-weight: 600;
}

.legal-content tr:last-child td {
  border-bottom: none;
}

/* ===== FAQ ===== */
.faq-item {
  background: white;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(143, 181, 170, 0.15);
}

.faq-item h3 {
  color: #2B5F6F;
  margin-bottom: 12px;
}

.faq-item p {
  color: #4a5568;
  margin-bottom: 0;
}

/* ===== SPECIAL SECTIONS ===== */
.special-offers,
.access-info,
.thermal-etiquette,
.booking-help {
  background: linear-gradient(135deg, rgba(143, 181, 170, 0.1) 0%, rgba(232, 213, 196, 0.1) 100%);
  border-radius: 20px;
  padding: 40px 32px;
  border: 2px solid #E8D5C4;
}

.special-offers h2,
.access-info h2,
.thermal-etiquette h2,
.booking-help h2 {
  text-align: center;
  margin-bottom: 24px;
}

.special-offers ul,
.access-info ul,
.thermal-etiquette ul,
.booking-help ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ===== FOOTER ===== */
footer {
  background: linear-gradient(135deg, #1a4552 0%, #0f2e38 100%);
  color: white;
  padding: 60px 20px 30px;
  margin-top: 80px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-section {
  flex: 1 1 250px;
}

.footer-section h3 {
  color: #E8D5C4;
  background: none;
  -webkit-text-fill-color: #E8D5C4;
  font-size: 20px;
  margin-bottom: 20px;
}

.footer-section p {
  color: #d1d5db;
  font-size: 14px;
  line-height: 1.8;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav a {
  color: #d1d5db;
  font-size: 14px;
  transition: all 0.3s ease;
  padding: 4px 0;
}

.footer-nav a:hover {
  color: #E8D5C4;
  padding-left: 8px;
}

.copyright {
  text-align: center;
  color: #9ca3af;
  font-size: 14px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 0;
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, rgba(43, 95, 111, 0.98) 0%, rgba(26, 69, 82, 0.98) 100%);
  backdrop-filter: blur(10px);
  color: white;
  padding: 24px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
  z-index: 5000;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-consent.active {
  transform: translateY(0);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1 1 300px;
  font-size: 14px;
  line-height: 1.6;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.cookie-btn-accept {
  background: linear-gradient(135deg, #8FB5AA 0%, #7a9e94 100%);
  color: white;
}

.cookie-btn-accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(143, 181, 170, 0.4);
}

.cookie-btn-reject {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.cookie-btn-reject:hover {
  background: rgba(255, 255, 255, 0.3);
}

.cookie-btn-settings {
  background: transparent;
  color: #E8D5C4;
  border: 1px solid #E8D5C4;
}

.cookie-btn-settings:hover {
  background: rgba(232, 213, 196, 0.1);
}

/* ===== COOKIE MODAL ===== */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 6000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cookie-modal.active {
  display: flex;
}

.cookie-modal-content {
  background: white;
  border-radius: 20px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
}

.cookie-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  color: #6b7280;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.cookie-modal-close:hover {
  color: #2B5F6F;
  transform: rotate(90deg);
}

.cookie-modal h2 {
  margin-bottom: 24px;
}

.cookie-category {
  margin-bottom: 24px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 12px;
}

.cookie-category h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.cookie-toggle {
  position: relative;
  width: 50px;
  height: 26px;
  background: #cbd5e0;
  border-radius: 13px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.cookie-toggle.active {
  background: #8FB5AA;
}

.cookie-toggle::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.cookie-toggle.active::after {
  transform: translateX(24px);
}

.cookie-toggle.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.cookie-category p {
  color: #4a5568;
  font-size: 14px;
  margin-bottom: 0;
}

.cookie-modal-buttons {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  /* Typography */
  h1 { font-size: 32px; }
  h2 { font-size: 28px; }
  h3 { font-size: 20px; }
  
  .hero h1 { font-size: 36px; }
  .page-header h1 { font-size: 32px; }
  
  /* Show mobile menu */
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Hide desktop nav */
  .main-nav {
    display: none;
  }
  
  /* Header */
  .header-content {
    justify-content: center;
  }
  
  /* Hero */
  .hero {
    padding: 60px 20px;
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .hero-cta .btn {
    width: 100%;
    max-width: 300px;
  }
  
  /* Grids to single column */
  .benefits-grid,
  .services-grid,
  .testimonial-grid,
  .contact-grid,
  .principles-grid {
    flex-direction: column;
  }
  
  .benefit-item,
  .service-card,
  .testimonial-card,
  .contact-method,
  .principle {
    flex: 1 1 100%;
    max-width: 100%;
  }
  
  /* Cards */
  .arrangement-card,
  .pool-card,
  .treatment-card {
    padding: 24px;
  }
  
  .legal-content {
    padding: 24px;
  }
  
  /* Footer */
  .footer-content {
    flex-direction: column;
    gap: 32px;
  }
  
  .footer-section {
    flex: 1 1 100%;
  }
  
  /* Cookie banner */
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-buttons {
    width: 100%;
    flex-direction: column;
  }
  
  .cookie-btn {
    width: 100%;
  }
  
  .cookie-modal-content {
    padding: 24px;
  }
  
  /* Spacing */
  section {
    padding: 32px 16px;
    margin-bottom: 40px;
  }
  
  .key-facts li {
    flex: 1 1 100%;
  }
  
  .links-grid {
    flex-direction: column;
  }
  
  .link-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 28px; }
  h2 { font-size: 24px; }
  
  .hero h1 { font-size: 28px; }
  
  .btn {
    padding: 12px 24px;
    font-size: 14px;
  }
  
  .service-card .price,
  .arrangement-card .price {
    font-size: 24px;
  }
  
  .mobile-menu {
    width: 90%;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.benefit-item,
.service-card,
.testimonial-card {
  animation: fadeIn 0.6s ease forwards;
}

.benefit-item:nth-child(1) { animation-delay: 0.1s; }
.benefit-item:nth-child(2) { animation-delay: 0.2s; }
.benefit-item:nth-child(3) { animation-delay: 0.3s; }
.benefit-item:nth-child(4) { animation-delay: 0.4s; }

/* ===== ACCESSIBILITY ===== */
:focus {
  outline: 3px solid #8FB5AA;
  outline-offset: 2px;
}

.btn:focus,
a:focus {
  outline: 3px solid #E8D5C4;
}

/* ===== PRINT STYLES ===== */
@media print {
  header,
  footer,
  .mobile-menu-toggle,
  .mobile-menu,
  .cookie-consent,
  .cookie-modal,
  .btn {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .hero {
    background: white;
    color: black;
  }
}