@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Rubik:wght@300;400;500;600;700;800&display=swap');

:root {
  --color-light: #faf6f0;      /* warm sand background */
  --color-sand: #f4ebd9;       /* secondary sand color */
  --color-terracotta: #c2410c; /* primary terracotta brand color */
  --color-ochre: #b45309;      /* deep gold-brown accent */
  --color-gold: #fcb900;       /* bright amber / stars */
  --color-stone: #1c1917;      /* charcoal/black text & panels */
  --color-oasis: #10b981;      /* whatsapp green */
  
  --font-sans: 'Rubik', sans-serif;
  --font-heading: 'Outfit', sans-serif;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--color-light);
  color: var(--color-stone);
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-light);
}
::-webkit-scrollbar-thumb {
  background: var(--color-sand);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-terracotta);
}

/* Typography Extensions */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
}

/* Selection Highlight */
::selection {
  background-color: var(--color-terracotta);
  color: #ffffff;
}

/* Navigation Utilities */
.nav-transparent {
  background: transparent;
  padding: 1.25rem 0;
}

.nav-glass {
  background: rgba(250, 246, 240, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(194, 65, 12, 0.08);
  padding: 0.75rem 0;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.03);
}

/* Swiper Customizations */
.swiper-hero {
  width: 100%;
  height: 100vh;
}

.swiper-hero .swiper-slide {
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.swiper-hero .swiper-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(28, 25, 23, 0.45), rgba(28, 25, 23, 0.7));
  z-index: 1;
}

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

.animate-fade-in-up {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Float Animation */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
.animate-float {
  animation: float 4s ease-in-out infinite;
}

/* Pulse Ripple Wave */
@keyframes pulseRipple {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 12px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}
.animate-pulse-ripple {
  animation: pulseRipple 2s infinite;
}

/* Layout Utilities */
.columns-masonry {
  column-gap: 1.5rem;
}
@media (min-width: 640px) {
  .columns-masonry {
    column-count: 2;
  }
}
@media (min-width: 1024px) {
  .columns-masonry {
    column-count: 3;
  }
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 1.5rem;
}

/* Hide webkit scrollbars */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Tilted Grid Collage Styles */
.tilted-collage-container {
  position: relative;
  width: 100%;
  height: 400px;
}
@media (min-width: 640px) {
  .tilted-collage-container {
    height: 450px;
  }
}
