/* Scrap Wood Shop - Main CSS */
@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');
@import url('https://unpkg.com/swiper@11/swiper-bundle.min.css');
@import url('https://cdnjs.cloudflare.com/ajax/libs/lightbox2/2.11.4/css/lightbox.min.css');

/* CSS Variables - Color Palette */
:root {
  --primary-brown: #955017;
  --secondary-amber: #c9600c;
  --accent-forest: #2a942e;
  --warm-beige: #ffe6c6;
  --rich-mahogany: #c83d0b;
  
  /* Light shades */
  --light-brown: #c87a30;
  --light-amber: #f3bb82;
  --light-forest: #83f08e;
  --light-beige: #eae9d1;
  --light-mahogany: #d88071;
  
  /* Dark shades */
  --dark-brown: #6a4628;
  --dark-amber: #a04f2b;
  --dark-forest: #014b03;
  --dark-beige: #c29b81;
  --dark-mahogany: #7c0003;
  
  /* Typography */
  --font-size-base: 16px;
  --font-size-small: 14px;
  --font-size-large: 18px;
  --font-size-xl: 24px;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--dark-brown);
  background-color: var(--light-beige);
}

/* Typography */
h1 {
  font-size: 1.83rem;
  font-weight: 600;
  color: var(--primary-brown);
  margin-bottom: 1.19rem;
}

h2 {
  font-size: 1.61rem;
  font-weight: 500;
  color: var(--secondary-amber);
  margin-bottom: 0.91rem;
}

h3 {
  font-size: 1.41rem;
  font-weight: 500;
  color: var(--accent-forest);
  margin-bottom: 0.84rem;
}

p {
  font-size: var(--font-size-base);
  margin-bottom: 1.19rem;
  color: var(--dark-brown);
}

/* 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;
  }
}

/* Header Styles */
.navbar {
  background: linear-gradient(135deg, var(--primary-brown), var(--secondary-amber));
  padding: 0.5rem 0;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

.navbar-brand {
  font-size: 1.27rem;
  font-weight: 600;
  color: var(--warm-beige) !important;
}

.navbar-nav .nav-link {
  font-size: 10px !important;
  font-size: 10px !important;
  color: var(--warm-beige) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--light-amber) !important;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--warm-beige), var(--light-beige));
  display: flex;
  align-items: center;
  padding: 2rem 0;
  position: relative;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../images/hero-bg.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 2.54rem;
  font-weight: 700;
  color: var(--primary-brown);
  margin-bottom: 1.19rem;
}

.hero-subtitle {
  font-size: 1.27rem;
  color: var(--secondary-amber);
  margin-bottom: 1.58rem;
}

/* Section Styles */
.section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3.19rem;
}

.section-subtitle {
  text-align: center;
  color: var(--secondary-amber);
  margin-bottom: 1.19rem;
}

/* About Section */
.about-section {
  background: var(--warm-beige);
}

