/* KUVO Main Stylesheet */
/* ===================== */

:root {
  --color-bg: #fdfbf7;
  --color-dark: #1a1a1a;
  --color-accent: #8b5e3c;
  --color-accent-light: #e9824c;
  --font-main: "Plus Jakarta Sans", sans-serif;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-dark);
  scroll-behavior: smooth;
  position: relative;
  overflow-x: hidden;
}

/* Noise texture overlay */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.04;
  background-image: url("https://www.transparenttextures.com/patterns/asfalt-dark.png");
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg);
}
::-webkit-scrollbar-thumb {
  background: #d4c3b3;
  border-radius: 10px;
}

/* Typography */
.font-serif {
  font-family: var(--font-main) !important;
  font-weight: 700;
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.2;
  }
  50% {
    opacity: 0.8;
  }
}

@keyframes shimmer {
  from {
    transform: translateX(-100%) skewX(-12deg);
  }
  to {
    transform: translateX(200%) skewX(-12deg);
  }
}

@keyframes slideDown {
  from {
    transform: translateY(-100px);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

@keyframes ping {
  75%,
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fadeIn {
  animation: fadeIn 1s ease-out forwards;
}

.animate-slideDown {
  animation: slideDown 0.5s ease-out forwards;
}

.animate-pulse {
  animation: pulse 4s infinite;
}

.animate-ping {
  animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.animate-blink {
  animation: blink 1s step-end infinite;
}

/* Utility Classes */
.transition-all-500 {
  transition: all 0.5s ease;
}

.vertical-text {
  writing-mode: vertical-rl;
}

/* Loader */
.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-bg);
}

.loader-text {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: 0.3em;
  color: var(--color-dark);
  animation: pulse 2s infinite;
}

/* Grid overlay */
.grid-overlay {
  background-image: linear-gradient(rgba(0, 0, 0, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.1) 1px, transparent 1px);
  background-size: 100px 100px;
}

/* FAQ Accordion */
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s ease, opacity 0.4s ease;
  opacity: 0;
}

.faq-item.active .faq-content {
  max-height: 500px;
  opacity: 1;
}

.faq-item.active .faq-icon-plus {
  display: none;
}

.faq-item .faq-icon-minus {
  display: none;
}

.faq-item.active .faq-icon-minus {
  display: block;
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: white;
  border-radius: 40px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
  transform: scale(1) translateY(0);
}

/* Button hover effects */
.btn-primary {
  background: var(--color-dark);
  color: white;
  transition: all 0.5s ease;
}

.btn-primary:hover {
  background: var(--color-accent);
}

.btn-secondary {
  background: white;
  color: var(--color-dark);
  transition: all 0.5s ease;
}

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

/* Card hover effects */
.card-hover {
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.card-hover:hover {
  transform: translateY(-10px);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.2);
}

/* Image zoom on hover */
.img-zoom {
  transition: transform 1s ease;
}

.group:hover .img-zoom {
  transform: scale(1.1);
}

/* Navbar styles */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 1.5rem;
  transition: all 0.5s ease;
}

.navbar.scrolled {
  background: rgba(253, 251, 247, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 1rem 1.5rem;
}

.navbar.scrolled .nav-text {
  color: var(--color-dark) !important;
}

.navbar.dark .nav-text {
  color: white;
}

/* Hide/show elements */
.hidden {
  display: none !important;
}
.visible {
  display: block !important;
}
