/* ========================================
   EcoSpace - Main CSS
   Eco-friendly Coworking Space Theme
======================================== */

/* ========================================
   CSS Variables - Color Palette
======================================== */
:root {
  /* Primary Colors - Eco-Friendly Palette */
  --eco-green-primary: #4a7c59;
  --eco-green-light: #8fbc8f;
  --eco-green-dark: #2f5233;
  
  --eco-blue-primary: #5a9fd4;
  --eco-blue-light: #87ceeb;
  --eco-blue-dark: #4682b4;
  
  --eco-sage-primary: #a8b8a5;
  --eco-sage-light: #d4e4d1;
  --eco-sage-dark: #7a8b77;
  
  --eco-earth-primary: #d2691e;
  --eco-earth-light: #deb887;
  --eco-earth-dark: #8b4513;
  
  --eco-neutral-primary: #6b7280;
  --eco-neutral-light: #f3f4f6;
  --eco-neutral-dark: #374151;
  
  /* Semantic Colors */
  --eco-success: var(--eco-green-primary);
  --eco-info: var(--eco-blue-primary);
  --eco-warning: var(--eco-earth-primary);
  --eco-secondary: var(--eco-sage-primary);
  
  /* Typography */
  --font-size-base: 16px;
  --font-size-small: 14px;
  --font-size-large: 18px;
  --line-height-base: 1.6;
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 3rem;
  
  /* Border Radius */
  --border-radius: 8px;
  --border-radius-lg: 12px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* ========================================
   Base Styles
======================================== */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--eco-neutral-dark);
  background-color: #ffffff;
    overflow-x: hidden;
}

/* ========================================
   Typography
======================================== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: var(--spacing-md);
  color: var(--eco-green-dark);
}

h1 {
  font-size: 2.25rem;
}

h2 {
  font-size: 1.875rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.125rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: var(--spacing-md);
  color: var(--eco-neutral-primary);
}

.lead {
  font-size: var(--font-size-large);
  font-weight: 300;
}

/* ========================================
   Navigation
======================================== */
.navbar-brand {
  font-size: 1.5rem !important;
  font-weight: 700;
  color: var(--eco-green-primary);
}

