/* ============================================
   YOGI'S TREATS - Memorial Bakery Website
   Baked with Love & Memory
   ============================================ */

:root {
  /* Warm bakery palette - honey, cream, and comfort */
  --honey-gold: #D4A574;
  --warm-cream: #FDF6ED;
  --soft-tan: #E8D4BC;
  --deep-caramel: #8B5E3C;
  --rich-chocolate: #3D2314;
  --cinnamon: #A0522D;
  --butter-yellow: #F5E1A4;
  --rose-dust: #C9A89A;
  --off-white: #FFFCF7;
  --text-dark: #2C1810;
  
  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Nunito', 'Segoe UI', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

/* Background Pattern - subtle bakery texture */
.background-pattern {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(212, 165, 116, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(212, 165, 116, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(245, 225, 164, 0.03) 0%, transparent 60%);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ============================================
   NAVIGATION
   ============================================ */

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--rich-chocolate);
  letter-spacing: 0.5px;
  font-style: italic;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--deep-caramel);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--honey-gold);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--rich-chocolate);
}

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

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  padding: 7rem 4rem 4rem;
  background: linear-gradient(135deg, var(--off-white) 0%, var(--warm-cream) 60%, var(--soft-tan) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 60%;
  height: 120%;
  background: radial-gradient(ellipse, rgba(212, 165, 116, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  z-index: 10;
  padding-left: 1rem;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: var(--butter-yellow);
  color: var(--deep-caramel);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 30px;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out;
}

.hero-title {
  margin-bottom: 1.5rem;
}

.title-main {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 5.5rem);
  font-weight: 500;
  color: var(--rich-chocolate);
  line-height: 1.1;
  letter-spacing: -1px;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--deep-caramel);
  max-width: 480px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.cta-button {
  display: inline-block;
  padding: 1.1rem 2.5rem;
  background: var(--rich-chocolate);
  color: var(--off-white);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  border-radius: 50px;
  transition: all 0.3s ease;
  animation: fadeInUp 0.8s ease-out 0.6s both;
  box-shadow: 0 4px 20px rgba(61, 35, 20, 0.25);
}

.cta-button:hover {
  background: var(--deep-caramel);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(61, 35, 20, 0.3);
}

.hero-image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.hero-image-wrapper {
  position: relative;
  animation: floatIn 1s ease-out 0.3s both;
  text-align: center;
}

.hero-image-wrapper::before {
  content: '';
  position: absolute;
  top: 5%;
  left: 5%;
  width: 100%;
  height: 100%;
  background: var(--honey-gold);
  border-radius: 50%;
  opacity: 0.2;
  z-index: -1;
}

.hero-image {
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 25px 60px rgba(61, 35, 20, 0.2);
  border: 6px solid rgba(255, 255, 255, 0.8);
}

.image-caption {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--deep-caramel);
  animation: fadeInUp 1s ease-out 0.8s both;
}

/* ============================================
   SECTION LABELS & TITLES
   ============================================ */

.section-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--honey-gold);
  margin-bottom: 0.75rem;
}

.section-label.center {
  text-align: center;
}

.section-label.light {
  color: var(--butter-yellow);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 500;
  color: var(--rich-chocolate);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-title.center {
  text-align: center;
}

.section-title.light {
  color: var(--off-white);
}

.section-subtitle {
  text-align: center;
  color: var(--deep-caramel);
  font-size: 1.1rem;
  margin-bottom: 3.5rem;
}

/* ============================================
   STORY SECTION
   ============================================ */

.story-section {
  padding: 8rem 0;
  background: var(--off-white);
}

.story-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.story-paragraph {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  line-height: 1.9;
}

.story-paragraph.highlight {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--deep-caramel);
  padding-left: 1.5rem;
  border-left: 3px solid var(--honey-gold);
  margin-top: 2rem;
}

.story-image {
  position: relative;
}

.story-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(61, 35, 20, 0.15);
}

.story-image::before {
  content: '';
  position: absolute;
  top: -15px;
  right: -15px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--honey-gold);
  border-radius: 20px;
  z-index: -1;
}

/* ============================================
   TREATS SECTION
   ============================================ */

.treats-section {
  padding: 8rem 0;
  background: linear-gradient(180deg, var(--warm-cream) 0%, var(--off-white) 100%);
}

.treats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.treat-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(61, 35, 20, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(212, 165, 116, 0.15);
  position: relative;
  overflow: hidden;
}

