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

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

body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background-color: #ffffff;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* MONOCHROME SOPHISTICATED DESIGN STYLE */
/* Black/White/Gray palette with dramatic contrast and elegant typography */

/* TYPOGRAPHY - Sophisticated Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: #000000;
  letter-spacing: -0.02em;
}

h1 {
  font-size: 48px;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

h2 {
  font-size: 32px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

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

h4 {
  font-size: 18px;
  margin-bottom: 12px;
  font-weight: 600;
}

p {
  margin-bottom: 16px;
  color: #2a2a2a;
  line-height: 1.8;
}

strong {
  font-weight: 700;
  color: #000000;
}

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

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

/* HEADER - Sophisticated Black Bar */
header {
  background-color: #000000;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

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

.logo {
  height: 50px;
  width: auto;
  filter: brightness(0) invert(1);
}

/* MAIN NAVIGATION - Clean White Text */
.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
}

.main-nav a {
  color: #ffffff;
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.main-nav a:hover {
  color: #cccccc;
  border-bottom-color: #cccccc;
}

/* MOBILE MENU TOGGLE BUTTON */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 2000;
  background-color: #000000;
  color: #ffffff;
  border: 2px solid #ffffff;
  width: 50px;
  height: 50px;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
  background-color: #ffffff;
  color: #000000;
  border-color: #000000;
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background-color: #000000;
  z-index: 1999;
  padding: 80px 30px 30px;
  transition: right 0.4s ease;
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
}

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

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
  width: 40px;
  height: 40px;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mobile-menu-close:hover {
  background-color: #ffffff;
  color: #000000;
}

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

.mobile-nav a {
  color: #ffffff;
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 12px 0;
  border-bottom: 1px solid #333333;
  transition: all 0.3s ease;
}

.mobile-nav a:hover {
  color: #cccccc;
  padding-left: 10px;
}

/* HERO SECTION - Dramatic Black and White */
.hero {
  background: linear-gradient(135deg, #000000 0%, #2a2a2a 100%);
  padding: 100px 20px;
  text-align: center;
  color: #ffffff;
  margin-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(255, 255, 255, 0.02) 10px,
    rgba(255, 255, 255, 0.02) 20px
  );
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: #ffffff;
  font-size: 48px;
  margin-bottom: 24px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 18px;
  color: #e0e0e0;
  max-width: 700px;
  margin: 0 auto 32px;
  line-height: 1.8;
}

/* BUTTONS - High Contrast */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 2px solid #000000;
  background-color: #000000;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn:hover {
  background-color: #ffffff;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn-primary {
  background-color: #000000;
  color: #ffffff;
  border-color: #000000;
}

.btn-primary:hover {
  background-color: #ffffff;
  color: #000000;
  border-color: #000000;
}

.btn-secondary {
  background-color: #ffffff;
  color: #000000;
  border-color: #000000;
}

.btn-secondary:hover {
  background-color: #000000;
  color: #ffffff;
  border-color: #ffffff;
}

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

/* GRID LAYOUTS USING FLEXBOX */
.three-col-grid,
.four-col-grid,
.services-grid,
.category-grid,
.workshop-grid,
.projects-grid,
.posts-grid,
.tutorials-grid,
.tips-grid,
.testimonials-grid,
.departments-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 32px;
}

.three-col-grid > *,
.services-grid > *,
.category-grid > *,
.projects-grid > *,
.posts-grid > *,
.tutorials-grid > *,
.tips-grid > * {
  flex: 1 1 calc(33.333% - 24px);
  min-width: 280px;
}

.four-col-grid > *,
.departments-grid > * {
  flex: 1 1 calc(25% - 24px);
  min-width: 250px;
}

