/* ===============================================
   AI Content Repurposing Tool - Main Stylesheet
   Bootstrap 5 Integration & Core Styles
   =============================================== */

/* Import Bootstrap 5 and Dependencies */
@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

/* Color Palette - 5 Primary Colors + Light/Dark Shades */
:root {
  /* Primary Colors */
  --primary-blue: #657be9;
  --primary-purple: #6c4ce5;
  --primary-pink: #f55998;
  --primary-cyan: #00aec5;
  --primary-green: #1eb06f;
  
  /* Light Shades */
  --light-blue: #cdd1ef;
  --light-purple: #d9d4f1;
  --light-pink: #ffffff;
  --light-cyan: #c0eaec;
  --light-green: #c2ffe8;
  
  /* Dark Shades */
  --dark-blue: #3c3cbc;
  --dark-purple: #6f15bb;
  --dark-pink: #c02a7c;
  --dark-cyan: #1a6489;
  --dark-green: #019153;
  
  /* Neutral Colors */
  --neutral-50: #f8fafc;
  --neutral-100: #f1f5f9;
  --neutral-200: #dce6f4;
  --neutral-300: #c6c8ca;
  --neutral-400: #a5b2c1;
  --neutral-500: #616f97;
  --neutral-600: #475667;
  --neutral-700: #29333e;
  --neutral-800: #19242e;
  --neutral-900: #0d1630;
  
  /* Conservative Font Sizes */
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
  --gradient-secondary: linear-gradient(135deg, var(--primary-pink), var(--primary-cyan));
  --gradient-accent: linear-gradient(135deg, var(--primary-green), var(--primary-cyan));
  --gradient-soft: linear-gradient(135deg, var(--light-blue), var(--light-purple));
}

/* Base Typography */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--neutral-700);
  background-color: var(--neutral-50);
}

/* Conservative Heading Sizes */
h1, .h1 {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  line-height: 1.2;
  color: var(--neutral-900);
}

h2, .h2 {
  font-size: var(--font-size-2xl);
  font-weight: 600;
  line-height: 1.3;
  color: var(--neutral-800);
}

h3, .h3 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  line-height: 1.4;
  color: var(--neutral-800);
}

h4, .h4 {
  font-size: var(--font-size-lg);
  font-weight: 500;
  line-height: 1.4;
  color: var(--neutral-700);
}

h5, .h5 {
  font-size: var(--font-size-base);
  font-weight: 500;
  line-height: 1.5;
  color: var(--neutral-700);
}

h6, .h6 {
  font-size: var(--font-size-sm);
  font-weight: 500;
  line-height: 1.5;
  color: var(--neutral-600);
}

/* Navbar */
.navbar-brand {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--primary-blue);
  text-decoration: none;
}

.navbar-brand:hover,
.navbar-brand:focus {
  color: var(--dark-blue);
}

.navbar-nav .nav-link {
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--neutral-600);
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: var(--primary-blue);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background: var(--gradient-primary);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(16, 31, 50, 0.30);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  color: white;
    padding-top: 125px;
}

.hero-title {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  margin-bottom: 1.56rem;
  text-shadow: 2px 2px 9px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: var(--font-size-xl);
  font-weight: 300;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-description {
  font-size: var(--font-size-lg);
  margin-bottom: 2rem;
  opacity: 0.85;
}

/* Buttons */
.btn {
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background: var(--gradient-primary);
  border: none;
  color: white;
}

.btn-primary:hover {
  background: var(--gradient-secondary);
  transform: translateY(-2px);
  box-shadow: 0 7px 12px rgba(99, 82, 252, 0.30);
}

.btn-secondary {
  background: var(--gradient-accent);
  border: none;
  color: white;
}

.btn-secondary:hover {
  background: var(--gradient-secondary);
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(28, 174, 142, 0.30);
}

/* Cards */
.card {
  border: none;
  border-radius: 1rem;
  box-shadow: 0 5px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-7px);
  box-shadow: 0 19px 25px rgba(0, 0, 0, 0.1);
}

.card-body {
  padding: 2rem;
}