.about-feature {
  text-align: center;
  padding: 2rem 1rem;
  margin-bottom: 2.15rem;
  background: white;
  border-radius: 11px;
  box-shadow: 0 9px 16px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.about-feature:hover {
  transform: translateY(-12px);
}

.about-feature i {
  font-size: 3.02rem;
  color: var(--accent-forest);
  margin-bottom: 1.19rem;
}

/* Services Section */
.services-section {
  background: linear-gradient(135deg, var(--light-beige), white);
}

.service-item {
  background: white;
  border-radius: 17px;
  padding: 2rem;
  margin-bottom: 2.15rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.service-item:hover {
  transform: translateY(-10px);
  border-color: var(--accent-forest);
  box-shadow: 0 16px 40px rgba(0,0,0,0.15);
}

.service-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1.58rem;
}

.service-price {
  font-size: 1.61rem;
  font-weight: 700;
  color: var(--rich-mahogany);
  margin-top: 1.25rem;
}

/* Features Section */
.features-section {
  background: var(--warm-beige);
}

.feature-item {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 10px;
  margin-bottom: 2.15rem;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.feature-item i {
  font-size: 2.54rem;
  color: var(--secondary-amber);
  margin-bottom: 1.19rem;
}

/* Price Plan Section */
.priceplan-section {
  background: linear-gradient(135deg, var(--light-forest), var(--warm-beige));
}

.price-item {
  background: white;
  border-radius: 17px;
  padding: 2.5rem 2rem;
  text-align: center;
  margin-bottom: 2.15rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.price-item:hover {
  transform: scale(1.05);
}

.price-amount {
  font-size: 2.10rem;
  font-weight: 700;
  color: var(--rich-mahogany);
  margin: 1rem 0;
}

/* Team Section */
.team-section {
  background: var(--light-beige);
}

.team-member {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 110px;
  margin-bottom: 2.15rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 4px solid var(--accent-forest);
}

/* Reviews Section */
.reviews-section {
  background: linear-gradient(135deg, var(--warm-beige), var(--light-amber));
}

.swiper-slide {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Case Study Section */
.casestudy-section {
  background: var(--warm-beige);
}

.case-item {
  background: white;
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 2.15rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Process Section */
.process-section {
  background: linear-gradient(135deg, var(--light-beige), white);
}

.process-item {
  text-align: center;
  padding: 2rem 1rem;
  margin-bottom: 2.15rem;
}

.process-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent-forest);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.61rem;
  font-weight: 700;
}

/* Timeline Section */
.timeline-section {
  background: var(--warm-beige);
}

.timeline-item {
  background: white;
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 2.15rem;
  position: relative;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-forest);
}

/* Career Section */
.career-section {
  background: linear-gradient(135deg, var(--light-beige), var(--light-amber));
}

.career-item {
  background: white;
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 2.15rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Core Info Section */
.coreinfo-section {
  background: var(--warm-beige);
}

.coreinfo-item {
  background: white;
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 2.15rem;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Contact Section */
.contact-section {
  background: linear-gradient(135deg, var(--light-forest), var(--warm-beige));
}

.contact-form {
  background: white;
  border-radius: 15px;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-control {
  border: 2px solid var(--light-amber);
  border-radius: 8px;
  padding: 0.75rem;
  margin-bottom: 1.19rem;
}

.form-control:focus {
  border-color: var(--accent-forest);
  box-shadow: 0 0 0 0.2rem rgba(31, 114, 44, 0.25);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-forest), var(--secondary-amber));
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Blog Section */
.blog-section {
  background: var(--light-beige);
}

.blog-item {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 2.15rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.blog-item:hover {
  transform: translateY(-5px);
}

.blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 1.5rem;
}

/* FAQ Section */
.faq-section {
  background: var(--warm-beige);
}

.faq-item {
  background: white;
  border-radius: 10px;
  margin-bottom: 1.19rem;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  border-bottom: 1px solid var(--light-amber);
  font-weight: 600;
  color: var(--primary-brown);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: var(--dark-brown);
}

/* Gallery Section */
.gallery-section {
  background: var(--light-beige);
  padding: 4rem 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 2.05rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Footer */
.footer {
  background-color: #2a942e;
  color: var(--warm-beige);
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--light-amber);
  margin-bottom: 1.19rem;
}

.footer a {
  color: var(--warm-beige);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--light-amber);
}

.footer-bottom {
  border-top: 1px solid var(--secondary-amber);
  padding-top: 1.18rem;
  margin-top: 2.05rem;
  text-align: center;
}

/* Breadcrumb */
.breadcrumb {
  background: var(--light-beige);
  padding: 1rem 0;
}

.breadcrumb img {
  height: 24px;
  width: auto;
}

/* Utility Classes */
.text-primary-custom { color: var(--primary-brown) !important; }
.text-secondary-custom { color: var(--secondary-amber) !important; }
.text-accent-custom { color: var(--accent-forest) !important; }
.bg-primary-custom { background-color: var(--primary-brown) !important; }
.bg-secondary-custom { background-color: var(--secondary-amber) !important; }
.bg-accent-custom { background-color: var(--accent-forest) !important; }
