/* ===================================
   ROSY CABINET - PROFESSIONAL CORPORATE CSS
   Design Style: Professional Corporate
   =================================== */

/* CSS Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Lato', 'Segoe UI', Arial, sans-serif;
  line-height: 1.7;
  color: #2C3E50;
  background-color: #F8F9FA;
  overflow-x: hidden;
}

/* Typography - Professional Corporate */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  color: #2C3E50;
  line-height: 1.3;
  margin-bottom: 16px;
}

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

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

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

p {
  margin-bottom: 16px;
  font-size: 16px;
  color: #4A5568;
}

a {
  color: #A63D5E;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #8B3350;
}

ul, ol {
  margin-bottom: 20px;
  padding-left: 24px;
}

li {
  margin-bottom: 12px;
  color: #4A5568;
}

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

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

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

/* Header - Professional Corporate Style */
header {
  background-color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 3px solid #A63D5E;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  width: auto;
}

.logo a {
  display: flex;
  align-items: center;
}

/* Main Navigation - Corporate Style */
.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
}

.main-nav a {
  font-weight: 600;
  font-size: 16px;
  color: #2C3E50;
  padding: 8px 0;
  position: relative;
  transition: color 0.3s ease;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #A63D5E;
  transition: width 0.3s ease;
}

.main-nav a:hover {
  color: #A63D5E;
}

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

/* Mobile Menu Button */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 2000;
  background-color: #A63D5E;
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(166, 61, 94, 0.3);
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
  background-color: #8B3350;
  transform: scale(1.05);
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background-color: #FFFFFF;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
  z-index: 1999;
  transition: right 0.4s ease;
  display: flex;
  flex-direction: column;
  padding: 80px 30px 30px;
}

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

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: transparent;
  border: none;
  font-size: 32px;
  color: #2C3E50;
  cursor: pointer;
  padding: 8px;
  transition: color 0.3s ease;
}

.mobile-menu-close:hover {
  color: #A63D5E;
}

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

.mobile-nav a {
  font-size: 18px;
  font-weight: 600;
  color: #2C3E50;
  padding: 12px 0;
  border-bottom: 1px solid #E2E8F0;
  transition: all 0.3s ease;
}

.mobile-nav a:hover {
  color: #A63D5E;
  padding-left: 8px;
}

/* Hero Section - Professional Corporate */
.hero, .page-hero, .error-hero, .thank-you-hero {
  background: linear-gradient(135deg, #2C3E50 0%, #34495E 100%);
  color: #FFFFFF;
  padding: 80px 20px;
  text-align: center;
  margin-bottom: 60px;
}

.hero-content, .error-content, .thank-you-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1, .page-hero h1, .error-hero h1, .thank-you-hero h1 {
  color: #FFFFFF;
  font-size: 48px;
  margin-bottom: 24px;
}

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

.error-code {
  font-size: 120px;
  font-weight: 700;
  color: #A63D5E;
  line-height: 1;
  margin-bottom: 24px;
}

.error-subtitle {
  font-size: 24px;
  color: #F8E5E5;
  margin-bottom: 20px;
}

.success-icon {
  font-size: 80px;
  color: #48BB78;
  margin-bottom: 24px;
}

.thank-you-subtitle {
  font-size: 20px;
  color: #F8E5E5;
  margin-bottom: 24px;
}

/* CTA Buttons - Professional Corporate Style */
.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.cta-primary, .cta-secondary, .cta-button {
  display: inline-block;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
}

.cta-primary, .cta-button {
  background-color: #A63D5E;
  color: #FFFFFF;
  border-color: #A63D5E;
  box-shadow: 0 4px 12px rgba(166, 61, 94, 0.2);
}

.cta-primary:hover, .cta-button:hover {
  background-color: #8B3350;
  border-color: #8B3350;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(166, 61, 94, 0.3);
}

.cta-secondary {
  background-color: transparent;
  color: #FFFFFF;
  border-color: #FFFFFF;
}

.cta-secondary:hover {
  background-color: #FFFFFF;
  color: #A63D5E;
}

.trust-badge, .availability-info {
  font-size: 14px;
  color: #F8E5E5;
  font-style: italic;
}

.season-badge {
  display: inline-block;
  background-color: #A63D5E;
  color: #FFFFFF;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-top: 16px;
}

/* Card Layouts - Flexbox Only */
.service-grid, .benefits-grid, .category-grid, .contact-grid, .helpful-links, .link-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}

