/* ================================
   LOCALVOICE - COMMUNITY JOURNALISM PLATFORM
   Main CSS File
   ================================ */

/* Color Variables */
:root {
  /* Primary Colors - Pastel High-Contrast */
  --primary-blue: #5a8ae2;
  --primary-green: #74be0d;
  --primary-orange: #f8ad39;
  --primary-purple: #8f10ff;
  --primary-red: #cf000d;
  
  /* Light Shades */
  --light-blue: #cfe3f2;
  --light-green: #e9e9e9;
  --light-orange: #fff8e8;
  --light-purple: #e3e3e3;
  --light-red: #fff8fa;
  
  /* Dark Shades */
  --dark-blue: #255172;
  --dark-green: #5c921f;
  --dark-orange: #de8217;
  --dark-purple: #5c11bf;
  --dark-red: #a5000a;
  
  /* Neutral Colors */
  --neutral-light: #F8F9FA;
  --neutral-medium: #565d66;
  --neutral-dark: #2a2d2f;
  
  /* Typography */
  --font-size-base: 16px;
  --font-size-small: 14px;
  --font-size-h1: 2rem;
  --font-size-h2: 1.75rem;
  --font-size-h3: 1.5rem;
  --font-size-h4: 1.25rem;
  --font-size-h5: 1.1rem;
  --font-size-h6: 1rem;
  
  /* Spacing */
  --section-padding: 5rem 0;
  --card-padding: 1.5rem;
  --element-margin: 1rem;
}

/* Base Typography - Conservative Sizes */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--neutral-dark);
}

h1, .h1 {
  font-size: var(--font-size-h1);
  font-weight: 600;
  margin-bottom: 1rem;
}

h2, .h2 {
  font-size: var(--font-size-h2);
  font-weight: 600;
  margin-bottom: 0.875rem;
}

h3, .h3 {
  font-size: var(--font-size-h3);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

h4, .h4 {
  font-size: var(--font-size-h4);
  font-weight: 500;
  margin-bottom: 0.625rem;
}

h5, .h5 {
  font-size: var(--font-size-h5);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

h6, .h6 {
  font-size: var(--font-size-h6);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: var(--element-margin);
  font-size: var(--font-size-base);
}

/* Conservative Navbar Brand */
.navbar-brand {
  font-size: 1.5rem !important;
  font-weight: 600;
  color: var(--primary-blue);
}

/* Header Styles */
.header-main {
  position: relative;
  z-index: 1000;
}

.navbar {
  background-color: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  padding: 0.75rem 0;
}

.navbar-nav .nav-link {
  color: var(--neutral-dark);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-blue);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--light-blue) 0%, var(--light-green) 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
}

.hero-title {
  color: var(--primary-blue);
  margin-bottom: 1rem;
    padding-top: 150px;
}

.hero-subtitle {
  color: var(--primary-green);
  margin-bottom: 1.5rem;
}

