/* ===================================
   GORKA'S POKÉ BARN - STYLES
   Modern, warm, collector-focused
   =================================== */

:root {
  /* Brand Colors */
  --barn-red: #c0392b;
  --barn-red-dark: #962d22;
  --gold: #f1c40f;
  --gold-light: #f9e076;
  --grass: #27ae60;
  --grass-light: #58d68d;
  --sky: #3498db;
  
  /* Neutrals */
  --cream: #fdf6e3;
  --cream-dark: #f5edd6;
  --wood: #8b5a2b;
  --wood-dark: #5d3a1a;
  --text: #2c1810;
  --text-muted: #6b5344;
  --white: #ffffff;
  
  /* UI */
  --shadow-sm: 0 2px 8px rgba(44, 24, 16, 0.08);
  --shadow-md: 0 8px 24px rgba(44, 24, 16, 0.12);
  --shadow-lg: 0 16px 48px rgba(44, 24, 16, 0.16);
  --shadow-glow: 0 0 60px rgba(241, 196, 15, 0.3);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  
  --transition: 0.2s ease;
  --transition-slow: 0.4s ease;
}

/* ===================================
   DARK MODE - Pokemon Night Theme
   =================================== */
[data-theme="dark"] {
  --cream: #1a1a2e;
  --cream-dark: #16162a;
  --text: #e8e8e8;
  --text-muted: #a0a0b0;
  --white: #242442;
  --wood: #4a3c6b;
  --wood-dark: #2d2445;
  
  /* Adjusted shadows for dark mode */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 60px rgba(241, 196, 15, 0.2);
}

/* Smooth transitions for theme changes */
body,
.header,
.card,
.footer,
.section,
.btn,
.nav-link,
.hero,
.hero-content,
.feature-card,
.testimonial-card,
.event-card,
.social-bar,
input,
textarea {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Dark mode specific overrides */
[data-theme="dark"] .header {
  background: rgba(26, 26, 46, 0.95);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .header.scrolled {
  background: rgba(26, 26, 46, 0.98);
}

[data-theme="dark"] .nav-link {
  color: var(--text);
}

[data-theme="dark"] .nav-link:hover {
  color: var(--gold);
}

[data-theme="dark"] .social-bar {
  background: rgba(22, 22, 42, 0.9);
}

[data-theme="dark"] .hero-bg-img {
  filter: brightness(0.6);
}

[data-theme="dark"] .bg-pattern {
  opacity: 0.03;
}

[data-theme="dark"] .card,
[data-theme="dark"] .feature-card,
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .event-card {
  background: var(--white);
  border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .footer {
  background: #0f0f1a;
}

[data-theme="dark"] .page-loader {
  background: var(--cream);
}

[data-theme="dark"] input,
[data-theme="dark"] textarea,
[data-theme="dark"] select {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--text);
}

[data-theme="dark"] input:focus,
[data-theme="dark"] textarea:focus,
[data-theme="dark"] select:focus {
  border-color: var(--gold);
}

/* Dark mode toggle button */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-width: 42px;
  height: 42px;
  padding: 0 0.9rem;
  background: transparent;
  border: 2px solid var(--text);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.3s ease;
  margin-right: 0.75rem;
  font: inherit;
  color: var(--text);
}

.theme-toggle:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.05);
}

.theme-toggle:hover svg,
.theme-toggle:hover .theme-toggle-text {
  color: var(--cream);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  color: var(--text);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
}

.theme-toggle:hover svg {
  transform: rotate(15deg);
}

/* Sun icon (shown in dark mode) */
.theme-toggle .theme-toggle-text {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  color: var(--text);
  transition: color 0.3s ease;
  white-space: nowrap;
}

.theme-toggle .sun-icon {
  display: none;
}

[data-theme="dark"] .theme-toggle .sun-icon {
  display: block;
}

[data-theme="dark"] .theme-toggle .moon-icon {
  display: none;
}

/* Moon icon (shown in light mode) */
.theme-toggle .moon-icon {
  display: block;
}

