/* De Beauty Schuur - Main Stylesheet */

/* CSS Custom Properties */
:root {
  --primary-bg: #dbd3ce;
  --primary-text: #3b2300;
  --header-font: 'Marcellus', 'Georgia', serif;
  --body-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  --accent-color: #8b7355;
  --light-accent: #f5f2f0;
  --border-color: #c4b5a7;
  --shadow: 0 2px 10px rgba(59, 35, 0, 0.1);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px; /* Account for header + treatment nav bar height */
}

body {
  font-family: var(--body-font);
  background-color: var(--primary-bg);
  color: var(--primary-text);
  line-height: 1.6;
  font-size: 16px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--header-font);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
}

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

a:hover {
  color: var(--primary-text);
  text-decoration: underline;
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: 4rem 0;
}

.section--light {
  background-color: var(--light-accent);
}

/* Header */
.header {
  background-color: var(--primary-bg);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  margin-bottom: 0;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-family: var(--header-font);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--primary-text);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: var(--primary-text);
  font-weight: 500;
  padding: 0.5rem 0;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--accent-color);
  text-decoration: none;
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--light-accent);
  box-shadow: var(--shadow);
  border-radius: 4px;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition);
  list-style: none;
  padding: 0.5rem 0;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  padding: 0.5rem 1rem;
}

.dropdown-link {
  color: var(--primary-text);
  display: block;
  padding: 0.25rem 0;
  transition: var(--transition);
}

.dropdown-link:hover {
  color: var(--accent-color);
  text-decoration: none;
  padding-left: 0.5rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-text);
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-bg) 0%, var(--light-accent) 100%);
  padding: 3rem 0;
  text-align: center;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--primary-text);
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--accent-color);
}

.cta-button {
  display: inline-block;
  background-color: var(--accent-color);
  color: white;
  padding: 1rem 2rem;
  border-radius: 4px;
  font-weight: 500;
  transition: var(--transition);
  text-decoration: none;
}

.cta-button:hover {
  background-color: var(--primary-text);
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(59, 35, 0, 0.2);
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: 2rem;
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Cards */
.card {
  background-color: white;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(59, 35, 0, 0.15);
}

/* Intensity Banner */
.intensity-banner {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 10;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.intensity-mild {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.intensity-moderate {
  background-color: #fff3cd;
  color: #856404;
  border: 1px solid #ffeaa7;
}

.intensity-advanced {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Treatment Navigation Bar */
.treatment-nav-bar {
  background-color: var(--light-accent);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 2px 4px rgba(59, 35, 0, 0.1);
  position: sticky;
  top: 70px;
  z-index: 999;
  margin-top: -1px;
  margin-bottom: 0;
}

.treatment-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.5rem 0;
}

.treatment-nav-item {
  text-decoration: none;
  color: var(--primary-text);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.4rem 0.8rem;
  transition: var(--transition);
  display: inline-block;
  position: relative;
}

.treatment-nav-item:hover {
  color: var(--accent-color);
  text-decoration: none;
}

.treatment-nav-item::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: var(--accent-color);
  transition: var(--transition);
  transform: translateX(-50%);
}

.treatment-nav-item:hover::after {
  width: 80%;
}

.nav-separator {
  color: var(--border-color);
  font-weight: 300;
  font-size: 1.2rem;
  margin: 0 0.5rem;
  user-select: none;
}

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.equipment-section {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  gap: 1rem;
}

.equipment-section .equipment-inline-image {
  width: 35%;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  flex-shrink: 0;
}

.equipment-ems-image {
  width: 17.5%;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  flex-shrink: 0;
}

.equipment-derma-image {
  width: 26.25%;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  flex-shrink: 0;
}

.laliqa-image {
  width: auto;
  height: 200px;
  object-fit: contain;
  border-radius: 4px;
  margin: 0 auto 1rem auto;
  display: block;
}

.phyris-image {
  width: 100%;
  height: 177px;
  object-fit: cover;
  object-position: center 45%;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.equipment-section:nth-of-type(1) {
  flex-direction: row;
}

.equipment-section:nth-of-type(2) {
  flex-direction: row-reverse;
}

.equipment-section p {
  margin: 0;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.card-text {
  color: var(--accent-color);
  margin-bottom: 1rem;
  flex-grow: 1;
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--primary-text);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--border-color);
  border-radius: 4px;
  font-family: var(--body-font);
  font-size: 1rem;
  transition: var(--transition);
  background-color: white;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(139, 115, 85, 0.1);
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  font-family: var(--body-font);
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
}

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

.btn--primary:hover {
  background-color: var(--primary-text);
  color: white;
  text-decoration: none;
}

.btn--secondary {
  background-color: transparent;
  color: var(--accent-color);
  border: 2px solid var(--accent-color);
}

.btn--secondary:hover {
  background-color: var(--accent-color);
  color: white;
  text-decoration: none;
}

/* Card button alignment */
.card .btn {
  margin-top: auto;
  align-self: flex-start;
}


/* Footer */
.footer {
  background-color: var(--primary-text);
  color: var(--light-accent);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--light-accent);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--light-accent);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent-color);
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
  color: var(--border-color);
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-legal a {
  color: var(--border-color);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-legal a:hover {
  color: var(--accent-color);
  text-decoration: none;
}

@media (max-width: 768px) {
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-legal {
    justify-content: center;
  }
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--primary-text);
  color: var(--light-accent);
  padding: 1rem;
  z-index: 1001;
  transform: translateY(100%);
  transition: var(--transition);
}