.navbar-light .navbar-nav .nav-link {
  color: var(--eco-neutral-dark);
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover {
  color: var(--eco-green-primary);
}

/* ========================================
   Hero Section
======================================== */
.hero-section {
  background: linear-gradient(135deg, var(--eco-neutral-light) 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="%234a7c59" opacity="0.1"/><circle cx="80" cy="80" r="3" fill="%235a9fd4" opacity="0.1"/><circle cx="40" cy="60" r="1.5" fill="%23a8b8a5" opacity="0.1"/></svg>');
  background-size: 100px 100px;
  pointer-events: none;
}

/* ========================================
   Cards
======================================== */
.card {
  border: none;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  background-color: #ffffff;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-header {
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  border-bottom: 1px solid var(--eco-neutral-light);
}

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

/* ========================================
   Buttons
======================================== */
.btn {
  border-radius: var(--border-radius);
  font-weight: 500;
  padding: var(--spacing-sm) var(--spacing-lg);
  transition: all 0.3s ease;
}

.btn-success {
  background-color: var(--eco-green-primary);
  border-color: var(--eco-green-primary);
  color: #ffffff;
}

.btn-success:hover {
  background-color: var(--eco-green-dark);
  border-color: var(--eco-green-dark);
  transform: translateY(-1px);
}

.btn-outline-success {
  color: var(--eco-green-primary);
  border-color: var(--eco-green-primary);
}

.btn-outline-success:hover {
  background-color: var(--eco-green-primary);
  border-color: var(--eco-green-primary);
  color: #ffffff;
}

/* ========================================
   Forms
======================================== */
.form-control {
  border-radius: var(--border-radius);
  border: 2px solid var(--eco-neutral-light);
  padding: var(--spacing-sm) var(--spacing-md);
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--eco-green-primary);
  box-shadow: 0 0 0 0.2rem rgba(74, 124, 89, 0.25);
}

.form-check-input:checked {
  background-color: var(--eco-green-primary);
  border-color: var(--eco-green-primary);
}

/* ========================================
   Badges
======================================== */
.badge {
  border-radius: var(--border-radius);
  font-weight: 500;
}

.bg-success {
  background-color: var(--eco-green-primary);
}

.text-success {
  color: var(--eco-green-primary);
}

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

.text-warning {
  color: var(--eco-earth-primary);
}

.text-info {
  color: var(--eco-blue-dark);
}

.text-secondary {
  color: var(--eco-sage-primary);
}

/* ========================================
   Icons
======================================== */
.fa {
  transition: color 0.3s ease;
}

/* ========================================
   Section Styling
======================================== */
section {
  padding: var(--spacing-xl) 0;
}

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

/* ========================================
   Footer
======================================== */
footer {
  background-color: #1a1a1a !important;
  color: #ffffff !important;
}

footer h5 {
  color: #ffffff !important;
  margin-bottom: var(--spacing-lg);
}

footer p {
  color: #e0e0e0 !important;
  line-height: 1.6;
}

footer ul li {
  color: #e0e0e0 !important;
}

footer a {
  color: #ffffff !important;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--eco-green-light) !important;
  text-decoration: underline;
}

footer a:focus {
  color: var(--eco-green-light) !important;
  outline: 2px solid var(--eco-green-light);
  outline-offset: 2px;
}

footer hr {
  border-color: #444444 !important;
  margin: var(--spacing-xl) 0 var(--spacing-lg) 0;
}

footer small {
  color: #cccccc !important;
}

/* Legacy support for footer.bg-dark */
footer.bg-dark {
  background-color: #1a1a1a;
  color: #ffffff;
}

footer.bg-dark h5 {
  color: #ffffff;
  margin-bottom: var(--spacing-lg);
}

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

footer.bg-dark a:hover {
  color: var(--eco-green-light);
}

/* ========================================
   Gallery
======================================== */
.gallery img {
  border-radius: var(--border-radius);
  transition: transform 0.3s ease;
}

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

/* ========================================
   Lightbox Customization
======================================== */
.lb-data .lb-caption {
  font-size: var(--font-size-base);
  color: var(--eco-neutral-light);
}

/* ========================================
   Team Section
======================================== */
.team .card img {
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  height: 200px;
  object-fit: cover;
}

/* ========================================
   Pricing Cards
======================================== */
.pricing-card {
  position: relative;
  overflow: hidden;
}

.pricing-card .card-header {
  background: linear-gradient(135deg, var(--eco-green-primary) 0%, var(--eco-green-dark) 100%);
}

/* ========================================
   Blog Section
======================================== */
.blog .card img {
  height: 200px;
  object-fit: cover;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}

/* ========================================
   Process Steps
======================================== */
.process-step {
  position: relative;
}

.process-step .badge {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

/* ========================================
   Breadcrumb
======================================== */
.breadcrumb {
  background-color: transparent;
  padding: var(--spacing-sm) 0;
}

/* ========================================
   Animation Support (Sal.js)
======================================== */
[data-sal] {
  transition-duration: 0.5s;
  transition-timing-function: ease;
}

/* ========================================
   Accessibility - 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;
  }
  
  .card:hover {
    transform: none;
  }
  
  .btn:hover {
    transform: none;
  }
  
  .gallery img:hover {
    transform: none;
  }
}

/* ========================================
   Utility Classes
======================================== */
.eco-text-green {
  color: var(--eco-green-primary);
}

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

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

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

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

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

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

.eco-shadow {
  box-shadow: var(--shadow-md);
}

.eco-rounded {
  border-radius: var(--border-radius);
}

.eco-rounded-lg {
  border-radius: var(--border-radius-lg);
}

/* ========================================
   Print Styles
======================================== */
@media print {
  .navbar,
  .breadcrumb,
  footer {
    display: none;
  }
  
  .container {
    max-width: none;
  }
  
  .card {
    box-shadow: none;
    border: 1px solid #dee2e6;
  }
}

/* ========================================
   Focus Styles for Accessibility
======================================== */
.btn:focus,
.form-control:focus,
.form-check-input:focus {
  outline: 2px solid var(--eco-green-primary);
  outline-offset: 2px;
}

/* ========================================
   Custom Animations (Conservative)
======================================== */
.fade-in {
  opacity: 0;
  animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.slide-up {
  transform: translateY(20px);
  opacity: 0;
  animation: slideUp 0.5s ease forwards;
}

@keyframes slideUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ========================================
   Space Page Specific
======================================== */
#space {
  background-color: var(--eco-neutral-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ========================================
   Contact Form Enhancements
======================================== */
.contact-info {
  background: linear-gradient(135deg, var(--eco-sage-light) 0%, #ffffff 100%);
  border-radius: var(--border-radius);
  padding: var(--spacing-lg);
}

/* ========================================
   FAQ Section
======================================== */
.faq .card {
  margin-bottom: var(--spacing-md);
}

.faq .card-body h6 {
  color: var(--eco-green-dark);
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}

/* ========================================
   Services Grid
======================================== */
.services .card img {
  height: 250px;
  object-fit: cover;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.services .card ul {
  list-style: none;
  padding: 0;
}

.services .card ul li {
  padding: var(--spacing-xs) 0;
  border-bottom: 1px solid var(--eco-neutral-light);
}

.services .card ul li:last-child {
  border-bottom: none;
}

/* ========================================
   Timeline Styling
======================================== */
.timeline .card {
  position: relative;
  padding-left: var(--spacing-lg);
}

.timeline .card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 100%;
  background-color: var(--eco-green-primary);
  border-radius: 2px;
  transform: translateY(-50%);
}

/* ========================================
   Reviews/Testimonials
======================================== */
.reviews .card {
  border-left: 4px solid var(--eco-green-primary);
}

.reviews .blockquote-footer {
  color: var(--eco-sage-primary);
  font-style: italic;
}

.reviews .blockquote-footer::before {
  content: '— ';
}


.hero-section h1 {
    padding-top: 225px;
}


/* Team Social Links - Minimal Style */
.team-social-links {
    margin-top: 16px;
    padding: 10px 0;
}

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

.social-link {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    align-items: center;
    justify-content: center;
    color: #666;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
    background: white;
}

.social-link:hover {
    transform: translateY(-1px);
    color: white;
}

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

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

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

.x-link {
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 18px;
    color: inherit;
}

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

.x-link:hover::after {
    color: white;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 15px;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}
