/* ReVital - Main Stylesheet */

:root {
  --primary-color: #8b5cf6;
  --primary-dark: #7c3aed;
  --primary-light: #a78bfa;
  --secondary-color: #10b981;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --bg-light: #f9fafb;
  --bg-white: #ffffff;
  --border-color: #e5e7eb;
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--bg-white);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.5rem;
}
h4 {
  font-size: 1.25rem;
}
h5 {
  font-size: 1.125rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* Brand */
.brand-name {
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: 700;
}

/* Navigation */
.navbar {
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.navbar-brand {
  font-weight: 700;
}

.navbar-nav .nav-link {
  color: var(--text-dark);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-color);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--primary-color);
  color: white;
  padding: 1rem 0;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  display: none;
}

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

.cookie-banner a {
  color: white;
  text-decoration: underline;
}

.cookie-banner .btn-light {
  background-color: white;
  color: var(--primary-color);
  border: none;
}

.cookie-banner .btn-outline-light {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

/* Hero Section */
.hero-section {
  position: relative;
  margin-bottom: 0;
}

.hero-image-container {
  position: relative;
  width: 100%;
  min-height: 500px;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-title {
  color: white;
  font-size: 3rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 1rem;
}

.hero-subtitle {
  color: white;
  font-size: 1.25rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  padding: 4rem 0 3rem;
  margin-bottom: 0;
}

.page-header h1 {
  color: white;
  margin-bottom: 0.5rem;
}

.page-header .lead {
  color: rgba(255, 255, 255, 0.9);
}

/* Buttons */
.btn {
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

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

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

/* Cards */
.feature-card,
.category-card,
.tip-card,
.product-card,
.blog-card,
.testimonial-card {
  background: white;
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  height: 100%;
}

.feature-card:hover,
.category-card:hover,
.blog-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* Category Cards */
.category-card {
  padding: 0;
  overflow: hidden;
}

.category-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.category-content {
  padding: 2rem;
}

.category-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.category-list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.category-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: bold;
}

/* Product Cards */
.product-card {
  padding: 0;
  overflow: hidden;
}

.product-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.product-info {
  padding: 1.5rem;
}

/* Blog Cards */
.blog-card {
  padding: 0;
  overflow: hidden;
}

.blog-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-content {
  padding: 1.5rem;
}

/* Testimonial Cards */
.testimonial-card {
  background: var(--bg-light);
  border-left: 4px solid var(--primary-color);
}

.testimonial-author {
  font-weight: 600;
  color: var(--text-light);
  margin-top: 1rem;
}

/* Forms */
.form-control {
  border-radius: 0.5rem;
  border: 2px solid var(--border-color);
  padding: 0.75rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(139, 92, 246, 0.25);
}

.contact-form-container {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 0.75rem;
}

/* Info Boxes */
.consultation-card,
.consultation-box,
.alert-box,
.disclaimer-box,
.contact-info-box {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 0.75rem;
  border: 2px solid var(--border-color);
}

.disclaimer-list {
  list-style: none;
  padding-left: 0;
}

.disclaimer-list li {
  padding: 0.5rem 0;
  padding-left: 2rem;
  position: relative;
}

.disclaimer-list li:before {
  content: "⚠";
  position: absolute;
  left: 0;
  color: #f59e0b;
}

/* Lifestyle & Skincare Cards */
.lifestyle-card,
.skincare-card,
.principle-card,
.approach-card,
.consultation-benefit,
.audience-card,
.info-card,
.next-step-card,
.category-tag-box {
  background: white;
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: var(--shadow);
  height: 100%;
}

.approach-number {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.next-step-icon {
  font-size: 3rem;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
}

.cta-section h2,
.cta-section p {
  color: white;
}

/* Footer */
.footer {
  background-color: var(--text-dark);
  color: white;
}

.footer h5 {
  color: white;
  margin-bottom: 1rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.8);
}

.footer a:hover {
  color: white;
}

.footer .list-unstyled {
  padding: 0;
}

.footer .list-unstyled li {
  padding: 0.25rem 0;
}

/* Category Hero */
.category-hero {
  width: 100%;
  max-height: 400px;
  overflow: hidden;
  margin-bottom: 0;
}

.category-hero img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* FAQ */
.accordion .card {
  border: 1px solid var(--border-color);
  margin-bottom: 0.5rem;
  border-radius: 0.5rem;
  overflow: hidden;
}

.accordion .card-header {
  background-color: var(--bg-light);
  border-bottom: none;
}

.accordion .btn-link {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  width: 100%;
  text-align: left;
}

.accordion .btn-link:hover {
  color: var(--primary-color);
}

/* Featured Article */
.featured-article {
  background: white;
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: var(--shadow);
}

/* Newsletter Box */
.newsletter-box {
  background: var(--bg-light);
  padding: 3rem;
  border-radius: 0.75rem;
}

.newsletter-form .input-group {
  max-width: 500px;
  margin: 0 auto;
}

/* Thank You Page */
.thank-you-content {
  background: white;
  padding: 3rem;
  border-radius: 0.75rem;
  box-shadow: var(--shadow);
}

.thank-you-icon {
  display: flex;
  justify-content: center;
}

.contact-reminder {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 0.75rem;
}

/* Legal Content */
.legal-content {
  background: white;
  padding: 3rem;
  border-radius: 0.75rem;
  box-shadow: var(--shadow);
}

.legal-content h2 {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.legal-content h3 {
  margin-top: 1.5rem;
  color: var(--primary-color);
}

/* FAQ Items */
.faq-item {
  background: white;
  padding: 1.5rem;
  border-radius: 0.5rem;
  border-left: 4px solid var(--primary-color);
}

/* Ritual Items */
.ritual-item {
  background: white;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: var(--shadow);
}

/* Badges */
.badge {
  padding: 0.5rem 1rem;
  font-weight: 500;
  border-radius: 0.25rem;
}

.badge-primary {
  background-color: var(--primary-color);
}

.badge-info {
  background-color: #3b82f6;
}

.badge-success {
  background-color: var(--secondary-color);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

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

  .hero-image-container {
    min-height: 400px;
  }

  .hero-image {
    height: 400px;
  }

  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.75rem;
  }
  h3 {
    font-size: 1.25rem;
  }

  .page-header {
    padding: 3rem 0 2rem;
  }

  .cookie-banner .text-right {
    text-align: left !important;
    margin-top: 1rem;
  }
}

/* Utilities */
.bg-light {
  background-color: var(--bg-light) !important;
}

.shadow-sm {
  box-shadow: var(--shadow) !important;
}

.rounded {
  border-radius: 0.5rem !important;
}

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