
:root {


  --violet: #5f129c;
  --blue: #0b87a5;
  --green: #388f0e;
  --orange: #c58717;
  --yellow: #d3ac16;
  --red: #910c0c;


  --main-menu: rgb(145, 129, 158);
  --navi-menu: rgba(73, 28, 119, 0.5);
  --blue-menu: rgba(33, 59, 163, 0.5);
  --red-menu: rgba(206, 95, 95, 0.5);
  --green-menu: rgba(32, 138, 35, 0.5);
  --mint-menu: rgba(46, 172, 146, 0.5);

  --main-bg: rgba(145, 129, 158, 0.5);
  --navi-bg: rgba(73, 28, 119, 0.2);
  --blue-bg: rgba(33, 59, 163, 0.2);
  --red-bg: rgba(206, 95, 95, 0.2);
  --green-bg: rgba(28, 110, 30, 0.2);
  --mint-bg: rgba(46, 172, 146, 0.2);


  --a: linear-gradient(to right, rgb(126, 34, 206), rgb(37, 99, 235));
  --b: linear-gradient(45deg, rgb(142, 95, 183), rgb(91, 107, 166));
  --c: linear-gradient(45deg, var(--violet), var(--blue));
  --e: linear-gradient(45deg, var(--violet), var(--green));
  --f: linear-gradient(45deg, var(--violet), var(--orange));
  --d: linear-gradient(45deg, var(--violet), var(--yellow));


  --card: 0 0% 100%;
  --cardV: hsl(var(--card));
  --card-foreground: 240 10% 20%;
  --card-foregroundV: hsl(var(--card-foreground));
  --popover: 0 0% 100%;
  --popoverV: hsl(var(--popover));
  --popover-foreground: 240 10% 20%;
  --popover-foregroundV: hsl(var(--popover-foreground));
  --primary: 270 49% 48%;
  --primaryV: hsl(var(--primary));
  --primary-foreground: 0 0% 100%;
  --primary-foregroundV: hsl(var(--primary-foreground));
  --secondary: 225 30% 50%;
  --secondaryV: hsl(var(--secondary));
  --secondary-foreground: 0 0% 100%;
  --secondary-foregroundV: hsl(var(--secondary-foreground));
  --muted: 240 5% 96%;
  --mutedV: hsl(var(--muted));
  --muted-foreground: 240 4% 46%;
  --muted-foregroundV: hsl(var(--muted-foreground));
  --accent: 170 64% 59%;
  --accentV: hsl(var(--accent));
  --accent-foreground: 0 0% 100%;
  --accent-foregroundV: hsl(var(--accent-foreground));
  --destructive: 0 84% 60%;
  --destructiveV: hsl(var(--destructive));
  --destructive-foreground: 0 0% 100%;
  --destructive-foregroundV: hsl(var(--destructive-foreground));
  --border: 240 6% 90%;
  --borderV: hsl(var(--border));
  --input: 240 6% 90%;
  --inputV: hsl(var(--input));
  --ring: 240 10% 20%;
  --ringV: hsl(var(--ring));
  --radius: .75rem;
  --sidebar-background: 0 0% 98%;
  --sidebar-backgroundV: hsl(var(--sidebar-background));
  --sidebar-foreground: 240 5% 26%;
  --sidebar-foregroundV: hsl(var(--sidebar-foreground));
  --sidebar-primary: 240 6% 10%;
  --sidebar-primaryV: hsl(var(--sidebar-primary));
  --sidebar-primary-foreground: 0 0% 98%;
  --sidebar-primary-foregroundV: hsl(var(--sidebar-primary-foreground));
  --sidebar-accent: 240 5% 96%;
  --sidebar-accentV: hsl(var(--sidebar-accent));
  --sidebar-accent-foreground: 240 6% 10%;
  --sidebar-accent-foregroundV: hsl(var(--sidebar-accent-foreground));
  --sidebar-border: 220 13% 91%;
  --sidebar-borderV: hsl(var(--sidebar-border));
  --sidebar-ring: 217 91% 60%;
  --sidebar-ringV: hsl(var(--sidebar-ring));

  --shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  --box-shadow: 6px 8px 8px rgba(76, 2, 188, 0.1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  color: var(--foreground);
  background-color: var(--background);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  background: none;
  border: none;
  outline: none;
}

input, textarea {
  font-family: inherit;
}

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

/* Header and Navigation */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: white;
  box-shadow: var(--shadow);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo:hover {
  box-shadow: var(--box-shadow);
}

.logo-icon img {
  height: 100px;
}

.logo-inner {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

.desktop-nav {
  display: none;
}

.desktop-nav nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  position: relative;
  color: var(--muted-foreground);
  font-weight: 500;
  transition: color 0.2s ease;
}

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

.nav-link:hover {
  color: var(--foreground);
  box-shadow: var(--box-shadow);
}

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

.nav-link.active {
  color: var(--foreground);
  font-weight: 600;
}

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

.menu-link {
  position: relative;
  display: inline-block;
  padding: .5rem 1rem;
  color: hsl(var(--foreground));
  transition-property: all;
  transition-timing-function: cubic-bezier(.4,0,.2,1);
  transition-duration: .3s;
  animation-duration: .3s
}

.menu-link:hover {
  color: hsl(var(--primary))
}

.menu-link:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: .125rem;
  width: 0;
  background-color: hsl(var(--primary));
  transition-property: all;
  transition-timing-function: cubic-bezier(.4,0,.2,1);
  transition-duration: .3s;
  animation-duration: .3s
}

