/* ============================================
   Papa Curt's Salsa — Styles
   ============================================ */

/* --- Custom Properties --- */
:root {
  --plum-50: #fdf0ff;
  --plum-100: #fae8ff;
  --plum-200: #f5d0fe;
  --plum-300: #f0abfc;
  --plum-400: #e879f9;
  --plum-500: #d946ef;
  --plum-600: #c026d3;
  --plum-700: #a21caf;
  --plum-800: #7b2d8b;
  --plum-900: #581c66;
  --plum-950: #3b0f45;

  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-200: #fde68a;
  --amber-300: #fcd34d;
  --amber-400: #f5a623;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --amber-700: #b45309;
  --amber-800: #92400e;
  --amber-900: #78350f;

  --rose-600: #d4406a;
  --rose-700: #be185d;

  --gray-50: #fafaf9;
  --gray-100: #f5f5f4;
  --gray-200: #e7e5e4;
  --gray-300: #d6d3d1;
  --gray-400: #a8a29e;
  --gray-500: #78716c;
  --gray-600: #57534e;
  --gray-700: #44403c;
  --gray-800: #292524;
  --gray-900: #1c1917;

  --font-heading: 'Fredoka', sans-serif;
  --font-body: 'Nunito', sans-serif;

  --shadow-sm: 0 1px 3px rgba(123, 45, 139, 0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(123, 45, 139, 0.1), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 32px rgba(123, 45, 139, 0.12), 0 4px 12px rgba(0,0,0,0.08);
  --shadow-xl: 0 20px 48px rgba(123, 45, 139, 0.15), 0 8px 16px rgba(0,0,0,0.1);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-800);
  background: var(--gray-50);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--plum-700); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--plum-500); }

h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.25; color: var(--gray-900); }

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

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--plum-800);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  z-index: 1000;
  font-weight: 600;
}
.skip-link:focus { top: 16px; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--plum-800);
  color: #fff;
  border-color: var(--plum-800);
}
.btn-primary:hover {
  background: var(--plum-700);
  border-color: var(--plum-700);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--plum-800);
  border-color: var(--plum-800);
}
.btn-secondary:hover {
  background: var(--plum-50);
  color: var(--plum-800);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
  color: #fff;
}

.btn-sm { padding: 8px 20px; font-size: 14px; }
.btn-lg { padding: 16px 36px; font-size: 17px; }
.btn-full { width: 100%; justify-content: center; }

/* --- Section Tags --- */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--plum-700);
  background: var(--plum-50);
  border: 1px solid var(--plum-200);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 5vw, 48px);
  margin-bottom: 20px;
}

.text-gradient {
  background: linear-gradient(135deg, var(--plum-700), var(--plum-500), var(--amber-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  font-size: 18px;
  color: var(--gray-600);
  max-width: 560px;
  margin: 0 auto;
}

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

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 250, 249, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(123, 45, 139, 0.08);
  transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--gray-900);
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  color: var(--gray-900);
}

.logo-accent { color: var(--plum-700); }

.nav-menu ul {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-menu a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  color: var(--gray-700);
  padding: 8px 16px;
  border-radius: 50px;
  transition: all 0.2s;
}

.nav-menu a:hover {
  color: var(--plum-700);
  background: var(--plum-50);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger { position: relative; }
.hamburger::before { content: ''; position: absolute; top: -7px; }
.hamburger::after { content: ''; position: absolute; top: 7px; }

.nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.nav-toggle[aria-expanded="true"] .hamburger::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger::after { top: 0; transform: rotate(-45deg); }

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, var(--plum-950) 0%, var(--plum-800) 40%, var(--plum-700) 100%);
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.3;
}

.blob-1 {
  width: 500px;
  height: 500px;
  background: var(--amber-400);
  top: -100px;
  right: -100px;
}

.blob-2 {
  width: 400px;
  height: 400px;
  background: var(--plum-400);
  bottom: -80px;
  left: -80px;
}

.blob-3 {
  width: 250px;
  height: 250px;
  background: var(--rose-600);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--amber-300);
  background: rgba(245, 166, 35, 0.15);
  border: 1px solid rgba(245, 166, 35, 0.3);
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 28px;
}

.hero-title {
  font-size: clamp(36px, 7vw, 72px);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: clamp(16px, 2.5vw, 20px);
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--amber-400);
}

.stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  align-self: center;
}

/* --- About --- */
.about {
  padding: 100px 0;
  background: var(--gray-50);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-images {
  position: relative;
}

.about-img-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

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

.about-img-float {
  position: absolute;
  bottom: -32px;
  right: -24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid var(--gray-50);
}

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

.about-badge {
  position: absolute;
  top: -16px;
  left: -16px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--amber-400);
  color: var(--gray-900);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 50px;
  box-shadow: var(--shadow-md);
}

.about-text .section-tag { margin-bottom: 16px; }

.about-text p {
  color: var(--gray-600);
  font-size: 17px;
  margin-bottom: 16px;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--plum-50);
  border: 1px solid var(--plum-200);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 16px;
  color: var(--gray-900);
  margin-bottom: 2px;
}

.feature-item span {
  font-size: 14px;
  color: var(--gray-500);
}

