/* Soft Landings — recreated from https://shop-connect-home.lovable.app */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;1,400&family=Lato:wght@400;500;700&display=swap');

:root {
  --background: #F9F7F6;
  --foreground: #423024;
  --primary: #BA8C5E;
  --primary-foreground: #F9F7F6;
  --secondary: #EAE6E0;
  --secondary-foreground: #423024;
  --accent: #C99F6B;
  --muted: #EFEAE6;
  --muted-foreground: #8C7D73;
  --card: #F5F2EF;
  --border: #E0D9D1;
  --deep-brown: #674832;
  --warm-gold: #D7AE75;
  --radius: 0.75rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Lato', Arial, sans-serif;
  color: var(--foreground);
  background-color: var(--background);
  font-size: 16px;
  line-height: 1.5;
}

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

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

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

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  margin: 0;
}

p { margin: 0; }

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  border-radius: 0.375rem;
  border: none;
  cursor: pointer;
  height: 2.75rem;
  padding: 0 2rem;
  transition: background-color 0.2s, color 0.2s;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}
.btn-primary:hover { background-color: rgba(186, 140, 94, 0.9); }

.btn-outline {
  background-color: var(--background);
  color: var(--foreground);
  border: 1px solid var(--primary);
}
.btn-outline:hover {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-sm {
  height: 2.25rem;
  padding: 0 0.75rem;
  font-size: 0.875rem;
}

.btn-lg {
  height: 3.5rem;
  font-size: 1rem;
  flex: 1;
}

.btn-whatsapp {
  background-color: hsl(142, 70%, 40%);
  color: var(--primary-foreground);
}
.btn-whatsapp:hover { background-color: hsl(142, 70%, 35%); }

.btn svg { pointer-events: none; flex-shrink: 0; }

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(249, 247, 246, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

.navbar .logo img {
  height: 3.5rem;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  transition: color 0.2s;
}

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

.nav-links a.active {
  color: var(--primary);
  font-weight: 700;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--foreground);
  cursor: pointer;
  padding: 0.25rem;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--border);
  background-color: var(--background);
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  padding: 1rem;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  border-bottom: 1px solid var(--border);
}

.mobile-menu a.active { color: var(--primary); font-weight: 700; }

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

/* Hero */
.hero {
  position: relative;
  height: 85vh;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active { opacity: 1; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(66, 48, 36, 0.4);
}

.hero-content {
  position: relative;
  text-align: center;
  padding: 0 1rem;
}

.hero-content h1 {
  font-size: 3rem;
  color: var(--primary-foreground);
  margin-bottom: 1rem;
  font-style: italic;
}

.hero-content p {
  font-size: 1.125rem;
  color: rgba(249, 247, 246, 0.9);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.hero-dots button {
  height: 0.5rem;
  width: 0.5rem;
  border-radius: 9999px;
  border: none;
  padding: 0;
  cursor: pointer;
  background-color: rgba(249, 247, 246, 0.5);
  transition: width 0.3s, background-color 0.3s;
}

.hero-dots button.active {
  width: 2rem;
  background-color: var(--primary);
}

@media (min-width: 768px) {
  .hero-content h1 { font-size: 4.5rem; }
  .hero-content p { font-size: 1.25rem; }
}

/* Sections */
section { padding: 5rem 0; }

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 1.875rem;
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--muted-foreground);
  max-width: 32rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .section-header h2 { font-size: 2.25rem; }
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .product-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
  .product-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1280px) {
  .product-grid.cols-4-xl { grid-template-columns: repeat(4, 1fr); }
}

.product-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.3s;
}

.product-card:hover { box-shadow: 0 10px 25px rgba(66, 48, 36, 0.12); }

.product-card .product-img {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.product-card .product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

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

.product-body { padding: 1.25rem; }

.product-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
  margin-bottom: 0.25rem;
}

.product-body h3 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.product-desc {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-price {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  color: var(--primary);
}

.view-all { text-align: center; margin-top: 3rem; }

/* CTA */
.cta-section {
  background-color: var(--secondary);
}

.cta-section .container { text-align: center; }

.cta-section h2 {
  font-size: 1.875rem;
  margin-bottom: 1rem;
}

.cta-section p {
  color: var(--muted-foreground);
  max-width: 28rem;
  margin: 0 auto 2rem;
}

/* Footer */
footer {
  background-color: var(--deep-brown);
  color: var(--primary-foreground);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

footer h3, footer h4 {
  color: var(--warm-gold);
  margin-bottom: 1rem;
}

footer h3 { font-size: 1.25rem; }
footer h4 { font-size: 1.125rem; }

footer p { font-size: 0.875rem; opacity: 0.8; line-height: 1.6; }

.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { font-size: 0.875rem; opacity: 0.8; transition: color 0.2s; }
.footer-links a:hover { color: var(--warm-gold); }

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  opacity: 0.8;
  margin-bottom: 0.75rem;
}

.footer-bottom {
  border-top: 1px solid rgba(186, 140, 94, 0.2);
  text-align: center;
  padding: 1rem 0;
  font-size: 0.75rem;
  opacity: 0.6;
}

/* Shop page */
.page-header { text-align: center; margin-bottom: 3rem; }
.page-header h1 { font-size: 2.25rem; margin-bottom: 0.75rem; }
.page-header p { color: var(--muted-foreground); }

@media (min-width: 768px) {
  .page-header h1 { font-size: 3rem; }
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-family: 'Lato', Arial, sans-serif;
  border: none;
  cursor: pointer;
  background-color: var(--secondary);
  color: var(--secondary-foreground);
  transition: background-color 0.2s;
}

.filter-btn:hover { background-color: rgba(186, 140, 94, 0.1); }

.filter-btn.active {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

/* About page */
.about-content {
  max-width: 48rem;
  margin: 0 auto;
}

.about-content h1 {
  text-align: center;
  font-size: 2.25rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .about-content h1 { font-size: 3rem; }
}

.about-content .lead {
  color: var(--muted-foreground);
  line-height: 1.75;
}

.about-content .lead p { margin-bottom: 1.5rem; }

.about-content .lead strong {
  color: var(--foreground);
  font-weight: 600;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding-top: 2rem;
}

@media (min-width: 768px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
}

.feature-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}

.feature-card h3 { font-size: 1.125rem; margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.875rem; color: var(--muted-foreground); }

/* Contact page */
.contact-content { max-width: 42rem; margin: 0 auto; }

.contact-content .page-header h1 { font-size: 2.25rem; }

@media (min-width: 768px) {
  .contact-content .page-header h1 { font-size: 3rem; }
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.contact-card svg { color: var(--primary); flex-shrink: 0; }

.contact-card .label { font-weight: 600; color: var(--foreground); }
.contact-card .value { font-size: 0.875rem; color: var(--muted-foreground); }

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .contact-actions { flex-direction: row; }
}

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
