:root {
  --sage-green: #f86688;
  /* Vibrant Magenta from Logo */
  --sage-green-dark: #f86688;
  /* Darker Magenta */
  --dusty-pink: rgb(204, 0, 102);
  /* Purple from Yarn */
  --dusty-pink-hover: #e42a9c;
  /* Darker Purple */
  --beige: #fefcf9;
  /* Soft Cream */
  --text-dark: #4a4a4a;
  --text-light: #7a7a7a;
  --hero-title-color: rgb(204, 0, 102);
  /* Cor do Titulo Principal */
}

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

html {
  scroll-padding-top: 80px;
  /* offset for fixed navbar */
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--beige);
  color: var(--text-dark);
  line-height: 1.6;
}

/* Typography */
h1,
h2,
.logo {
  font-family: 'Great Vibes', cursive;
  font-weight: 400;
}

h2,
.logo {
  color: var(--sage-green-dark);
}

.hero h1 {
  color: var(--hero-title-color);
}

.logo {
  font-size: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-img {
  height: 90px;
  width: auto;
  object-fit: contain;
  transition: height 0.3s ease;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 5%;
  position: absolute;
  width: 100%;
  top: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  position: fixed;
  background: rgba(245, 148, 170, 0.95);
  /* #f594aa with opacity */
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 0.3rem 5%;
}

.navbar.scrolled .logo-img {
  height: 45px;
}

.navbar nav a {
  text-decoration: none;
  color: var(--text-dark);
  margin-left: 2rem;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.navbar.scrolled nav a {
  color: white;
}

.navbar nav a:hover {
  color: var(--dusty-pink);
}

.navbar.scrolled nav a:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 5%;
  background: linear-gradient(to bottom, rgba(254, 252, 249, 0.3), #ffb4ef7a), url(./images/hero-bg.png) center / cover no-repeat;
}

.hero-content {
  max-width: 800px;
  background: rgba(255, 255, 255, 0.3);
  padding: 3rem;
  border-radius: 20px;
  backdrop-filter: blur(5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  transform: translateY(20px);
  animation: fadeUp 1s ease forwards;
}

@keyframes fadeUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }

  from {
    opacity: 0;
  }
}

.badge {
  display: inline-block;
  background-color: var(--dusty-pink);
  color: white;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn-primary {
  display: inline-block;
  background-color: var(--sage-green);
  color: white;
  text-decoration: none;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(139, 168, 142, 0.4);
}

.btn-primary:hover {
  background-color: var(--sage-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(139, 168, 142, 0.6);
}

/* Collections */
.collection {
  padding: 5rem 5%;
}

.section-title {
  font-size: 3.5rem;
  text-align: center;
  margin-bottom: 3rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.gallery-thumbs {
  display: flex;
  gap: 10px;
  padding: 15px 20px 0;
  overflow-x: auto;
}

.gallery-thumbs .thumb {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 5px;
  cursor: pointer;
  border: 2px solid transparent;
  flex-shrink: 0;
  transition: border-color 0.3s;
}

.gallery-thumbs .thumb:hover {
  border-color: var(--sage-green);
}

.placeholder-img {
  height: 250px;
  background: url('https://images.unsplash.com/photo-1628173499426-302efd0c75cc?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80') center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

.placeholder-img span {
  display: none;
}

.card-info {
  padding: 2rem;
}

.card-info h3 {
  font-size: 1.4rem;
  color: var(--sage-green-dark);
  margin-bottom: 0.5rem;
}

.card-info p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.urgency {
  font-size: 0.8rem;
  color: var(--dusty-pink);
  font-weight: 600;
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--dusty-pink);
  color: var(--dusty-pink);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: var(--dusty-pink);
  color: white;
}

/* WhatsApp Float */
.whatsapp-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #25D366;
  color: white;
  padding: 1rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s ease;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-btn:hover {
  transform: scale(1.05);
}

.wa-icon {
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wa-text {
  overflow: hidden;
  white-space: nowrap;
  max-width: 0;
  opacity: 0;
  margin-left: 0;
  animation: waPulse 10s ease-in-out infinite;
}

@keyframes waPulse {
  0%, 40% {
    max-width: 0;
    opacity: 0;
    margin-left: 0;
  }
  50%, 90% {
    max-width: 150px;
    opacity: 1;
    margin-left: 8px;
  }
  100% {
    max-width: 0;
    opacity: 0;
    margin-left: 0;
  }
}

/* Lightbox Modal */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.lightbox-img {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  background: none;
  border: none;
}

.lightbox-close:hover {
  color: var(--sage-green);
}

/* Scroll Down Indicator */
.scroll-down-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--sage-green);
  animation: bounce 2s infinite;
  transition: color 0.3s ease;
}

.scroll-down-indicator:hover {
  color: var(--sage-green-dark);
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) translateX(-50%);
  }

  40% {
    transform: translateY(-15px) translateX(-50%);
  }

  60% {
    transform: translateY(-7px) translateX(-50%);
  }
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 2rem 5%;
  background: #111;
  color: #fff;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
}

.site-footer p {
  margin: 5px 0;
}

.dev-credit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.dev-logo {
  height: 25px; /* adjust based on logo proportion */
  width: auto;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
  display: block;
}

.dev-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.site-footer a {
  color: var(--sage-green-dark);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.site-footer a:hover {
  color: var(--dusty-pink);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    padding: 0.5rem 5%;
  }

  .navbar nav {
    margin-top: 10px;
  }

  .navbar nav a {
    margin: 0 10px;
    font-size: 0.85rem;
  }

  .navbar.scrolled {
    flex-direction: row;
    justify-content: center;
    padding: 0.6rem 5%;
  }

  .navbar.scrolled .logo {
    display: none;
  }

  .navbar.scrolled nav {
    margin-top: 0;
  }

  .whatsapp-btn {
    bottom: 90px;
  }

  .hero {
    height: auto;
    padding-top: 180px;
    /* Space for the stacked navbar */
    padding-bottom: 100px;
  }

  .hero-content {
    padding: 2rem 1.5rem;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .hero p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .badge {
    margin-bottom: 1rem;
  }
}