/* Custom styles for MadeByMeTees - vibrant, paint-splash inspired */

:root {
  --primary-blue: #00a8ff;
  --primary-pink: #ff2e63;
  --primary-yellow: #ffc107;
  --primary-purple: #9b59b6;
  --dark: #1a1a2e;
  --light: #f8f9fa;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  background: linear-gradient(135deg, #f0f4ff 0%, #fff5f7 50%, #fff9e6 100%);
  min-height: 100vh;
  color: var(--dark);
  overflow-x: hidden;
}

/* Paint splash background accents */
.paint-bg {
  position: relative;
}

.paint-bg::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0,168,255,0.15) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.paint-bg::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,46,99,0.12) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

/* Navigation */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-link {
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-blue), var(--primary-pink));
  transition: width 0.3s ease;
  border-radius: 2px;
}

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

/* Hero section */
.hero {
  background: linear-gradient(135deg, #e0f2fe 0%, #fce7f3 40%, #fef3c7 100%);
  position: relative;
  overflow: hidden;
}

.hero-logo {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15));
  transition: transform 0.5s ease;
}

.hero-logo:hover {
  transform: scale(1.03) rotate(-1deg);
}

.cta-btn {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-pink));
  color: white;
  font-weight: 700;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  border: none;
  box-shadow: 0 10px 30px rgba(255,46,99,0.35);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(255,46,99,0.45);
  color: white;
}

.cta-btn-outline {
  background: transparent;
  border: 3px solid var(--primary-pink);
  color: var(--primary-pink);
  font-weight: 700;
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.cta-btn-outline:hover {
  background: var(--primary-pink);
  color: white;
  transform: translateY(-3px);
}

/* Feature cards */
.feature-card {
  background: white;
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.06);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid transparent;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.12);
  border-color: var(--primary-blue);
}

.feature-icon {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.25rem;
}

/* Process steps */
.process-step {
  text-align: center;
  position: relative;
}

.process-icon {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 2rem;
  color: white;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.process-step:hover .process-icon {
  transform: scale(1.1) rotate(5deg);
}

/* Product cards */
.product-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.product-img {
  height: 280px;
  background: linear-gradient(135deg, #f0f9ff, #fdf2f8);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Customizer specific */
.customizer-preview {
  background: linear-gradient(145deg, #f8fafc, #e2e8f0);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: inset 0 2px 10px rgba(0,0,0,0.05);
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

#tshirt-canvas {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.control-panel {
  background: white;
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.color-swatch {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.color-swatch:hover, .color-swatch.active {
  transform: scale(1.2);
  box-shadow: 0 0 0 3px var(--primary-pink);
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: white;
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.footer a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color 0.3s;
}

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

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.float-anim {
  animation: float 4s ease-in-out infinite;
}

@keyframes splash {
  0% { transform: scale(0.8); opacity: 0.7; }
  50% { transform: scale(1.05); opacity: 1; }
  100% { transform: scale(0.8); opacity: 0.7; }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-logo {
    max-width: 90%;
  }
  
  .process-icon {
    width: 70px;
    height: 70px;
    font-size: 1.5rem;
  }
}

/* Badge / Tagline */
.tagline-badge {
  background: linear-gradient(90deg, var(--primary-blue), var(--primary-pink), var(--primary-yellow));
  color: white;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2px;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  display: inline-block;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

/* Section titles */
.section-title {
  font-weight: 800;
  font-size: 2.5rem;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Upload zone */
.upload-zone {
  border: 3px dashed #cbd5e1;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  background: #f8fafc;
}

.upload-zone:hover, .upload-zone.dragover {
  border-color: var(--primary-pink);
  background: #fdf2f8;
}

/* Success toast */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}
