/* 
  Design Philosophy: Galeria de Arte Pop 3D
  Core Principles: Diversão, Formas Orgânicas, Cores como Emoção, Narrativa Visual
  Colors: 
    - Background: #111111 (Dark)
    - Primary Blue: #3850F0
    - Primary Orange: #FF8C00
    - Text: #F0F0F0
  Font: Poppins
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  --bg-color: #111111;
  --card-bg: #1a1a1a;
  --text-main: #F0F0F0;
  --text-muted: #a0a0a0;
  --primary-blue: #3850F0;
  --primary-orange: #FF8C00;
  --accent-purple: #8A2BE2;
  --gradient-blue: linear-gradient(135deg, #3850F0, #1E90FF);
  --gradient-orange: linear-gradient(135deg, #FF8C00, #FF4500);
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.3);
  --shadow-hover: 0 20px 40px rgba(56, 80, 240, 0.2);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
}

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

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Background Blobs Animation */
.blob-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: float 20s infinite ease-in-out;
}

.blob-1 {
  top: -10%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: var(--primary-blue);
  animation-delay: 0s;
}

.blob-2 {
  bottom: -10%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: var(--primary-orange);
  animation-delay: -5s;
}

.blob-3 {
  top: 40%;
  left: 40%;
  width: 300px;
  height: 300px;
  background: var(--accent-purple);
  animation-delay: -10s;
  opacity: 0.2;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -50px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* Header & Hero */
header {
  padding: 2rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(17, 17, 17, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -1px;
}

.logo span:nth-child(1) { color: var(--primary-blue); }
.logo span:nth-child(2) { color: var(--primary-orange); }
.logo span:nth-child(3) { color: var(--text-main); }

nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

nav a {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
}

nav a i {
  margin-right: 8px;
}

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

.hero {
  text-align: center;
  padding: 6rem 1rem 4rem;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, #fff, #ccc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 3rem;
}

.cta-buttons {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--gradient-blue);
  color: white;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s;
  box-shadow: 0 10px 20px rgba(56, 80, 240, 0.3);
}

.cta-button:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 30px rgba(56, 80, 240, 0.5);
}

/* Filters */
.filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  padding: 0 1rem;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--text-main);
  color: var(--bg-color);
  transform: translateY(-2px);
}

/* Gallery Grid (Masonry-ish) */
.gallery-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem 6rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s forwards;
}

@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  z-index: 10;
}

.card-image-container {
  position: relative;
  overflow: hidden;
  padding-top: 100%; /* Square aspect ratio */
}

.card-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.card-badges {
  position: absolute;
  top: 15px;
  left: 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 2;
}

.badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(5px);
}

.badge.dourado { background: rgba(255, 217, 0, 0.589); color: #000000; border: 1px solid rgba(255, 215, 0, 0.4); }
.badge.prata { background: rgba(192, 192, 192, 0.553); color: #000000; border: 1px solid rgba(192, 192, 192, 0.4); }
.badge.articulado { background: rgba(8, 152, 242, 0.803); color: #000000; border: 1px solid rgba(56, 80, 240, 0.4); }
.badge.nfc { background: rgba(0, 255, 128, 0.726); color: #000000; border: 1px solid rgba(0, 255, 127, 0.4); }

.card-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(to bottom, var(--card-bg), #222);
}

.product-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.product-price {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  gap: 10px;
}

.price-wholesale {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* Info Section */
.info-section {
  background: rgba(255, 255, 255, 0.03);
  padding: 5rem 2rem;
  margin-top: 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.info-container {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.info-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-orange);
}

.info-card p {
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.info-card ul {
  list-style: none;
  padding-left: 0;
}

.info-card li {
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-muted);
}

.info-card li::before {
  content: '•';
  color: var(--primary-blue);
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 1.2rem;
  line-height: 1;
}

/* Footer */
footer {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 100;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.5rem; }
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; }
  .card-content { padding: 1rem; }
  .product-title { font-size: 1rem; }
  .product-price { font-size: 1rem; flex-direction: column; align-items: flex-start; gap: 2px; }
  .badge { padding: 2px 8px; font-size: 0.65rem; }
}