.menu-link:hover:after,.menu-link.active:after {
  width: 100%
}

.menu-link.\!active:after {
  width: 100%
}

.menu-link.active,.menu-link.\!active {
  font-weight: 500;
  color: hsl(var(--primary));
}

.navi-b {
  border-top: 10px solid var(--navi-menu);
}
.blue-b {
  border-top: 10px solid var(--blue-menu);
}
.mint-b {
  border-top: 10px solid var(--mint-menu);
}
.red-b {
  border-top: 10px solid var(--red-menu);
}
.green-b {
  border-top: 10px solid var(--green-menu);
}

.h-5 { height: 5px }
.h-10 { height: 10px }
.h-20 { height: 20px }


.lang-btn {
  font-size: 0;
}

.language-switch {
  display: flex;
  gap: 10px;
  padding: 0 20px;
}

.language-switch button {
  color: var(--secondary-foreground);
  padding: 0.2rem 0.2rem;
  border-radius: var(--radius);
  font-weight: 500;
  transition: background-color 0.9s ease;
  text-decoration: none;
  font-size: 24px;
}

.language-switch button:hover {
  background-color: rgba(76, 2, 188, 0.1);
  transition-property: all;
  transition-timing-function: cubic-bezier(.4,0,.2,1);
  transition-duration: .3s;
  animation-duration: .3s
}

.mobile-menu-toggle {
  display: block;
}

.mobile-menu-toggle button {
  color: hsl(var(--sidebar-accent-foreground));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 1.5rem;
  height: 1.125rem;
}

