/* ========================================
   SITE.CSS - UMBRELLA STORE
   Arquivo principal que importa toda a hierarquia CSS
   ======================================== */

/* 1. Reset/Normalize */
@import 'reset.css';

/* 2. Variáveis Globais */
@import 'variables.css';

/* 3. Base/Global */
@import 'global.css';

/* 4. Layout (será criado futuramente) */
/* @import 'layout.css'; */

/* 5. Componentes */
/* @import 'components/buttons.css'; */
/* @import 'components/forms.css'; */
@import 'components/navigation.css';

/* 6. Páginas Específicas */
@import 'auth.css';
@import 'pages/home.css';
@import 'pages/produtos.css';
@import 'pages/produto-details.css';
@import 'pages/carrinho.css';

/* 7. Utilities (será criado futuramente) */
/* @import 'utilities.css'; */

/* ===== ESTILOS ESPECÍFICOS DO SITE ===== */

/* Override do Bootstrap para manter compatibilidade */
.btn:focus, 
.btn:active:focus, 
.btn-link.nav-link:focus, 
.form-control:focus, 
.form-check-input:focus {
  box-shadow: 0 0 0 0.1rem rgba(255, 255, 255, 0.25), 0 0 0 0.25rem var(--accent-focus);
}

/* Ajustes específicos para responsividade */
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  html {
    font-size: 14px;
  }
}

/* ===== COMPONENTES ESPECÍFICOS DA UMBRELLA STORE ===== */

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--secondary-bg) 0%, var(--tertiary-bg) 100%);
  padding: var(--spacing-5xl) 0;
}

/* Product Cards */
.product-card {
  transition: all var(--transition-normal);
  border: 1px solid var(--border-primary);
  background-color: var(--card-bg);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent-blue);
}

.product-price {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--success-green);
}

.product-original-price {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  text-decoration: line-through;
}

/* Badge de tipo de produto */
.product-type-badge {
  position: absolute;
  top: var(--spacing-sm);
  right: var(--spacing-sm);
  z-index: 10;
}

/* Loading States */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid var(--accent-blue);
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Navbar customizado */
.navbar-umbrella {
  backdrop-filter: blur(10px);
  background-color: rgba(30, 41, 59, 0.95) !important;
}

/* Footer customizado */
.footer-umbrella {
  background: linear-gradient(135deg, var(--secondary-bg) 0%, var(--primary-bg) 100%);
}

/* ===== UTILITÁRIOS ESPECÍFICOS ===== */

/* Gradientes da marca */
.bg-gradient-primary {
  background: var(--brand-gradient);
}

.text-gradient {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Shadows customizadas */
.shadow-umbrella {
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.1);
}

.shadow-umbrella-lg {
  box-shadow: 0 20px 60px rgba(59, 130, 246, 0.15);
}

/* Bordas especiais */
.border-gradient {
  border: 2px solid transparent;
  background: linear-gradient(var(--card-bg), var(--card-bg)) padding-box,
              var(--brand-gradient) border-box;
}

/* ===== ANIMAÇÕES ESPECÍFICAS ===== */

/* Hover effects para cards */
.hover-lift {
  transition: transform var(--transition-normal);
}

.hover-lift:hover {
  transform: translateY(-8px);
}

/* Pulse effect para CTAs */
.pulse-cta {
  animation: pulse-cta 2s infinite;
}

@keyframes pulse-cta {
  0% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
}
  70% {
    box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
  }
}

/* ===== DARK MODE ESPECÍFICO ===== */
/* Tema escuro é o padrão da Umbrella Store, mesmo se o usuário preferir claro */

/* ===== PRINT STYLES ===== */
@media print {
  .navbar,
  .footer,
  .btn {
    display: none !important;
  }
  
  .container {
    max-width: none !important;
  }
}