@media (max-width: 768px) {
  .theme-toggle {
    min-width: 38px;
    height: 38px;
    padding: 0 0.75rem;
    margin-right: 0.5rem;
  }
  
  .theme-toggle svg {
    width: 18px;
    height: 18px;
  }

  .theme-toggle .theme-toggle-text {
    font-size: 0.85rem;
  }
}

/* Page Loader */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  text-align: center;
}

.loader-pokeball {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  position: relative;
  animation: pokeball-bounce 0.6s ease-in-out infinite;
}

.pokeball-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: var(--barn-red);
  border-radius: 30px 30px 0 0;
}

.pokeball-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: var(--white);
  border-radius: 0 0 30px 30px;
  border: 3px solid var(--text);
  border-top: none;
}

.pokeball-top::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--text);
}

.pokeball-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background: var(--white);
  border: 4px solid var(--text);
  border-radius: 50%;
  z-index: 1;
}

.pokeball-center::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: var(--white);
  border: 2px solid var(--text);
  border-radius: 50%;
}

@keyframes pokeball-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.loader-content p {
  font-family: 'Fredoka', sans-serif;
  font-size: 1rem;
  color: var(--text-muted);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--barn-red);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 90;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--barn-red-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.back-to-top:active {
  transform: translateY(0);
}

/* Skip Link (Accessibility) */
.skip-link {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  padding: 1rem 2rem;
  background: var(--barn-red);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  border-radius: var(--radius-full);
  z-index: 10000;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 1rem;
}

/* Selection Color */
::selection {
  background: var(--gold);
  color: var(--text);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--cream);
}

::-webkit-scrollbar-thumb {
  background: var(--wood);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--wood-dark);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Hero Background with Clouds */
.hero-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.cloud-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='0.3' d='M0,192L48,197.3C96,203,192,213,288,229.3C384,245,480,267,576,250.7C672,235,768,181,864,181.3C960,181,1056,235,1152,234.7C1248,235,1344,181,1392,154.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E") repeat-x;
  background-size: 200% 100%;
  animation: clouds 60s linear infinite;
  opacity: 0.6;
}

@keyframes clouds {
  0% { background-position: 0 0; }
  100% { background-position: -200% 0; }
}

/* Background Effects */
.bg-pattern {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5 L55 30 L30 55 L5 30 Z' fill='none' stroke='%238b5a2b' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 60px 60px;
}