.two-col-layout {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.two-col-layout > * {
  flex: 1 1 calc(50% - 20px);
  min-width: 300px;
}

/* CARDS - Sophisticated with Subtle Shadows */
.feature-card,
.service-card,
.category-card,
.benefit-card,
.value-card,
.team-card,
.instructor-card,
.stat-card,
.workshop-card,
.project-card,
.action-card,
.post-card,
.tutorial-card,
.tip-card,
.contact-card,
.department-card {
  background-color: #ffffff;
  border: 2px solid #000000;
  padding: 32px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
  position: relative;
}

.feature-card:hover,
.service-card:hover,
.category-card:hover,
.benefit-card:hover,
.value-card:hover,
.workshop-card:hover,
.project-card:hover,
.action-card:hover,
.post-card:hover,
.tutorial-card:hover,
.contact-card:hover {
  background-color: #000000;
  color: #ffffff;
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.feature-card:hover h3,
.service-card:hover h3,
.category-card:hover h3,
.benefit-card:hover h3,
.value-card:hover h3,
.workshop-card:hover h3,
.project-card:hover h3,
.action-card:hover h3,
.post-card:hover h3,
.tutorial-card:hover h3,
.contact-card:hover h3 {
  color: #ffffff;
}

.feature-card:hover p,
.service-card:hover p,
.category-card:hover p,
.benefit-card:hover p,
.value-card:hover p,
.workshop-card:hover p,
.project-card:hover p,
.action-card:hover p,
.post-card:hover p,
.tutorial-card:hover p,
.contact-card:hover p {
  color: #e0e0e0;
}

.feature-card img,
.service-card img,
.category-card img,
.benefit-card img,
.value-card img,
.action-card img {
  width: 60px;
  height: 60px;
  margin-bottom: 16px;
  filter: brightness(0);
  transition: filter 0.3s ease;
}

.feature-card:hover img,
.service-card:hover img,
.category-card:hover img,
.benefit-card:hover img,
.value-card:hover img,
.action-card:hover img {
  filter: brightness(0) invert(1);
}

.price {
  font-size: 24px;
  font-weight: 700;
  color: #000000;
  margin: 16px 0;
}

.feature-card:hover .price,
.service-card:hover .price,
.workshop-card:hover .price {
  color: #ffffff;
}

.product-count,
.spots {
  font-size: 14px;
  color: #666666;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* TESTIMONIALS - High Readability */
.testimonial-card {
  background-color: #f5f5f5;
  border: 2px solid #000000;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 20px;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-size: 80px;
  font-weight: 700;
  color: #000000;
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
  opacity: 0.1;
}

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

.testimonial-card .author {
  font-weight: 700;
  color: #000000;
  font-style: normal;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 8px;
}

/* SECTIONS - Clean Spacing */
.value-proposition,
.services,
.testimonials,
.cta-banner,
.contact-info,
.story,
.values,
.team,
.achievements,
.cta,
.categories,
.benefits,
.support,
.workshops-intro,
.upcoming-workshops,
.instructors,
.gallery-intro,
.featured-projects,
.community,
.featured-post,
.recent-posts,
.tutorials,
.expert-tips,
.contact-methods,
.contact-form-section,
.location,
.opening-hours,
.departments,
.visit-incentive,
.legal-content,
.contact-dpo,
.confirmation,
.suggested-actions,
.contact-alternative {
  padding: 60px 20px;
  margin-bottom: 40px;
}

.value-proposition {
  background-color: #f9f9f9;
}

.services {
  background-color: #ffffff;
}

.testimonials {
  background-color: #f9f9f9;
}

.cta-banner,
.cta {
  background-color: #000000;
  color: #ffffff;
  text-align: center;
}

.cta-banner h2,
.cta h2 {
  color: #ffffff;
}

.cta-banner p,
.cta p {
  color: #e0e0e0;
}

.subtitle {
  font-size: 18px;
  color: #666666;
  text-align: center;
  margin-bottom: 32px;
  font-style: italic;
}

/* TEXT SECTIONS */
.text-section {
  max-width: 800px;
  margin: 0 auto;
}

.text-section p {
  margin-bottom: 24px;
  font-size: 16px;
  line-height: 1.8;
}

/* STATS - Bold Numbers */
.stat-number {
  font-size: 48px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 8px;
}

.stat-card {
  text-align: center;
  padding: 24px;
  background-color: #ffffff;
  border: 2px solid #000000;
}

.stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 40px 0;
}

.stat {
  text-align: center;
  flex: 1 1 200px;
}

.stat .number {
  font-size: 48px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 8px;
}

.stat p {
  font-size: 14px;
  color: #666666;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* LISTS */
.benefits-list {
  list-style: none;
  margin: 24px 0;
}

.benefits-list li {
  padding: 12px 0 12px 32px;
  position: relative;
  font-size: 16px;
  line-height: 1.6;
}

.benefits-list li::before {
  content: '■';
  position: absolute;
  left: 0;
  color: #000000;
  font-weight: 700;
}

ul li {
  padding: 8px 0 8px 24px;
  position: relative;
}

ul li::before {
  content: '■';
  position: absolute;
  left: 0;
  color: #000000;
  font-size: 12px;
}

/* ROLES AND META INFO */
.role,
.meta,
.author {
  font-size: 14px;
  color: #666666;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.category {
  display: inline-block;
  padding: 6px 12px;
  background-color: #000000;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

/* CONTACT DETAILS */
.contact-details p {
  margin-bottom: 16px;
  font-size: 16px;
}

.hours-table p {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #e0e0e0;
  font-size: 16px;
}

.note {
  font-style: italic;
  color: #666666;
  font-size: 14px;
  margin-top: 24px;
}

/* LEGAL CONTENT */
.content-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.content-wrapper h2 {
  margin-top: 40px;
  margin-bottom: 20px;
  padding-top: 20px;
  border-top: 2px solid #e0e0e0;
}

.content-wrapper h3 {
  margin-top: 24px;
  margin-bottom: 12px;
}

.content-wrapper ul {
  margin: 16px 0;
  padding-left: 24px;
}

/* FORM NOTE */
.form-note {
  background-color: #f5f5f5;
  border: 2px solid #000000;
  padding: 24px;
  margin-top: 24px;
  text-align: center;
}

.form-note p {
  margin-bottom: 12px;
}

.form-note a {
  color: #000000;
  font-weight: 600;
  text-decoration: underline;
}

.form-note a:hover {
  color: #666666;
}

/* FEATURED POST */
.post-featured {
  background-color: #f9f9f9;
  border: 2px solid #000000;
  padding: 48px;
  max-width: 800px;
  margin: 0 auto;
}

.post-featured h2 {
  margin-top: 16px;
}

/* FOOTER - Black with White Text */
footer {
  background-color: #000000;
  color: #ffffff;
  padding: 60px 20px 30px;
  margin-top: 80px;
}

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

.footer-col {
  flex: 1 1 200px;
}

.footer-col h4 {
  color: #ffffff;
  margin-bottom: 20px;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

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

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

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

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

.footer-logo {
  height: 40px;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #333333;
  color: #999999;
  font-size: 14px;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #000000;
  color: #ffffff;
  padding: 24px;
  z-index: 1998;
  border-top: 2px solid #ffffff;
  display: none;
  animation: slideUp 0.4s ease;
}

.cookie-banner.active {
  display: block;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.cookie-banner .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-banner p {
  flex: 1 1 400px;
  margin: 0;
  color: #e0e0e0;
}

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

.cookie-buttons .btn {
  padding: 10px 20px;
  font-size: 12px;
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 2001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

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

.cookie-modal-content {
  background-color: #ffffff;
  border: 3px solid #000000;
  max-width: 600px;
  width: 100%;
  padding: 40px;
  position: relative;
  max-height: 80vh;
  overflow-y: auto;
}

.cookie-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: transparent;
  border: none;
  font-size: 32px;
  cursor: pointer;
  color: #000000;
  line-height: 1;
  width: 40px;
  height: 40px;
}

.cookie-preference {
  padding: 20px 0;
  border-bottom: 1px solid #e0e0e0;
}

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

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

.cookie-toggle {
  width: 50px;
  height: 26px;
  background-color: #cccccc;
  border: 2px solid #000000;
  position: relative;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cookie-toggle.active {
  background-color: #000000;
}

.cookie-toggle::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  background-color: #ffffff;
  top: 2px;
  left: 2px;
  transition: transform 0.3s ease;
}

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

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

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

/* RESPONSIVE DESIGN - Mobile First */
@media (max-width: 768px) {
  /* Show mobile menu toggle */
  .mobile-menu-toggle {
    display: block;
  }
  
  /* Hide desktop navigation */
  .main-nav {
    display: none;
  }
  
  /* Typography adjustments */
  h1 {
    font-size: 32px;
  }
  
  h2 {
    font-size: 24px;
  }
  
  h3 {
    font-size: 20px;
  }
  
  .hero {
    padding: 60px 20px;
  }
  
  .hero h1 {
    font-size: 32px;
  }
  
  .hero p {
    font-size: 16px;
  }
  
  /* Grid adjustments */
  .three-col-grid > *,
  .four-col-grid > *,
  .services-grid > *,
  .category-grid > *,
  .workshop-grid > *,
  .projects-grid > *,
  .posts-grid > *,
  .tutorials-grid > *,
  .tips-grid > *,
  .departments-grid > * {
    flex: 1 1 100%;
  }
  
  .two-col-layout {
    flex-direction: column;
  }
  
  .two-col-layout > * {
    flex: 1 1 100%;
  }
  
  /* Button adjustments */
  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .btn {
    width: 100%;
  }
  
  /* Footer adjustments */
  .footer-content {
    flex-direction: column;
    gap: 32px;
  }
  
  .footer-col {
    flex: 1 1 100%;
  }
  
  /* Cookie banner adjustments */
  .cookie-banner .container {
    flex-direction: column;
    align-items: stretch;
  }
  
  .cookie-buttons {
    flex-direction: column;
  }
  
  .cookie-buttons .btn {
    width: 100%;
  }
  
  /* Stats adjustments */
  .stats {
    flex-direction: column;
  }
  
  .stat {
    flex: 1 1 100%;
  }
  
  /* Card padding reduction */
  .feature-card,
  .service-card,
  .category-card,
  .benefit-card,
  .value-card,
  .team-card,
  .instructor-card,
  .stat-card,
  .workshop-card,
  .project-card,
  .action-card,
  .post-card,
  .tutorial-card,
  .tip-card,
  .contact-card,
  .department-card,
  .testimonial-card {
    padding: 24px;
  }
  
  .post-featured {
    padding: 32px 24px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 28px;
  }
  
  h2 {
    font-size: 22px;
  }
  
  .hero h1 {
    font-size: 28px;
  }
  
  .stat-number,
  .stat .number {
    font-size: 36px;
  }
  
  .mobile-menu {
    width: 100%;
    right: -100%;
  }
}

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

.feature-card,
.service-card,
.category-card,
.benefit-card,
.value-card,
.workshop-card,
.project-card,
.post-card {
  animation: fadeIn 0.6s ease forwards;
}

/* ACCESSIBILITY */
button:focus,
a:focus,
.btn:focus {
  outline: 2px solid #000000;
  outline-offset: 2px;
}

/* PRINT STYLES */
@media print {
  .mobile-menu-toggle,
  .mobile-menu,
  .cookie-banner,
  .cookie-modal,
  header,
  footer,
  .cta-banner,
  .cta {
    display: none;
  }
}