/* @import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");
@import "tailwindcss"; */
:root {
  --primary-color: #8b6d5e;
  --secondary-color: #726058;
  --third-color: #695b54;
  --accent-color: #927b70;
  --success-color: #4caf50;
  --dark-color: rgb(38, 16, 23);
  /* Define other theme colors as needed */
}

/* Force hero content to be fully visible */
.hero-content {
  opacity: 1 !important;
}

.josefin-sans-<uniquifier > {
  font-family: "Josefin Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}

.montserrat-<uniquifier > {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}

* {
  /* margin: 0; */
  /* padding: 0; */
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  background-color: #ffffff;
  color: #0a0a0a;
  padding-top: 64px;
}

//Loader
body.loading {
  overflow: hidden;
}
.letter {
  display: inline-block;
}

/* Underline default state */
#underline {
  width: 30%;
  height: 3px;
  background: white;
  margin-top: 10px;
  transform: scaleX(0);
  transform-origin: left; /* grows from left side */
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Josefin Sans", sans-serif;
}

//End of Loader

.antialiased {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.scrolling-text {
  white-space: nowrap;
  display: flex;
  width: fit-content;
}

.scrolling-container {
  overflow: hidden;
}

.scrolling-text {
  display: flex;
  width: max-content;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

#scrolling-text-1 {
  animation-name: scrollLeftToRight;
  animation-duration: 30s;
}

#scrolling-text-2 {
  animation-name: scrollRightToLeft;
  animation-duration: 25s;
}

#scrolling-text-3 {
  animation-name: scrollLeftToRight;
  animation-duration: 20s;
}

@keyframes scrollLeftToRight {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes scrollRightToLeft {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

.image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.2) 50%,
    rgba(0, 0, 0, 0.4) 100%
  );
}

.footer-overlay {
  /* position: overlay; */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(38, 16, 23, 0.85) 0%,
    rgba(38, 16, 23, 0.7) 25%,
    transparent 50%,
    rgba(38, 16, 23, 0.3) 75%,
    rgba(38, 16, 23, 0.85) 100%
  );
  z-index: 100;
}

.project-home-overlay {
  /* position: overlay; */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(38, 16, 23, 0.85) 0%,
    rgba(38, 16, 23, 0.7) 25%,
    rgba(38, 16, 23, 0.5) 50%,
    rgba(38, 16, 23, 0.7) 85%,
    rgba(38, 16, 23, 0.85) 100%
  );
  z-index: 100;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 60px;
  right: 60px;
  width: 60px;
  height: 60px;
  background-color: rgb(38, 16, 23);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 10;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  background-color: var(--third-color);
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(38, 16, 23, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(38, 16, 23, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(38, 16, 23, 0);
  }
}

/* Responsive adjustment */
@media (max-width: 768px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 25px;
    bottom: 20px;
    right: 20px;
  }
}
//End of Whatsapp button

/* Property Modal Styles */
/* Property Modal Styles */
#propertyModal {
  transition: opacity 0.3s ease;
  z-index: 100;
}

#propertyModal.hidden {
  display: none !important;
}

#propertyModal .bg-white {
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.thumbnail {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0.7;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.thumbnail:hover,
.thumbnail.active {
  opacity: 1;
  border: 2px solid var(--primary-color);
  transform: scale(1.05);
}

#imageThumbnails::-webkit-scrollbar {
  height: 4px;
}

#imageThumbnails::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
}

#imageThumbnails::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 2px;
}

/*End of property modal*/

/* Custom cursor */
.cursor-dot {
  width: 12px;
  height: 12px;
  background-color: var(--secondary-color);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
}

.cursor-outline {
  width: 40px;
  height: 40px;
  border: 3px solid var(--primary-color);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transition: all 0.01s ease-out;
}

.cursor-hover .cursor-outline {
  transform: scale(1.5);
  border-color: var(--accent-color);
}

/* End of custom cursor */

/* Ensure main content starts after the nav */
.hero-section {
  margin-top: -64px; /* Counteract the body padding for hero section */
}

/* Navigation specific styles */
nav {
  height: 64px; /* Fixed height */
}

/* Mobile menu height control */
#mobileMenu.menu-open {
  max-height: 400px; /* Adjust this value based on your content */
  overflow-y: auto;
}

/* Mobile menu animation */
#mobileMenu {
  transition:
    max-height 0.3s ease-in-out,
    opacity 0.3s ease-in-out;
  opacity: 0;
}

#mobileMenu.menu-open {
  opacity: 1;
}

/* Prevent body scroll when mobile menu is open */
body.menu-open {
  overflow: hidden;
}

/* Custom scrollbar for mobile menu */
#mobileMenu::-webkit-scrollbar {
  width: 4px;
}

#mobileMenu::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
}

#mobileMenu::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 2px;
}

/* Adjust hero section to account for fixed nav */
section:first-of-type {
  min-height: calc(100vh - 64px);
}

.invisible {
  visibility: hidden;
}

.poster-image {
  object-fit: cover;
}
