/*
Theme Name: 3D MASTER TECH
Theme URI: https://3dmtec.com
Author: 3D MASTER TECH
Author URI: https://3dmtec.com
Description: Thème WordPress professionnel pour 3D MASTER TECH - Fabrication et conception de pièces de rechange industrielles, agricoles et automobiles. Un thème one-page moderne et responsive.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: 3dmastertech
Tags: one-page, custom-logo, custom-colors, translation-ready, rtl-language-support
*/

/* ==========================================================================
   CSS Variables - Brand Colors
   ========================================================================== */
:root {
  /* Primary Colors */
  --primary: hsl(0, 85%, 55%);
  --primary-foreground: hsl(0, 0%, 100%);
  --primary-hover: hsl(0, 85%, 45%);
  
  /* Secondary Colors (Dark Blue) */
  --secondary: hsl(240, 60%, 35%);
  --secondary-foreground: hsl(0, 0%, 100%);
  
  /* Accent Colors (Yellow) */
  --accent: hsl(45, 100%, 55%);
  --accent-foreground: hsl(222, 47%, 11%);
  
  /* Background & Foreground */
  --background: hsl(0, 0%, 100%);
  --foreground: hsl(222, 47%, 11%);
  
  /* Card */
  --card: hsl(0, 0%, 98%);
  --card-foreground: hsl(222, 47%, 11%);
  
  /* Muted */
  --muted: hsl(220, 14%, 96%);
  --muted-foreground: hsl(220, 9%, 46%);
  
  /* Border */
  --border: hsl(220, 13%, 91%);
  
  /* Shadows */
  --shadow-brand: 0 4px 20px hsla(0, 85%, 55%, 0.25);
  --shadow-card: 0 4px 24px hsla(220, 13%, 50%, 0.08);
  --shadow-elevated: 0 12px 40px hsla(220, 13%, 50%, 0.12);
  
  /* Gradients */
  --gradient-hero: linear-gradient(180deg, hsl(240, 60%, 20%), hsl(240, 60%, 10%));
  
  /* Border Radius */
  --radius: 0.75rem;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--foreground);
  background-color: var(--background);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-accent { color: var(--accent); }
.text-muted { color: var(--muted-foreground); }
.text-white { color: #fff; }

.bg-primary { background-color: var(--primary); }
.bg-secondary { background-color: var(--secondary); }
.bg-accent { background-color: var(--accent); }
.bg-muted { background-color: var(--muted); }

.section-label {
  display: block;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 3rem;
  }
}

.section-desc {
  color: var(--muted-foreground);
  font-size: 1.125rem;
  max-width: 42rem;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-brand);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: #fff;
  color: var(--primary);
  border: 2px solid transparent;
}

.btn-secondary:hover {
  background-color: var(--secondary);
  color: #fff;
}

.btn-outline {
  background-color: transparent;
  color: var(--foreground);
  border: 2px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-lg {
  padding: 1.125rem 2rem;
  font-size: 1.125rem;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo img {
  height: 3rem;
  width: auto;
  transition: transform 0.3s ease;
}

.site-logo:hover img {
  transform: scale(1.02);
}

.main-nav {
  display: none;
}

@media (min-width: 1024px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
}

.nav-link {
  position: relative;
  font-weight: 500;
  color: #fff;
  transition: color 0.3s ease;
}

.site-header.scrolled .nav-link {
  color: var(--foreground);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--accent);
}

.site-header.scrolled .nav-link:hover {
  color: var(--primary);
}

.nav-link-shop {
  color: var(--accent);
  font-weight: 600;
}

.site-header.scrolled .nav-link-shop {
  color: var(--primary);
}

.header-actions {
  display: none;
}

@media (min-width: 1024px) {
  .header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
}

/* Language Selector */
.language-selector {
  display: flex;
  gap: 0.25rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 0.25rem;
}

.site-header.scrolled .language-selector {
  background: var(--muted);
}

.lang-btn {
  padding: 0.375rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: calc(var(--radius) - 2px);
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all 0.2s ease;
}

.site-header.scrolled .lang-btn {
  color: var(--muted-foreground);
}

.lang-btn.active {
  background: var(--primary);
  color: #fff;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: flex;
  padding: 0.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu-toggle svg {
  width: 1.5rem;
  height: 1.5rem;
  color: #fff;
}

.site-header.scrolled .mobile-menu-toggle svg {
  color: var(--foreground);
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--background);
  border-top: 1px solid var(--border);
  padding: 1rem;
}

.mobile-nav.active {
  display: block;
}

@media (min-width: 1024px) {
  .mobile-nav {
    display: none !important;
  }
}

.mobile-nav a {
  display: block;
  padding: 0.75rem 0;
  font-weight: 500;
  color: var(--foreground);
  border-bottom: 1px solid var(--border);
}

.mobile-nav a:hover {
  color: var(--primary);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--gradient-hero);
}