.card-title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--neutral-800);
}

.card-text {
  color: var(--neutral-600);
  margin-bottom: 1.56rem;
}

/* Service Items */
.service-item {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid var(--neutral-200);
}

.service-item:hover {
  transform: translateY(-9px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-blue);
}

.service-icon {
  font-size: 2.61rem;
  margin-bottom: 1.66rem;
  color: var(--primary-blue);
}

.service-title {
  font-size: var(--font-size-xl);
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--neutral-800);
}

.service-description {
  color: var(--neutral-600);
  margin-bottom: 1.56rem;
}

.service-price {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.service-features {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.service-features li {
  padding: 0.5rem 0;
  color: var(--neutral-600);
  position: relative;
  padding-left: 1.5rem;
}

.service-features li::before {
  content: '“';
  position: absolute;
  left: 0;
  color: var(--primary-green);
  font-weight: bold;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-title {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--neutral-900);
}

.section-subtitle {
  font-size: var(--font-size-lg);
  text-align: center;
  color: var(--neutral-600);
  margin-bottom: 1rem;
}

.section-description {
  text-align: center;
  color: var(--neutral-600);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Team Members */
.team-member {
  text-align: center;
  margin-bottom: 2rem;
}

.team-name {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--neutral-800);
  margin-bottom: 0.74rem;
}

.team-role {
  color: var(--neutral-600);
  font-size: var(--font-size-sm);
}

/* Testimonials */
.testimonial {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 6px rgba(0, 0, 0, 0.05);
}

.testimonial-text {
  font-style: italic;
  color: var(--neutral-700);
  margin-bottom: 1rem;
}

.testimonial-author {
  font-weight: 600;
  color: var(--neutral-800);
}

/* FAQ */
.faq-item {
  background: white;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  border: 1px solid var(--neutral-200);
}

.faq-question {
  background: var(--light-blue);
  padding: 1.5rem;
  margin: 0;
  font-weight: 600;
  color: var(--neutral-800);
  cursor: pointer;
  border-radius: 0.5rem 0.5rem 0 0;
}

.faq-answer {
  padding: 1.5rem;
  color: var(--neutral-600);
  border-top: 1px solid var(--neutral-200);
}

/* Contact Form */
.contact-form {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 9px 6px rgba(0, 0, 0, 0.05);
}

.form-control {
  border-radius: 0.5rem;
  border: 1px solid var(--neutral-300);
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 0.2rem rgba(94, 86, 255, 0.25);
}

/* Footer */
.footer {
  background: var(--neutral-900);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-blue);
}

.footer-link {
  color: var(--neutral-400);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--primary-blue);
}

.footer-bottom {
  border-top: 1px solid var(--neutral-800);
  padding-top: 2rem;
  margin-top: 2rem;
  text-align: center;
}

/* Utilities */
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient {
  background: var(--gradient-primary);
}

.bg-light-gradient {
  background: var(--gradient-soft);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeInUp 0.8s ease-out;
}

/* Responsive Images with Resolution Handling */
img {
  max-width: 100%;
  height: auto;
}

/* Hero Section Images */
.hero img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
}

/* Service Images */
.service-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 0.5rem;
}

/* Team Photos */
.team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 4px solid var(--light-blue);
}

/* Blog Images */
.blog-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* Gallery Images */
.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
  border-radius: 0.5rem;
}

/* Breadcrumb Images */
.breadcrumb-item img {
  max-height: 20px;
  width: auto;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus Styles */
*:focus {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Gallery */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  margin-bottom: 1.70rem;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.blog-item {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.blog-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
}

.blog-title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--neutral-800);
}

.blog-excerpt {
  color: var(--neutral-600);
  margin-bottom: 1rem;
}

.blog-link {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 500;
}

.blog-link:hover {
  color: var(--dark-blue);
}

/* Breadcrumbs */
.breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 2rem;
}

/* Process Steps */
.process-step {
  text-align: center;
  margin-bottom: 2rem;
}

.process-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin: 0 auto 1rem;
}