.service-card, .benefit-item, .category-card, .contact-method, .link-card {
  flex: 1 1 calc(50% - 24px);
  min-width: 280px;
  background-color: #FFFFFF;
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  margin-bottom: 20px;
  position: relative;
}

.service-card:hover, .link-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.service-card h3, .benefit-item h3, .category-card h3 {
  color: #A63D5E;
  margin-bottom: 16px;
}

.price, .service-price {
  font-size: 24px;
  font-weight: 700;
  color: #A63D5E;
  margin-top: 20px;
  display: block;
}

.service-highlight {
  font-size: 20px;
  font-weight: 700;
  color: #A63D5E;
  margin: 20px 0;
}

/* Service Detail Cards */
.service-detail {
  background-color: #FFFFFF;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  margin-bottom: 32px;
}

.service-detail h2 {
  color: #A63D5E;
  margin-bottom: 20px;
}

.service-detail ul {
  margin: 20px 0;
}

/* Testimonials - High Contrast for Readability */
.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}

.testimonial-card {
  flex: 1 1 calc(50% - 24px);
  min-width: 280px;
  background-color: #FFFFFF;
  padding: 32px;
  border-radius: 12px;
  border-left: 4px solid #A63D5E;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
}

.testimonial-card p {
  color: #2C3E50;
  font-size: 16px;
  font-style: italic;
  margin-bottom: 16px;
  line-height: 1.7;
}

.testimonial-author {
  color: #4A5568;
  font-size: 14px;
  font-style: normal;
  margin-top: 16px;
}

.testimonial-author strong {
  color: #2C3E50;
  font-weight: 700;
}

/* Content Sections */
.services-preview, .benefits, .testimonials, .cta-section, .location,
.services-overview, .services-detailed, .booking-cta, .season-overview,
.trend-categories, .leipzig-shopping, .trend-consultation-cta,
.featured-tips, .body-type-guide, .color-advice, .occasion-styling,
.consultation-cta, .brand-story, .philosophy, .team, .leipzig-connection,
.cta-about, .gallery-intro, .transformation-stories, .styling-categories,
.color-examples, .gallery-cta, .contact-methods, .contact-form-section,
.booking-process, .location-details, .opening-hours, .services-quick-links,
.error-explanation, .error-navigation, .error-contact, .confirmation-message,
.next-steps, .meanwhile-content, .thank-you-cta, .confirmation, .return-home {
  background-color: #FFFFFF;
  padding: 60px 20px;
  margin-bottom: 40px;
  border-radius: 12px;
}

.services-preview:nth-child(even), .benefits:nth-child(even) {
  background-color: #F8F9FA;
}

/* Text-Image Sections with Flexbox */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.text-image-section > * {
  flex: 1 1 300px;
}

/* Feature Items */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 24px;
}

/* Trend Highlights */
.trend-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 32px;
}

.highlight-item {
  flex: 1 1 calc(33.333% - 24px);
  min-width: 200px;
  background-color: #F8E5E5;
  padding: 24px;
  border-radius: 8px;
  text-align: center;
}

.highlight-item h3 {
  color: #A63D5E;
  font-size: 18px;
  margin-bottom: 12px;
}

/* Philosophy Grid */
.philosophy-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 32px;
}

.philosophy-item {
  flex: 1 1 calc(33.333% - 24px);
  min-width: 250px;
  background-color: #F8F9FA;
  padding: 32px;
  border-radius: 12px;
  border-top: 4px solid #A63D5E;
}

/* Story Cards */
.story-card, .tip-card {
  background-color: #FFFFFF;
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  margin-bottom: 32px;
  border-left: 4px solid #A63D5E;
}

.story-card h3, .tip-card h3 {
  color: #A63D5E;
  margin-bottom: 16px;
}