.hero-background {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-shape {
  position: absolute;
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.hero-shape:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.hero-shape:nth-child(2) { top: 20%; right: 15%; animation-delay: 1s; }
.hero-shape:nth-child(3) { bottom: 30%; left: 20%; animation-delay: 2s; }
.hero-shape:nth-child(4) { bottom: 20%; right: 10%; animation-delay: 3s; }
.hero-shape:nth-child(5) { top: 50%; left: 5%; animation-delay: 4s; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(10deg); }
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 56rem;
  padding: 0 1rem;
}

.hero-logo {
  height: 6rem;
  margin: 0 auto 2rem;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

@media (min-width: 768px) {
  .hero-logo {
    height: 8rem;
  }
}

@media (min-width: 1024px) {
  .hero-logo {
    height: 10rem;
  }
}

.hero-slogan {
  color: var(--accent);
  font-size: 1.125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2rem;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-indicator-inner {
  width: 1.5rem;
  height: 2.5rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 9999px;
  display: flex;
  justify-content: center;
  padding-top: 0.5rem;
}

.scroll-indicator-dot {
  width: 0.375rem;
  height: 0.375rem;
  background: var(--primary);
  border-radius: 50%;
  animation: scroll-bounce 2s infinite;
}

@keyframes scroll-bounce {
  0%, 100% { opacity: 1; transform: translateY(0); }
  50% { opacity: 0.3; transform: translateY(8px); }
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about {
  padding: 5rem 0;
  background: var(--background);
}

.about-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }
}

.about-text {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.expertise-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .expertise-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.expertise-card {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--muted);
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.expertise-card:hover {
  background: var(--background);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.expertise-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  border-radius: 0.5rem;
}

.expertise-title {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--foreground);
}

.expertise-desc {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

/* Stats Card */
.stats-card {
  background: var(--secondary);
  border-radius: 1.5rem;
  padding: 2rem;
  color: #fff;
}

.stats-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  opacity: 0.8;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.trust-badge svg {
  color: var(--accent);
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services {
  padding: 5rem 0;
  background: var(--muted);
}

.services-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1280px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-card {
  background: var(--background);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  cursor: pointer;
}

.service-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}

.service-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-icon.primary {
  background: hsla(0, 85%, 55%, 0.1);
  color: var(--primary);
}

.service-icon.secondary {
  background: hsla(240, 60%, 35%, 0.1);
  color: var(--secondary);
}

.service-icon.accent {
  background: hsla(45, 100%, 55%, 0.2);
  color: var(--accent-foreground);
}

.service-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--foreground);
  transition: color 0.3s ease;
}

.service-card:hover .service-title {
  color: var(--primary);
}

.service-desc {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.service-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover .service-link {
  opacity: 1;
}

/* ==========================================================================
   Process Section
   ========================================================================== */
.process {
  padding: 5rem 0;
  background: var(--background);
  position: relative;
  overflow: hidden;
}

.process-bg {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: radial-gradient(circle at 1px 1px, var(--primary) 1px, transparent 0);
  background-size: 40px 40px;
}

.process-grid {
  display: grid;
  gap: 2rem;
  position: relative;
  z-index: 10;
}

@media (min-width: 768px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process-step {
  text-align: center;
  position: relative;
}

.process-connector {
  display: none;
  position: absolute;
  top: 2.5rem;
  left: 60%;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--border), transparent);
}

@media (min-width: 1024px) {
  .process-step:not(:last-child) .process-connector {
    display: block;
  }
}

.process-icon-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.process-icon {
  width: 5rem;
  height: 5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease;
}

.process-step:hover .process-icon {
  transform: scale(1.1) rotate(5deg);
}

.process-icon.primary {
  background: var(--primary);
  color: #fff;
}

.process-icon.secondary {
  background: var(--secondary);
  color: #fff;
}

.process-icon.accent {
  background: var(--accent);
  color: var(--accent-foreground);
}

.process-number {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  width: 2rem;
  height: 2rem;
  background: var(--background);
  border: 2px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.875rem;
}

.process-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--foreground);
}

