:root {
  --primary-color: #2d3e50;
  --primary-hover: #1a2632;
  --secondary-color: #e8491d;
  --secondary-hover: #c73e19;
  --accent-green: #15BC64;
  --accent-yellow: #F9B41E;
  --accent-pink: #E30D83;
  --accent-blue: #0DA4E1;
  --text-color: #333333;
  --text-light: #666666;
  --bg-light: #f8f9fa;
  --white: #ffffff;
  --shadow: rgba(0, 0, 0, 0.1);
  --shadow-dark: rgba(0, 0, 0, 0.2);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
  position: relative;
}

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

img[data-force-visible] {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
  width: 100%;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-pink), var(--accent-yellow), var(--accent-green));
  border-radius: 2px;
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-light);
  text-align: center;
  margin-bottom: 3rem;
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--secondary-color);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--secondary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(232, 73, 29, 0.3);
}

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

.btn-secondary:hover {
  background: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--white);
  box-shadow: 0 2px 10px var(--shadow);
  z-index: 1000;
  transition: var(--transition);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 2rem;
}

.logo-wrapper {
  flex-shrink: 0;
}

.logo {
  height: clamp(25px, 4vw, 40px);
  width: auto;
}

.nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-list {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  font-weight: 500;
  color: var(--text-color);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-blue);
  transition: var(--transition);
}

.nav-list li:nth-child(1) .nav-link::after { background: var(--secondary-color); }
.nav-list li:nth-child(2) .nav-link::after { background: var(--accent-blue); }
.nav-list li:nth-child(3) .nav-link::after { background: var(--accent-pink); }
.nav-list li:nth-child(4) .nav-link::after { background: var(--accent-yellow); }
.nav-list li:nth-child(5) .nav-link::after { background: var(--accent-green); }

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

.nav-link:focus-visible {
  outline: 2px solid var(--secondary-color);
  outline-offset: 4px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-switcher {
  display: flex;
  gap: 0.5rem;
  background: var(--bg-light);
  padding: 0.3rem;
  border-radius: 25px;
}

.lang-btn {
  padding: 0.4rem 1rem;
  border: none;
  background: transparent;
  color: var(--text-color);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Poppins', sans-serif;
}

.lang-btn:hover {
  background: var(--white);
}

.lang-btn.active {
  background: var(--secondary-color);
  color: var(--white);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--primary-color);
}

.hamburger .material-icons {
  font-size: 2rem;
}

.nav-lang-item {
  display: none;
}

.nav-overlay {
  display: none;
}

@media (max-width: 820px) {
  body {
    font-size: 1.1rem;
  }

  .header-container {
    padding: 0.5rem 1rem;
  }

  /* Overlay sombre derrière le menu */
  .nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    z-index: 998;
  }

  .nav-overlay.active {
    display: block;
    opacity: 1;
    visibility: visible;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 340px;
    height: 100vh;
    background: var(--white);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.2);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    padding: 7rem 0 2rem;
    overflow-y: auto;
  }

  .nav.active {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    padding: 0;
  }

  .nav-list li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .nav-list li:last-child {
    border-bottom: none;
  }

  .nav-link {
    padding: 1.4rem 2.5rem;
    font-size: 1.05rem;
    font-weight: 500;
    margin: 0;
    position: relative;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.3px;
    display: block;
  }

  .nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--accent-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav-list li:nth-child(1) .nav-link::before { background: var(--secondary-color); }
  .nav-list li:nth-child(2) .nav-link::before { background: var(--accent-blue); }
  .nav-list li:nth-child(3) .nav-link::before { background: var(--accent-pink); }
  .nav-list li:nth-child(4) .nav-link::before { background: var(--accent-yellow); }
  .nav-list li:nth-child(5) .nav-link::before { background: var(--accent-green); }

  .nav-link:hover {
    background: linear-gradient(90deg, rgba(232, 73, 29, 0.08) 0%, transparent 100%);
    color: var(--secondary-color);
    padding-left: 3rem;
  }

  .nav-list li:nth-child(1) .nav-link:hover {
    background: linear-gradient(90deg, rgba(232, 73, 29, 0.08) 0%, transparent 100%);
    color: var(--secondary-color);
  }

  .nav-list li:nth-child(2) .nav-link:hover {
    background: linear-gradient(90deg, rgba(13, 164, 225, 0.08) 0%, transparent 100%);
    color: var(--accent-blue);
  }

  .nav-list li:nth-child(3) .nav-link:hover {
    background: linear-gradient(90deg, rgba(227, 13, 131, 0.08) 0%, transparent 100%);
    color: var(--accent-pink);
  }

  .nav-list li:nth-child(4) .nav-link:hover {
    background: linear-gradient(90deg, rgba(249, 180, 30, 0.08) 0%, transparent 100%);
    color: var(--accent-yellow);
  }

  .nav-list li:nth-child(5) .nav-link:hover {
    background: linear-gradient(90deg, rgba(21, 188, 100, 0.08) 0%, transparent 100%);
    color: var(--accent-green);
  }

  .nav-link:hover::before {
    transform: scaleX(1);
  }

  .hamburger {
    display: block;
    z-index: 1001;
  }

  /* Cacher le language switcher du header quand le hamburger apparaît */
  .header-right .lang-switcher {
    display: none;
  }

  /* Afficher le language switcher dans le menu hamburger */
  .nav-lang-item {
    display: block;
    padding: 2.5rem 2.5rem 2rem;
    margin-top: 2rem;
    border-top: 2px solid rgba(0, 0, 0, 0.08);
    border-bottom: none;
  }

  .lang-switcher-mobile {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
  }

  .lang-switcher-mobile .lang-btn {
    padding: 0.5rem 1.3rem;
    font-size: 0.9rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
  }
}

