/* ===================================
   UPCYCLING FURNITURE COURSE TEMPLATE
   Main CSS File - Bootstrap 5 Compatible
   =================================== */

/* Color Palette Variables */
:root {
  --primary-sage: #8fbc8f;
  --primary-terracotta: #cd853f;
  --primary-cream: #f5f5dc;
  --primary-charcoal: #36454f;
  --primary-lavender: #e6e6fa;
  
  /* Light/Dark Shades */
  --sage-light: #a8d4a8;
  --sage-dark: #7ba97b;
  --terracotta-light: #deb887;
  --terracotta-dark: #b8860b;
  --cream-light: #fefefe;
  --cream-dark: #f0f0e8;
  --charcoal-light: #708090;
  --charcoal-dark: #2f4f4f;
  --lavender-light: #f0f0ff;
  --lavender-dark: #ddd0ff;
  
  /* Bootstrap overrides */
  --bs-primary: var(--primary-sage);
  --bs-secondary: var(--primary-charcoal);
  --bs-success: var(--primary-sage);
  --bs-info: var(--primary-lavender);
  --bs-warning: var(--primary-terracotta);
  --bs-light: var(--primary-cream);
  --bs-dark: var(--primary-charcoal);
}

/* General Typography */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--primary-charcoal);
  background-color: var(--cream-light);
}

/* Conservative font sizes */
.navbar-brand {
  font-size: 1.25rem;
  font-weight: 600;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-charcoal);
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary-charcoal);
}

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

p {
  font-size: 1rem;
  margin-bottom: 1rem;
}

/* Header */
.navbar {
  background-color: var(--cream-light);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  padding: 1rem 0;
}

.navbar-brand {
  color: var(--primary-charcoal);
  text-decoration: none;
}

.navbar-nav .nav-link {
  color: var(--primary-charcoal);
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

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

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

.hero-decorative-shape {
  position: absolute;
  background: var(--primary-sage);
  opacity: 0.1;
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.hero-shape-1 {
  width: 200px;
  height: 200px;
  top: 10%;
  right: 10%;
  animation-delay: 0s;
}

.hero-shape-2 {
  width: 150px;
  height: 150px;
  bottom: 20%;
  left: 5%;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

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

.hero-image {
  z-index: 1;
}

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

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

/* Section Styling */
.section {
  padding: 5rem 0;
}

.section-alt {
  background-color: var(--lavender-light);
}

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

.section-subtitle {
  color: var(--charcoal-light);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.section-desc {
  color: var(--charcoal-light);
  margin-bottom: 3rem;
}

/* Services Cards */
.service-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 2rem;
  height: 100%;
}

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

.service-price {
  color: var(--primary-terracotta);
  font-size: 1.5rem;
  font-weight: 700;
}

.service-features {
  list-style: none;
  padding: 0;
}

.service-features li {
  padding: 0.25rem 0;
  color: var(--charcoal-light);
}

.service-features li:before {
  content: "✓";
  color: var(--primary-sage);
  font-weight: bold;
  margin-right: 0.5rem;
}

/* Features Grid */
.feature-item {
  text-align: center;
  padding: 1.5rem;
}

.feature-icon {
  font-size: 3rem;
  color: var(--primary-sage);
  margin-bottom: 1rem;
}

/* Price Plans */
.price-plan-card {
  background: white;
  border: 2px solid var(--cream-dark);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
}

.price-plan-card.featured {
  border-color: var(--primary-sage);
  transform: scale(1.05);
}

.price-plan-card:hover {
  border-color: var(--primary-sage);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.price-plan-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-terracotta);
}

/* Team Cards */
.team-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
}

.team-photo {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.team-info {
  padding: 1.5rem;
  text-align: center;
}

.team-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-charcoal);
  margin-bottom: 0.5rem;
}

.team-role {
  color: var(--charcoal-light);
  font-style: italic;
}