.testimonial {
  font-style: italic;
  color: #4A5568;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #E2E8F0;
}

/* Body Type & Color Cards */
.body-types, .color-types {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 32px;
  margin-bottom: 32px;
}

.type-card, .color-card {
  flex: 1 1 calc(50% - 24px);
  min-width: 250px;
  background-color: #F8F9FA;
  padding: 24px;
  border-radius: 8px;
}

.type-card h3, .color-card h3 {
  color: #A63D5E;
  margin-bottom: 12px;
}

/* Occasion Grid */
.occasion-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 32px;
}

.occasion-card {
  flex: 1 1 calc(33.333% - 24px);
  min-width: 250px;
  background-color: #FFFFFF;
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.occasion-card h3 {
  color: #A63D5E;
  margin-bottom: 12px;
}

/* Color Story */
.color-story {
  background-color: #F8E5E5;
  padding: 32px;
  border-radius: 12px;
  margin-top: 32px;
}

.color-story h3 {
  color: #A63D5E;
  margin-bottom: 16px;
}

/* Category Items */
.category-item {
  flex: 1 1 calc(33.333% - 24px);
  min-width: 250px;
  background-color: #FFFFFF;
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
}

.category-item h3 {
  color: #A63D5E;
  margin-bottom: 16px;
}

/* Lists & Process */
.reason-list, .services-list, .steps-list, .process-list {
  list-style: none;
  padding: 0;
  margin: 32px 0;
}

.reason-list li, .services-list li {
  padding: 12px 0 12px 32px;
  position: relative;
  color: #4A5568;
}

.reason-list li::before, .services-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #A63D5E;
  font-weight: 700;
  font-size: 18px;
}

.steps-list, .process-list {
  counter-reset: step-counter;
}

.steps-list li, .process-list li {
  counter-increment: step-counter;
  padding: 16px 0 16px 48px;
  position: relative;
  margin-bottom: 20px;
}

.steps-list li::before, .process-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 12px;
  background-color: #A63D5E;
  color: #FFFFFF;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* Contact Info */
.contact-info {
  background-color: #F8F9FA;
  padding: 24px;
  border-radius: 8px;
  margin: 24px 0;
}

.address {
  font-size: 18px;
  font-weight: 700;
  color: #2C3E50;
  margin-bottom: 16px;
}

/* Form Container */
.form-container {
  background-color: #F8F9FA;
  padding: 40px;
  border-radius: 12px;
  margin-top: 32px;
}

.form-note {
  color: #4A5568;
  font-size: 14px;
  margin-bottom: 16px;
}

.cta-alternative {
  text-align: center;
  margin-top: 32px;
}

/* Legal Content */
.legal-hero {
  background-color: #2C3E50;
  color: #FFFFFF;
  padding: 60px 20px;
  text-align: center;
  margin-bottom: 40px;
}

.legal-hero h1 {
  color: #FFFFFF;
}

.last-updated {
  font-size: 14px;
  color: #F8E5E5;
  font-style: italic;
  margin-top: 8px;
}

.legal-content {
  background-color: #FFFFFF;
  padding: 60px 40px;
  border-radius: 12px;
  max-width: 900px;
  margin: 0 auto 40px;
}

.legal-content h2 {
  color: #A63D5E;
  margin-top: 40px;
  margin-bottom: 20px;
}

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

.legal-content a {
  color: #A63D5E;
  text-decoration: underline;
}

/* Footer - Professional Corporate */
footer {
  background-color: #2C3E50;
  color: #F8E5E5;
  padding: 60px 20px 20px;
  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: #FFFFFF;
  font-size: 20px;
  margin-bottom: 20px;
}

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

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

.footer-nav a {
  color: #F8E5E5;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid rgba(248, 229, 229, 0.2);
}

.footer-bottom p {
  color: #F8E5E5;
  font-size: 14px;
}

/* Cookie Consent Banner */
#cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #FFFFFF;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  padding: 24px;
  z-index: 2001;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  border-top: 3px solid #A63D5E;
}

#cookie-consent.show {
  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;
  color: #2C3E50;
}

