/* Fiber Art Commissions - Main CSS */

/* Root Color Variables */
:root {
  /* Primary Color Palette */
  --primary-burgundy: #8b2635;
  --primary-rust: #d2691e;
  --primary-sage: #87a96b;
  --primary-slate: #708090;
  --primary-cream: #f5f5dc;
  
  /* Light & Dark Shades */
  --light-burgundy: #a64253;
  --dark-burgundy: #6b1d28;
  --light-rust: #e8984a;
  --dark-rust: #b8571a;
  --light-sage: #a3c087;
  --dark-sage: #6b8651;
  --light-slate: #8fa3b3;
  --dark-slate: #5a6b7a;
  --light-cream: #faf9f4;
  --dark-cream: #e8e7d2;
  
  /* Gradient Combinations */
  --gradient-warm: linear-gradient(135deg, var(--primary-rust), var(--primary-burgundy));
  --gradient-earth: linear-gradient(135deg, var(--primary-sage), var(--primary-slate));
  --gradient-soft: linear-gradient(135deg, var(--light-cream), var(--primary-cream));
  
  /* Typography */
  --font-size-base: 1rem;
  --font-size-small: 0.875rem;
  --font-size-large: 1.125rem;
  --line-height-base: 1.6;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  
  /* Borders & Shadows */
  --border-radius: 8px;
  --border-radius-large: 16px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --box-shadow-large: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--dark-slate);
  background-color: var(--light-cream);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: var(--spacing-sm);
  color: var(--primary-burgundy);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: var(--spacing-sm);
  color: var(--dark-slate);
}

/* Header & Navigation */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--light-cream);
  transition: all 0.3s ease;
  padding: var(--spacing-sm) 0;
}

.navbar-brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-burgundy) !important;
  text-decoration: none;
}

.navbar-nav .nav-link {
  color: var(--dark-slate) !important;
  font-weight: 500;
  padding: var(--spacing-xs) var(--spacing-sm) !important;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-burgundy) !important;
}

.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: var(--gradient-warm);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../KEG_images/hero-pattern.webp') center/cover;
  opacity: 0.1;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  padding: var(--spacing-xl) 0;
}

.hero-content h1 {
  color: white;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}

.hero-content h2 {
  color: var(--light-cream);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: var(--spacing-md);
}

.hero-content p {
  color: var(--light-cream);
  font-size: var(--font-size-large);
  margin-bottom: var(--spacing-lg);
}

.hero-image {
  position: relative;
  z-index: 2;
}

.hero-image img {
  border-radius: var(--border-radius-large);
  box-shadow: var(--box-shadow-large);
}

/* Section Spacing */
section {
  padding: var(--spacing-xl) 0;
}

.bg-light {
  background-color: var(--primary-cream) !important;
}

/* Feature Boxes */
.feature-box,
.feature-item {
  text-align: center;
  padding: var(--spacing-lg);
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.feature-box:hover,
.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-large);
}

.feature-box i,
.feature-item i {
  color: var(--primary-rust);
  margin-bottom: var(--spacing-md);
}

/* Service Cards */
.service-card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--box-shadow-large);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-content h4 {
  color: var(--primary-burgundy);
  margin-bottom: var(--spacing-sm);
}

.service-content ul {
  list-style: none;
  padding: 0;
  margin: var(--spacing-sm) 0;
}

.service-content li {
  padding: 0.25rem 0;
  color: var(--dark-slate);
}

.service-content li:before {
  content: "✓";
  color: var(--primary-sage);
  font-weight: bold;
  margin-right: var(--spacing-xs);
}

.price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-rust);
  margin-top: var(--spacing-sm);
}

/* Price Cards */
.price-card {
  background: white;
  border: 2px solid var(--light-cream);
  border-radius: var(--border-radius);
  padding: var(--spacing-lg);
  transition: all 0.3s ease;
  height: 100%;
}

.price-card.featured {
  border-color: var(--primary-rust);
  transform: scale(1.05);
  box-shadow: var(--box-shadow-large);
}

.price-card:hover {
  border-color: var(--primary-burgundy);
  transform: translateY(-5px);
}

.price-card.featured:hover {
  transform: scale(1.05) translateY(-5px);
}

.price-card h4 {
  color: var(--primary-burgundy);
  margin-bottom: var(--spacing-sm);
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: var(--spacing-md) 0;
}