/* Reviews */
.review-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  height: 100%;
}

.review-text {
  font-style: italic;
  color: var(--charcoal-light);
  margin-bottom: 1.5rem;
}

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

/* Case Studies */
.casestudy-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.casestudy-card:hover {
  transform: translateY(-5px);
}

.casestudy-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.casestudy-content {
  padding: 1.5rem;
}

/* Process Steps */
.process-step {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
  position: relative;
}

.process-number {
  background: var(--primary-sage);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

/* Timeline */
.timeline-item {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
  border-left: 4px solid var(--primary-sage);
}

/* Career */
.career-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.career-card:hover {
  transform: translateY(-3px);
}

.career-role {
  color: var(--primary-terracotta);
  font-weight: 600;
  font-size: 1.1rem;
}

/* Core Info */
.coreinfo-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  text-align: center;
  height: 100%;
}

.coreinfo-icon {
  font-size: 2.5rem;
  color: var(--primary-sage);
  margin-bottom: 1rem;
}

/* Contact Form */
.contact-form {
  background: white;
  border-radius: 12px;
  padding: 3rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

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

.form-control:focus {
  border-color: var(--primary-sage);
  box-shadow: 0 0 0 0.2rem rgba(143, 188, 143, 0.25);
}

.contact-info {
  background: var(--lavender-light);
  border-radius: 12px;
  padding: 2rem;
}

.contact-info-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.contact-info-item i {
  color: var(--primary-sage);
  margin-right: 1rem;
  font-size: 1.25rem;
}

/* Blog */
.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-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 1.5rem;
}

.blog-link {
  color: var(--primary-sage);
  text-decoration: none;
  font-weight: 600;
}

.blog-link:hover {
  color: var(--sage-dark);
}

/* FAQ */
.faq-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  margin-bottom: 1.5rem;
}

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

.faq-answer {
  color: var(--charcoal-light);
}

/* Gallery */
.gallery-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

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

/* Footer */
.footer {
  background-color: var(--primary-charcoal);
  color: white;
  padding: 3rem 0 1rem;
}

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

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

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

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

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

.breadcrumb-image {
  width: 100%;
  height: 50px;
  object-fit: cover;
  border-radius: 4px;
}

/* Animations - respecting prefers-reduced-motion */
@media (prefers-reduced-motion: no-preference) {
  .fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  
  .fade-in.active {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Utility Classes */
.text-sage { color: var(--primary-sage); }
.text-terracotta { color: var(--primary-terracotta); }
.text-charcoal { color: var(--primary-charcoal); }
.bg-sage { background-color: var(--primary-sage); }
.bg-cream { background-color: var(--primary-cream); }
.bg-lavender { background-color: var(--primary-lavender); }

/* Spacing helpers */
.section-spacing { padding: 4rem 0; }
.content-spacing { margin-bottom: 2rem; } 


/* Team Social Links - Neon Style */
.team-social-links {
    margin-top: 20px;
    padding: 15px 0;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 15px;
}

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

.social-link {
    display: inline-flex;
    width: 50px;
    height: 50px;
    border-radius: 25px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s ease;
    border: 2px solid;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    border-radius: inherit;
    filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-link:hover::before {
    opacity: 0.7;
}

.social-link:hover {
    transform: scale(1.1);
    text-shadow: 0 0 20px currentColor;
    box-shadow: 0 0 20px currentColor;
}

.facebook-link {
    border-color: #1877f2;
    color: #1877f2;
    background: rgba(24, 119, 242, 0.1);
}

.linkedin-link {
    border-color: #0a66c2;
    color: #0a66c2;
    background: rgba(10, 102, 194, 0.1);
}

.instagram-link {
    border-color: #e4405f;
    color: #e4405f;
    background: rgba(228, 64, 95, 0.1);
}

.x-link {
    border-color: #ffffff;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
}

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

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 12px;
    }
    
    .social-link {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
}