.process-title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--neutral-800);
}

.process-description {
  color: var(--neutral-600);
}

/* Timeline */
.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(--neutral-300);
}

.timeline-item:last-child::after {
  display: none;
}

.timeline-title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: 0.63rem;
  color: var(--neutral-800);
}

.timeline-description {
  color: var(--neutral-600);
}

/* Price Plans */
.price-plan {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  position: relative;
  border: 2px solid var(--neutral-200);
  transition: all 0.3s ease;
}

.price-plan:hover {
  border-color: var(--primary-blue);
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.price-plan.featured {
  border-color: var(--primary-blue);
  background: var(--gradient-soft);
}

.price-plan.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-blue);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  font-size: var(--font-size-sm);
  font-weight: 600;
}

.price-amount {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.price-features {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.price-features li {
  padding: 0.5rem 0;
  color: var(--neutral-600);
  position: relative;
  padding-left: 1.5rem;
}

.price-features li::before {
  content: '“';
  position: absolute;
  left: 0;
  color: var(--primary-green);
  font-weight: bold;
}

/* Case Studies */
.case-study {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.case-study-title {
  font-size: var(--font-size-xl);
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--neutral-800);
}

.case-study-description {
  color: var(--neutral-600);
}

/* Career Items */
.career-item {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 2rem;
  border: 1px solid var(--neutral-200);
  transition: all 0.3s ease;
}

.career-item:hover {
  border-color: var(--primary-blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.career-title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: 0.73rem;
  color: var(--neutral-800);
}

.career-role {
  color: var(--primary-blue);
  font-weight: 500;
  margin-bottom: 1rem;
}

.career-description {
  color: var(--neutral-600);
}

/* Core Info Items */
.core-info-item {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  border: 1px solid var(--neutral-200);
  transition: all 0.3s ease;
}

.core-info-item:hover {
  border-color: var(--primary-blue);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.core-info-title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--neutral-800);
}

.core-info-description {
  color: var(--neutral-600);
}

/* Contact Info */
.contact-info {
  background: var(--light-blue);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
}

.contact-info p {
  margin-bottom: 1rem;
  color: var(--neutral-700);
  font-weight: 500;
}

.contact-info p:last-child {
  margin-bottom: 0;
}

/* Space Page */
#space {
  min-height: 80vh;
  background: var(--gradient-soft);
  border-radius: 1rem;
  margin: 2rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Loading States */
.loading {
  opacity: 0.7;
  pointer-events: none;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 2rem;
  height: 2rem;
  border: 2px solid var(--neutral-300);
  border-top: 2px solid var(--primary-blue);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Error States */
.error {
  color: #f0486b;
  background: #e3c3ca;
  border: 1px solid #e5bfc4;
  padding: 1rem;
  border-radius: 0.5rem;
  margin: 1rem 0;
}

.success {
  color: #267036;
  background: #c8f0d4;
  border: 1px solid #bde2ca;
  padding: 1rem;
  border-radius: 0.5rem;
  margin: 1rem 0;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--neutral-200);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-blue);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--dark-blue);
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .btn {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
  
  .card,
  .section {
    box-shadow: none !important;
    border: 1px solid #c7c7c7 !important;
  }
} 


/* Team Social Links - Square Style */
.team-social-links {
    margin-top: 18px;
    padding: 12px 0;
}

.social-icons-grid {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
    position: relative;
}

.social-link:hover {
    transform: translateY(-2px) rotate(5deg);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    color: white;
}

.facebook-link {
    background: #1877f2;
    border: 2px solid #1877f2;
}

.facebook-link:hover {
    background: #166fe5;
    border-color: #166fe5;
}

.linkedin-link {
    background: #0a66c2;
    border: 2px solid #0a66c2;
}

.linkedin-link:hover {
    background: #0959aa;
    border-color: #0959aa;
}

.x-link {
    background: #000000;
    border: 2px solid #000000;
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: bold;
    font-size: 18px;
}

.x-link:hover {
    background: #333333;
    border-color: #333333;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 8px;
    }
    
    .social-link {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }
}
