/* Interactive E-book Publishing Tools Template - Main CSS */

/* Color Palette - 5 Primary Colors + Light/Dark Shades */
:root {
  --primary-purple: #8B5CF6;
  --primary-teal: #14B8A6;
  --primary-amber: #F59E0B;
  --primary-blue: #3B82F6;
  --primary-green: #10B981;
  
  /* Light Shades */
  --purple-light: #E9D5FF;
  --teal-light: #A7F3D0;
  --amber-light: #FEF3C7;
  --blue-light: #DBEAFE;
  --green-light: #D1FAE5;
  
  /* Dark Shades */
  --purple-dark: #5B21B6;
  --teal-dark: #0D9488;
  --amber-dark: #D97706;
  --blue-dark: #1D4ED8;
  --green-dark: #047857;
  
  /* Neutral Colors */
  --text-dark: #1F2937;
  --text-light: #6B7280;
  --bg-light: #F9FAFB;
  --white: #FFFFFF;
}

/* Global Styles */
body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  font-size: 16px;
}

/* Conservative Typography */
h1 { font-size: 2.25rem; font-weight: 700; }
h2 { font-size: 1.875rem; font-weight: 600; }
h3 { font-size: 1.5rem; font-weight: 600; }
h4 { font-size: 1.25rem; font-weight: 500; }
h5 { font-size: 1.125rem; font-weight: 500; }
h6 { font-size: 1rem; font-weight: 500; }

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-purple);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--purple-light) 0%, var(--blue-light) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 200%;
  background: var(--teal-light);
  border-radius: 50%;
  opacity: 0.1;
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

/* Services Section */
.services-grid .card {
  border: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  height: 100%;
}

.services-grid .card:hover {
  transform: translateY(-5px);
}

.services-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-purple);
}

/* Features Section */
.features-section {
  background-color: var(--bg-light);
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.feature-icon.purple { background-color: var(--purple-light); color: var(--primary-purple); }
.feature-icon.teal { background-color: var(--teal-light); color: var(--primary-teal); }
.feature-icon.amber { background-color: var(--amber-light); color: var(--primary-amber); }
.feature-icon.blue { background-color: var(--blue-light); color: var(--primary-blue); }

/* Price Plan Section */
.priceplan-card {
  position: relative;
  overflow: hidden;
}

.priceplan-card.featured {
  border: 2px solid var(--primary-purple);
  transform: scale(1.05);
}

.priceplan-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: 1rem;
  right: -2rem;
  background: var(--primary-purple);
  color: white;
  padding: 0.5rem 3rem;
  transform: rotate(45deg);
  font-size: 0.875rem;
  font-weight: 600;
}

/* Team Section */
.team-member {
  text-align: center;
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-10px);
}

.team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 4px solid var(--primary-teal);
}

/* Reviews Section */
.reviews-section {
  background-color: var(--bg-light);
}

.review-card {
  border-left: 4px solid var(--primary-amber);
  background: var(--white);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Case Studies Section */
.casestudy-card {
  border: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.casestudy-card:hover {
  transform: translateY(-5px);
}

/* Process Section */
.process-step {
  position: relative;
  text-align: center;
  padding: 2rem 1rem;
}

.process-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary-green);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

/* Timeline Section */
.timeline-item {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary-blue);
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 12px;
  width: 2px;
  height: calc(100% + 1rem);
  background: var(--blue-light);
}

.timeline-item:last-child::after {
  display: none;
}

/* Career Section */
.career-section {
  background-color: var(--bg-light);
}

.career-card {
  border: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  height: 100%;
}

/* FAQ Section */
.faq-section {
  background-color: var(--bg-light);
}

.faq-card {
  border: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
}

.faq-question {
  font-weight: 600;
  color: var(--primary-purple);
  margin-bottom: 0.5rem;
}

/* Contact Section */
.contact-section {
  background: linear-gradient(135deg, var(--purple-light) 0%, var(--teal-light) 100%);
}

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

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

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

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

.footer h5 {
  color: var(--primary-teal);
  margin-bottom: 1rem;
}

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

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

/* Utility Classes */
.text-primary-purple { color: var(--primary-purple); }
.text-primary-teal { color: var(--primary-teal); }
.text-primary-amber { color: var(--primary-amber); }
.text-primary-blue { color: var(--primary-blue); }
.text-primary-green { color: var(--primary-green); }

.bg-primary-purple { background-color: var(--primary-purple); }
.bg-primary-teal { background-color: var(--primary-teal); }
.bg-primary-amber { background-color: var(--primary-amber); }
.bg-primary-blue { background-color: var(--primary-blue); }
.bg-primary-green { background-color: var(--primary-green); }

/* Animation Support for Accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Core Info Section */
.coreinfo-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

/* Blog Section */
.blog-card {
  border: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-5px);
}

/* Gallery Section */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
} 

.hero-section h1 {
    padding-top: 100px;
}


/* Team Social Links - Neon Style */
.team-social-links {
    margin-top: 20px;
    padding: 15px 0;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 15px;
}

.social-icons-grid {
    display: flex;
    gap: 18px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 50px;
    height: 50px;
    border-radius: 25px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s ease;
    border: 2px solid;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    border-radius: inherit;
    filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-link:hover::before {
    opacity: 0.7;
}

.social-link:hover {
    transform: scale(1.1);
    text-shadow: 0 0 20px currentColor;
    box-shadow: 0 0 20px currentColor;
}

.facebook-link {
    border-color: #1877f2;
    color: #1877f2;
    background: rgba(24, 119, 242, 0.1);
}

.linkedin-link {
    border-color: #0a66c2;
    color: #0a66c2;
    background: rgba(10, 102, 194, 0.1);
}

.instagram-link {
    border-color: #e4405f;
    color: #e4405f;
    background: rgba(228, 64, 95, 0.1);
}

.x-link {
    border-color: #ffffff;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 22px;
    z-index: 2;
    position: relative;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 12px;
    }
    
    .social-link {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
}
