/* ==========================================================================
   UPCYCLING FURNITURE COURSE - MAIN STYLES
   ========================================================================== */

/* CSS Variables - Color Palette (5 primary colors + light/dark shades) */
:root {
  --primary-sage: #9CAF88;
  --primary-cream: #F5F1E8;
  --primary-terracotta: #D4A574;
  --primary-dusty-blue: #7A9CC6;
  --primary-soft-pink: #E8C5A0;
  
  /* Light shades */
  --light-sage: #B8CCAA;
  --light-cream: #FAF8F3;
  --light-terracotta: #E2B896;
  --light-dusty-blue: #9BB5D8;
  --light-soft-pink: #F0D4B8;
  
  /* Dark shades */
  --dark-sage: #7A9066;
  --dark-cream: #E8E0D0;
  --dark-terracotta: #B8925C;
  --dark-dusty-blue: #6282A4;
  --dark-soft-pink: #D4A882;
  
  /* Typography */
  --font-size-base: 1rem;
  --font-size-small: 0.875rem;
  --font-size-large: 1.125rem;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-bold: 700;
  
  /* Spacing */
  --section-padding: 4rem 0;
  --element-spacing: 1.5rem;
}

/* Base Styles */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: var(--primary-cream);
}

/* Conservative Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
  color: var(--dark-sage);
}

h2 {
  font-size: 2rem;
  color: var(--dark-sage);
}

h3 {
  font-size: 1.5rem;
  color: var(--dark-dusty-blue);
}

.navbar-brand {
  font-size: 1.25rem;
  font-weight: var(--font-weight-bold);
  color: var(--dark-sage);
}

p {
  font-size: var(--font-size-base);
  color: #555;
  margin-bottom: 1rem;
}

/* Prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
    transition-duration: 0.01ms;
    scroll-behavior: auto !important;
  }
}

/* Header Styles */
.navbar {
  background-color: var(--light-cream);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  background-color: var(--primary-cream);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.navbar-nav .nav-link {
  color: var(--dark-sage);
  font-weight: var(--font-weight-medium);
  margin: 0 0.5rem;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-terracotta);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--light-sage) 0%, var(--light-cream) 100%);
  display: flex;
  align-items: center;
  padding: var(--section-padding);
}

.hero-content {
  z-index: 2;
    padding-top: 225px;
}

.hero-title {
  color: var(--dark-sage);
  margin-bottom: 1rem;
}