.hero-desc {
  color: var(--neutral-medium);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* Section Spacing */
section {
  padding: var(--section-padding);
}

/* Card Styles */
.card {
  border: none;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 1.5rem;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.card-body {
  padding: var(--card-padding);
}

/* Services Section */
.services-section .card {
  height: 100%;
}

.services-section .card-img-top {
  height: 200px;
  object-fit: cover;
}

.price-tag {
  background-color: var(--primary-blue);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  text-align: center;
  margin-top: 1rem;
}

/* Features Section */
.feature-card {
  background-color: var(--light-blue);
  padding: 2rem;
  border-radius: 10px;
  height: 100%;
}

.feature-card i {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

/* Price Plan Section */
.price-card {
  position: relative;
  border: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.price-card.featured {
  border-color: var(--primary-orange);
}

.price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-top: 1rem;
}

/* Team Section */
.team-card .card-img-top {
  height: 250px;
  object-fit: cover;
}

/* Reviews Section */
.review-card {
  background-color: var(--light-green);
  border-left: 4px solid var(--primary-green);
}

/* Process Section */
.process-step {
  text-align: center;
  padding: 1.5rem;
}

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

/* Timeline Section */
.timeline-item {
  background-color: var(--light-purple);
  padding: 1.5rem;
  border-radius: 10px;
  border-left: 4px solid var(--primary-purple);
}

/* Career Section */
.career-card {
  background-color: var(--light-orange);
  border-left: 4px solid var(--primary-orange);
}

/* Core Info Section */
.info-card {
  background-color: var(--neutral-light);
  padding: 2rem;
  border-radius: 10px;
  height: 100%;
  border: 1px solid #d5d6d8;
}

.info-card i {
  color: var(--primary-purple);
}

/* Contact Section */
.contact-form .form-control {
  border: 2px solid #e8f7ff;
  border-radius: 8px;
  padding: 0.75rem;
  font-size: var(--font-size-base);
}

.contact-form .form-control:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 0.2rem rgba(58, 129, 248, 0.25);
}

.contact-info {
  padding: 2rem;
  background-color: var(--light-blue);
  border-radius: 10px;
}

.contact-item {
  display: flex;
  align-items: center;
  font-size: 1.1rem;
}

.contact-item i {
  color: var(--primary-blue);
  margin-right: 0.75rem;
}

/* Blog Section */
.blog-card .card-img-top {
  height: 200px;
  object-fit: cover;
}

/* FAQ Section */
.faq-card {
  background-color: var(--light-red);
  border-left: 4px solid var(--primary-red);
}

/* Gallery Section */
.gallery-img {
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

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

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

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

.footer a {
  color: #ededed;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* Button Styles */
.btn-primary {
  background-color: var(--primary-blue);
  border-color: var(--primary-blue);
  padding: 0.75rem 2rem;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--dark-blue);
  border-color: var(--dark-blue);
  transform: translateY(-1px);
}

.btn-outline-primary {
  color: var(--primary-blue);
  border-color: var(--primary-blue);
  padding: 0.5rem 1.5rem;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background-color: var(--primary-blue);
  border-color: var(--primary-blue);
  color: white;
}

/* Breadcrumb */
.breadcrumb-section {
  padding: 1rem 0;
  background-color: var(--neutral-light);
  margin-top: 76px;
}

.breadcrumb-img {
  height: 20px;
  width: 20px;
  object-fit: cover;
}

/* Space Page */
.space-container {
  min-height: 80vh;
  padding-top: 100px;
  background-color: var(--neutral-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Utility Classes */
.text-primary-custom {
  color: var(--primary-blue);
}

.bg-primary-custom {
  background-color: var(--primary-blue);
}

.border-primary-custom {
  border-color: var(--primary-blue);
}

/* Animation Support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Custom Grid Support - 5 columns */
@media (min-width: 992px) {
  .col-lg-2-4 {
    flex: 0 0 20%;
    max-width: 20%;
  }
}

/* Accessibility */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Focus States */
.btn:focus,
.form-control:focus,
.nav-link:focus {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .btn {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  h1, h2, h3, h4, h5, h6 {
    color: black;
    page-break-after: avoid;
  }
} 


/* Team Social Links - Retro Style */
.team-social-links {
    margin-top: 20px;
    padding: 15px 0;
}

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

.social-link {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border-radius: 0;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
    border: 3px solid;
    background: transparent;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
}

.social-link:hover {
    transform: translateX(3px) translateY(-3px);
    box-shadow: -3px 3px 0px currentColor;
    color: white;
}

.facebook-link {
    border-color: #1877f2;
    background: #1877f2;
}

.facebook-link:hover {
    background: transparent;
    color: #1877f2;
}

.linkedin-link {
    border-color: #0a66c2;
    background: #0a66c2;
}

.linkedin-link:hover {
    background: transparent;
    color: #0a66c2;
}

.instagram-link {
    border-color: #e4405f;
    background: #e4405f;
}

.instagram-link:hover {
    background: transparent;
    color: #e4405f;
}

.x-link {
    border-color: #000000;
    background: #000000;
    position: relative;
}

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

.x-link:hover {
    background: transparent;
    color: #000000;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}
