﻿/* =========================================================
   ARTIST'S TOOLBOX - PASTEL & VAN GOGH STYLED WEBSITE THEME
   ========================================================= */

:root {
  --pastel-bg: #fcf9f2;
  --pastel-bg-alt: #f5f0e1;
  --pastel-cream: #fbf5e6;
  --pastel-yellow: #fae69e;
  --pastel-gold: #e5b95f;
  --pastel-sage: #dbe7de;
  --pastel-sage-dark: #62826c;
  --pastel-lavender: #e7e3f2;
  --pastel-purple: #726892;
  --pastel-rose: #fce4e0;
  --pastel-coral: #cb6b5c;
  --pastel-blue: #dde7f5;
  --pastel-blue-dark: #436a94;
  --text-primary: #2d2926;
  --text-secondary: #635d56;
  --text-muted: #8c847b;
  --vangogh-swirl: rgba(229, 185, 95, 0.25);
  --card-bg: rgba(255, 255, 255, 0.85);
  --card-border: rgba(210, 195, 175, 0.45);
  --card-shadow: 0 10px 30px rgba(120, 100, 80, 0.08);
}

/* Base Website Container */
.site-wrapper {
  background-color: var(--pastel-bg);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

/* Artistic Van Gogh Swirl Pattern Background */
.vangogh-texture {
  background-image: 
    radial-gradient(ellipse at 15% 20%, rgba(250, 230, 158, 0.35) 0%, transparent 45%),
    radial-gradient(ellipse at 85% 15%, rgba(221, 231, 245, 0.4) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(219, 231, 222, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 85%, rgba(252, 228, 224, 0.35) 0%, transparent 45%);
}

/* Master Top Navigation Bar */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(252, 249, 242, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(210, 195, 175, 0.5);
  padding: 12px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  text-decoration: none;
}

.brand-swirl-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fae69e, #dde7f5, #fce4e0);
  border: 2px solid #e5b95f;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(229, 185, 95, 0.3);
}

.site-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 700;
  color: #2d2926;
  letter-spacing: -0.3px;
}

.site-subtitle {
  font-size: 11px;
  color: var(--pastel-sage-dark);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* Nav Tabs */
.nav-tab-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-tab-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  padding: 8px 18px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-tab-btn:hover {
  background: rgba(250, 230, 158, 0.35);
  color: var(--text-primary);
  border-color: rgba(229, 185, 95, 0.3);
}

.nav-tab-btn.active {
  background: #fbf5e6;
  color: #8c5b1b;
  border-color: #e5b95f;
  box-shadow: 0 3px 12px rgba(229, 185, 95, 0.2);
}

.btn-launch-tool {
  background: linear-gradient(135deg, #e5b95f, #d49f38);
  color: #1a1200;
  padding: 9px 22px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(212, 159, 56, 0.35);
}

.btn-launch-tool:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 159, 56, 0.45);
  background: linear-gradient(135deg, #f0c570, #dcab48);
}

/* Page Section View Wrapper */
.tab-view {
  display: none;
  animation: fadeIn 0.35s ease forwards;
}

.tab-view.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   1. WELCOME / HOME HERO & TUTORIAL
   ========================================================= */
.hero-section {
  padding: 64px 32px 48px;
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
}

.hero-tag {
  display: inline-block;
  background: var(--pastel-yellow);
  color: #7d5218;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 18px;
  border: 1px solid rgba(229, 185, 95, 0.5);
}

.hero-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 44px;
  font-weight: 700;
  color: #24201d;
  line-height: 1.2;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto 32px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background: linear-gradient(135deg, #3d5a80, #293241);
  color: #ffffff;
  padding: 14px 34px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 8px 24px rgba(41, 50, 65, 0.25);
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(41, 50, 65, 0.35);
  background: linear-gradient(135deg, #4b6d99, #354054);
}

.btn-hero-secondary {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  color: var(--text-primary);
  padding: 14px 28px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

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

/* Painterly Van Gogh Stroke Decorative Banner */
.stroke-banner {
  margin: 40px auto;
  max-width: 1080px;
  padding: 24px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(250, 230, 158, 0.4), rgba(221, 231, 245, 0.5), rgba(252, 228, 224, 0.45));
  border: 1px solid rgba(229, 185, 95, 0.4);
  position: relative;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

/* "How to Use the Tool" Section */
.tutorial-section {
  padding: 48px 32px 72px;
  max-width: 1120px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  font-weight: 700;
  color: #24201d;
  margin-bottom: 10px;
}

.section-header p {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

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

.tutorial-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 28px 24px;
  transition: all 0.3s ease;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
}

.tutorial-card:hover {
  transform: translateY(-4px);
  border-color: var(--pastel-gold);
  box-shadow: 0 16px 36px rgba(120, 100, 80, 0.12);
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--pastel-yellow);
  color: #7d5218;
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 18px;
  border: 2px solid #e5b95f;
}

.tutorial-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #24201d;
}

.tutorial-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
  flex: 1;
}