.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 55%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-image-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 45%;
  margin-left: 55%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 3rem;
  padding-top: calc(clamp(36px, 8vw, 70px) + 3rem);
  background: var(--bg-light);
  color: var(--primary-color);
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  text-align: left;
  line-height: 1.2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.hero-title span {
  white-space: nowrap;
}

.hero-logo {
  height: clamp(50px, 6vw, 80px);
  width: auto;
  margin: 0;
}

.hero-logo-wrapper {
  position: relative;
  display: inline-block;
  padding: 0.5rem;
}

.hero-logo-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at center,
    rgba(232, 73, 29, 0.08) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.8s ease;
  border-radius: 8px;
  pointer-events: none;
}

.hero-logo-wrapper::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  background: linear-gradient(
    135deg,
    transparent 30%,
    rgba(255, 255, 255, 0.15) 50%,
    transparent 70%
  );
  opacity: 0;
  animation: subtleShine 6s ease-in-out 3s infinite;
  pointer-events: none;
  border-radius: 8px;
}

.hero-logo-wrapper:hover::before {
  opacity: 1;
}

.hero-logo-animated {
  animation:
    logoFadeIn 1s ease-out 0.5s both,
    gentleFloat 4s ease-in-out 2s infinite;
  filter: drop-shadow(0 2px 8px rgba(45, 62, 80, 0.1));
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

.hero-logo-wrapper:hover .hero-logo-animated {
  transform: translateY(-3px);
  filter: drop-shadow(0 4px 16px rgba(232, 73, 29, 0.2));
}

@keyframes logoFadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes gentleFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes subtleShine {
  0%, 100% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(0deg);
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(5deg);
  }
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  margin-bottom: 2.5rem;
  color: var(--text-light);
  text-align: left;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  flex-wrap: wrap;
  width: 100%;
}

.hero-buttons .btn {
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hero-buttons .btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
}

.hero-buttons .btn:hover::before {
  width: 300px;
  height: 300px;
}

.hero-buttons .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.hero-buttons .btn-primary {
  animation: subtleGlow 3s ease-in-out 1.5s infinite;
}

@keyframes subtleGlow {
  0%, 100% {
    box-shadow: 0 2px 8px rgba(232, 73, 29, 0.2);
  }
  50% {
    box-shadow: 0 4px 16px rgba(232, 73, 29, 0.35);
  }
}

.hero-navigation {
  display: none;
}

.hero-prev,
.hero-next {
  display: none;
}

.hero-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 3;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero-dot.active {
  background: var(--white);
  width: 30px;
  border-radius: 6px;
}

.hero-dot:hover {
  transform: scale(1.3);
  border-color: var(--white);
}

