/* Upcycled Furniture Workshop - Main CSS */
:root {
  /* Primary Color Palette */
  --primary-forest: #2D5016;
  --primary-forest-light: #4A8028;
  --primary-forest-dark: #1A300D;
  --primary-sage: #87A96B;
  --primary-sage-light: #A5C389;
  --primary-sage-dark: #6B874D;
  --primary-earth: #8B4513;
  --primary-earth-light: #CD853F;
  --primary-earth-dark: #654321;
  --primary-cream: #F5F5DC;
  --primary-cream-light: #FEFEFE;
  --primary-cream-dark: #E6E6CD;
  --primary-rust: #B7410E;
  --primary-rust-light: #D2691E;
  --primary-rust-dark: #8B2F0A;
  --text-primary: #2c3e50;
  --text-secondary: #7f8c8d;
  --text-light: #ecf0f1;
  --font-size-base: 16px;
  --font-size-h1: 2.2rem;
  --font-size-h2: 1.8rem;
  --font-size-h3: 1.5rem;
  --section-padding: 4rem 0;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--text-primary);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-forest);
}

.navbar {
  background: linear-gradient(135deg, var(--primary-forest), var(--primary-sage));
  padding: 0.8rem 0;
  box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.navbar-brand {
  font-size: 1.4rem !important;
  font-weight: 700;
  color: var(--text-light) !important;
}

.navbar-nav .nav-link {
  color: var(--text-light) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.hero-section {
  height: 100vh;
  background: linear-gradient(135deg, var(--primary-forest-light), var(--primary-earth));
  display: flex;
  align-items: center;
  position: relative;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../IMM_images/hero-bg.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--text-light);
}

.section {
  padding: var(--section-padding);
}

.about-section {
  background: var(--primary-cream);
}

.about-feature {
  text-align: center;
  padding: 2rem 1rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.about-feature:hover {
  transform: translateY(-5px);
}

.services-section {
  background: linear-gradient(135deg, var(--primary-cream-light), var(--primary-sage-light));
}

.service-item {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.service-item:hover {
  transform: translateY(-10px);
}

.service-price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-rust);
  margin: 1rem 0;
}

.team-section {
  background: linear-gradient(135deg, var(--primary-sage-light), var(--primary-cream));
}

.team-member {
  text-align: center;
  padding: 2rem 1rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
}

.team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.5rem;
  border: 4px solid var(--primary-sage);
}

.contact-section {
  background: linear-gradient(135deg, var(--primary-forest), var(--primary-earth));
  color: var(--text-light);
}

.contact-form {
  background: rgba(255,255,255,0.1);
  border-radius: 15px;
  padding: 3rem;
  backdrop-filter: blur(10px);
}

.form-control {
  background: rgba(255,255,255,0.9);
  border: none;
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.btn-submit {
  background: linear-gradient(135deg, var(--primary-rust), var(--primary-earth));
  border: none;
  border-radius: 10px;
  padding: 1rem 3rem;
  color: white;
  font-weight: 600;
  transition: all 0.3s ease;
}

.footer {
  background: var(--primary-forest-dark);
  color: var(--text-light);
  padding: 3rem 0 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
}

#space {
  min-height: 60vh;
  background: linear-gradient(135deg, var(--primary-cream), var(--primary-sage-light));
  display: flex;
  align-items: center;
  justify-content: center;
}

.breadcrumb-section {
  background: var(--primary-sage-light);
  padding: 1rem 0;
}

.breadcrumb-image {
  width: 30px;
  height: 30px;
  object-fit: cover;
  border-radius: 50%;
}

.add-page-section {
  padding: 4rem 0;
}

.add-page-section:nth-child(odd) {
  background: var(--primary-cream);
}

.add-page-item {
  background: white;
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* FAQ Section Styles */
.faq-section {
  background: var(--primary-forest-dark);
  color: var(--text-light);
}

.faq-item.accordion-item {
  background: rgba(255,255,255,0.1);
  border-radius: 10px !important;
  margin-bottom: 1rem;
  overflow: hidden;
  backdrop-filter: blur(10px);
  border: none !important;
}

.faq-question.accordion-button {
  background: rgba(255,255,255,0.05);
  color: var(--text-light);
  font-weight: 600;
  border: none;
  border-radius: 10px !important;
  padding: 1.5rem;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: none;
  font-size: 1.1rem;
}

.faq-question.accordion-button:not(.collapsed) {
  background: rgba(255,255,255,0.15);
  color: var(--text-light);
  box-shadow: none;
}

.faq-question.accordion-button:hover {
  background: rgba(255,255,255,0.1);
}

.faq-question.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(135, 169, 107, 0.25);
}

.faq-question.accordion-button::after {
  display: none;
}

.faq-icon {
  position: absolute;
  right: 1.5rem;
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.faq-question:not(.collapsed) .faq-icon {
  transform: rotate(45deg);
}

.accordion-collapse {
  border: none;
}

.accordion-body {
  background: rgba(255,255,255,0.05);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem;
}

.faq-answer {
  color: rgba(255,255,255,0.9);
  margin: 0;
  line-height: 1.6;
}

/* Gallery Section Styles */
.gallery-section {
  background: var(--primary-cream);
  padding: 4rem 0;
}

.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  grid-auto-rows: 200px;
  gap: 1rem;
  padding: 0 1rem;
}

.gallery-item {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  position: relative;
  background: white;
}

.gallery-item.gallery-tall {
  grid-row-end: span 2;
}

.gallery-item.gallery-wide {
  grid-column-end: span 2;
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(45, 80, 22, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-overlay i {
  color: white;
  font-size: 2rem;
}

/* Blog Section Styles */
.blog-section {
  background: var(--primary-cream);
}

.blog-item {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.blog-item:hover {
  transform: translateY(-5px);
}

.blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 2rem;
}

.blog-title {
  color: var(--primary-forest);
  margin-bottom: 1rem;
}

.blog-excerpt {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.blog-link {
  color: var(--primary-rust);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.blog-link:hover {
  color: var(--primary-rust-dark);
}



/* Team Social Links - Square Style */
.team-social-links {
    margin-top: 18px;
    padding: 12px 0;
}

.social-icons-grid {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
    position: relative;
}

.social-link:hover {
    transform: translateY(-2px) rotate(5deg);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    color: white;
}

.facebook-link {
    background: #1877f2;
    border: 2px solid #1877f2;
}

.facebook-link:hover {
    background: #166fe5;
    border-color: #166fe5;
}

.linkedin-link {
    background: #0a66c2;
    border: 2px solid #0a66c2;
}

.linkedin-link:hover {
    background: #0959aa;
    border-color: #0959aa;
}

.x-link {
    background: #000000;
    border: 2px solid #000000;
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: bold;
    font-size: 18px;
}

.x-link:hover {
    background: #333333;
    border-color: #333333;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 8px;
    }
    
    .social-link {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }
}
