/* Silly Yak Treats - Warm & Approachable Design */
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700&family=Nunito:wght@400;600;700;800&display=swap');

:root {
  /* Brand Colors */
  --primary-purple: #5B4FCE;
  --primary-coral: #FF6B9D;
  --accent-yellow: #FFB84D;
  --warm-cream: #FFF8F0;
  --soft-white: #FFFFFF;
  --text-dark: #2D2D2D;
  --text-medium: #5A5A5A;
  --text-light: #8A8A8A;
  --border-light: #E8D5C4;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 4rem;
  
  /* Typography */
  --font-display: 'Quicksand', sans-serif;
  --font-body: 'Nunito', sans-serif;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(91, 79, 206, 0.1);
  --shadow-md: 0 4px 16px rgba(91, 79, 206, 0.15);
  --shadow-lg: 0 8px 32px rgba(91, 79, 206, 0.2);
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--warm-cream);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary-purple);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: var(--spacing-md);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--spacing-md);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: var(--spacing-sm);
}

p {
  margin-bottom: var(--spacing-sm);
  font-size: 1.1rem;
}

a {
  color: var(--primary-purple);
  text-decoration: none;
  transition: all 0.3s ease;
}

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

/* Header & Navigation */
header {
  background: var(--soft-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.header-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--spacing-sm) var(--spacing-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-md);
}

.logo {
  height: 80px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05) rotate(-2deg);
}

nav {
  display: flex;
  gap: var(--spacing-md);
  align-items: center;
}

nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: 25px;
  transition: all 0.3s ease;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--primary-coral);
  transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
  width: 80%;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--primary-purple);
  cursor: pointer;
  padding: var(--spacing-xs);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--warm-cream) 0%, #FFE8F0 100%);
  padding: var(--spacing-xl) var(--spacing-md);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 107, 157, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
}

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

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  color: var(--primary-purple);
  margin-bottom: var(--spacing-md);
  animation: fadeInUp 0.8s ease-out;
}

.hero-text p {
  font-size: 1.2rem;
  width: 100%;
  color: var(--text-medium);
  margin-bottom: var(--spacing-md);
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

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

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-image img,
.hero-image .placeholder-image {
  /*width: 100%;*/
  width: auto;
  max-height: 600px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.placeholder-image {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-coral) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-align: center;
  padding: var(--spacing-md);
}

/* CTA Buttons */
.cta-buttons {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
  margin-top: var(--spacing-md);
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary-purple);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--primary-coral);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: white;
  color: var(--primary-purple);
  border: 2px solid var(--primary-purple);
}

.btn-secondary:hover {
  background: var(--primary-purple);
  color: white;
  transform: translateY(-3px);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--spacing-xl) var(--spacing-md);
}

/* Section Styles */
section {
  padding: var(--spacing-xl) var(--spacing-md);
  animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.section-title {
  text-align: center;
  margin-bottom: var(--spacing-lg);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 100px;
  height: 4px;
  background: var(--primary-coral);
  margin: var(--spacing-sm) auto 0;
  border-radius: 2px;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.product-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  animation: fadeInUp 0.6s ease-out both;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }

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

.product-image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: linear-gradient(135deg, var(--warm-cream) 0%, #FFE8F0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--primary-purple);
}

.product-info {
  padding: var(--spacing-md);
}

.product-info h3 {
  color: var(--primary-purple);
  margin-bottom: var(--spacing-sm);
}

.product-info p {
  color: var(--text-medium);
  margin-bottom: var(--spacing-sm);
}

.product-price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-coral);
  margin: var(--spacing-sm) 0;
}

/* Subscription Section */
.subscription-section {
  background: linear-gradient(135deg, var(--primary-purple) 0%, #8B7CE8 100%);
  color: white;
  text-align: center;
  border-radius: 30px;
  padding: var(--spacing-xl);
  margin: var(--spacing-xl) 0;
  box-shadow: var(--shadow-lg);
}

.subscription-section h2 {
  color: white;
}

.subscription-section p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto var(--spacing-md);
}

/* Forms */
.form-group {
  margin-bottom: var(--spacing-md);
}

label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--primary-purple);
  margin-bottom: var(--spacing-xs);
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--border-light);
  border-radius: 15px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary-purple);
  box-shadow: 0 0 0 3px rgba(91, 79, 206, 0.1);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input[type="checkbox"],
input[type="radio"] {
  margin-right: var(--spacing-xs);
  width: 1.2rem;
  height: 1.2rem;
  cursor: pointer;
}

.checkbox-group,
.radio-group {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.checkbox-group label,
.radio-group label {
  display: flex;
  align-items: center;
  font-weight: 400;
  color: var(--text-dark);
  cursor: pointer;
}

.required {
  color: var(--primary-coral);
}

/* Contact Info */
.contact-info {
  background: white;
  padding: var(--spacing-lg);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  margin-bottom: var(--spacing-lg);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
  font-size: 1.1rem;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--primary-purple);
}

/* Social Links */
.social-links {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: center;
  margin-top: var(--spacing-md);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-purple);
  color: white;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary-coral);
  transform: translateY(-3px) rotate(5deg);
}

/* Footer */
footer {
  background: var(--primary-purple);
  color: white;
  padding: var(--spacing-lg) var(--spacing-md);
  text-align: center;
}

footer p {
  margin: var(--spacing-xs) 0;
  font-size: 0.95rem;
}

.legal-text {
  font-size: 10pt;
  line-height: 1.5;
  margin: var(--spacing-md) 0;
  padding: var(--spacing-sm);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

/* Story Content */
.story-content {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  padding: var(--spacing-xl);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}

.story-content p {
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: var(--spacing-md);
}

.story-content h3 {
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-sm);
}

/* Responsive Design */
@media (max-width: 968px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: var(--spacing-md);
    box-shadow: var(--shadow-md);
  }
  
  nav.active {
    display: flex;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  :root {
    --spacing-xl: 2rem;
    --spacing-lg: 2rem;
  }
  
  .logo {
    height: 60px;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .story-content {
    padding: var(--spacing-md);
  }
}