.cookie-banner.show {
  transform: translateY(0);
}

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

.cookie-text {
  flex: 1;
}

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

.cookie-btn {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--body-font);
  transition: var(--transition);
}

.cookie-btn--accept {
  background-color: var(--accent-color);
  color: white;
}

.cookie-btn--decline {
  background-color: transparent;
  color: var(--light-accent);
  border: 1px solid var(--light-accent);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--light-accent);
    flex-direction: column;
    padding: 1rem;
    box-shadow: var(--shadow);
  }

  .nav-menu.active {
    display: flex;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section {
    padding: 2rem 0;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-buttons {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.5rem;
  }

  .hero {
    padding: 2rem 0;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .card {
    padding: 1rem;
  }

  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }

  .treatment-nav-bar {
    top: 70px; /* Adjust for mobile header height */
  }

  .treatment-nav {
    gap: 0.4rem;
    padding: 0.4rem 0;
  }

  .treatment-nav-item {
    padding: 0.3rem 0.6rem;
    font-size: 0.85rem;
  }
}

/* List Styling */
.card ul {
  margin: 1rem 0;
  padding-left: 2rem;
}

.card li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* Treatment Quote Styles */
.treatment-quote {
  text-align: center;
  margin: 3rem 0;
  font-size: 1.4rem;
  line-height: 1.6;
  font-style: italic;
  color: var(--primary-text);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.treatment-quote p {
  margin-bottom: 1.5rem;
  font-weight: 400;
  position: relative;
  z-index: 1;
}

.treatment-quote footer {
  margin-top: 2rem;
  font-size: 1rem;
  font-style: normal;
  opacity: 0.7;
  font-weight: 300;
}

.treatment-quote footer p {
  margin-bottom: 0;
}

/* Compact Pricing Table Styling */
.pricing-table-compact {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.pricing-table-compact tr {
  border-bottom: 1px solid var(--border-color);
}

.pricing-table-compact tr:last-child {
  border-bottom: none;
}

.pricing-table-compact td {
  padding: 0.5rem 0;
  vertical-align: top;
}

.pricing-table-compact td:first-child {
  padding-right: 1rem;
  width: 70%;
}

.pricing-table-compact .price {
  font-weight: 600;
  color: var(--accent-color);
  text-align: right;
  white-space: nowrap;
  width: 30%;
}

.pricing-table-compact tr.indented td:first-child {
  padding-left: 1.5rem;
  font-size: 0.85rem;
  color: var(--accent-color);
  font-style: italic;
  position: relative;
}

.pricing-table-compact tr.indented td:first-child::before {
  content: "•";
  position: absolute;
  left: 0.5rem;
  color: var(--accent-color);
}

/* Utility Classes */
.text-center {
  text-align: center;
}

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

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

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.hidden {
  display: none;
}

.visible {
  display: block;
}

/* Social Media Links */
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--primary-text);
  transition: var(--transition);
  padding: 0.5rem;
  border-radius: 4px;
}

.social-link:hover {
  background-color: var(--light-accent);
  transform: translateY(-2px);
}

.social-logo {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}


/* Social links in footer */
.footer-links .social-link {
  padding: 0.25rem 0;
  margin-bottom: 0.5rem;
}

/* Social links in contact section */
.social-links .social-link {
  margin-right: 1rem;
  margin-bottom: 0.5rem;
}

/* Social links as buttons */
.btn.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.btn.social-link .social-logo {
  width: 18px;
  height: 18px;
}

.btn.social-link:hover {
  background-color: var(--light-accent);
  color: var(--primary-text);
  text-decoration: none;
}


/* Print Styles */
@media print {
  .header,
  .footer,
  .cookie-banner {
    display: none;
  }
  
  body {
    background-color: white;
    color: black;
  }
  
  .section {
    padding: 1rem 0;
  }
}
