/* Custom Furniture Design Template - Main CSS */

:root {
  /* Primary Color Palette - 5 colors + shades */
  --primary-wood: #8B4513;
  --primary-cream: #F5F5DC;
  --primary-charcoal: #36454F;
  --primary-gold: #D4AF37;
  --primary-sage: #87A96B;
  
  /* Light shades */
  --light-wood: #CD853F;
  --light-cream: #FEFEF8;
  --light-charcoal: #708090;
  --light-gold: #F7DC6F;
  --light-sage: #A8C787;
  
  /* Dark shades */
  --dark-wood: #654321;
  --dark-cream: #E8E8D3;
  --dark-charcoal: #2F383F;
  --dark-gold: #B7950B;
  --dark-sage: #6B8E23;
  
  /* Typography */
  --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-size-base: 16px;
  --font-size-small: 14px;
  --font-size-large: 18px;
  
  /* Spacing */
  --section-padding: 80px 0;
  --container-padding: 0 15px;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--dark-charcoal);
  background-color: var(--light-cream);
}

/* Typography */
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-charcoal);
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary-wood);
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--primary-charcoal);
  margin-bottom: 0.5rem;
}

p {
  font-size: var(--font-size-base);
  margin-bottom: 1rem;
  color: var(--dark-charcoal);
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Header Styles */
.navbar {
  background: linear-gradient(135deg, var(--primary-wood), var(--dark-wood));
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--light-cream) !important;
  text-decoration: none;
}

.navbar-nav .nav-link {
  color: var(--light-cream) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-gold) !important;
}

/* Hero Section */
.hero-section {
  height: 100vh;
  background: linear-gradient(rgba(54, 69, 79, 0.7), rgba(54, 69, 79, 0.7)), url('../SOU_images/hero-bg.webp');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: white;
}

.hero-content h1 {
  color: var(--light-cream);
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.hero-content p {
  color: var(--light-cream);
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Section Styles */
section {
  padding: var(--section-padding);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  color: var(--primary-wood);
  margin-bottom: 1rem;
}

.section-title p {
  color: var(--primary-charcoal);
  font-size: 1.1rem;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: white;
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 4px solid var(--primary-gold);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.service-card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  color: var(--primary-wood);
  margin-bottom: 1rem;
}

.service-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-gold);
  margin: 1rem 0;
}

/* About Section */
.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-item {
  text-align: center;
  padding: 1.5rem;
}

.feature-item i {
  font-size: 3rem;
  color: var(--primary-gold);
  margin-bottom: 1rem;
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.team-member {
  text-align: center;
  background: white;
  border-radius: 10px;
  padding: 2rem 1rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.team-member img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 4px solid var(--primary-cream);
}

/* Contact Form */
.contact-form {
  background: white;
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-control {
  border: 2px solid var(--primary-cream);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-gold);
  box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-wood), var(--dark-wood));
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--dark-wood), var(--primary-wood));
  transform: translateY(-2px);
}

/* Gallery Section */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.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: linear-gradient(135deg, var(--primary-charcoal), var(--dark-charcoal));
  color: var(--light-cream);
  padding: 3rem 0 1rem;
}

.footer h5, footer p {
  color: var(--primary-gold);
  margin-bottom: 1rem;
}

#site-copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--light-charcoal);
  margin-top: 2rem;
  color: var(--light-cream);
}

/* FAQ Section */
.accordion-item {
  border: 1px solid var(--primary-cream);
  margin-bottom: 0.5rem;
  border-radius: 8px;
}

.accordion-button {
  background-color: var(--light-cream);
  color: var(--primary-charcoal);
  font-weight: 600;
}

.accordion-button:not(.collapsed) {
  background-color: var(--primary-gold);
  color: white;
}

/* Breadcrumb */
.breadcrumb {
  background: transparent;
  padding: 1rem 0;
}

.breadcrumb-item img {
  width: 20px;
  height: 20px;
}

/* Reviews Slider */
.reviews-slider {
  margin-top: 3rem;
}

.review-item {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  text-align: center;
  margin: 0 1rem;
}

.review-item blockquote {
  font-style: italic;
  margin-bottom: 1rem;
  color: var(--primary-charcoal);
}

/* Price Plans */
.price-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.price-plan {
  background: white;
  border-radius: 15px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  position: relative;
  border-top: 5px solid var(--primary-gold);
}

.price-plan h3 {
  color: var(--primary-wood);
  margin-bottom: 1rem;
}

.price-plan .price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-gold);
  margin: 1rem 0;
}

.price-plan ul {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.price-plan li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--primary-cream);
}

/* Process Steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-gold);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.process-container {
  counter-reset: step-counter;
}

/* Contact Info */
#contact-info-phone,
#contact-info-email,
#contact-info-address {
  color: var(--light-cream);
  margin-bottom: 0.5rem;
}

/* Utilities */
.text-primary-wood { color: var(--primary-wood) !important; }
.text-primary-gold { color: var(--primary-gold) !important; }
.bg-primary-cream { background-color: var(--primary-cream) !important; }
.bg-light-cream { background-color: var(--light-cream) !important; }

/* Space Page */
#space {
  min-height: 70vh;
  background: var(--light-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary-charcoal);
}

/* Blog Section */
#blog_grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.blog-post {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.blog-post:hover {
  transform: translateY(-5px);
}

.blog-post img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-post-content {
  padding: 1.5rem;
}

.blog-post h3 {
  margin-bottom: 1rem;
  color: var(--primary-wood);
}

.blog-post p {
  color: var(--primary-charcoal);
  margin-bottom: 1rem;
}

.blog-post a {
  color: var(--primary-gold);
  text-decoration: none;
  font-weight: 600;
}

.blog-post a:hover {
  text-decoration: underline;
} 