/*
      _/_/    _/    _/  _/      _/    _/_/    _/_/_/_/_/  _/_/_/_/  _/      _/
   _/    _/  _/    _/  _/_/  _/_/  _/    _/      _/      _/          _/  _/
  _/_/_/_/  _/    _/  _/  _/  _/  _/_/_/_/      _/      _/_/_/        _/
 _/    _/  _/    _/  _/      _/  _/    _/      _/      _/          _/  _/
_/    _/    _/_/    _/      _/  _/    _/      _/      _/_/_/_/  _/      _/

PROJECT:     Aumatex Official Website
FILE:        src/styles/components.css
PURPOSE:     Defines reusable UI component styles and shared UI patterns.
STACK:       CSS (Custom + Tailwind utilities)
CREATED:     2026-01-27
AUTHOR:      Aumatex srls | www.aumatex.it
REPOSITORY:  https://github.com/aumadev/aumatex
LICENSE:     Proprietary Software
SECURITY:    Do not expose, share or modify without authorization.
RIGHTS:      © 2025–2026 Aumatex srls. All rights reserved.

Unauthorized reproduction, distribution or modification
without prior written consent is strictly prohibited.
*/

.nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: var(--z-nav);
  border-bottom: 1px solid transparent;
  transition: background var(--dur-3) var(--ease-1), border-color var(--dur-3) var(--ease-1);
}

.nav.is-scrolled {
  background: var(--lux-glass-bg);
  backdrop-filter: blur(var(--blur-md));
  border-color: var(--color-border);
}

.nav__inner {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
}

.nav__links {
  display: flex;
  gap: var(--space-xl);
  font-size: var(--fs-2);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
}

.nav__cta {
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  transition: color var(--dur-2) var(--ease-1), background var(--dur-2) var(--ease-1);
}

.nav__cta:hover {
  background: var(--color-accent);
  color: var(--lux-bg-1);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  background: radial-gradient(1200px circle at 70% -20%, var(--lux-hero-accent), transparent 60%);
}

.hero__title {
  font-size: var(--fs-9);
  line-height: var(--lh-tight);
  letter-spacing: -0.03em;
}

.hero__subtitle {
  font-size: var(--fs-5);
  max-width: 520px;
}

.hero__meta {
  display: flex;
  gap: var(--space-xl);
  align-items: center;
  font-size: var(--fs-2);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  color: var(--color-text-muted);
}

.hero__media {
  position: relative;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  background: linear-gradient(145deg, var(--lux-panel-start) 0%, var(--lux-panel-end) 100%);
  padding: var(--space-3xl);
  box-shadow: var(--shadow-2);
}


.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  font-size: var(--fs-1);
  color: var(--color-text-muted);
}

.section-title {
  font-size: var(--fs-7);
  margin-bottom: var(--space-sm);
}

.section-lead {
  max-width: 560px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  font-size: var(--fs-1);
  color: var(--color-text-muted);
}

.btn {
  padding: 1rem 2.5rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.02em;
  transition: transform var(--dur-2) var(--ease-1), border-color var(--dur-2) var(--ease-1);
}

.btn--primary {
  background: var(--color-accent);
  color: var(--lux-bg-1);
  border-color: transparent;
}

.btn--ghost {
  color: var(--color-text);
}

.btn--ghost:hover {
  border-color: var(--color-accent);
}

.card {
  padding: var(--space-2xl);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  transition: border-color var(--dur-2) var(--ease-1), transform var(--dur-2) var(--ease-1);
}

.card__title {
  font-size: var(--fs-5);
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  display: grid;
  place-items: center;
  color: var(--color-accent);
  margin-bottom: var(--space-lg);
}

.card:hover {
  border-color: var(--color-accent);
  transform: translateY(-4px);
}

.product-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  min-height: 420px;
}

.product-card__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform var(--dur-4) var(--ease-3);
}

.product-card:hover .product-card__media {
  transform: scale(1.04);
}

.product-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: var(--space-2xl);
  max-width: 520px;
}

.product-card__tag {
  display: inline-flex;
  align-items: center;
  padding: var(--space-2xs) var(--space-sm);
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  font-size: var(--fs-1);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  margin-bottom: var(--space-md);
}

.product-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, var(--black-85) 0%, var(--black-25) 60%, transparent 100%);
}

.footer {
  border-top: 1px solid var(--color-border);
  background: var(--lux-bg-2);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-2xl);
}

.footer__meta {
  font-size: var(--fs-2);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
}

.ticker {
  overflow: hidden;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface-2);
}

.ticker__mask {
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.ticker__track {
  display: flex;
  gap: var(--space-3xl);
  width: max-content;
  animation: ticker-scroll 40s linear infinite;
}

@keyframes ticker-scroll {
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticker__track {
    animation: none;
  }
}

.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background: var(--glass-surface);
  backdrop-filter: blur(var(--blur-md));
  border-top: 1px solid var(--color-border);
  padding: var(--space-lg) 0;
  transform: translateY(200%);
  opacity: 0;
  transition: transform var(--dur-4) var(--ease-1), opacity var(--dur-4) var(--ease-1);
}

.cookie-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.modal {
  position: fixed;
  inset: 0;
  background: var(--color-overlay);
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
}

.modal.is-open {
  display: flex;
}

.modal__panel {
  width: min(100%, 520px);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-3);
}

@media (max-width: 960px) {
  .nav__links {
    display: none;
  }
  .hero__title {
    font-size: var(--fs-8);
  }
}