/* Container */
.container {
  width: min(1200px, 100% - 2rem);
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem 0;
  background: rgba(253, 246, 227, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(139, 90, 43, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-img {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--barn-red);
}

.logo-tagline {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.nav {
  display: flex;
  gap: 0.5rem;
}

.nav-link {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  background: rgba(192, 57, 43, 0.1);
  color: var(--barn-red);
}

.header-actions {
  display: flex;
  gap: 0.75rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--radius-full);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn svg {
  flex-shrink: 0;
}

.btn-primary {
  background: linear-gradient(135deg, var(--barn-red), var(--barn-red-dark));
  color: var(--white);
  box-shadow: 0 4px 16px rgba(192, 57, 43, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(192, 57, 43, 0.4);
}

.btn-secondary {
  background: var(--white);
  color: var(--text);
  border: 1px solid rgba(139, 90, 43, 0.2);
}

.btn-secondary:hover {
  background: var(--cream-dark);
  border-color: rgba(139, 90, 43, 0.3);
}

.btn-white {
  background: var(--white);
  color: var(--barn-red);
}

.btn-white:hover {
  background: var(--cream);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* Hero Section */
.hero {
  padding: 4rem 0 6rem;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(253, 246, 227, 0.85) 0%, rgba(253, 246, 227, 0.95) 100%);
  z-index: -1;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge.is-open {
  background: rgba(39, 174, 96, 0.15);
  border-color: var(--grass);
}

.hero-badge.is-open .pulse {
  background: var(--grass);
}

.hero-badge.closing-soon {
  background: rgba(241, 196, 15, 0.15);
  border-color: var(--gold);
}

.hero-badge.closing-soon .pulse {
  background: var(--gold);
}

.hero-badge.is-closed {
  background: rgba(192, 57, 43, 0.1);
  border-color: var(--barn-red);
}

.hero-badge.is-closed .pulse {
  display: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(39, 174, 96, 0.1);
  border: 1px solid rgba(39, 174, 96, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--grass);
  margin-bottom: 1.5rem;
}

.pulse {
  width: 8px;
  height: 8px;
  background: var(--grass);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
  color: var(--text);
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--gold), var(--barn-red));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.meta-item svg {
  color: var(--barn-red);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  height: 500px;
}

.hero-card {
  position: absolute;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--white);
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card-main {
  top: 0;
  left: 0;
  right: 60px;
  bottom: 80px;
}

.hero-card-float {
  width: 200px;
  height: 200px;
  bottom: 0;
  right: 0;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.hero-stats {
  position: absolute;
  bottom: 100px;
  left: -30px;
  display: flex;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.stat {
  text-align: center;
}

.stat-value {
  display: block;
  font-family: 'Fredoka', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--barn-red);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Features Strip */
.features-strip {
  padding: 3rem 0;
  background: linear-gradient(135deg, var(--wood-dark), var(--wood));
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #ffffff;
}

.feature-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.feature-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.feature-text strong {
  font-size: 1rem;
}

.feature-text span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.82);
}

/* Section Styles */
.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-eyebrow {
  display: inline-block;
  padding: 0.375rem 1rem;
  background: rgba(192, 57, 43, 0.1);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--barn-red);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.product-card {
  padding: 2rem;
  background: var(--white);
  border: 1px solid rgba(139, 90, 43, 0.1);
  border-radius: var(--radius-xl);
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(192, 57, 43, 0.2);
}

.product-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.product-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.product-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.product-tags li {
  padding: 0.25rem 0.75rem;
  background: var(--cream);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* Community Section */
.community {
  background: var(--cream-dark);
}

.community-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.community-content .section-eyebrow {
  margin-bottom: 0.75rem;
}

.community-content .section-title {
  margin-bottom: 1rem;
}

.community-content .section-desc {
  margin-bottom: 2rem;
}

.event-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.event-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(139, 90, 43, 0.1);
}

.event-emoji {
  font-size: 1.5rem;
}

.event-card strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.125rem;
}

.event-card span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Community Images */
.community-images {
  position: relative;
  height: 450px;
}

.community-img {
  position: absolute;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.community-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.community-img-1 {
  top: 0;
  left: 0;
  width: 70%;
  height: 70%;
}

.community-img-2 {
  bottom: 0;
  right: 0;
  width: 55%;
  height: 55%;
  border: 4px solid var(--cream-dark);
}

/* Testimonial */
.testimonial {
  padding: 4rem 0;
}

.testimonial-card {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem;
  background: linear-gradient(135deg, var(--wood-dark), var(--wood));
  border-radius: var(--radius-xl);
  text-align: center;
  color: var(--white);
}

.testimonial-stars {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.testimonial-card blockquote {
  font-family: 'Fredoka', sans-serif;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 500;
  line-height: 1.5;
  margin: 0 0 1.5rem;
}

.testimonial-card cite {
  font-style: normal;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Reviews Section */
.reviews {
  background: var(--cream-dark);
}

.google-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.rating-score {
  font-family: 'Fredoka', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--barn-red);
}

.rating-stars {
  font-size: 1.25rem;
}

.rating-count {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Reviews Carousel */
.reviews-carousel {
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem;
}

.reviews-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.reviews-carousel .review-card {
  flex: 0 0 calc(33.333% - 1rem);
  margin: 0 0.5rem;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid rgba(139, 90, 43, 0.1);
  border-radius: var(--radius-xl);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reviews-carousel .review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.reviewer-avatar {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--barn-red), var(--barn-red-dark));
  color: var(--white);
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.9rem;
}

.review-header strong {
  display: block;
  font-size: 0.95rem;
}

.review-header span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.review-stars {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.review-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Carousel Navigation */
.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.carousel-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--white);
  border: 1px solid rgba(139, 90, 43, 0.15);
  border-radius: 50%;
  cursor: pointer;
  color: var(--text);
  transition: all 0.3s ease;
}

.carousel-btn:hover {
  background: var(--barn-red);
  color: var(--white);
  border-color: var(--barn-red);
  transform: scale(1.05);
}

.carousel-btn:active {
  transform: scale(0.95);
}

.carousel-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.carousel-btn:disabled:hover {
  background: var(--white);
  color: var(--text);
  border-color: rgba(139, 90, 43, 0.15);
}

/* Carousel Dots */
.carousel-dots {
  display: flex;
  gap: 0.5rem;
  padding: 0.5rem;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  background: rgba(139, 90, 43, 0.2);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot:hover {
  background: rgba(192, 57, 43, 0.4);
  transform: scale(1.1);
}

.carousel-dot.active {
  background: var(--barn-red);
  transform: scale(1.2);
}

.reviews-cta {
  text-align: center;
}

/* Pause on hover */
.reviews-carousel:hover .reviews-track {
  /* Carousel pauses on hover via JS */
}

/* Responsive Carousel */
@media (max-width: 1024px) {
  .reviews-carousel .review-card {
    flex: 0 0 calc(50% - 1rem);
  }
}

@media (max-width: 768px) {
  .reviews-carousel .review-card {
    flex: 0 0 calc(100% - 1rem);
  }
  
  .carousel-btn {
    width: 40px;
    height: 40px;
  }
}

/* CTA Section */
.cta-section {
  padding: 4rem 0 6rem;
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding: 3rem 4rem;
  background: linear-gradient(135deg, var(--barn-red), var(--barn-red-dark));
  border-radius: var(--radius-xl);
  color: var(--white);
  box-shadow: var(--shadow-glow);
}

.cta-content h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.cta-content p {
  opacity: 0.9;
  max-width: 400px;
}

.cta-actions {
  display: flex;
  gap: 1rem;
}

/* Footer */
.footer {
  padding: 4rem 0 2rem;
  background: var(--text);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  max-width: 280px;
}

.footer-logo {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--barn-red);
}

.footer-links h4,
.footer-contact h4 {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: var(--gold);
}

.footer-links a {
  display: block;
  padding: 0.375rem 0;
  font-size: 0.9rem;
  opacity: 0.7;
  transition: var(--transition);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--gold-light);
}

.footer-contact p {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-bottom: 0.75rem;
}

.footer-contact a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  opacity: 0.5;
}

/* Social Bar */
.social-bar {
  background: linear-gradient(135deg, var(--barn-red), var(--barn-red-dark));
  padding: 0.5rem 0;
}

.social-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.social-bar-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  font-weight: 500;
}

.social-bar-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.35rem 0.75rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.25);
}