.treat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--honey-gold), var(--butter-yellow));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.treat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(61, 35, 20, 0.12);
}

.treat-card:hover::before {
  opacity: 1;
}

.treat-icon {
  font-size: 3.5rem;
  margin-bottom: 1.25rem;
}

.treat-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--rich-chocolate);
  margin-bottom: 0.75rem;
}

.treat-card p {
  color: var(--deep-caramel);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.treat-tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: var(--butter-yellow);
  color: var(--deep-caramel);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 20px;
}

.treats-note {
  margin-top: 3.5rem;
  text-align: center;
}

.treats-note p {
  display: inline-block;
  padding: 1.25rem 2rem;
  background: rgba(212, 165, 116, 0.15);
  border-radius: 12px;
  color: var(--deep-caramel);
  font-size: 1rem;
  font-weight: 500;
}

/* ============================================
   MEMORY SECTION
   ============================================ */

.memory-section {
  padding: 8rem 0;
  background: linear-gradient(135deg, var(--deep-caramel) 0%, var(--rich-chocolate) 100%);
  position: relative;
  overflow: hidden;
}

.memory-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(212, 165, 116, 0.1) 0%, transparent 50%),
                    radial-gradient(circle at 80% 80%, rgba(245, 225, 164, 0.08) 0%, transparent 40%);
  pointer-events: none;
}

.memory-content {
  position: relative;
  z-index: 10;
}

.memory-subtitle {
  text-align: center;
  color: var(--rose-dust);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-style: italic;
  margin-bottom: 3rem;
}

.memory-gallery {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.memory-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.memory-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.memory-image.main {
  min-height: 350px;
}

.memory-traits {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.trait {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.trait-emoji {
  font-size: 2rem;
}

.trait-text {
  color: var(--soft-tan);
  font-size: 0.95rem;
  font-weight: 500;
}

.memory-quote {
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--soft-tan);
  max-width: 500px;
  margin: 0 auto;
  opacity: 0.9;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-section {
  padding: 8rem 0;
  background: var(--off-white);
}

.contact-card {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contact-text {
  color: var(--deep-caramel);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.contact-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: var(--warm-cream);
  color: var(--rich-chocolate);
  text-decoration: none;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  border: 2px solid var(--honey-gold);
}

.contact-link:hover {
  background: var(--honey-gold);
  color: white;
}

.contact-link.instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: white;
  border: none;
}

.contact-link.instagram:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(225, 48, 108, 0.4);
}

.contact-icon {
  font-size: 1.25rem;
}

.paw-divider {
  display: flex;
  justify-content: center;
  gap: 1rem;
  font-size: 1.5rem;
  opacity: 0.5;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--rich-chocolate);
  padding: 4rem 0 3rem;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-style: italic;
  color: var(--off-white);
  margin-bottom: 0.5rem;
}

.footer-tagline {
  color: var(--rose-dust);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-instagram {
  display: inline-block;
  color: var(--soft-tan);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  transition: color 0.3s ease;
}

.footer-instagram:hover {
  color: white;
}

.footer-small {
  color: var(--soft-tan);
  font-size: 0.85rem;
  opacity: 0.7;
}

/* ============================================
   ANIMATIONS
   ============================================ */

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

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 968px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 8rem 2rem 4rem;
    min-height: auto;
  }
  
  .hero-content {
    padding-left: 0;
    order: 2;
  }
  
  .hero-image-container {
    order: 1;
    margin-bottom: 2rem;
  }
  
  .hero-subtitle {
    margin: 0 auto 2.5rem;
  }
  
  .hero-image {
    max-width: 300px;
  }
  
  .nav {
    padding: 1rem 1.5rem;
  }
  
  .nav-links {
    gap: 1.5rem;
  }
  
  .story-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .story-image {
    order: -1;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .memory-gallery {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
  
  .memory-image.main {
    min-height: 300px;
  }
}

@media (max-width: 600px) {
  .nav {
    flex-direction: column;
    gap: 1rem;
  }
  
  .nav-links {
    gap: 1rem;
    font-size: 0.85rem;
  }
  
  .title-main {
    font-size: 2.8rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .treats-grid {
    grid-template-columns: 1fr;
  }
  
  .memory-traits {
    gap: 2rem;
  }
  
  .story-section,
  .treats-section,
  .memory-section,
  .contact-section {
    padding: 5rem 0;
  }
  
  .story-paragraph.highlight {
    font-size: 1.15rem;
  }
}