@media (max-width: 820px) {
  .hero {
    flex-direction: column;
    height: auto;
  }

  .hero-slider {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 50vh;
    min-height: 400px;
    margin-top: calc(clamp(36px, 8vw, 70px));
  }

  .hero-content {
    width: 100%;
    margin-left: 0;
    padding: 3rem 2rem;
    padding-top: 3rem;
    align-items: center;
    text-align: center;
    background: var(--white);
  }

  .hero-title {
    text-align: center;
    align-items: center;
  }

  .hero-logo {
    height: clamp(40px, 8vw, 65px);
    width: auto;
    margin: 0;
  }

  .hero-logo-wrapper {
    display: inline-block;
  }

  .hero-subtitle {
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
  }

  .hero-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 480px) {
  .hero {
    height: auto;
    max-width: 100%;
    overflow: hidden;
  }

  .hero-slider {
    width: 100%;
    max-width: 100%;
    margin-top: calc(clamp(36px, 8vw, 70px));
    padding: 0;
    position: relative;
    height: 50vh;
    min-height: 350px;
  }

  .hero-slide {
    width: 100%;
  }

  .hero-image-wrapper {
    width: 100%;
    max-width: 100%;
  }

  .hero-image {
    width: 100%;
  }

  .hero-content {
    width: 100%;
    padding: 2rem 1.5rem;
    padding-top: 2rem;
    margin: 0;
    margin-left: 0;
  }

  .hero-title {
    align-items: center;
  }

  .hero-logo {
    height: clamp(35px, 10vw, 55px);
    width: auto;
    margin: 0;
  }

  .hero-logo-wrapper {
    display: inline-block;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
  }

  .hero-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
  }

  /* Fix container et sections qui dépassent */
  .container {
    padding: 0 1rem;
    max-width: 100%;
  }

  main {
    overflow-x: hidden;
    max-width: 100%;
  }

  section {
    max-width: 100%;
    overflow-x: hidden;
  }
}

.about {
  padding: 5rem 0;
  background: var(--white);
}

.about .section-title {
  margin-bottom: 3rem;
}

.about-content {
  display: flex;
  gap: 3rem;
  align-items: center;
  flex-wrap: wrap;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-values {
  display: flex;
  gap: 2rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.value-item {
  flex: 1;
  min-width: 150px;
  text-align: center;
  padding: 1.5rem;
  background: var(--white);
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
}

.value-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--accent-green);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 15px 15px 0 0;
}

.value-item:nth-child(1)::before { background: linear-gradient(135deg, var(--accent-blue), #0B8AC7); }
.value-item:nth-child(2)::before { background: linear-gradient(135deg, var(--accent-pink), #C00A6F); }
.value-item:nth-child(3)::before { background: linear-gradient(135deg, var(--accent-yellow), #D9A119); }

.value-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  border-color: currentColor;
}

.value-item:nth-child(1):hover {
  border-color: var(--accent-blue);
}

.value-item:nth-child(2):hover {
  border-color: var(--accent-pink);
}

.value-item:nth-child(3):hover {
  border-color: var(--accent-yellow);
}

.value-item:hover::before {
  height: 100%;
  opacity: 0.08;
}

.value-item h3 {
  color: var(--accent-green);
  font-size: 1.2rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.value-item:nth-child(1) h3 { color: var(--accent-blue); }
.value-item:nth-child(2) h3 { color: var(--accent-pink); }
.value-item:nth-child(3) h3 { color: var(--accent-yellow); }

.about-description {
  margin-bottom: 1.5rem;
  color: var(--text-light);
  font-size: 1.1rem;
}

.about-motto {
  margin-top: 2rem;
  padding: 2.5rem;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-blue), var(--accent-pink));
  border-radius: 15px;
  color: var(--white);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.about-motto::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(249, 180, 30, 0.25) 0%, transparent 70%);
  animation: pulse 4s ease-in-out infinite;
}

.about-motto::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.05) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.05) 75%, rgba(255, 255, 255, 0.05));
  background-size: 40px 40px;
  opacity: 0.3;
  pointer-events: none;
}

@keyframes pulse {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.5; }
  50% { transform: scale(1.1) rotate(5deg); opacity: 0.8; }
}

.motto-line {
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.motto-emphasis {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.about-image {
  flex: 1;
  min-width: 300px;
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-image:hover img {
  transform: translateY(-5px);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.18);
}

@media (max-width: 820px) {
  .about {
    padding: 3rem 0;
  }

  .about-content {
    flex-direction: column;
  }

  .about-values {
    flex-direction: column;
    gap: 1rem;
  }

  .value-item {
    min-width: 100%;
  }
}

.products {
  padding: 5rem 0;
  background: #f8f9fa;
}

.products-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.product-card {
  flex: 1 1 calc(25% - 2rem);
  min-width: 250px;
  max-width: 300px;
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px var(--shadow);
  transition: var(--transition);
  border: 3px solid transparent;
  position: relative;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 10px;
  padding: 3px;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-pink));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: var(--transition);
}