.bar {
  width: 100%;
  height: 2px;
  background-color: hsl(var(--primary));
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu {
  display: none;
  padding: 0.5rem 0 1rem;
  overflow: hidden;
  background-color: white; /* Adding background color for better visibility */
}

.mobile-menu.show {
  display: block;
}

.mobile-nav-link {
  display: block;
  padding: 0.75rem 0.5rem;
  margin: 0.25rem 0;
  border-radius: var(--radius);
  transition: background-color 0.2s ease, color 0.2s ease;
  color: var(--foreground); /* Darker text color for better visibility */
}

.mobile-nav-link:hover {
  background-color: var(--secondary);
}

.mobile-nav-link.active {
  background-color: var(--secondary);
  color: var(--foreground);
  font-weight: 600;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 3rem 0;
  color: white;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
//  background: linear-gradient(135deg, rgba(44, 20, 78, 0.3) 0%, rgb(26, 38, 67, 0.7) 100%);
  background: linear-gradient(135deg, var( --main-menu) 0%, var( --navi-menu) 100%);
  z-index: 1;
}

.navi-gradient {
  background: linear-gradient(135deg, var(--main-menu) 0%, var( --navi-menu) 100%);
}
.green-gradient {
  background: linear-gradient(135deg, var(--main-menu) 0%, var( --green-menu) 100%);
}
.mint-gradient {
  background: linear-gradient(135deg, var(--main-menu) 0%, var( --mint-menu) 100%);
}
.red-gradient {
  background: linear-gradient(135deg, var(--main-menu) 0%, var( --red-menu) 100%);
}
.blue-gradient {
  background: linear-gradient(135deg, var(--main-menu) 0%, var( --blue-menu) 100%);
}
.orange-gradient {
  background: linear-gradient(135deg, var(--main-menu) 0%, var( --orange-menu) 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/banner.png');
  background-size: cover;
  background-position: center;
  mix-blend-mode: luminosity;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.hero-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
  animation: fadeIn 0.6s ease-out forwards;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  opacity: 0.1;
  animation: fadeIn 0.6s 0.2s ease-out forwards;
}

.hero-button {
  display: inline-block;
  color: #2f2f2f;
  background-color: white;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  transition: background-color 0.2s ease;
  animation: scaleIn 0.4s 0.4s ease-out forwards;
  opacity: 0;
}

.hero-button:hover {
  color: black;
  background-image: linear-gradient(135deg, rgb(255, 255, 255), rgba(181, 153, 209, 0.5));
}

/* Featured Sections */
.featured-section {
  padding: 4rem 0;
  background-color: var(--secondary);
}

.featured-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.featured-card {
  background-color: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0 1.5rem 1.5rem 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  animation: fadeIn 0.5s ease-out forwards;
}

.featured-card:hover {
  transform: translateY(-0.25rem);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.featured-image {
  position: relative;
  height: 12rem;
  overflow: hidden;
  border-radius: calc(var(--radius) - 0.25rem);
  margin-bottom: 1rem;
}

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

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

.featured-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: rgba(42, 8, 94, 0.6);
}

.featured-description {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.featured-description-full {
  font-size: 0.9rem;
  color: #4a345e;
  margin-bottom: 1rem;
}

.bg-purple {
  --tw-bg-opacity: 1;
  background-color: rgb(142 95 183 / var(--tw-bg-opacity));
}

.bg-blue {
  --tw-bg-opacity: 1;
  background-color: rgb(91 107 166 / var(--tw-bg-opacity));
}

.bg-teal {
  --tw-bg-opacity: 1;
  background-color: rgb(95 206 183 / var(--tw-bg-opacity));
}

/* Buttons */
.button {
  display: inline-block;
  color: #2f2f2f;
  background-color: #efefef;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-weight: 500;
  animation: scaleIn 0.4s 0.4s ease-out forwards;
  transition: background-color 0.2s ease;
}

.button:hover {
  color: black;
  background-image: linear-gradient(135deg, rgb(239, 239, 239), rgba(181, 153, 209, 0.5));
}

.hero-button {
  display: inline-block;
  color: #2f2f2f;
  background-color: white;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  transition: background-color 0.2s ease;
  animation: scaleIn 0.4s 0.4s ease-out forwards;
  opacity: 0;
}

.hero-button:hover {
  color: black;
  background-image: linear-gradient(135deg, rgb(255, 255, 255), rgba(181, 153, 209, 0.5));
}


/* Product and component Cards */
.page-header {
  padding: 3rem 0;
  background-color: var(--secondary);
  text-align: center;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--muted-foreground);
}

.products-grid, .components-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.product-card, .component-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  animation: fadeIn 0.5s ease-out forwards;
}

.product-card:hover, .component-card:hover {
  transform: translateY(-0.25rem);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-image, .component-image {
  height: 12rem;
  overflow: hidden;
}

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

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

.product-content, .component-content {
  padding: 1rem 1.5rem;
}

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

.product-description, .component-description {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
  min-height: 3rem;
}

.product-meta, .component-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.component-category, .component-subcategory {
  display: inline-block;
  font-size: 0.875rem;
  padding: 0.05rem 0.5rem;
  border-radius: var(--radius);
  background-color: var(--navi-bg);
}

.product-category, .product-subcategory {
  display: inline-block;
  font-size: 0.875rem;
  padding: 0.05rem 0.5rem;
  border-radius: var(--radius);
  background-color: var(--navi-bg);
}


.product-footer, .component-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
}

.price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

/* Catalog Layout */
.catalog-section {
  padding: 3rem 0;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.catalog-sidebar {
  background-color: white;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.sidebar-section {
  margin-bottom: 2rem;
}

.sidebar-section:last-child {
  margin-bottom: 0;
}

.sidebar-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary);
}

.categories-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.category-button {
  width: 100%;
  text-align: left;
  padding: 0.5rem 0.75rem;
  background-color: var(--secondary);
  border-radius: var(--radius);
  font-weight: 500;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.category-button:hover {
  background-image: linear-gradient(135deg, rgb(239, 239, 239), rgba(181, 153, 209, 0.5));
}

.category-button.active {
  background-color: var(--navi-bg);
  color: var(--primary-foreground);
}

.category-group {
  margin-bottom: 0.5rem;
}

.subcategories {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  margin-left: 1rem;
  margin-top: 0.5rem;
}

.subcategory-button {
  width: 100%;
  text-align: left;
  padding: 0.5rem 0.75rem;
  background-color: var(--muted);
  border-radius: var(--radius);
  font-weight: 400;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.subcategory-button:hover {
  background-color: #e9e9e9;
}

.subcategory-button.active {
  background-color: #e0e0e0;
  font-weight: 500;
}

.sort-controls {
  width: 100%;
}

.sort-select {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--input);
  color: var(--foreground);
}

.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 0;
  color: var(--navi-menu);
}

/* Product Details Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 100;
  overflow-y: auto;
  padding: 1rem;
}

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: white;
  border-radius: var(--radius);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.product-details-content {
  padding: 2rem;
}

.product-details-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.product-details-header h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  margin-right: 1rem;
}

.close-button {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--muted-foreground);
  transition: color 0.2s ease;
}

.close-button:hover {
  color: var(--foreground);
}

.product-gallery {
  margin-bottom: 1rem;
}

.main-image {
  height: 240px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1rem;
}

.main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.thumbnail-images {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.thumbnail {
  width: 60px;
  height: 60px;
  border-radius: calc(var(--radius) - 0.25rem);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s ease;
}

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

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}


.product-description {
  margin-bottom: 1rem;
  line-height: 1.5;
}

.back-button {
  margin-top: 1rem;
}

/* Contact Form */
.contact-section {
  padding: 3rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.contact-form-container {
  background: #fefefe;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 500;
  color: var(--foreground);
}

.form-group input,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--mint-menu);
  border-radius: var(--radius);
  background-color: var(--input);
  color: var(--foreground);
  width: 100%;
  transition: border-color 0.2s ease;
}

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