.cookie-text p {
  margin: 0;
  font-size: 14px;
}

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

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

.cookie-accept {
  background-color: #A63D5E;
  color: #FFFFFF;
}

.cookie-accept:hover {
  background-color: #8B3350;
}

.cookie-reject {
  background-color: #E2E8F0;
  color: #2C3E50;
}

.cookie-reject:hover {
  background-color: #CBD5E0;
}

.cookie-settings {
  background-color: transparent;
  color: #A63D5E;
  border: 2px solid #A63D5E;
}

.cookie-settings:hover {
  background-color: #A63D5E;
  color: #FFFFFF;
}

/* Cookie Settings Modal */
#cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(44, 62, 80, 0.8);
  z-index: 2002;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

#cookie-modal.show {
  display: flex;
}

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

.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  color: #2C3E50;
  cursor: pointer;
  padding: 8px;
}

.cookie-category {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #E2E8F0;
}

.cookie-category:last-child {
  border-bottom: none;
}

.cookie-category h3 {
  color: #2C3E50;
  margin-bottom: 12px;
  font-size: 18px;
}

.cookie-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}

.toggle-switch {
  position: relative;
  width: 50px;
  height: 26px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #CBD5E0;
  transition: 0.4s;
  border-radius: 26px;
}

.toggle-slider:before {
  position: absolute;
  content: '';
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .toggle-slider {
  background-color: #A63D5E;
}

input:checked + .toggle-slider:before {
  transform: translateX(24px);
}

.toggle-slider.disabled {
  background-color: #E2E8F0;
  cursor: not-allowed;
}

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

/* Responsive Design - Mobile First */
@media (max-width: 768px) {
  /* Typography */
  h1 { font-size: 32px; }
  h2 { font-size: 24px; }
  h3 { font-size: 20px; }
  
  /* Hide desktop nav, show mobile menu button */
  .main-nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  /* Header */
  .header-content {
    justify-content: center;
  }
  
  /* Hero */
  .hero, .page-hero, .error-hero, .thank-you-hero {
    padding: 60px 20px;
  }
  
  .hero h1, .page-hero h1 {
    font-size: 32px;
  }
  
  .error-code {
    font-size: 80px;
  }
  
  /* CTA Buttons */
  .cta-buttons {
    flex-direction: column;
  }
  
  .cta-primary, .cta-secondary, .cta-button {
    width: 100%;
  }
  
  /* Cards - Stack on Mobile */
  .service-grid, .benefits-grid, .testimonial-grid, .category-grid,
  .contact-grid, .helpful-links, .link-grid, .trend-highlights,
  .philosophy-grid, .body-types, .color-types, .occasion-grid {
    flex-direction: column;
  }
  
  .service-card, .benefit-item, .testimonial-card, .category-card,
  .contact-method, .link-card, .highlight-item, .philosophy-item,
  .type-card, .color-card, .occasion-card, .category-item {
    flex: 1 1 100%;
    min-width: 100%;
  }
  
  /* Text-Image Sections */
  .text-image-section {
    flex-direction: column;
  }
  
  /* Footer */
  .footer-content {
    flex-direction: column;
    gap: 32px;
  }
  
  /* Cookie Banner */
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-buttons {
    width: 100%;
    flex-direction: column;
  }
  
  .cookie-btn {
    width: 100%;
  }
  
  /* Legal Content */
  .legal-content {
    padding: 40px 24px;
  }
  
  /* Form Container */
  .form-container {
    padding: 24px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  /* Tablet adjustments */
  .service-card, .benefit-item {
    flex: 1 1 calc(50% - 24px);
  }
  
  .category-item, .occasion-card {
    flex: 1 1 calc(50% - 24px);
  }
}

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

.hero-content, .service-card, .testimonial-card {
  animation: fadeIn 0.6s ease-out;
}

/* Utility Classes */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.pt-40 { padding-top: 40px; }
.pb-40 { padding-bottom: 40px; }

/* Print Styles */
@media print {
  .mobile-menu-toggle,
  .mobile-menu,
  #cookie-consent,
  #cookie-modal {
    display: none !important;
  }
}