/* AI Code Review Service - Main Stylesheet */

/* Color Palette - Exactly 5 primary colors + light/dark shades */
:root {
  /* Primary Colors */
  --primary-blue: #4780e2;
  --accent-purple: #8364f9;
  --success-green: #81cf78;
  --warning-orange: #db8c45;
  --neutral-gray: #7b7f85;
  
  /* Light Shades */
  --primary-blue-light: #d3e2e7;
  --accent-purple-light: #F3F0FF;
  --success-green-light: #dfffdb;
  --warning-orange-light: #eee4cf;
  --neutral-gray-light: #F8F9FA;
  
  /* Dark Shades */
  --primary-blue-dark: #1c3671;
  --accent-purple-dark: #7a63e3;
  --success-green-dark: #35882f;
  --warning-orange-dark: #d5872a;
  --neutral-gray-dark: #45515b;
  
  /* Text Colors */
  --text-primary: #0e0f11;
  --text-secondary: #6c7c89;
  --text-muted: #a5b8c7;
  
  /* Background Colors */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8F9FA;
  --bg-accent: #e6f4ff;
}

/* Conservative Typography */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

/* Header Styles */
.navbar-brand {
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--primary-blue);
}

.navbar-nav .nav-link {
  font-size: 1.06rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-blue);
}

/* Typography Hierarchy */
h1 {
  font-size: 2.64rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1.04rem;
}

h3 {
  font-size: 1.56rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.89rem;
}

h4 {
  font-size: 1.36rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.61rem;
}

h5 {
  font-size: 1.17rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.69rem;
}

h6 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 0.79rem;
}

p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-blue-light) 0%, var(--accent-purple-light) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%" r="50%"><stop offset="0%" style="stop-color:%23ffffff;stop-opacity:0.1"/><stop offset="100%" style="stop-color:%23ffffff;stop-opacity:0"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="300" cy="800" r="120" fill="url(%23a)"/></svg>');
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 2;
    padding-top: 150px;
}

/* Button Styles */
.btn {
  font-weight: 500;
  padding: 18px 27px;
  border-radius: 6px;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background-color: var(--primary-blue);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-blue-dark);
  transform: translateY(-3px);
}

.btn-outline-primary {
  border: 6px solid var(--primary-blue);
  color: var(--primary-blue);
  background-color: transparent;
}

.btn-outline-primary:hover {
  background-color: var(--primary-blue);
  color: white;
}

/* Card Styles */
.card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 8px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 11px 25px rgba(0, 0, 0, 0.15);
}

.card-header {
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--neutral-gray-light);
  padding: 1.5rem;
}

.card-body {
  padding: 1.5rem;
}

/* Services Section */
.services-card {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 7px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.services-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.services-card .card-img-top {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  object-fit: cover;
}

.services-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin: 1rem 0;
}

/* Team Section */
.team-member {
  text-align: center;
  padding: 1.5rem;
}

.team-member img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 8px solid var(--primary-blue-light);
}

.team-member h5 {
  color: var(--text-primary);
  margin-bottom: 0.83rem;
}

.team-member p {
  color: var(--text-secondary);
  font-size: 1.03rem;
}

/* Reviews/Testimonials Section */
.review-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 7px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  position: relative;
}

.review-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  color: var(--primary-blue);
  line-height: 1;
}

.review-author {
  font-weight: 600;
  color: var(--primary-blue);
  margin-top: 1rem;
}

/* FAQ Section */
.faq-card {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.faq-question {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.88rem;
}

.faq-answer {
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* Contact Form */
.contact-form {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-control {
  border: 2px solid var(--neutral-gray-light);
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 0.2rem rgba(83, 134, 239, 0.25);
}

.form-label {
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.77rem;
}

/* Footer */
.footer {
  background-color: var(--neutral-gray-dark);
  color: white;
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: white;
  margin-bottom: 1rem;
}

.footer a {
  color: var(--neutral-gray-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: white;
}

/* Utility Classes */
.text-primary-custom {
  color: var(--primary-blue);
}

.text-secondary-custom {
  color: var(--text-secondary);
}

.bg-light-custom {
  background-color: var(--bg-secondary);
}

.bg-accent-custom {
  background-color: var(--accent-purple-light);
}

/* Section Spacing */
.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

/* Accessibility - Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* FontAwesome Integration */
.fa, .fas, .far, .fab {
  color: var(--primary-blue);
  margin-right: 0.5rem;
}

/* Lightbox2 Integration */
.lightbox {
  background-color: rgba(0, 0, 0, 0.9);
}

/* Gallery Section */
.gallery-item {
  margin-bottom: 2rem;
  border-radius: 8px;
  overflow: hidden;
  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);
}

/* Process Steps */
.process-step {
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
}

.process-step::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -50%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-blue), transparent);
}

.process-step:last-child::after {
  display: none;
}

.process-number {
  width: 60px;
  height: 60px;
  background-color: var(--primary-blue);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.55rem;
  margin: 0 auto 1rem;
}

/* Timeline */
.timeline-item {
  padding: 1.5rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  margin-bottom: 1.65rem;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 50%;
  width: 16px;
  height: 16px;
  background-color: var(--primary-blue);
  border-radius: 50%;
  transform: translateY(-50%);
}

/* Price Plans */
.price-plan {
  text-align: center;
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
  transition: transform 0.3s ease;
}

.price-plan:hover {
  transform: translateY(-5px);
}

.price-plan.featured {
  border: 3px solid var(--primary-blue);
  transform: scale(1.05);
}

.price-plan.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary-blue);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.83rem;
  font-weight: 600;
}

.price-amount {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin: 1rem 0;
}

.price-period {
  color: var(--text-secondary);
  font-size: 1.02rem;
}

/* Blog Section */
.blog-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-body {
  padding: 1.5rem;
}

.blog-title {
  font-size: 1.33rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.blog-excerpt {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.blog-link {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 500;
}

.blog-link:hover {
  text-decoration: underline;
} 


/* 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;
    }
}