.product-card:nth-child(1)::before { background: linear-gradient(135deg, var(--accent-blue), var(--accent-pink)); }
.product-card:nth-child(2)::before { background: linear-gradient(135deg, var(--accent-pink), var(--accent-yellow)); }
.product-card:nth-child(3)::before { background: linear-gradient(135deg, var(--accent-yellow), var(--accent-green)); }
.product-card:nth-child(4)::before { background: linear-gradient(135deg, var(--accent-green), var(--accent-blue)); }
.product-card:nth-child(5)::before { background: linear-gradient(135deg, var(--accent-blue), var(--accent-yellow)); }
.product-card:nth-child(6)::before { background: linear-gradient(135deg, var(--accent-pink), var(--accent-green)); }
.product-card:nth-child(7)::before { background: linear-gradient(135deg, var(--accent-yellow), var(--accent-blue)); }
.product-card:nth-child(8)::before { background: linear-gradient(135deg, var(--accent-green), var(--accent-pink)); }

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px var(--shadow-dark);
}

.product-card:hover::before {
  opacity: 1;
}

.product-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.product-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(13, 164, 225, 0.3), rgba(227, 13, 131, 0.3));
  opacity: 0;
  transition: var(--transition);
  z-index: 1;
}

.product-card:nth-child(1) .product-image::before { background: linear-gradient(135deg, rgba(13, 164, 225, 0.3), rgba(227, 13, 131, 0.3)); }
.product-card:nth-child(2) .product-image::before { background: linear-gradient(135deg, rgba(227, 13, 131, 0.3), rgba(249, 180, 30, 0.3)); }
.product-card:nth-child(3) .product-image::before { background: linear-gradient(135deg, rgba(249, 180, 30, 0.3), rgba(21, 188, 100, 0.3)); }
.product-card:nth-child(4) .product-image::before { background: linear-gradient(135deg, rgba(21, 188, 100, 0.3), rgba(13, 164, 225, 0.3)); }
.product-card:nth-child(5) .product-image::before { background: linear-gradient(135deg, rgba(13, 164, 225, 0.3), rgba(249, 180, 30, 0.3)); }
.product-card:nth-child(6) .product-image::before { background: linear-gradient(135deg, rgba(227, 13, 131, 0.3), rgba(21, 188, 100, 0.3)); }
.product-card:nth-child(7) .product-image::before { background: linear-gradient(135deg, rgba(249, 180, 30, 0.3), rgba(13, 164, 225, 0.3)); }
.product-card:nth-child(8) .product-image::before { background: linear-gradient(135deg, rgba(21, 188, 100, 0.3), rgba(227, 13, 131, 0.3)); }

.product-card:hover .product-image::before {
  opacity: 1;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.product-content {
  padding: 1.5rem;
}

.product-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  transition: var(--transition);
}