.price-card li {
  padding: 0.5rem 0;
  color: var(--dark-slate);
  border-bottom: 1px solid var(--light-cream);
}

.price-card li:last-child {
  border-bottom: none;
}

.price-card li:before {
  content: "✓";
  color: var(--primary-sage);
  font-weight: bold;
  margin-right: var(--spacing-xs);
}

/* Team Members */
.team-member {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.team-member img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  margin-bottom: var(--spacing-sm);
  border: 3px solid var(--primary-cream);
  transition: border-color 0.3s ease;
}

.team-member:hover img {
  border-color: var(--primary-rust);
}

.team-member h5 {
  color: var(--primary-burgundy);
  margin-bottom: 0.25rem;
}

.team-member p {
  color: var(--primary-slate);
  font-size: var(--font-size-small);
  margin: 0;
}

/* Testimonials */
.testimonials-swiper {
  padding: var(--spacing-lg) 0;
}

.testimonial-card {
  background: white;
  padding: var(--spacing-lg);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin: 0 var(--spacing-sm);
}

.testimonial-card p {
  font-style: italic;
  font-size: var(--font-size-large);
  color: var(--dark-slate);
  margin-bottom: var(--spacing-md);
}

.testimonial-card h5 {
  color: var(--primary-burgundy);
  font-size: var(--font-size-base);
  margin: 0;
}

.swiper-pagination-bullet {
  background: var(--primary-rust);
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  opacity: 1;
}

/* Case Studies */
.case-study-card,
.blog-card,
.portfolio-item,
.technique-item,
.style-item {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.case-study-card:hover,
.blog-card:hover,
.portfolio-item:hover,
.technique-item:hover,
.style-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-large);
}

.case-study-card img,
.blog-card img,
.portfolio-item img,
.technique-item img,
.style-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.case-content,
.blog-content {
  padding: var(--spacing-md);
}

.case-content h4,
.blog-content h4,
.portfolio-item h4,
.technique-item h4,
.style-item h4 {
  color: var(--primary-burgundy);
  margin-bottom: var(--spacing-sm);
}

.blog-content a {
  color: var(--primary-rust);
  text-decoration: none;
  font-weight: 500;
}

.blog-content a:hover {
  color: var(--primary-burgundy);
  text-decoration: underline;
}

/* Process Steps */
.process-step {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.step-number,
.step-circle {
  width: 60px;
  height: 60px;
  background: var(--gradient-warm);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto var(--spacing-sm);
}

.process-step h4 {
  color: var(--primary-burgundy);
  margin-bottom: var(--spacing-xs);
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: var(--spacing-lg);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gradient-warm);
}

.timeline-item {
  position: relative;
  margin-bottom: var(--spacing-lg);
  padding-left: var(--spacing-lg);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -6px;
  top: 8px;
  width: 12px;
  height: 12px;
  background: var(--primary-rust);
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 0 0 3px var(--primary-rust);
}

