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

:root {
  /* Brand Colors */
  --primary: #D6336C;
  --primary-hover: #B82A5D;
  --secondary: #1B2A1E;

  /* Neutral Palette - Luxury Grays */
  --bg-light: #F9FAFB;
  --bg-dark: #0A0A0A;
  --surface-light: #FFFFFF;
  --surface-dark: #121212;

  /* Typography */
  --font-display: 'Playfair Display', serif;
  --font-body: 'DM Sans', sans-serif;

  /* Transitions */
  --transition-smooth: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.3s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-light);
}

.dark ::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Base Styles */
body {
  font-family: var(--font-body);
  background-color: var(--bg-light);
  color: #1a1a1a;
  overflow-x: hidden;
}

.dark body {
  background-color: var(--bg-dark);
  color: #f5f5f5;
}

/* Premium Utilities */
.text-display {
  font-family: var(--font-display);
}

.parallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.text-stroke {
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
  color: transparent;
}

.hover-reveal-container {
  overflow: hidden;
  position: relative;
}

.hover-reveal-image {
  transition: var(--transition-smooth);
}

.hover-reveal-container:hover .hover-reveal-image {
  transform: scale(1.08);
}

/* Glassmorphism */
.glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.dark .glass {
  background: rgba(10, 10, 10, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Carousel Styles */
.carousel-container {
  position: relative;
  width: 100%;
}

.carousel-scroll {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding: 1rem 0;
}

.carousel-scroll::-webkit-scrollbar {
  display: none;
}

.nav-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;
  background: var(--surface-light);
  color: var(--secondary);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  opacity: 0;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.dark .nav-button {
  background: var(--surface-dark);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.carousel-container:hover .nav-button {
  opacity: 1;
}

.nav-button:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-50%) scale(1.1);
}

.nav-button.prev {
  left: 1rem;
}

.nav-button.next {
  right: 1rem;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.modal-content {
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

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

.animate-fade-in-up {
  animation: fadeInUp 1s ease-out forwards;
}

/* Badge Fix */
#montesite-footer-badge,
#montesite-footer-badge>*,
#montesite-footer-badge iframe {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 63px !important;
  z-index: 10 !important;
  margin: 0 !important;
  padding: 0 !important;
}