/* 
  Bordando com Propósito - Stylsheet
  Aesthetic: Organic, Delicate, Premium, Glassmorphism
*/

:root {
  /* Color Palette based on natural fibers and delicate embroidery */
  --bg-color: #faf8f5;
  /* Off-white / Crú */
  --text-dark: #414042;
  /* Soft Dark Gray */
  --text-light: #7a7369;
  /* Muted Brown */

  --accent-sage: #A58372;
  /* Taupe from logo */
  --accent-pink: #BE1E2D;
  /* Red from logo */
  --accent-mustard: #C02026;
  /* Soft Mustard */

  --accent-taupe: #A58372;
  --accent-red: #BE1E2D;

  --glass-bg: rgba(255, 255, 255, 0.65);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-shadow: 0 8px 32px 0 rgba(65, 64, 66, 0.05);

  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Outfit', sans-serif;

  /* Metrics */
  --border-radius: 24px;
  --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Background Decorations (Organic Shapes) */
.background-decor {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  opacity: 0.4;
  pointer-events: none;
}

.decor-1 {
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, var(--accent-pink) 0%, transparent 70%);
  top: -10vw;
  left: -10vw;
}

.decor-2 {
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, var(--accent-sage) 0%, transparent 70%);
  bottom: -20vw;
  right: -10vw;
}

/* Typography Classes */
h1,
h2,
h3,
h4,
.logo,
.footer-logo {
  font-family: var(--font-heading);
  font-weight: 400;
  color: var(--text-dark);
}

h1 em,
h2 em {
  font-style: italic;
  color: var(--accent-sage);
}

p {
  color: var(--text-light);
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

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

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

/* Glassmorphism Utilities */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  box-shadow: var(--glass-shadow);
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  background-color: var(--text-dark);
  color: var(--bg-color) !important;
  border-radius: 50px;
  font-weight: 500;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-family: var(--font-body);
}

.btn-primary:hover {
  background-color: var(--accent-sage);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(165, 131, 114, 0.3);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  background-color: transparent;
  color: var(--text-dark);
  border: 1px solid var(--text-dark);
  border-radius: 50px;
  font-weight: 500;
  transition: var(--transition);
}

.btn-secondary:hover {
  background-color: rgba(74, 68, 59, 0.05);
  transform: translateY(-2px);
}

.full-width {
  width: 100%;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 100;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(250, 248, 245, 0.85);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

.logo-img {
  height: 90px;
  /* Adjust height based on actual logo */
  width: auto;
}

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

.nav-links a:not(.btn-primary) {
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  transition: var(--transition);
}

.nav-links a:not(.btn-primary)::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--accent-sage);
  transition: var(--transition);
}

.nav-links a:not(.btn-primary):hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 101;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-dark);
  transition: var(--transition);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
  gap: 4rem;
}

.hero-content {
  flex: 1;
}

.badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(190, 30, 45, 0.1);
  color: var(--accent-red);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero h1 {
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-image-container {
  flex: 1;
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  overflow: hidden;
  box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.08);
  height: 600px;
  animation: morphing 15s ease-in-out infinite;
}

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

.floating-badge {
  position: absolute;
  bottom: 10%;
  left: -5%;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  animation: float 6s ease-in-out infinite;
  border: 1px solid var(--glass-border);
}

/* Animations */
@keyframes morphing {
  0% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }

  25% {
    border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
  }

  50% {
    border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
  }

  75% {
    border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
  }

  100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

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

  100% {
    transform: translateY(0px);
  }
}

/* Marquee */
.marquee-container {
  overflow: hidden;
  padding: 2rem 0;
  background-color: var(--text-dark);
  color: var(--bg-color);
  transform: rotate(-2deg);
  margin: 4rem -2rem;
  width: calc(100% + 4rem);
}

.marquee {
  display: flex;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.5rem;
}

.marquee span {
  padding-right: 2rem;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Sections Base */
section {
  padding: 6rem 0;
}

.section-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  margin-bottom: 1.5rem;
}

.section-inner {
  padding: 4rem;
}

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

.subtitle {
  color: var(--accent-sage);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.875rem;
  display: block;
  margin-bottom: 0.5rem;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.features-list {
  list-style: none;
  margin-top: 2rem;
}

.features-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.125rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.about-image img {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* Portfolio Section */
.filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 3rem 0;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--text-light);
  color: var(--text-light);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
  font-size: 1rem;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--accent-sage);
  color: white;
  border-color: var(--accent-sage);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.portfolio-item {
  padding: 1rem;
  transition: var(--transition);
  cursor: pointer;
}

.portfolio-item:hover {
  transform: translateY(-10px);
}

.item-img-wrapper {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  aspect-ratio: 4/5;
}

.item-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.portfolio-item:hover .item-img-wrapper img {
  transform: scale(1.05);
}

.item-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-style: italic;
}

.item-content p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Testimonials Section */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

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

.testimonial-icon {
  font-family: var(--font-heading);
  font-size: 5rem;
  color: var(--accent-sage);
  line-height: 1;
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  opacity: 0.2;
}

.testimonial-text {
  position: relative;
  z-index: 1;
  font-size: 1.05rem;
  color: var(--text-dark);
  font-style: italic;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 1.5rem;
}

.author-info h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 0.2rem;
}

.author-info span {
  font-size: 0.85rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Contact Section */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding: 4rem;
}

.contact-info h2 {
  font-size: 2.5rem;
}

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

.contact-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.125rem;
  transition: var(--transition);
}

.contact-link:hover {
  color: var(--accent-sage);
  transform: translateX(10px);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 500;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.8);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-sage);
  background: white;
  box-shadow: 0 0 0 4px rgba(165, 131, 114, 0.2);
}

/* Footer */
footer {
  padding: 4rem 2rem 2rem;
  text-align: center;
}

.footer-content {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 2rem;
}

.footer-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-logo .logo-img {
  height: 80px;
}

/* Scroll Animations */
.fade-in {
  opacity: 0;
  transition: opacity 0.8s ease-out;
}

.fade-in.appear {
  opacity: 1;
}

.slide-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-up.appear {
  opacity: 1;
  transform: translateY(0);
}

.slide-up-delayed {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out 0.3s, transform 0.8s ease-out 0.3s;
}

.slide-up-delayed.appear {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 6rem;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-image-container {
    width: 100%;
    max-width: 500px;
  }

  .hero-image-wrapper {
    height: 400px;
  }

  .about-grid,
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .section-inner {
    padding: 3rem 2rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--bg-color);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    transition: var(--transition);
    box-shadow: 20px 0 50px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    left: 0;
  }

  .menu-toggle {
    display: flex;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

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

  .contact-wrapper {
    padding: 2rem;
  }
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 5vh;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox-modal.show {
  display: block;
  opacity: 1;
}

.lightbox-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  transform: scale(0.9);
  transition: transform 0.3s ease;
  object-fit: contain;
}

.lightbox-modal.show .lightbox-content {
  transform: scale(1);
}

#lightbox-caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #fff;
  padding: 15px 0;
  font-size: 1.25rem;
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 500;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: 100;
  transition: 0.3s;
  cursor: pointer;
  z-index: 1001;
}

.lightbox-close:hover,
.lightbox-close:focus {
  color: var(--accent-sage);
  text-decoration: none;
  cursor: pointer;
}

@media only screen and (max-width: 700px) {
  .lightbox-content {
    width: 95%;
    max-height: 70vh;
  }

  .lightbox-close {
    top: 10px;
    right: 20px;
  }
}

/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: var(--transition);
}

.whatsapp-float:hover {
  background-color: #128c7e;
  transform: scale(1.1);
  box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
}