.hero-subtitle {
  color: var(--dark-dusty-blue);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.hero-desc {
  color: #666;
  font-size: var(--font-size-large);
  margin-bottom: 2rem;
}

/* Decorative Shapes */
.hero-shape {
  position: absolute;
  z-index: 1;
  opacity: 0.1;
}

.hero-shape-1 {
  top: 10%;
  right: 10%;
  width: 200px;
  height: 200px;
  background: var(--primary-terracotta);
  border-radius: 50%;
}

.hero-shape-2 {
  bottom: 20%;
  left: 5%;
  width: 150px;
  height: 150px;
  background: var(--primary-dusty-blue);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

/* Section Styles */
.section {
  padding: var(--section-padding);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-subtitle {
  text-align: center;
  color: var(--dark-dusty-blue);
  margin-bottom: 1rem;
}

.section-desc {
  text-align: center;
  color: #666;
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* About Section */
.about-section {
  background-color: var(--light-cream);
}

.about-feature {
  text-align: center;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.about-feature i {
  font-size: 3rem;
  color: var(--primary-terracotta);
  margin-bottom: 1rem;
}

/* Services Section */
.services-section {
  background-color: white;
}

.service-card {
  background: white;
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  height: 100%;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-price {
  font-size: 2rem;
  font-weight: var(--font-weight-bold);
  color: var(--primary-terracotta);
  margin-bottom: 1rem;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.service-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
}

/* Features Section */
.features-section {
  background-color: var(--light-sage);
}

.feature-item {
  text-align: center;
  padding: 2rem;
}

.feature-item i {
  font-size: 3rem;
  color: var(--primary-terracotta);
  margin-bottom: 1rem;
}

/* Price Plan Section */
.priceplan-section {
  background-color: white;
}

.price-card {
  background: white;
  border-radius: 15px;
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.price-card.featured {
  border: 3px solid var(--primary-terracotta);
  transform: scale(1.05);
}

.price-amount {
  font-size: 3rem;
  font-weight: var(--font-weight-bold);
  color: var(--primary-terracotta);
  margin-bottom: 1rem;
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.price-features li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #eee;
}

.price-features li:last-child {
  border-bottom: none;
}

/* Team Section */
.team-section {
  background-color: var(--light-cream);
}

.team-member {
  text-align: center;
  padding: 1.5rem;
}

.team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 4px solid var(--primary-terracotta);
}

.team-name {
  font-weight: var(--font-weight-bold);
  color: var(--dark-sage);
  margin-bottom: 0.5rem;
}

.team-role {
  color: var(--dark-dusty-blue);
  font-style: italic;
}

/* Reviews Section */
.reviews-section {
  background-color: white;
}

.review-card {
  background: var(--light-cream);
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.review-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: #555;
}

.review-author {
  font-weight: var(--font-weight-bold);
  color: var(--dark-sage);
  text-align: right;
}

/* Case Study Section */
.casestudy-section {
  background-color: var(--light-sage);
}

.casestudy-card {
  background: white;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  height: 100%;
}

/* Process Section */
.process-section {
  background-color: white;
}

.process-step {
  text-align: center;
  padding: 2rem;
  position: relative;
}

.process-number {
  display: inline-block;
  width: 60px;
  height: 60px;
  background: var(--primary-terracotta);
  color: white;
  border-radius: 50%;
  line-height: 60px;
  font-size: 1.5rem;
  font-weight: var(--font-weight-bold);
  margin-bottom: 1rem;
}

/* Timeline Section */
.timeline-section {
  background-color: var(--light-cream);
}

.timeline-item {
  padding: 2rem;
  margin-bottom: 2rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 2rem;
  width: 20px;
  height: 20px;
  background: var(--primary-terracotta);
  border-radius: 50%;
}

/* Career Section */
.career-section {
  background-color: white;
}

.career-card {
  background: var(--light-cream);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  height: 100%;
}

/* Core Info Section */
.coreinfo-section {
  background-color: var(--light-sage);
}

.coreinfo-item {
  text-align: center;
  padding: 2rem;
}

.coreinfo-item i {
  font-size: 3rem;
  color: var(--primary-terracotta);
  margin-bottom: 1rem;
}

/* Blog Section */
.blog-section {
  background-color: white;
}

.blog-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  height: 100%;
}

.blog-card-body {
  padding: 2rem;
}

.blog-link {
  color: var(--primary-terracotta);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
}

/* FAQ Section */
.faq-section {
  background-color: var(--light-cream);
}

.faq-card {
  background: white;
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.faq-question {
  font-weight: var(--font-weight-bold);
  color: var(--dark-sage);
  margin-bottom: 1rem;
}

.faq-answer {
  color: #666;
  line-height: 1.6;
}

/* Gallery Section */
.gallery-section {
  background-color: white;
}

.gallery-item {
  margin-bottom: 2rem;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Contact Section */
.contact-section {
  background-color: var(--light-sage);
}

.contact-form {
  background: white;
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-control {
  border: 2px solid #eee;
  border-radius: 8px;
  padding: 1rem;
  font-size: var(--font-size-base);
}

.form-control:focus {
  border-color: var(--primary-terracotta);
  box-shadow: 0 0 0 0.2rem rgba(212, 165, 116, 0.25);
}

.btn-primary {
  background-color: var(--primary-terracotta);
  border-color: var(--primary-terracotta);
  padding: 1rem 2rem;
  font-weight: var(--font-weight-bold);
  border-radius: 8px;
}

.btn-primary:hover {
  background-color: var(--dark-terracotta);
  border-color: var(--dark-terracotta);
}

.contact-info {
  background: white;
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-info-item {
  margin-bottom: 2rem;
}

.contact-info-item i {
  color: var(--primary-terracotta);
  font-size: 1.5rem;
  margin-right: 1rem;
}

/* Footer */
.footer {
  background-color: var(--dark-sage);
  color: white;
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: white;
  margin-bottom: 1.5rem;
}

.footer p {
  color: #ccc;
}

.footer a {
  color: #ccc;
  text-decoration: none;
}

.footer a:hover {
  color: var(--primary-terracotta);
}

.footer-bottom {
  border-top: 1px solid #666;
  padding-top: 2rem;
  margin-top: 2rem;
  text-align: center;
}

/* Utility Classes */
.text-primary {
  color: var(--primary-terracotta);
}

.bg-primary {
  background-color: var(--primary-terracotta);
}

.text-sage {
  color: var(--dark-sage);
}

.bg-sage {
  background-color: var(--primary-sage);
}

/* Breadcrumbs */
.breadcrumb {
  background-color: transparent;
  padding: 1rem 0;
}

.breadcrumb-item img {
  width: 20px;
  height: 20px;
  margin-right: 0.5rem;
} 


/* Team Social Links - Rounded Style */
.team-social-links {
    margin-top: 20px;
    padding: 15px 0;
}

.social-icons-grid {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
}

.facebook-link:hover {
    background: linear-gradient(135deg, #0d6efd, #1877f2);
}

.linkedin-link {
    background: linear-gradient(135deg, #0a66c2, #2196f3);
}

.linkedin-link:hover {
    background: linear-gradient(135deg, #084a8a, #0a66c2);
}

.x-link {
    background: linear-gradient(135deg, #000000, #333333);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 20px;
}

.x-link:hover {
    background: linear-gradient(135deg, #1a1a1a, #000000);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}