/* --- Flavors --- */
.flavors {
  padding: 100px 0;
  background: var(--plum-50);
}

.flavors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 56px;
}

.flavor-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 1px solid rgba(123, 45, 139, 0.06);
}

.flavor-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.flavor-card-img {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.flavor-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.flavor-card:hover .flavor-card-img img {
  transform: scale(1.05);
}

.flavor-heat {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 6px 12px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 12px;
  color: var(--gray-700);
  box-shadow: var(--shadow-sm);
}

.flavor-card-body {
  padding: 24px;
}

.flavor-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--gray-900);
}

.flavor-desc {
  font-size: 15px;
  color: var(--gray-600);
  margin-bottom: 16px;
  line-height: 1.6;
}

.flavor-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--plum-700);
  background: var(--plum-50);
  padding: 4px 12px;
  border-radius: 50px;
}

/* --- Why --- */
.why {
  padding: 100px 0;
  background: var(--gray-50);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 56px;
}

.why-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid rgba(123, 45, 139, 0.06);
  transition: all 0.3s ease;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--plum-200);
}

.why-card-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.why-card:nth-child(odd) .why-card-icon { background: var(--plum-50); }
.why-card:nth-child(even) .why-card-icon { background: var(--amber-50); }

.why-card-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--gray-900);
}

.why-card-text {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.7;
}

/* --- CTA Banner --- */
.cta-banner {
  padding: 80px 0;
  background: linear-gradient(160deg, var(--plum-900) 0%, var(--plum-800) 60%, var(--plum-700) 100%);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: var(--amber-400);
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
  top: -100px;
  right: -100px;
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-title {
  font-size: clamp(24px, 4vw, 40px);
  color: #fff;
  margin-bottom: 12px;
}

.cta-text {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.75);
  max-width: 480px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- Visit --- */
.visit {
  padding: 100px 0;
  background: var(--gray-50);
}

.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.visit-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.visit-detail-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--plum-50);
  border: 1px solid var(--plum-200);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.visit-detail strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 16px;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.visit-detail p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.6;
}

.visit-detail a {
  color: var(--plum-700);
}

.visit-detail a:hover {
  color: var(--plum-500);
  text-decoration: underline;
}

.visit-map {
  margin-top: 8px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.visit-visual {
  position: relative;
}

.visit-img {
  border-radius: var(--radius-xl);
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: var(--shadow-xl);
}

.visit-visual-accent {
  position: absolute;
  width: 120px;
  height: 120px;
  background: var(--amber-400);
  border-radius: var(--radius-lg);
  bottom: -20px;
  right: -20px;
  z-index: -1;
  opacity: 0.4;
}

/* --- Contact --- */
.contact {
  padding: 100px 0;
  background: var(--plum-50);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-desc {
  font-size: 17px;
  color: var(--gray-600);
  margin-bottom: 32px;
  line-height: 1.7;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gray-700);
  font-size: 15px;
  text-decoration: none;
  padding: 12px 16px;
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid rgba(123, 45, 139, 0.08);
  transition: all 0.2s;
}

.contact-method:hover {
  border-color: var(--plum-300);
  box-shadow: var(--shadow-sm);
  color: var(--plum-700);
  text-decoration: none;
}

.contact-method-icon {
  width: 40px;
  height: 40px;
  background: var(--plum-50);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* --- Form --- */
.contact-form-wrapper {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(123, 45, 139, 0.06);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  color: var(--gray-800);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--gray-800);
  background: var(--gray-50);
  transition: all 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--plum-400);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(123, 45, 139, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-400);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-success {
  text-align: center;
  padding: 40px 20px;
}

.success-icon {
  margin-bottom: 16px;
}

.form-success h3 {
  font-size: 24px;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.form-success p {
  color: var(--gray-600);
  font-size: 16px;
}

/* --- Footer --- */
.footer {
  background: var(--plum-950);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand .logo-text { color: #fff; }
.footer-brand p { margin-top: 16px; font-size: 15px; line-height: 1.7; }

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--amber-400); }

.footer-contact address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 15px;
}

.footer-contact a {
  color: var(--amber-400);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  text-align: center;
  font-size: 14px;
}

.footer-bottom span { color: var(--rose-600); }

/* --- Responsive --- */
@media (max-width: 968px) {
  .about-grid,
  .visit-grid,
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-images { order: -1; max-width: 500px; }
  .about-img-float { right: 16px; bottom: -20px; }
  .about-badge { left: 16px; }

  .visit-visual { order: -1; max-width: 500px; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cta-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }

  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(250, 250, 249, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 16px 24px 24px;
    border-bottom: 1px solid rgba(123, 45, 139, 0.1);
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-menu ul {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav-menu a {
    display: block;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
  }

  .nav-menu a:hover {
    background: var(--plum-50);
  }

  .nav-menu .btn {
    align-items: center;
    justify-content: center;
    margin-top: 8px;
  }

  .hero { padding: 100px 0 60px; }
  .hero-stats { gap: 20px; }
  .stat-divider { display: none; }

  .flavors-grid { grid-template-columns: 1fr; }

  .contact-form-wrapper { padding: 24px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; justify-content: center; }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