.process-desc {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* ==========================================================================
   Gallery Section
   ========================================================================== */
.gallery {
  padding: 5rem 0;
  background: var(--background);
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  background: var(--muted);
  color: var(--foreground);
}

.filter-btn:hover {
  background: var(--muted);
  opacity: 0.8;
}

.filter-btn.active {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-brand);
}

.gallery-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-item {
  background: var(--card);
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  cursor: pointer;
}

.gallery-item:hover {
  box-shadow: var(--shadow-elevated);
  transform: translateY(-4px);
}

.gallery-image {
  position: relative;
  height: 14rem;
  overflow: hidden;
}

.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--background), transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-category {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  padding: 0.375rem 0.75rem;
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
  transform: translateY(1rem);
  opacity: 0;
  transition: all 0.3s ease;
}

.gallery-item:hover .gallery-category {
  transform: translateY(0);
  opacity: 1;
}

.gallery-content {
  padding: 1.5rem;
}

.gallery-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--foreground);
  transition: color 0.3s ease;
}

.gallery-item:hover .gallery-title {
  color: var(--primary);
}

.gallery-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ==========================================================================
   Why Us Section
   ========================================================================== */
.why-us {
  padding: 5rem 0;
  background: var(--secondary);
  position: relative;
  overflow: hidden;
}

.why-us-bg {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image: 
    linear-gradient(white 1px, transparent 1px),
    linear-gradient(90deg, white 1px, transparent 1px);
  background-size: 60px 60px;
}

.why-us-grid {
  display: grid;
  gap: 2rem;
  position: relative;
  z-index: 10;
}

@media (min-width: 768px) {
  .why-us-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .why-us-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.why-us-card {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
  border-radius: 1rem;
  transition: background 0.3s ease;
}

.why-us-card:hover {
  background: rgba(255, 255, 255, 0.1);
}

.why-us-icon {
  flex-shrink: 0;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.why-us-card:hover .why-us-icon {
  transform: scale(1.1);
}

.why-us-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--accent-foreground);
}

.why-us-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #fff;
  transition: color 0.3s ease;
}

.why-us-card:hover .why-us-title {
  color: var(--accent);
}

.why-us-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

/* ==========================================================================
   Clients Section
   ========================================================================== */
.clients {
  padding: 5rem 0;
  background: var(--muted);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 60rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .clients-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

.client-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: var(--background);
  border-radius: 1rem;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.client-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-card);
}

.client-card img {
  max-height: 5rem;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.client-card:hover img {
  filter: grayscale(0%);
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.testimonials {
  padding: 5rem 0;
  background: var(--muted);
}

.testimonial-card {
  max-width: 56rem;
  margin: 0 auto;
  background: var(--background);
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

@media (min-width: 768px) {
  .testimonial-card {
    padding: 3rem;
  }
}

.testimonial-quote-icon {
  width: 3rem;
  height: 3rem;
  color: var(--primary);
  opacity: 0.3;
  margin-bottom: 1.5rem;
}

.testimonial-content {
  font-size: 1.25rem;
  color: var(--foreground);
  line-height: 1.8;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .testimonial-content {
    font-size: 1.5rem;
  }
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.125rem;
}

.testimonial-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--foreground);
}

.testimonial-role {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.testimonial-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.testimonial-nav-btn {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--background);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--muted-foreground);
}

.testimonial-nav-btn:hover {
  color: var(--primary);
  border-color: var(--primary);
}

.testimonial-dots {
  display: flex;
  gap: 0.5rem;
}

