:root {
  --primary-color: #7c3aed;
  --primary-dark: #6d28d9;
  --secondary-color: #f3f4f6;
  --text-dark: #1f2937;
  --text-muted: #6b7280;
  --border-color: #e5e7eb;
  --white: #ffffff;
  --dark-bg: #111827;
}

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

html,
body {
  height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--white);
}

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

a:hover {
  color: var(--primary-dark);
}

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

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
}

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

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

.brand-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: -0.5px;
}

.navbar {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.nav-link {
  color: var(--text-dark) !important;
  font-weight: 500;
  margin-left: 1rem;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-color) !important;
}

.hero-section {
  background: linear-gradient(135deg, var(--white) 0%, var(--secondary-color) 100%);
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.min-vh-50 {
  min-height: 50vh;
}

.min-vh-75 {
  min-height: 75vh;
}

.category-card {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  height: 400px;
}

.category-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.category-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--white);
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 2rem;
}

.category-card:hover .category-overlay {
  opacity: 1;
}

.category-overlay h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.category-overlay p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.feature-box {
  padding: 2rem;
  background: var(--secondary-color);
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.feature-box:hover {
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.1);
  transform: translateY(-5px);
}

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

.feature-box h4 {
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.feature-box p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  padding: 1.5rem;
  height: 100%;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
  border-color: var(--primary-color);
}

.product-image {
  height: 250px;
  object-fit: cover;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.product-card h5 {
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.product-description {
  flex-grow: 1;
  color: var(--text-muted);
}

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

.category-preview-card {
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.category-preview-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.category-preview-card img {
  height: 250px;
  object-fit: cover;
}

.page-header {
  background: linear-gradient(135deg, var(--white) 0%, var(--secondary-color) 100%);
}

.page-header h1 {
  color: var(--text-dark);
  font-weight: 700;
}

.contact-info-box {
  background: var(--secondary-color);
  padding: 1.5rem;
  border-radius: 0.5rem;
}

.contact-info-box h6 {
  color: var(--primary-color);
  font-weight: 600;
}

.contact-info-box p {
  color: var(--text-dark);
}

.contact-info-box a {
  color: var(--primary-color);
  font-weight: 500;
}

.form-control {
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  padding: 0.75rem;
  font-size: 1rem;
  color: var(--text-dark);
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(124, 58, 237, 0.25);
}

.form-group label {
  color: var(--text-dark);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.custom-control-label {
  color: var(--text-dark);
}

.custom-control-label a {
  color: var(--primary-color);
  text-decoration: underline;
}

.thank-you-icon {
  font-size: 4rem;
  color: var(--primary-color);
  font-weight: 700;
}

.cta-section {
  background: var(--secondary-color);
}

.cta-section h3 {
  color: var(--text-dark);
  font-weight: 700;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark-bg);
  color: var(--white);
  padding: 1.5rem;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1030;
}

.cookie-banner a {
  color: var(--primary-color);
}

.cookie-banner h6 {
  color: var(--white);
  font-weight: 600;
}

footer {
  margin-top: auto;
}

footer a {
  transition: color 0.3s ease;
}

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

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

  .hero-subtitle {
    font-size: 1rem;
  }

  .gap-3 {
    gap: 0.5rem !important;
  }

  .gap-3 .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }

  .category-card {
    height: 300px;
  }

  .category-overlay h3 {
    font-size: 1.4rem;
  }

  .category-overlay p {
    font-size: 0.9rem;
  }

  .product-image {
    height: 200px;
  }

  .page-header h1 {
    font-size: 1.75rem;
  }

  .cookie-banner .col-md-4 {
    margin-top: 1rem;
  }

  .cookie-banner .col-md-4 {
    text-align: left;
  }

  .btn-sm {
    width: 100%;
    margin-bottom: 0.5rem;
  }

  footer .row {
    text-align: center;
  }

  footer .row:last-child {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
  }
}

@media (max-width: 576px) {
  .navbar-brand {
    font-size: 1.25rem;
  }

  .nav-link {
    margin-left: 0;
    padding: 0.5rem 0;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }

  .col-md-6,
  .col-md-4,
  .col-md-8,
  .offset-md-2 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