.social-link svg {
  flex-shrink: 0;
}

/* Shipping Section */
.shipping {
  background: var(--white);
  border-top: 1px solid rgba(139, 90, 43, 0.1);
  border-bottom: 1px solid rgba(139, 90, 43, 0.1);
}

.shipping-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.shipping-card {
  text-align: center;
  padding: 1.5rem;
}

.shipping-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.shipping-card h3 {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.shipping-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Blog Section */
.blog {
  background: var(--cream);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.blog-image {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.75rem;
  background: var(--barn-red);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-content {
  padding: 1.5rem;
}

.blog-content time {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-content h3 {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0.5rem 0;
  color: var(--text);
}

.blog-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.blog-link {
  color: var(--barn-red);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
}

.blog-link:hover {
  text-decoration: underline;
}

/* Events Calendar */
.events-calendar {
  background: var(--cream-dark);
}

.calendar-widget {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.calendar-events {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.calendar-event {
  display: flex;
  gap: 1.5rem;
  padding: 1.25rem;
  background: var(--cream);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--barn-red);
}

.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  padding: 0.5rem;
  background: var(--barn-red);
  color: var(--white);
  border-radius: var(--radius-md);
}

.event-month {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.event-day {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.event-details h4 {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.event-details p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.event-time {
  font-size: 0.8rem;
  color: var(--barn-red);
  font-weight: 500;
}

.calendar-cta {
  text-align: center;
}

/* FAQ Section */
.faq {
  background: var(--white);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.faq-item {
  background: var(--cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(139, 90, 43, 0.1);
}

.faq-item summary {
  padding: 1.25rem 1.5rem;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  transition: background 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--barn-red);
  transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary:hover {
  background: var(--cream-dark);
}

.faq-item p {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Newsletter Section */
.newsletter {
  background: linear-gradient(135deg, var(--barn-red), var(--barn-red-dark));
  padding: 4rem 0;
}

.newsletter-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.newsletter-content h2 {
  font-family: 'Fredoka', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.newsletter-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  flex: 1;
  max-width: 500px;
}

.newsletter-form input {
  flex: 1;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  border: none;
  border-radius: var(--radius-full);
  background: var(--white);
  color: var(--text);
}

.newsletter-form input::placeholder {
  color: var(--text-muted);
}

.newsletter-form input:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.newsletter-form .btn {
  white-space: nowrap;
}

/* Stats Counter */
.stats-bar {
  background: var(--wood-dark);
  padding: 3rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  color: var(--white);
}

.stat-number {
  font-family: 'Fredoka', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-visual {
    height: 400px;
  }
  
  .hero-stats {
    left: 0;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .community-grid {
    grid-template-columns: 1fr;
  }
  
  .community-images {
    height: 350px;
  }
  
  .cta-card {
    flex-direction: column;
    text-align: center;
    padding: 2.5rem;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .google-rating {
    flex-wrap: wrap;
  }
  
  .shipping-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
  }
  
  .newsletter-card {
    flex-direction: column;
    text-align: center;
  }
  
  .newsletter-form {
    max-width: 100%;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .nav,
  .header-actions {
    display: none;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .hero {
    padding: 2rem 0 3rem;
  }
  
  .hero-title {
    font-size: clamp(2.25rem, 11vw, 3.25rem);
    margin-bottom: 1rem;
    line-height: 1.08;
  }

  .hero-desc {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.58;
  }

  .hero-ctas {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .hero-meta {
    gap: 0.75rem;
  }

  .meta-item {
    align-items: flex-start;
    font-size: 0.82rem;
  }
  
  .hero-visual {
    height: 320px;
  }
  
  .hero-card-float {
    width: 140px;
    height: 140px;
  }
  
  .hero-stats {
    padding: 0.75rem 1rem;
    bottom: 60px;
  }
  
  .stat-value {
    font-size: 1.25rem;
  }
  
  .features-strip {
    padding: 1.35rem 0;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .feature {
    align-items: flex-start;
    gap: 0.65rem;
  }

  .feature-icon {
    font-size: 1.45rem;
  }

  .feature-text strong {
    font-size: 0.9rem;
  }

  .feature-text span {
    font-size: 0.74rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .community-images {
    height: 300px;
  }
  
  .testimonial-card {
    padding: 2rem 1.5rem;
  }
  
  .cta-card {
    padding: 2rem 1.5rem;
  }
  
  .cta-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .cta-actions .btn {
    width: 100%;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-brand {
    max-width: 100%;
  }
  
  .social-bar {
    padding: 0.7rem 0;
  }

  .social-bar .container {
    flex-direction: column;
    gap: 0.55rem;
  }
  
  .social-bar-links {
    width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0.45rem;
    overflow-x: auto;
    padding-bottom: 0.1rem;
    scrollbar-width: none;
  }

  .social-bar-links::-webkit-scrollbar {
    display: none;
  }

  .social-link {
    flex: 0 0 auto;
    padding: 0.45rem 0.7rem;
    font-size: 0.82rem;
  }
  
  .social-link span {
    display: none;
  }
  
  .shipping-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .shipping-card {
    padding: 1rem;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .calendar-event {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .event-date {
    align-self: center;
    min-width: 80px;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input,
  .newsletter-form .btn {
    width: 100%;
  }
}

/* Print Styles */
@media print {
  .header,
  .social-bar,
  .newsletter,
  .cta-section,
  .footer,
  .back-to-top,
  .page-loader {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
  
  .hero-bg,
  .bg-pattern {
    display: none !important;
  }
  
  a {
    text-decoration: underline;
  }
  
  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #666;
  }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .page-loader {
    display: none !important;
  }
}

/* Focus Visible */
:focus-visible {
  outline: 3px solid var(--barn-red);
  outline-offset: 3px;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  padding: 1rem 2rem;
  background: var(--barn-red);
  color: var(--white);
  font-weight: 600;
  border-radius: var(--radius-md);
  z-index: 9999;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 1rem;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --barn-red: #990000;
    --text: #000000;
    --text-muted: #333333;
    --cream: #ffffff;
    --cream-dark: #f0f0f0;
  }
  
  .btn {
    border: 2px solid currentColor;
  }
}

/* ===================================
   PREMIUM MICRO-INTERACTIONS & POLISH
   =================================== */

/* Shimmer Effect on Buttons */
@keyframes shimmer {
  0% { transform: translateX(-100%) skewX(-15deg); }
  100% { transform: translateX(200%) skewX(-15deg); }
}

.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transform: translateX(-100%) skewX(-15deg);
}

.btn-primary:hover::before {
  animation: shimmer 0.8s ease-out;
}

/* Enhanced Button Transitions */
.btn {
  transition: 
    transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

.btn:active {
  transform: scale(0.97);
}

/* Gradient Borders on Cards */
.product-card,
.review-card,
.blog-card,
.event-card,
.faq-item {
  position: relative;
  background: var(--white);
  border: none;
  isolation: isolate;
}

.product-card::before,
.review-card::before,
.blog-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(
    135deg,
    rgba(192, 57, 43, 0.2),
    rgba(241, 196, 15, 0.2),
    rgba(39, 174, 96, 0.2)
  );
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask: 
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.product-card:hover::before,
.review-card:hover::before,
.blog-card:hover::before {
  opacity: 1;
}

/* Card Hover Glow Effect */
.product-card:hover,
.review-card:hover,
.blog-card:hover {
  box-shadow: 
    0 8px 32px rgba(192, 57, 43, 0.1),
    0 0 0 1px rgba(192, 57, 43, 0.05);
}

/* Premium Text Gradients on Headings */
.section-title,
.hero-title {
  background: linear-gradient(
    135deg,
    var(--text) 0%,
    var(--barn-red) 50%,
    var(--wood-dark) 100%
  );
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 8s ease infinite;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Keep the hero highlight special */
.hero-title .highlight {
  background: linear-gradient(
    135deg,
    var(--gold) 0%,
    var(--barn-red) 50%,
    var(--gold-light) 100%
  );
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 4s ease infinite;
}

/* Smooth Card Hover Transitions */
.product-card,
.review-card,
.blog-card,
.event-card,
.community-img,
.hero-card {
  transition: 
    transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.4s ease;
}

/* Icon Bounce on Card Hover */
.product-icon {
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.product-card:hover .product-icon {
  transform: scale(1.15) rotate(-5deg);
}

/* Emoji Bounce on Event Cards */
.event-emoji {
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.event-card:hover .event-emoji {
  transform: scale(1.2) rotate(5deg);
}

/* Feature Icon Pulse */
.feature-icon {
  transition: transform 0.3s ease;
}

.feature:hover .feature-icon {
  animation: icon-bounce 0.5s ease;
}

@keyframes icon-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* Reviewer Avatar Glow on Hover */
.reviewer-avatar {
  transition: 
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.review-card:hover .reviewer-avatar {
  box-shadow: 0 0 20px rgba(192, 57, 43, 0.4);
  transform: scale(1.05);
}

/* Stats Counter Pop Effect */
.stat-value,
.stat-number {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.stat:hover .stat-value,
.stat-item:hover .stat-number {
  transform: scale(1.1);
}

/* Hero Stats Card Hover */
.hero-stats {
  transition: 
    transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.4s ease;
}

.hero-stats:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* Social Link Shine Effect */
.social-link {
  position: relative;
  overflow: hidden;
}

.social-link::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.2) 50%,
    transparent 70%
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.social-link:hover::after {
  transform: translateX(100%);
}

/* Footer Social Icon Lift */
.footer-social a {
  transition: 
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    background 0.3s ease,
    box-shadow 0.3s ease;
}

.footer-social a:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(192, 57, 43, 0.4);
}

/* Blog Card Image Zoom */
.blog-image img {
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.blog-card:hover .blog-image img {
  transform: scale(1.08);
}

/* Blog Tag Slide In */
.blog-tag {
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-tag {
  transform: translateX(5px);
}

/* Newsletter Input Glow */
.newsletter-form input {
  transition: 
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.newsletter-form input:focus {
  transform: translateY(-2px);
  box-shadow: 
    0 8px 24px rgba(255, 255, 255, 0.2),
    0 0 0 3px var(--gold);
}

/* FAQ Smooth Expand */
.faq-item {
  transition: 
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.faq-item[open] {
  box-shadow: var(--shadow-md);
  border-color: rgba(192, 57, 43, 0.2);
}

.faq-item p {
  animation: faq-slide-in 0.3s ease;
}

@keyframes faq-slide-in {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Calendar Event Hover Stripe */
.calendar-event {
  transition: 
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-left-width 0.3s ease;
}

.calendar-event:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-md);
  border-left-width: 6px;
}

/* CTA Card Glow Pulse */
.cta-card {
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  inset: -50%;
  background: radial-gradient(
    circle at center,
    rgba(241, 196, 15, 0.15) 0%,
    transparent 50%
  );
  animation: cta-glow 4s ease-in-out infinite;
}

@keyframes cta-glow {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 1; }
}

/* Back to Top Button Bounce */
.back-to-top {
  transition: 
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    background 0.3s ease,
    box-shadow 0.3s ease,
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.back-to-top:hover {
  transform: translateY(-6px) scale(1.05);
}

/* Link Underline Animation */
.blog-link,
.footer-links a {
  position: relative;
}

.blog-link::after,
.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: currentColor;
  transition: width 0.3s ease;
}

.blog-link:hover::after,
.footer-links a:hover::after {
  width: 100%;
}

/* ===================================
   MOBILE STICKY SHOP BUTTON
   =================================== */

.mobile-shop-btn {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 95;
  padding: 0.75rem 1rem;
  padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0));
  background: linear-gradient(
    to top,
    rgba(253, 246, 227, 1) 0%,
    rgba(253, 246, 227, 0.98) 100%
  );
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(192, 57, 43, 0.15);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 -4px 24px rgba(44, 24, 16, 0.1);
}

.mobile-shop-btn.visible {
  transform: translateY(0);
}

.mobile-shop-btn .btn {
  width: 100%;
  padding: 1rem 2rem;
  font-size: 1rem;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--barn-red) 0%,
    var(--barn-red-dark) 100%
  );
  box-shadow: 
    0 4px 20px rgba(192, 57, 43, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.mobile-shop-btn .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.25),
    transparent
  );
  animation: btn-pulse 3s ease-in-out infinite;
}

@keyframes btn-pulse {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}

/* Show on mobile only */
@media (max-width: 768px) {
  .mobile-shop-btn {
    display: block;
  }
  
  /* Add padding to footer to account for sticky button */
  .footer {
    padding-bottom: calc(5rem + env(safe-area-inset-bottom, 0));
  }
  
  /* Adjust back to top position */
  .back-to-top.visible {
    bottom: calc(5rem + env(safe-area-inset-bottom, 0));
  }
}

/* Stagger Animation for Lists */
@keyframes stagger-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.products-grid .product-card,
.reviews-grid .review-card,
.blog-grid .blog-card {
  opacity: 0;
  animation: stagger-in 0.6s ease forwards;
}

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

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

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

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .btn-primary::before,
  .social-link::after,
  .cta-card::before,
  .mobile-shop-btn .btn::before {
    animation: none !important;
  }
  
  .section-title,
  .hero-title,
  .hero-title .highlight {
    animation: none !important;
    background-size: 100% 100% !important;
  }
  
  .products-grid .product-card,
  .reviews-grid .review-card,
  .blog-grid .blog-card {
    opacity: 1;
    animation: none;
  }
}