.testimonial-dot {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background: var(--muted-foreground);
  opacity: 0.3;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial-dot.active {
  width: 2rem;
  border-radius: 9999px;
  background: var(--primary);
  opacity: 1;
}

/* ==========================================================================
   Quote Form Section
   ========================================================================== */
.quote-section {
  padding: 5rem 0;
  background: var(--muted);
}

.quote-form-wrapper {
  max-width: 42rem;
  margin: 0 auto;
}

.quote-form {
  background: var(--background);
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

@media (min-width: 768px) {
  .quote-form {
    padding: 3rem;
  }
}

.form-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  margin-bottom: 0;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--background);
  color: var(--foreground);
  transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-textarea {
  resize: vertical;
  min-height: 8rem;
}

.project-types {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .project-types {
    grid-template-columns: repeat(3, 1fr);
  }
}

.type-btn {
  padding: 0.625rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid var(--border);
  background: var(--muted);
  color: var(--foreground);
  cursor: pointer;
  transition: all 0.3s ease;
}

.type-btn:hover {
  border-color: var(--primary);
}

.type-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.file-upload {
  position: relative;
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.file-upload:hover {
  border-color: var(--primary);
}

.file-upload input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-upload svg {
  color: var(--muted-foreground);
  margin: 0 auto 0.5rem;
}

.file-upload p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.file-types {
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

.submit-btn {
  width: 100%;
  padding: 1.125rem 2rem;
  font-size: 1.125rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--foreground);
  color: #fff;
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}

.footer-brand {}

.footer-logo {
  height: 3rem;
  margin-bottom: 1rem;
}

.footer-slogan {
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.footer-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary);
}

.footer-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary);
}

.contact-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
}

.contact-item svg {
  flex-shrink: 0;
  color: var(--primary);
}

.contact-item a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: var(--primary);
}

.newsletter-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-input {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 0.9375rem;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--primary);
}

.newsletter-btn {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius);
  background: var(--primary);
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.newsletter-btn:hover {
  background: var(--primary-hover);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.copyright {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

.legal-links {
  display: flex;
  gap: 1.5rem;
}

.legal-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.legal-links a:hover {
  color: var(--primary);
}

/* ==========================================================================
   Floating Contact Button
   ========================================================================== */
.floating-contact {
  position: fixed;
  bottom: 6rem;
  right: 1.5rem;
  z-index: 50;
}

@media (min-width: 1024px) {
  .floating-contact {
    bottom: 2rem;
  }
}

.floating-btn {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--primary);
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-brand);
  transition: all 0.3s ease;
}

.floating-btn:hover {
  transform: scale(1.1);
  background: var(--primary-hover);
}

/* Sticky CTA Mobile */
.sticky-cta {
  display: block;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
}

@media (min-width: 1024px) {
  .sticky-cta {
    display: none;
  }
}

.sticky-cta .btn {
  width: 100%;
}

/* ==========================================================================
   Shop / Boutique Styles
   ========================================================================== */
.shop-header {
  padding: 8rem 0 3rem;
  background: var(--gradient-hero);
  text-align: center;
}

.shop-title {
  color: #fff;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.shop-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
}

.shop-section {
  padding: 4rem 0;
}

.shop-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.products-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 640px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-card {
  background: var(--background);
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.product-card:hover {
  box-shadow: var(--shadow-elevated);
  transform: translateY(-4px);
}

.product-image {
  position: relative;
  height: 16rem;
  background: var(--muted);
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.375rem 0.75rem;
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
}

.product-badge.new {
  background: var(--accent);
  color: var(--accent-foreground);
}

.product-content {
  padding: 1.5rem;
}

.product-category {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.product-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.product-desc {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.product-footer {
  display: flex;
  gap: 0.75rem;
}

.product-footer .btn {
  flex: 1;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
}

/* ==========================================================================
   Page Content Styles
   ========================================================================== */
.page-content {
  padding: 6rem 0 3rem;
}

.page-title {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--foreground);
}

.entry-content {
  line-height: 1.8;
  color: var(--muted-foreground);
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  color: var(--foreground);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.entry-content p {
  margin-bottom: 1.5rem;
}

.entry-content ul,
.entry-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.entry-content li {
  margin-bottom: 0.5rem;
}

/* ==========================================================================
   Animations
   ========================================================================== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevated);
}

/* Counter animation */
.counter {
  display: inline-block;
}

/* ==========================================================================
   WooCommerce Compatibility
   ========================================================================== */
.woocommerce .products {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.woocommerce .product {
  background: var(--background);
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.woocommerce .product:hover {
  box-shadow: var(--shadow-elevated);
  transform: translateY(-4px);
}

.woocommerce .button,
.woocommerce .wc-block-components-button {
  background-color: var(--primary);
  color: var(--primary-foreground);
  border: none;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  transition: all 0.3s ease;
}

.woocommerce .button:hover,
.woocommerce .wc-block-components-button:hover {
  background-color: var(--primary-hover);
}
