


/* General Body Styles */
body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  width:  calc(var(--vw, 1vw) * 100);
  transform: translateZ(0);
  backface-visibility: hidden;
  font-family: 'HelveticaNeueLight', sans-serif;
  font-weight: 300;
  background-color: #000000;
}

*, *::before, *::after {
  box-sizing: border-box;
}

.no-scroll {
  overflow: hidden;
  height: 100vh;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  height: 90px;
  width: 100%;
  display: flex;  
  align-items: center;
  padding-left: 30px;
  opacity: 1;
        }

  /* Loading Screen Styles */
#loading-container {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: black;
  transition: opacity 1s ease;

}

#loading-container.loaded {
    opacity: 0;
}

#loading-image {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  z-index: -1;
}

#loading-logo {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(calc(var(--vw, 1vw) * 50 - 50%), calc(var(--vh, 1vh) * 55 - 50%)) scale(0);
  transform-origin: center center;
  opacity: 0;
  z-index: 1002;
  max-width: 200px;
  height: auto;
  transition:
    transform 1.2s ease,
    opacity 1.2s ease;
}

#loading-logo.visible {
  opacity: 1;
  transform: translate(calc(var(--vw, 1vw) * 50 - 50%), calc(var(--vh, 1vh) * 55 - 50%)) scale(1.4);
}

#loading-logo.moved {
  transform: translate(65px, 65px) scale(1);
  opacity: 1;
}

@media (max-width: 600px) {
  #loading-logo.moved {
  transform: translate(calc(var(--vw, 1vw) * 50 - 50%), calc(var(--vh, 1vh) * 10 - 50%)) scale(0.8);
  }
}

/* Hero Section */
.hero {
    position: relative;
    height:  calc(var(--vh, 1vh) * 100); /* Full screen height */
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 90px;
}

.hero-image-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width:  calc(var(--vw, 1vw) * 100);
  height:  calc(var(--vh, 1vh) * 100);
  overflow: hidden; /* ✅ Important */
  z-index: -2; /* behind everything else */
}

.hero-logo {
    position: absolute;
    top: 65px;
    left: 65px;
    max-width: 200px;
    height: auto;
    z-index: 1002;
}

/* Optional: Responsive */
@media (max-width: 600px) {

    .hero-logo {
        position: absolute;
        top: 0;
        left: 0;
        transform: translate(calc(var(--vw, 1vw) * 50 - 50%), calc(var(--vh, 1vh) * 10 - 50%)) scale(0.8); 
        transform-origin: center center;
    }
}



.hero-image {
            
            position: absolute;
            top:0;
            left: 0;
            

            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            object-fit: cover; 
            transform: scale(1.2);
            opacity: 0;
            z-index: -1;
            transition: opacity 2s cubic-bezier(0.4, 0.0, 0.2, 1), transform 7s linear;


}

.hero-image.active {
  opacity: 1;
  transform: scale(1.0);
  z-index: 0;
}



.hero-text-container {
  position: absolute;
  top: calc(var(--vh, 1vh) * 30); /* 30% from top of viewport */
  left: 50%;
  transform: translateX(-50%); /* Center horizontally */
  
  width: calc(var(--vw, 1vw) * 65); /* 65% of viewport width */
  max-width: 65vw;

  box-sizing: border-box;

  color: #fff;
  z-index: 2;

  text-align: center; /* Optional, for heading alignment */
  word-wrap: break-word;
  overflow-wrap: break-word;
  overflow: hidden;
}



@media (max-width: 600px) {
  .hero-text-container {
    top: calc(var(--vh, 1vh) * 42); /* 30% from top of viewport */
    left: 50%;
    transform: translateX(-50%); /* Center horizontally */
  
     width: calc(var(--vw, 1vw) * 65); /* 65% of viewport width */
  }
}



.hero-heading1 {
    font-family: 'HelveticaNeueLight', sans-serif;
    font-weight: 100;
    font-size: 4.5em;
    line-height: 1;
    text-align: center;
    margin-bottom: 0.2em;
}

.hero-heading2 {
    margin-top: 0;
    font-family: 'HelveticaNeueLight', sans-serif;
    font-size: 4.5em;
    font-weight: 100;
    line-height: 1;
    text-align: center;
}

@media (max-width: 768px) {
    .hero-heading1 {
        font-size: 2.2em;
    }
    .hero-heading2 {
        font-size: 2.2em;
    }

}

/* Container for all floating cards */
.floating-cards-container {
  position: fixed;
  bottom: 30px;
  right: 65px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: calc(var(--vw, 1vw) * 20); /* preferred */
  height: calc(var(--vh, 1vh) * 30);
  opacity: 0;
  transition: opacity 1.5s ease-in-out 1s;
  box-sizing: border-box;
  z-index: 1000;   
  align-items: stretch;
}

@media (max-width: 600px) {
  .floating-cards-container {
  position: fixed;
    width: 100%; /* fallback */
    width: calc(var(--vw, 1vw) * 50); /* preferred */
    height: calc(var(--vh, 1vh) * 13);
    left: 50%;
    bottom: 10%;
    transform: translateX(-50%);
    gap: 20px;
    max-width: calc(var(--vw, 1vw) * 50);
    max-height: calc(var(--vh, 1vh) * 13);
    display: flex;
    justify-content: space-between;

    flex-direction: column;
    align-items: stretch; /* Center items horizontally within the container */
  }
}


.floating-cards-container.visible {
  opacity: 1;
}

.container::after {
  content: "";
  display: table;
  clear: both;
}


/* The card itself */
.floating-card {
  position: relative;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  overflow: visible; /* <-- Allow oval image to show fully */
  background-color: transparent; /* Transparent background */
}

.card-full-image {
  width: 100%;
  height: 100%;
  object-fit: contain; /* <-- Show entire oval image without cropping */
  display: block;
}



/* On hover effect */
.floating-card:hover {
    transform: translateY(-5px);
}


/* Modal and other modal related styles */



.modal-content {
  padding: 2rem;
  max-height: 100%;
  overflow-y: auto;
  box-sizing: border-box;
  opacity: 1;
  transition: opacity 0.3s ease;
} 

.map-preview iframe {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    margin-top: 1rem;
}

.map-address {
    text-align: center;
    margin-top: 0.75rem;
    font-size: 1rem;
    color: #333;
}


 .modal-view {
  position: fixed;
  z-index: 1000;
  transition: all 0.5s ease-in-out;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  display: none;
  transition: all 0.7s cubic-bezier(0.25, 0.8, 0.25, 1); /* smoother easing */

}

#modal-view.open {
  top: 50% !important;
  left: 50% !important;
  width: 40vw !important;
  height: 60vh !important;
  transform: translate(-50%, -40%) !important;
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.7);
}

body.modal-open #main-content {
  filter: blur(5px); /* Blur the background content */
  pointer-events: none; /* Prevent clicking behind modal */
  overflow: hidden;
}

@media (max-width: 600px) {
#modal-view.open {
    top: 50% !important;
    left: 50% !important;
    width: 80vw !important;
    height: 60vh !important;
    transform: translate(-50%, -42%) !important;
    overflow-y: auto;
}
}


#modal-view:not(.open) .modal-content {
    opacity: 0;
}


#main-content {
    position: relative; /* Ensure it's in the flow */
    z-index: 999; /* Below loading screen initially */
    opacity: 1; /* Initially hidden */
    transition: opacity 1.5s ease-in-out;
    transition: filter 0.4s ease; /* Smooth blur */

}

#main-content.visible {
    opacity: 1;
}
