/* Taste The Sweet Spot - Content Hub Styles */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #E91E63;
  --primary-dark: #C2185B;
  --secondary: #4A90A4;
  --accent: #FF6B9D;
  --dark: #1a1a2e;
  --light: #fafafa;
  --gray: #6b7280;
  --success: #10B981;
  --warning: #F59E0B;
}

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

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.8;
  color: var(--dark);
  background: var(--light);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

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

.logo {
  color: white;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
}

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

.main-nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s;
}

.main-nav a:hover {
  opacity: 0.8;
}

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

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero .subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 1rem 0;
  background: #f3f4f6;
  font-size: 0.875rem;
}

.breadcrumbs a {
  color: var(--primary);
  text-decoration: none;
}

.breadcrumbs span {
  color: var(--gray);
  margin: 0 0.5rem;
}

/* Article Layout */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  padding: 3rem 0;
}

@media (max-width: 968px) {
  .article-layout {
    grid-template-columns: 1fr;
  }
}

/* Main Content */
.main-content {
  background: white;
  border-radius: 16px;
  padding: 3rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.article-meta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
  font-size: 0.875rem;
  color: var(--gray);
}

.article-meta .author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.article-meta .author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.main-content h1 {
  font-size: 2.5rem;
  color: var(--dark);
  margin-bottom: 1.5rem;
}

.main-content h2 {
  font-size: 1.75rem;
  color: var(--dark);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
}

.main-content h3 {
  font-size: 1.35rem;
  color: var(--dark);
  margin-top: 2rem;
}

.main-content p {
  margin-bottom: 1.5rem;
  color: #374151;
}

.main-content ul, .main-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.main-content li {
  margin-bottom: 0.75rem;
  color: #374151;
}

.main-content blockquote {
  border-left: 4px solid var(--primary);
  padding: 1.5rem;
  margin: 2rem 0;
  background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
  border-radius: 0 12px 12px 0;
  font-style: italic;
}

.main-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 2rem 0;
}

/* Product CTA Box */
.product-cta {
  background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
  border: 2px solid var(--primary);
  border-radius: 16px;
  padding: 2rem;
  margin: 2.5rem 0;
  text-align: center;
}

.product-cta h3 {
  color: var(--primary-dark);
  margin-top: 0;
}

.product-cta .cta-button {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 1rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-cta .cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(233, 30, 99, 0.4);
}

/* Sidebar */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sidebar-widget {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.sidebar-widget h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--primary);
}

.product-card {
  text-align: center;
}

.product-card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.product-card h5 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.product-card .price {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.product-card .btn {
  display: block;
  background: var(--primary);
  color: white;
  padding: 0.75rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

.product-card .btn:hover {
  background: var(--primary-dark);
}

.related-posts {
  list-style: none;
  padding: 0;
}

.related-posts li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.related-posts li:last-child {
  border-bottom: none;
}

.related-posts a {
  color: var(--dark);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.related-posts a:hover {
  color: var(--primary);
}

/* Table of Contents */
.toc {
  background: #f9fafb;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.toc h4 {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc li {
  margin-bottom: 0.5rem;
}

.toc a {
  color: var(--gray);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.toc a:hover {
  color: var(--primary);
}

/* Info Boxes */
.info-box {
  border-radius: 12px;
  padding: 1.5rem;
  margin: 2rem 0;
}

.info-box.tip {
  background: #ecfdf5;
  border-left: 4px solid var(--success);
}

.info-box.warning {
  background: #fffbeb;
  border-left: 4px solid var(--warning);
}

.info-box.highlight {
  background: #eff6ff;
  border-left: 4px solid var(--secondary);
}

.info-box h4 {
  margin-bottom: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
}

/* Quiz Styles */
.quiz-container {
  background: white;
  border-radius: 16px;
  padding: 3rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  max-width: 800px;
  margin: 3rem auto;
}

.quiz-progress {
  background: #e5e7eb;
  height: 8px;
  border-radius: 4px;
  margin-bottom: 2rem;
  overflow: hidden;
}

.quiz-progress-bar {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  height: 100%;
  border-radius: 4px;
  transition: width 0.3s;
}

.quiz-question {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.quiz-option {
  background: #f9fafb;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.25rem;
  cursor: pointer;
  transition: all 0.3s;
  text-align: left;
}

.quiz-option:hover {
  border-color: var(--primary);
  background: #fdf2f8;
}

.quiz-option.selected {
  border-color: var(--primary);
  background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
}

.quiz-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
}

.quiz-btn {
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}

.quiz-btn.secondary {
  background: #e5e7eb;
  color: var(--dark);
}

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

.quiz-btn:hover {
  transform: translateY(-2px);
}

.quiz-result {
  text-align: center;
  padding: 2rem;
}

.quiz-result h2 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.quiz-result .recommendation {
  background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
  border-radius: 16px;
  padding: 2rem;
  margin: 2rem 0;
}

/* Advertorial Styles */
.advertorial-badge {
  display: inline-block;
  background: var(--gray);
  color: white;
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.advertorial-hero {
  background: linear-gradient(135deg, var(--dark) 0%, #2d2d44 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

@media (max-width: 768px) {
  .before-after {
    grid-template-columns: 1fr;
  }
}

.before-after-item {
  background: #f9fafb;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
}

.before-after-item h4 {
  color: var(--gray);
  margin-bottom: 1rem;
}

.testimonial-box {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  position: relative;
}

.testimonial-box::before {
  content: '"';
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.2;
  position: absolute;
  top: 1rem;
  left: 1.5rem;
}

.testimonial-box p {
  font-style: italic;
  padding-left: 2rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-left: 2rem;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.star-rating {
  color: #fbbf24;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

/* Footer */
.site-footer {
  background: var(--dark);
  color: white;
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (max-width: 968px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.75rem;
}

.footer-col a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #374151;
  color: #9ca3af;
  font-size: 0.875rem;
}

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

.animate-in {
  animation: fadeIn 0.6s ease-out forwards;
}

/* Schema markup helper classes */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
