/* ===========================================
   PEER-REVIEWED RECIPE PUBLISHING PLATFORM
   Main CSS - Bootstrap 5 Compatible
   =========================================== */

:root {
  /* Primary Color Palette - 5 pastel high-contrast colors */
  --color-primary: #6c7ae0;
  --color-primary-light: #8b95e8;
  --color-primary-dark: #5a6bd8;
  
  --color-secondary: #ff9a9e;
  --color-secondary-light: #ffb3b7;
  --color-secondary-dark: #ff8085;
  
  --color-accent: #a8e6cf;
  --color-accent-light: #c2f0d4;
  --color-accent-dark: #8edcc6;
  
  --color-neutral: #f7f3e9;
  --color-neutral-light: #faf7f0;
  --color-neutral-dark: #f0ebe2;
  
  --color-dark: #2d3748;
  --color-dark-light: #4a5568;
  --color-dark-dark: #1a202c;
  
  /* Typography */
  --font-size-base: 16px;
  --font-size-small: 14px;
  --font-size-large: 18px;
  --line-height-base: 1.6;
  
  /* Spacing */
  --section-padding: 80px 0;
  --container-max-width: 1200px;
}

/* Base Typography - Conservative Sizes */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--color-dark);
  background-color: #ffffff;
}

/* Conservative Heading Sizes */
h1 {
  font-size: 2.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.875rem;
  font-weight: 600;
  margin-bottom: 0.875rem;
}

h3 {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

h4 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.625rem;
}

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

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

.section-title {
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--color-dark-light);
  text-align: center;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.section-desc {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--color-dark);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.hero-content {
  z-index: 2;
    padding-top: 175px;
}

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

.hero-subtitle {
  color: var(--color-dark-light);
  margin-bottom: 1rem;
}

.hero-desc {
  color: var(--color-dark);
  margin-bottom: 2rem;
}

/* Decorative Elements */
.hero-decoration {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--color-accent);
  opacity: 0.1;
  z-index: 1;
}

.hero-decoration-1 {
  top: 10%;
  right: 10%;
}

.hero-decoration-2 {
  bottom: 20%;
  left: 5%;
  background: var(--color-secondary);
}

/* Card Styles */
.custom-card {
  border: none;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.custom-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.custom-card-header {
  background: var(--color-neutral);
  border-radius: 15px 15px 0 0;
  padding: 1.5rem;
  text-align: center;
}

.custom-card-body {
  padding: 1.5rem;
  text-align: center;
}

/* Services Cards */
.services-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  height: 100%;
}

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

.services-icon {
  width: 80px;
  height: 80px;
  background: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

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

/* Team Cards */
.team-card {
  text-align: center;
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.team-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  background: var(--color-neutral);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--color-primary);
}

.team-name {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-dark);
}

.team-role {
  color: var(--color-dark-light);
  font-size: var(--font-size-small);
}

/* Reviews/Testimonials */
.review-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  height: 100%;
}

.review-text {
  font-style: italic;
  margin-bottom: 1rem;
  color: var(--color-dark);
}

.review-author {
  font-weight: 600;
  color: var(--color-primary);
  text-align: right;
}

/* FAQ Cards */
.faq-card {
  background: white;
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

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

.faq-answer {
  color: var(--color-dark);
  margin: 0;
}

/* Contact Form */
.contact-form {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-control {
  border-radius: 8px;
  border: 2px solid var(--color-neutral);
  padding: 0.75rem 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 0.2rem rgba(108, 122, 224, 0.25);
}

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

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

/* Footer - High Contrast Colors Only */
.footer {
  background-color: var(--color-dark);
  color: white;
  padding: 3rem 0 2rem;
}

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

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

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

.footer-bottom {
  border-top: 1px solid var(--color-dark-light);
  padding-top: 1rem;
  margin-top: 2rem;
  text-align: center;
}

/* Gallery */
.gallery-image {
  border-radius: 10px;
  transition: transform 0.3s ease;
  margin-bottom: 1rem;
}

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

/* Breadcrumbs */
.breadcrumb-container {
  padding: 1rem 0;
  background: var(--color-neutral);
}

.breadcrumb-image {
  width: 24px;
  height: 24px;
  background: var(--color-primary);
  border-radius: 4px;
}

/* Utility Classes */
.bg-primary-light {
  background-color: var(--color-primary-light);
}

.bg-secondary-light {
  background-color: var(--color-secondary-light);
}

.bg-accent-light {
  background-color: var(--color-accent-light);
}

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

.text-secondary-custom {
  color: var(--color-secondary);
}

/* Accessibility - Respect prefers-reduced-motion */
@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;
  }
}

/* Image Placeholder Styles */
.image-placeholder {
  background: var(--color-neutral);
  border: 2px dashed var(--color-primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-weight: 500;
  min-height: 200px;
} 


/* 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;
    }
}