/* =========================================================
   2. ART LESSONS TAB
   ========================================================= */
.lessons-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 48px 32px 80px;
}

.lessons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.lesson-card {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 30px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  border-top: 4px solid var(--pastel-gold);
}

.lesson-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(120, 100, 80, 0.12);
}

.lesson-category {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--pastel-sage-dark);
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.lesson-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  color: #24201d;
  margin-bottom: 14px;
  line-height: 1.3;
}

.lesson-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.lesson-quote {
  background: var(--pastel-cream);
  border-left: 3px solid var(--pastel-gold);
  padding: 12px 16px;
  border-radius: 0 8px 8px 0;
  font-size: 13px;
  color: #634515;
  font-style: italic;
  margin-top: auto;
}

/* =========================================================
   3. ART FOR HEALING TAB (WELLNESS PROMPTS)
   ========================================================= */
.healing-container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 48px 32px 80px;
}

.healing-intro-box {
  background: linear-gradient(135deg, rgba(219, 231, 222, 0.5), rgba(231, 227, 242, 0.5));
  border: 1px solid rgba(114, 104, 146, 0.25);
  border-radius: 20px;
  padding: 32px;
  text-align: center;
  margin-bottom: 40px;
}

.healing-intro-box h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  color: #24201d;
  margin-bottom: 10px;
}

.healing-intro-box p {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}

.prompt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 26px;
}

.prompt-card {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.prompt-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(114, 104, 146, 0.12);
}

.prompt-accent-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.prompt-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 10px;
}

.prompt-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  color: #24201d;
  margin-bottom: 12px;
  line-height: 1.35;
}

.prompt-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 18px;
}

.prompt-exercise {
  background: var(--pastel-bg);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 13px;
  color: var(--text-primary);
  margin-top: auto;
  border-left: 3px solid var(--pastel-sage-dark);
}

/* =========================================================
   4. PRODUCTS TAB (COMING SOON)
   ========================================================= */
.products-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 32px 90px;
  text-align: center;
}

.coming-soon-sign {
  background: #ffffff;
  border: 2px dashed rgba(229, 185, 95, 0.7);
  border-radius: 24px;
  padding: 54px 36px;
  box-shadow: var(--card-shadow);
  margin-bottom: 48px;
}

.coming-soon-badge {
  display: inline-block;
  background: var(--pastel-yellow);
  color: #7d5218;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 8px 20px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.coming-soon-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  font-weight: 700;
  color: #24201d;
  margin-bottom: 14px;
}

.coming-soon-desc {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

.teaser-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  text-align: left;
}

.teaser-card {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--card-shadow);
  transition: all 0.25s ease;
}

.teaser-card:hover {
  transform: translateY(-3px);
  border-color: var(--pastel-gold);
}

.teaser-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: #24201d;
  margin-bottom: 8px;
}

.teaser-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* =========================================================
   5. EMBEDDED STUDIO VIEW INTEGRATION
   ========================================================= */
.studio-view-container {
  display: none;
  flex: 1;
  width: 100%;
}

.studio-view-container.active {
  display: flex;
  flex-direction: column;
}

/* Studio Header Return Button */
.btn-return-home {
  background: var(--bg-panel);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-right: 12px;
}

.btn-return-home:hover {
  background: var(--accent-gold);
  color: #000;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(210, 195, 175, 0.4);
  padding: 32px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  background: rgba(252, 249, 242, 0.8);
  margin-top: auto;
}