.timeline-content {
  background: white;
  padding: var(--spacing-md);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.timeline-content h4 {
  color: var(--primary-burgundy);
  margin-bottom: var(--spacing-xs);
}

/* Career Items */
.career-item {
  background: white;
  padding: var(--spacing-md);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  border-left: 4px solid var(--primary-rust);
  transition: transform 0.3s ease;
}

.career-item:hover {
  transform: translateX(5px);
}

.career-item h4 {
  color: var(--primary-burgundy);
  margin-bottom: var(--spacing-xs);
}

.career-item .badge {
  background: var(--primary-sage);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: var(--font-size-small);
}

/* Info Items */
.info-item,
.material-item,
.installation-item,
.size-option,
.care-item,
.support-item {
  text-align: center;
  padding: var(--spacing-md);
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease;
  height: 100%;
}

.info-item:hover,
.material-item:hover,
.installation-item:hover,
.size-option:hover,
.care-item:hover,
.support-item:hover {
  transform: translateY(-5px);
}

.info-item i,
.material-item i,
.installation-item i,
.size-option i,
.care-item i,
.support-item i {
  color: var(--primary-rust);
  margin-bottom: var(--spacing-sm);
}

.info-item h4,
.material-item h4,
.installation-item h4,
.size-option h4,
.care-item h4,
.support-item h4 {
  color: var(--primary-burgundy);
  margin-bottom: var(--spacing-xs);
}

/* Color Palettes */
.color-palette {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.color-swatch {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto var(--spacing-sm);
  border: 3px solid white;
  box-shadow: var(--box-shadow);
}

.earth-tones { background: linear-gradient(45deg, #8b4513, #daa520, #cd853f); }
.ocean-blues { background: linear-gradient(45deg, #4682b4, #5f9ea0, #87ceeb); }
.sunset-warm { background: linear-gradient(45deg, #ff6347, #ff8c00, #ffd700); }
.forest-green { background: linear-gradient(45deg, #228b22, #32cd32, #9acd32); }
.neutral-modern { background: linear-gradient(45deg, #696969, #a9a9a9, #d3d3d3); }

.color-palette h4 {
  color: var(--primary-burgundy);
  margin-bottom: var(--spacing-xs);
}

/* FAQ */
.accordion-button {
  background: var(--light-cream);
  border: none;
  color: var(--primary-burgundy);
  font-weight: 500;
}

.accordion-button:not(.collapsed) {
  background: var(--primary-cream);
  color: var(--primary-burgundy);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: var(--primary-rust);
}

.accordion-body {
  background: white;
  color: var(--dark-slate);
}

/* Gallery */
.gallery-section img {
  transition: transform 0.3s ease, opacity 0.3s ease;
  border-radius: var(--border-radius);
}

.gallery-section img:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

/* Contact Form */
.contact-section {
  background: var(--gradient-soft);
}

.form-control {
  border: 2px solid var(--light-cream);
  border-radius: var(--border-radius);
  padding: 0.75rem var(--spacing-sm);
  font-size: var(--font-size-base);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-rust);
  box-shadow: 0 0 0 0.2rem rgba(210, 105, 30, 0.25);
}

.form-check-input:checked {
  background-color: var(--primary-rust);
  border-color: var(--primary-rust);
}

.btn-primary {
  background: var(--gradient-warm);
  border: none;
  padding: 0.75rem var(--spacing-lg);
  font-weight: 600;
  border-radius: var(--border-radius);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--box-shadow-large);
  background: var(--gradient-warm);
}

.contact-info p {
  margin-bottom: var(--spacing-xs);
  color: var(--dark-slate);
  font-weight: 500;
}

/* Breadcrumb */
.breadcrumb-nav {
  padding: 100px 0 var(--spacing-lg);
  background: var(--primary-cream);
}

.breadcrumb-img {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: var(--border-radius);
}

/* Footer */
.footer {
  background: var(--dark-slate);
  color: var(--light-cream);
}

.footer h5 {
  color: var(--primary-cream);
  margin-bottom: var(--spacing-md);
}

.footer p {
  color: var(--light-cream);
  margin-bottom: var(--spacing-xs);
}

.footer a {
  color: var(--light-cream);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--primary-rust);
}

.footer ul {
  list-style: none;
  padding: 0;
}

.footer li {
  margin-bottom: var(--spacing-xs);
}

.footer hr {
  border-color: var(--primary-slate);
  margin: var(--spacing-lg) 0;
}

#site-copyright {
  color: var(--light-cream);
  font-size: var(--font-size-small);
}

/* Space Page */
#space {
  min-height: 70vh;
  background: var(--gradient-earth);
}

/* Utilities */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-5 { margin-bottom: var(--spacing-xl); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
.mt-5 { margin-top: var(--spacing-xl); } 


/* Team Social Links - Elegant Style */
.team-social-links {
    margin-top: 24px;
    padding: 18px 0;
}

.social-icons-grid {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    color: white;
}

.facebook-link {
    background: rgba(24, 119, 242, 0.9);
}

.facebook-link:hover {
    background: rgba(24, 119, 242, 1);
    box-shadow: 0 8px 30px rgba(24, 119, 242, 0.4);
}

.linkedin-link {
    background: rgba(10, 102, 194, 0.9);
}

.linkedin-link:hover {
    background: rgba(10, 102, 194, 1);
    box-shadow: 0 8px 30px rgba(10, 102, 194, 0.4);
}

.x-link {
    background: rgba(0, 0, 0, 0.9);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 19px;
    z-index: 2;
    position: relative;
}

.x-link:hover {
    background: rgba(0, 0, 0, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 12px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 15px;
    }
}