.submit-button {
  background-color: var(--mint-bg);
  color: var(--primary);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  transition: background-color 0.2s ease;
  align-self: flex-start;
}

.submit-button:hover {
  background-color: var(--mint-menu);
}

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

.info-card {
  background: white;
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.info-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

/* Footer */
.footer {
  background-color: rgb(51 51 66); //#515166FF
  color: white;
  padding: 3rem 0 2rem;
}

.footer-heading {
  color: white;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-logo-icon {
  background: white;
}

.footer-logo-icon .logo-inner {
  color: var(--primary);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: white;
}

.footer-address {
  font-style: normal;
  color: rgba(255, 255, 255, 0.8);
}

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

.social-link {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s ease;
}

.social-link:hover {
  color: white;
}

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

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

/* Mobile menu animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
    max-height: 0;
  }
  to {
    opacity: 1;
    transform: translateY(0);
    max-height: 400px;
  }
}

@keyframes slideUp {
  from {
    opacity: 1;
    transform: translateY(0);
    max-height: 400px;
  }
  to {
    opacity: 0;
    transform: translateY(-20px);
    max-height: 0;
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.mobile-menu-enter {
  animation: slideDown 0.4s ease forwards;
}

.mobile-menu-exit {
  animation: slideUp 0.4s ease forwards;
}

.mobile-nav-link:nth-child(1) {
  animation-delay: 0.1s;
}

.mobile-nav-link:nth-child(2) {
  animation-delay: 0.2s;
}

.mobile-nav-link:nth-child(3) {
  animation-delay: 0.3s;
}

.mobile-nav-link:nth-child(4) {
  animation-delay: 0.4s;
}

/* Media Queries */
@media (min-width: 640px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .featured-grid,
  .products-grid,
  .components-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 3fr 2fr;
  }
  
  .catalog-layout {
    grid-template-columns: 250px 1fr;
  }
}

@media (min-width: 1024px) {
  .desktop-nav {
    display: block;
  }

  .mobile-menu-toggle {
    display: none;
  }

  .hero-title {
    font-size: 2.25rem;
  }
  
  .featured-grid,
  .products-grid,
  .components-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-content {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .catalog-layout {
    grid-template-columns: 300px 1fr;
  }
}

@media (max-width: 767px) {
  .product-details-content {
    padding: 1.5rem;
  }
  
  .main-image {
    height: 200px;
  }
  
  .thumbnail {
    width: 60px;
    height: 60px;
  }

  .h-5 { height: 8px }
  .h-10 { height: 14px }
  .h-20 { height: 28px }
}