.product-card:hover .product-title {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.product-card:nth-child(1):hover .product-title { background: linear-gradient(135deg, var(--accent-blue), var(--accent-pink)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.product-card:nth-child(2):hover .product-title { background: linear-gradient(135deg, var(--accent-pink), var(--accent-yellow)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.product-card:nth-child(3):hover .product-title { background: linear-gradient(135deg, var(--accent-yellow), var(--accent-green)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.product-card:nth-child(4):hover .product-title { background: linear-gradient(135deg, var(--accent-green), var(--accent-blue)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.product-card:nth-child(5):hover .product-title { background: linear-gradient(135deg, var(--accent-blue), var(--accent-yellow)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.product-card:nth-child(6):hover .product-title { background: linear-gradient(135deg, var(--accent-pink), var(--accent-green)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.product-card:nth-child(7):hover .product-title { background: linear-gradient(135deg, var(--accent-yellow), var(--accent-blue)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.product-card:nth-child(8):hover .product-title { background: linear-gradient(135deg, var(--accent-green), var(--accent-pink)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.product-description {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 820px) {
  .products {
    padding: 3rem 0;
  }

  .product-card {
    flex: 1 1 calc(50% - 1rem);
    min-width: 200px;
  }
}

@media (max-width: 480px) {
  .product-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

.gallery {
  padding: 5rem 0;
  background: var(--white);
}

.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.gallery-item {
  flex: 1 1 calc(33.333% - 1.5rem);
  min-width: 250px;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
  position: relative;
  box-shadow: 0 4px 15px var(--shadow);
  transition: var(--transition);
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px var(--shadow-dark);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.gallery-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.gallery-page-btn,
.gallery-dot {
  padding: 0.5rem 1rem;
  border: none;
  background: var(--white);
  color: var(--primary-color);
  border-radius: 5px;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
}

.gallery-page-btn:hover,
.gallery-dot:hover {
  background: var(--secondary-color);
  color: var(--white);
}

.gallery-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border-radius: 50%;
  background: var(--text-light);
}

.gallery-dot.active {
  background: var(--secondary-color);
  width: 30px;
  border-radius: 6px;
}

@media (max-width: 820px) {
  .gallery {
    padding: 3rem 0;
  }

  .gallery-item {
    flex: 1 1 calc(50% - 1rem);
    min-width: 150px;
  }
}

@media (max-width: 480px) {
  .gallery-item {
    flex: 1 1 100%;
  }
}

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  position: relative;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 5px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid var(--white);
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
}

.lightbox-close {
  top: 2rem;
  right: 2rem;
}

.lightbox-prev {
  left: 2rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
}

@media (max-width: 820px) {
  .lightbox-close,
  .lightbox-prev,
  .lightbox-next {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .lightbox-close {
    top: 1rem;
    right: 1rem;
  }

  .lightbox-prev {
    left: 1rem;
  }

  .lightbox-next {
    right: 1rem;
  }
}

.contact {
  padding: 5rem 0;
  background: #f8f9fa;
}

.contact-wrapper {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.contact-left,
.contact-right {
  flex: 1;
  min-width: 300px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: 10px;
  transition: var(--transition);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contact-item:hover {
  transform: translateX(10px);
  box-shadow: 0 4px 15px var(--shadow);
}

.contact-item i {
  font-size: 2rem;
  color: var(--accent-green);
  flex-shrink: 0;
  transition: var(--transition);
}

.contact-item:nth-child(1) i { color: var(--accent-blue); }
.contact-item:nth-child(2) i { color: var(--accent-pink); }
.contact-item:nth-child(3) i { color: var(--accent-yellow); }
.contact-item:nth-child(4) i { color: var(--accent-green); }

.contact-item:hover i {
  transform: scale(1.2) rotate(5deg);
}

.contact-item h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.contact-item p {
  color: var(--text-light);
  font-size: 1rem;
}

.contact-item a {
  color: var(--text-light);
  transition: var(--transition);
}

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

.contact-item a:focus-visible {
  outline: 2px solid var(--secondary-color);
  outline-offset: 2px;
}

.contact-form {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px var(--shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid transparent;
  border-radius: 5px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  background: var(--white);
  transition: var(--transition);
}

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

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
}

@media (max-width: 820px) {
  .contact {
    padding: 3rem 0;
  }

  .contact-wrapper {
    flex-direction: column-reverse;
  }

  .contact-item {
    flex-direction: row;
  }
}

.footer {
  background: var(--primary-color);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.footer-col {
  flex: 1;
  min-width: 250px;
}

.footer-logo {
  height: 30px;
  width: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.footer-description {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.footer-col h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--white);
}

.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a,
.footer-contact li {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a:hover {
  color: var(--secondary-color);
  transform: translateX(5px);
}

.footer-contact i {
  color: var(--accent-green);
  font-size: 1.1rem;
}

.footer-contact li:nth-child(1) i { color: var(--accent-blue); }
.footer-contact li:nth-child(2) i { color: var(--accent-pink); }
.footer-contact li:nth-child(3) i { color: var(--accent-yellow); }

.footer-contact a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact a:hover {
  color: var(--secondary-color);
}

.footer-contact a:focus-visible {
  outline: 2px solid var(--secondary-color);
  outline-offset: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom p {
  margin-bottom: 0.5rem;
}

.dev-credit {
  font-size: 0.9rem;
  opacity: 0.8;
}

.dev-credit a {
  color: var(--secondary-color);
  font-weight: 500;
  transition: var(--transition);
}

.dev-credit a:hover {
  color: var(--accent-green);
  text-decoration: underline;
}

.dev-credit a:focus-visible {
  outline: 2px solid var(--secondary-color);
  outline-offset: 2px;
}

@media (max-width: 820px) {
  .footer-content {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-col {
    min-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-logo-animated {
    animation: none !important;
    filter: drop-shadow(0 4px 12px rgba(232, 73, 29, 0.15)) !important;
  }

  .hero-logo-wrapper::before {
    animation: none !important;
    display: none !important;
  }

  .hero-buttons .btn-primary {
    animation: none !important;
  }
}