/* ==========================================
   INTERACTIVE E-BOOK PUBLISHING TOOLS TEMPLATE
   Bootstrap 5 Integration - NO OVERRIDES
   ========================================== */

:root {
  /* Primary Color Palette - 5 Colors + Shades */
  --primary-blue: #7C9DD4;
  --primary-blue-light: #A8C5E8;
  --primary-blue-dark: #5577B3;
  
  --primary-green: #8BC8A3;
  --primary-green-light: #B3DCB8;
  --primary-green-dark: #68A583;
  
  --primary-purple: #B39DDB;
  --primary-purple-light: #D1C4E9;
  --primary-purple-dark: #9575CD;
  
  --primary-coral: #FFAB91;
  --primary-coral-light: #FFC5A5;
  --primary-coral-dark: #FF8A65;
  
  --primary-mint: #A8E6CF;
  --primary-mint-light: #C3EDD5;
  --primary-mint-dark: #7ED0A8;
  
  /* System Colors */
  --text-primary: #2C3E50;
  --text-secondary: #6C757D;
  --background-light: #F8F9FA;
  --background-white: #FFFFFF;
  --border-light: #E9ECEF;
  
  /* Typography */
  --font-base: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Conservative Font Sizes */
  --fs-h1: 1.75rem;
  --fs-h2: 1.5rem;
  --fs-h3: 1.25rem;
  --fs-h4: 1.125rem;
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-brand: 1.125rem;
  
  /* Spacing */
  --section-padding: 4rem 0;
  --card-padding: 1.5rem;
  --border-radius: 0.75rem;
  --shadow-light: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  --shadow-medium: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* ==========================================
   GLOBAL STYLES
   ========================================== */

* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-base);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--background-white);
  scroll-behavior: smooth;
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

h1 {
  font-size: var(--fs-h1);
}

h2 {
  font-size: var(--fs-h2);
}

h3 {
  font-size: var(--fs-h3);
}

h4 {
  font-size: var(--fs-h4);
}

p {
  margin-bottom: 1rem;
  font-size: var(--fs-body);
  color: var(--text-secondary);
}

.text-primary-blue { color: var(--primary-blue); }
.text-primary-green { color: var(--primary-green); }
.text-primary-purple { color: var(--primary-purple); }
.text-primary-coral { color: var(--primary-coral); }
.text-primary-mint { color: var(--primary-mint); }

/* ==========================================
   COMPONENTS
   ========================================== */

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-blue-light), var(--primary-mint-light));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
    padding-top: 150px;
}

.hero-title {
  font-size: var(--fs-h1);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: var(--fs-body);
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* Decorative Shapes */
.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  z-index: 1;
}

.hero-shape-1 {
  width: 300px;
  height: 300px;
  background: var(--primary-purple);
  top: 10%;
  right: 10%;
}

.hero-shape-2 {
  width: 200px;
  height: 200px;
  background: var(--primary-coral);
  bottom: 20%;
  left: 5%;
}

/* Services Cards */
.service-card {
  background: var(--background-white);
  border-radius: var(--border-radius);
  padding: var(--card-padding);
  box-shadow: var(--shadow-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.service-price {
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--primary-blue);
  margin-top: 1rem;
}

/* Testimonials */
.testimonial-card {
  background: var(--background-white);
  border-radius: var(--border-radius);
  padding: var(--card-padding);
  box-shadow: var(--shadow-light);
  border: none;
  margin-bottom: 2rem;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}

/* FAQ Cards */
.faq-card {
  background: var(--background-white);
  border-radius: var(--border-radius);
  padding: var(--card-padding);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-light);
  border: none;
}

.faq-question {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.faq-answer {
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* Team Cards */
.team-card {
  background: var(--background-white);
  border-radius: var(--border-radius);
  padding: var(--card-padding);
  box-shadow: var(--shadow-light);
  border: none;
  text-align: center;
}

.team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}

/* Gallery */
.gallery-item {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* ==========================================
   NAVIGATION
   ========================================== */

.navbar-brand {
  font-size: var(--fs-brand);
  font-weight: 700;
  color: var(--primary-blue);
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-blue);
}

/* ==========================================
   SECTIONS
   ========================================== */

.section {
  padding: var(--section-padding);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  font-size: var(--fs-h2);
  font-weight: 700;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 4rem;
  font-size: var(--fs-body);
}

/* ==========================================
   FOOTER
   ========================================== */

.footer {
  background: var(--background-light);
  color: var(--text-secondary);
  padding: 3rem 0 1rem;
}

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--primary-blue);
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */

.bg-primary-blue { background-color: var(--primary-blue); }
.bg-primary-green { background-color: var(--primary-green); }
.bg-primary-purple { background-color: var(--primary-purple); }
.bg-primary-coral { background-color: var(--primary-coral); }
.bg-primary-mint { background-color: var(--primary-mint); }

.bg-light-gradient {
  background: linear-gradient(135deg, var(--background-light), var(--background-white));
}

.border-radius { border-radius: var(--border-radius); }
.shadow-light { box-shadow: var(--shadow-light); }
.shadow-medium { box-shadow: var(--shadow-medium); }

/* ==========================================
   CONTACT FORM
   ========================================== */

.contact-form {
  background: var(--background-white);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow-light);
}

.form-control {
  border: 1px solid var(--border-light);
  border-radius: var(--border-radius);
  padding: 0.75rem;
  font-size: var(--fs-body);
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 0.2rem rgba(124, 157, 212, 0.25);
}

.btn-primary {
  background-color: var(--primary-blue);
  border-color: var(--primary-blue);
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--primary-blue-dark);
  border-color: var(--primary-blue-dark);
}

/* ==========================================
   BREADCRUMBS
   ========================================== */

.breadcrumb-container {
  padding: 1rem 0;
  background: var(--background-light);
}

.breadcrumb-image {
  width: 24px;
  height: 24px;
  object-fit: cover;
} 