/* EcoLunch Main CSS */

/* CSS Variables for Color Palette */
:root {
  --primary-color: #2d6a4f;
  --primary-light: #52b788;
  --primary-dark: #1b4332;
  --secondary-color: #8ecae6;
  --secondary-light: #bde0ff;
  --secondary-dark: #219ebc;
  --accent-color: #ffb3ba;
  --accent-light: #ffd1dc;
  --accent-dark: #ff8fa3;
  --neutral-color: #f8f9fa;
  --neutral-light: #ffffff;
  --neutral-dark: #6c757d;
  --earth-color: #d4a574;
  --earth-light: #e8c5a0;
  --earth-dark: #b8956a;
}

/* 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;
  }
}

/* Global Styles */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--neutral-dark);
  background-color: var(--neutral-light);
    overflow-x: hidden;
}

/* Typography */
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.8rem;
}

h3 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

h4 {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

h5, h6 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

p {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.1rem;
  font-weight: 400;
}

/* Header Styles */
.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--neutral-dark);
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color);
}

/* Hero Section */
#hero {
  background: linear-gradient(135deg, var(--neutral-color) 0%, var(--primary-light) 100%);
  min-height: 100vh;
}

#hero h1 {
  font-size: 2.8rem;
  color: var(--primary-dark);
}

#hero .btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  padding: 12px 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

#hero .btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
}

/* Section Backgrounds */
.bg-light {
  background-color: var(--neutral-color) !important;
}

/* Card Styles */
.card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 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 8px 25px rgba(0, 0, 0, 0.15);
}

.card-img-top {
  border-radius: 12px 12px 0 0;
  height: 200px;
  object-fit: cover;
}

/* Services Section */
#services .card {
  border: 1px solid var(--secondary-light);
}

#services .text-primary {
  color: var(--primary-color) !important;
}

/* Features Section */
#features .fas {
  color: var(--primary-color);
}

/* Price Plan Section */
#priceplan .card {
  transition: all 0.3s ease;
}

#priceplan .card:hover {
  border-color: var(--primary-color);
}

#priceplan .border-primary {
  border-color: var(--primary-color) !important;
  border-width: 2px !important;
}

/* Team Section */
#team img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border: 3px solid var(--primary-light);
}

/* Reviews Section */
#reviews .card {
  background-color: var(--neutral-light);
  border: 1px solid var(--secondary-light);
}

/* Gallery Section */
#gallery img {
  transition: transform 0.3s ease;
  border-radius: 8px;
}

#gallery img:hover {
  transform: scale(1.05);
}

/* FAQ Section */
#faq .card {
  border: 1px solid var(--secondary-light);
  margin-bottom: 1rem;
}

#faq .card-title {
  color: var(--primary-color);
  font-weight: 600;
}

/* Contact Section */
#contacts .form-control {
  border: 2px solid var(--secondary-light);
  border-radius: 8px;
  padding: 12px 15px;
  transition: border-color 0.3s ease;
}

#contacts .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(45, 106, 79, 0.25);
}

#contacts .btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  padding: 12px 30px;
  font-weight: 600;
}

/* Footer */
#footer {
  background-color: var(--primary-dark) !important;
}

#footer a {
  color: var(--secondary-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

#footer a:hover {
  color: var(--neutral-light);
}

/* Button Styles */
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

/* Icon Colors */
.text-success {
  color: var(--primary-color) !important;
}

.text-primary {
  color: var(--secondary-color) !important;
}

.text-info {
  color: var(--accent-color) !important;
}

.text-warning {
  color: var(--earth-color) !important;
}

.text-danger {
  color: var(--accent-dark) !important;
}

/* Utility Classes */
.rounded-circle {
  border-radius: 50% !important;
}

.shadow-sm {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

/* Responsive Images */
.img-fluid {
  max-width: 100%;
  height: auto;
}

/* Additional Page Styles */
.border {
  border: 2px solid var(--secondary-light) !important;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

.bg-success {
  background-color: var(--primary-light) !important;
}

.bg-info {
  background-color: var(--secondary-color) !important;
}

.bg-warning {
  background-color: var(--earth-color) !important;
}

.bg-danger {
  background-color: var(--accent-color) !important;
}

.badge {
  font-size: 0.875rem;
  padding: 0.5em 0.75em;
  border-radius: 0.375rem;
}

/* Animation Enhancement */
[data-sal] {
  transition-duration: 0.5s;
  transition-timing-function: ease-out;
}

/* Accessibility */
.sr-only {
  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;
} 


/* 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;
    }
}
