/* Reset and Base Styles */
:root {
  /* CSS Custom Properties for mobile optimization */
  --vh: 1vh;
  --mobile-padding: 20px;
  --desktop-padding: 40px;
  /* KITO Brand Colors */
  --kito-orange: #FF8C42;
  --kito-orange-hover: #FF7A2E;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Arial", sans-serif;
}

/* Mobile-friendly image and video scaling */
img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Lazy loading placeholder */
.lazyload,
.lazyloading {
  opacity: 0;
  transition: opacity 300ms;
}

.lazyloaded {
  opacity: 1;
}

/* Mobile performance optimizations */
* {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Enable smooth scrolling with performance consideration */
html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* Home page specific - no scroll */
body.home {
  overflow: hidden;
  height: 100vh;
}

/* Image Slideshow Background */
.slideshow-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
}

.slideshow-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 2s ease-in-out;
  /* Performance optimization */
  will-change: opacity;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.slideshow-image.active {
  opacity: 1;
  z-index: 1;
}

/* Smooth fade transition between slides */
.slideshow-image:not(.active) {
  z-index: 0;
}

/* Overlay to make text more readable */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: -1;
}

/* Animated Stars Background */
.stars-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Hero Stars - for page heroes */
.hero-stars {
  position: absolute;
  z-index: 1;
}

.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: white;
  border-radius: 50%;
  animation: twinkle 3s infinite ease-in-out;
  box-shadow: 0 0 4px rgba(255, 255, 255, 0.8);
}

.star.glitter {
  background: var(--kito-orange);
  box-shadow: 0 0 8px var(--kito-orange), 0 0 12px var(--kito-orange);
  animation: glitterTwinkle 2s infinite ease-in-out;
}

.star.large {
  width: 3px;
  height: 3px;
  box-shadow: 0 0 6px rgba(255, 255, 255, 1);
}

@keyframes twinkle {
  0%, 100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

@keyframes glitterTwinkle {
  0%, 100% {
    opacity: 0.4;
    transform: scale(1) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.5) rotate(180deg);
  }
}

/* Fluid Glitter Effect on Hover */
.main-content {
  position: relative;
}

.main-content::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(255, 140, 66, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.6s ease-out;
  pointer-events: none;
  z-index: -1;
}

.main-content:hover::before {
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255, 140, 66, 0.15) 0%, rgba(255, 140, 66, 0.05) 50%, transparent 70%);
}

/* Glitter particles on hover */
.glitter-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--kito-orange);
  border-radius: 50%;
  pointer-events: none;
  animation: floatUp 2s ease-out forwards;
  box-shadow: 0 0 10px var(--kito-orange);
  z-index: 1;
}

@keyframes floatUp {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: translateY(-100px) scale(0.5) rotate(360deg);
  }
}

/* Logo */
.logo-container {
  position: fixed;
  top: 30px;
  left: 40px;
  z-index: 1000;
}

.logo-img {
  height: 70px;
  width: auto;
  transition: all 0.3s ease;
  filter: brightness(1);
}

.logo-img:hover {
  filter: brightness(0.8);
  transform: scale(1.05);
}

.logo-text {
  color: white;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 12px 20px;
  transition: all 0.3s ease;
}

.logo-text:hover {
  color: #ccc;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 30px;
  right: 40px;
  z-index: 1000;
}

.nav-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.nav-toggle:hover {
  background: rgba(0, 0, 0, 0.7);
}

.nav-toggle:hover .hamburger-line {
  background-color: var(--kito-orange);
}

.hamburger-line {
  width: 25px;
  height: 2px;
  background-color: white;
  margin: 3px 0;
  transition: 0.3s;
  transform-origin: center;
}

.nav-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.nav-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease;
  margin: 0;
  padding: 0;
  border: none;
  box-sizing: border-box;
}

.nav-menu.active {
  opacity: 1;
  visibility: visible;
}

.nav-menu ul {
  list-style: none;
  text-align: center;
}

.nav-menu li {
  margin: 25px 0;
}

.nav-menu a {
  color: white;
  text-decoration: none;
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: 2px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-menu a:hover {
  color: var(--kito-orange);
}

.nav-menu a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--kito-orange);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

/* Main Content */
.main-content {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.logo {
  font-size: 5rem;
  font-weight: 700;
  letter-spacing: 8px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

/* Hero Title */
.hero-title {
  font-size: 4.5rem;
  font-weight: 700;
  letter-spacing: 6px;
  margin-bottom: 20px;
  text-transform: uppercase;
  line-height: 1.2;
  transition: all 0.3s ease;
  cursor: default;
}

.hero-title:hover {
  transform: scale(1.02);
  text-shadow: 0 0 30px rgba(255, 140, 66, 0.5);
}

.hero-title .highlight {
  color: white;
  position: relative;
  display: inline-block;
  transition: all 0.4s ease;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--kito-orange);
  transition: width 0.4s ease;
  box-shadow: 0 0 10px var(--kito-orange);
}

.hero-title:hover .highlight {
  color: var(--kito-orange);
  text-shadow: 0 0 20px rgba(255, 140, 66, 0.6);
}

.hero-title:hover .highlight::after {
  width: 100%;
}

.tagline {
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 3px;
  max-width: 600px;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* Now Leasing Text */
.now-leasing {
  font-size: 1.8rem;
  font-weight: 300;
  letter-spacing: 4px;
  color: var(--kito-orange);
  text-transform: uppercase;
  margin-bottom: 30px;
  text-shadow: 0 0 30px rgba(255, 140, 66, 0.8), 0 0 50px rgba(255, 140, 66, 0.5);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    text-shadow: 0 0 30px rgba(255, 140, 66, 0.8), 0 0 50px rgba(255, 140, 66, 0.5);
    transform: scale(1);
  }
  50% {
    opacity: 1;
    text-shadow: 0 0 40px rgba(255, 140, 66, 1), 0 0 70px rgba(255, 140, 66, 0.8), 0 0 100px rgba(255, 140, 66, 0.4);
    transform: scale(1.02);
  }
}

/* CTA Button */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 40px;
  background: transparent;
  border: 2px solid white;
  color: white;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  border-radius: 4px;
  margin-top: 20px;
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(255, 140, 66, 0.4) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.cta-button:hover::before {
  width: 300px;
  height: 300px;
}

.cta-button:hover {
  background: var(--kito-orange);
  border-color: var(--kito-orange);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 140, 66, 0.4), 0 0 40px rgba(255, 140, 66, 0.2);
}

.cta-button svg {
  transition: transform 0.3s ease;
  position: relative;
  z-index: 1;
}

.cta-button:hover svg {
  transform: translateX(5px);
}

.cta-button span {
  position: relative;
  z-index: 1;
}

/* Page Hero Sections */
.page-hero {
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Hero hover effect with glitter */
.page-hero::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(255, 140, 66, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.6s ease-out;
  pointer-events: none;
  z-index: 1;
}

.page-hero:hover::after {
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255, 140, 66, 0.15) 0%, rgba(255, 140, 66, 0.05) 50%, transparent 70%);
}

.page-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.page-hero-content {
  text-align: center;
  color: white;
  z-index: 2;
  position: relative;
}

.page-hero h1 {
  font-size: 4rem;
  font-weight: 300;
  letter-spacing: 4px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  z-index: 2;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Page Hero Title with Orange Hover Effect */
.page-hero-title {
  transition: all 0.3s ease;
  cursor: default;
}

.page-hero-title:hover {
  transform: scale(1.02);
  text-shadow: 0 0 30px rgba(255, 140, 66, 0.5);
}

.page-hero-title .hero-highlight {
  color: white;
  position: relative;
  display: inline-block;
  transition: all 0.4s ease;
}

.page-hero-title .hero-highlight::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--kito-orange);
  transition: width 0.4s ease;
  box-shadow: 0 0 10px var(--kito-orange);
}

.page-hero-title:hover .hero-highlight {
  color: var(--kito-orange);
  text-shadow: 0 0 20px rgba(255, 140, 66, 0.6);
}

.page-hero-title:hover .hero-highlight::after {
  width: 100%;
}

/* Sections */
.section {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 100px 20px;
  color: white;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.section.active {
  opacity: 1;
  transform: translateY(0);
}

.section-content {
  max-width: 800px;
  text-align: center;
}

.section h2 {
  font-size: 3rem;
  margin-bottom: 30px;
  letter-spacing: 3px;
}

.section p {
  font-size: 1.2rem;
  line-height: 1.8;
  letter-spacing: 1px;
}

/* Footer */
footer {
  padding: 30px 20px;
  text-align: center;
  color: white;
  background: rgba(0, 0, 0, 0.7);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  /* Slideshow optimization for mobile */
  .slideshow-image {
    background-attachment: scroll;
  }

  /* Fix gallery images - prevent over-cropping on mobile */
  .gallery-item img {
    width: 100%;
    height: auto;       /* allow natural scaling */
    object-fit: cover;  /* only used when fixed container heights exist */
  }

  .logo {
    font-size: 3rem;
    letter-spacing: 5px;
  }

  .hero-title {
    font-size: 2.5rem;
    letter-spacing: 3px;
    line-height: 1.3;
  }

  .page-hero-title {
    font-size: 2.5rem;
    letter-spacing: 3px;
  }

  .page-hero-title .hero-highlight::after {
    height: 2px;
  }

  .tagline {
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 25px;
  }

  .now-leasing {
    font-size: 1.5rem;
    letter-spacing: 3px;
    margin-bottom: 25px;
  }

  .cta-button {
    padding: 15px 30px;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
  }

  .nav-menu a {
    font-size: 2rem;
  }

  .section h2 {
    font-size: 2.5rem;
  }
}
/* Pa
ge-specific styles */
.page-hero {
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.page-hero-content {
  text-align: center;
  color: white;
  z-index: 2;
  position: relative;
}

.page-hero h1 {
  font-size: 4rem;
  font-weight: 300;
  letter-spacing: 4px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  z-index: 2;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

.page-content {
  background: linear-gradient(to bottom, #2a2a2a 0%, #1a1a1a 100%);
  min-height: 100vh;
  padding: 80px 20px;
  color: white;
}

.content-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 0;
}

.content-section {
  margin-bottom: 80px;
}

.content-section h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  letter-spacing: 2px;
  font-weight: 300;
}

.content-section p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #e0e0e0;
}

.page-footer {
  background: #1a1a1a;
  color: #888;
  border-top: 1px solid #333;
}

.footer-cta {
  text-align: center;
  padding: 60px 20px;
  border-bottom: 1px solid #333;
}

.footer-cta h3 {
  color: #666;
  font-size: 0.9rem;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.footer-cta h2 {
  color: #ccc;
  font-size: 1.8rem;
  font-weight: 300;
  letter-spacing: 1px;
  margin-bottom: 40px;
}

.footer-cta .email-link {
  color: #ccc;
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: 1px;
  border-bottom: 1px solid #666;
  padding-bottom: 2px;
  transition: all 0.3s ease;
}

.footer-cta .email-link:hover {
  color: var(--kito-orange);
  border-bottom-color: var(--kito-orange);
}

.footer-info {
  padding: 40px 20px;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h4 {
  color: #ccc;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.footer-column p {
  color: #888;
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 8px;
}

.footer-column a {
  color: #888;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: var(--kito-orange);
}

.footer-bottom {
  border-top: 1px solid #333;
  padding: 30px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-bottom p {
  color: #666;
  font-size: 0.8rem;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  color: #888;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--kito-orange);
}

/* Hero background images for different pages - DESKTOP FIRST */
.about-hero {
  background-image: url("../media/about-hero.jpg");
  background-color: #2a2a2a; /* fallback color */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll; /* Mobile-friendly default */
}

.work-hero {
  background-image: url("../media/the-address.jpeg");
  background-color: #2a2a2a; /* fallback color */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll; /* Mobile-friendly default */
}

.contact-hero {
  background-image: url("../media/skyline.jpg");
  background-color: #2a2a2a; /* fallback color */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll; /* Mobile-friendly default */
}

.listings-hero {
  background-image: url("../media/algo.png");
  background-color: #2a2a2a; /* fallback color */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll; /* Mobile-friendly default */
}

/* Responsive adjustments for pages */
@media (max-width: 768px) {
  .page-hero h1 {
    font-size: 2.5rem;
    letter-spacing: 2px;
  }

  .content-section h2 {
    font-size: 2rem;
  }

  .content-container {
    padding: 40px 0;
  }
} /*
 Responsive footer adjustments */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-cta h2 {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}
/* Listings page styles */
.listings-hero {
  background-image: url("../media/algo.png");
  background-color: #2a2a2a; /* fallback color */
}

.listings-separator {
  background: #1a1a1a;
  padding: 60px 20px;
  border-bottom: 1px solid #333;
}

/* Listings Category Sections */
.listings-category {
  background: #1a1a1a;
  padding: 60px 20px;
  border-bottom: 1px solid #333;
}

.category-header {
  max-width: 1400px;
  margin: 0 auto 40px;
  text-align: center;
}

.category-header h3 {
  color: var(--kito-orange);
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.category-header p {
  color: #ccc;
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

.separator-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: start;
}

.listing-info h2 {
  color: white;
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.listing-info .location {
  color: #e0e0e0;
  font-size: 1rem;
  margin-bottom: 0;
}

.listing-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.detail-column h6 {
  color: #9e9e9e;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.detail-column p {
  color: #e0e0e0;
  font-size: 0.85rem;
  line-height: 1.4;
  margin-bottom: 20px;
}

.listings-gallery {
  background: #1a1a1a;
  padding: 40px 20px;
}

.gallery-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.gallery-item:hover {
  transform: scale(1.02);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item.large {
  height: 60vh;
  min-height: 400px;
}

.gallery-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  height: 40vh;
  min-height: 300px;
}

.gallery-row .gallery-item {
  height: 100%;
}

/* Responsive adjustments for listings */
@media (max-width: 768px) {
  .separator-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .listing-details {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .listing-info h2 {
    font-size: 1.5rem;
  }

  .listings-gallery {
    padding: 20px 15px;
  }

  .listings-category {
    padding: 40px 15px;
  }

  .category-header {
    margin-bottom: 30px;
  }

  .category-header h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }

  .category-header p {
    font-size: 0.95rem;
  }

  .gallery-container {
    gap: 15px;
  }

  .gallery-row {
    grid-template-columns: 1fr;
    height: auto;
    gap: 15px;
  }

  .gallery-row .gallery-item {
    height: 40vh;
    min-height: 250px;
  }

  .gallery-item.large {
    height: 50vh;
    min-height: 300px;
  }
}
/* Work Showcase Section */
.work-showcase {
  background: #1a1a1a;
  padding: 0;
}

.project-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
  border-bottom: 1px solid #333;
}

.project-item.reverse {
  direction: rtl;
}

.project-item.reverse > * {
  direction: ltr;
}

.project-image {
  position: relative;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-item:hover .project-image img {
  transform: scale(1.05);
}

.project-content {
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #1a1a1a;
}

.project-content h3 {
  color: white;
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: 2px;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.project-item:hover .project-content h3 {
  color: var(--kito-orange);
}

.project-category {
  color: var(--kito-orange);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  font-weight: 500;
}

.project-content > p {
  color: #ccc;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 25px;
}

.project-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.project-features li {
  color: #aaa;
  font-size: 0.95rem;
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
}

.project-features li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--kito-orange);
  font-weight: bold;
}

/* Responsive Work Showcase */
@media (max-width: 968px) {
  .project-item {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .project-item.reverse {
    direction: ltr;
  }

  .project-content {
    padding: 40px 30px;
  }

  .project-content h3 {
    font-size: 2rem;
  }

  .project-image {
    min-height: 400px;
  }
}

@media (max-width: 480px) {
  .project-content {
    padding: 30px 20px;
  }

  .project-content h3 {
    font-size: 1.6rem;
  }

  .project-content > p {
    font-size: 0.95rem;
  }

  .project-image {
    min-height: 300px;
  }
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: rgba(0, 0, 0, 0.9);
  border-color: var(--kito-orange);
  transform: translateY(-2px);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  fill: white;
  transition: all 0.3s ease;
}

.back-to-top:hover svg {
  fill: var(--kito-orange);
  transform: translateY(-2px);
}

/* Responsive adjustments for logo and back-to-top */
@media (max-width: 768px) {
  .logo-container {
    top: 20px;
    left: 20px;
  }

  .logo-img {
    height: 55px;
  }

  .logo-text {
    font-size: 1rem;
    padding: 10px 15px;
    letter-spacing: 1px;
  }

  .navbar {
    top: 20px;
    right: 20px;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }

  .back-to-top svg {
    width: 18px;
    height: 18px;
  }
} /* Fix for navigation menu white border issue temporarily though */
.nav-menu.active {
  opacity: 1;
  visibility: visible;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
} /* Con
tact Form Styles */
.contact-form-section {
  background: linear-gradient(to bottom, #1a1a1a 0%, #0f0f0f 100%);
  padding: 80px 20px;
  border-top: 1px solid #333;
}

.form-container {
  max-width: 800px;
  margin: 0 auto;
}

.form-header {
  text-align: center;
  margin-bottom: 50px;
}

.form-header h2 {
  color: white;
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.form-header p {
  color: #ccc;
  font-size: 1.1rem;
  line-height: 1.6;
}

.contact-form {
  display: grid;
  gap: 25px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  color: #ccc;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 15px 20px;
  color: white;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--kito-orange);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 2px rgba(255, 140, 66, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #888;
}

.form-group select {
  cursor: pointer;
}

.form-group select option {
  background: #1a1a1a;
  color: white;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  background: transparent;
  border: 2px solid white;
  color: white;
  padding: 18px 40px;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  border-radius: 4px;
}

.submit-btn:hover {
  background: var(--kito-orange);
  border-color: var(--kito-orange);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 140, 66, 0.4);
}

.submit-btn svg {
  transition: transform 0.3s ease;
}

.submit-btn:hover svg {
  transform: translateX(5px);
}

/* Form validation styles */
.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
  border-color: #ff6b6b;
  background: rgba(255, 107, 107, 0.1);
}

.form-group input:valid,
.form-group textarea:valid {
  border-color: rgba(76, 175, 80, 0.5);
}

/* Responsive form adjustments */
@media (max-width: 768px) {
  .contact-form-section {
    padding: 60px 15px;
  }

  .form-header h2 {
    font-size: 2rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 12px 15px;
  }

  .submit-btn {
    padding: 15px 30px;
    font-size: 0.9rem;
  }
} /* Custo
m Dialog Styles */
.dialog-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.dialog-box {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 40px;
  max-width: 500px;
  width: 90%;
  position: relative;
  transform: scale(0.8) translateY(20px);
  transition: all 0.3s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.dialog-overlay.active .dialog-box {
  transform: scale(1) translateY(0);
}

.dialog-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  color: #888;
  font-size: 24px;
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.dialog-close:hover {
  color: white;
  background: rgba(255, 255, 255, 0.1);
}

.dialog-content {
  text-align: center;
}

.dialog-title {
  color: white;
  font-size: 1.8rem;
  font-weight: 300;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.dialog-message {
  color: #ccc;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.dialog-name {
  color: #fff;
  font-weight: 500;
}

/* Dialog responsive adjustments */
@media (max-width: 768px) {
  .dialog-box {
    padding: 30px 25px;
    margin: 20px;
  }

  .dialog-title {
    font-size: 1.5rem;
  }

  .dialog-message {
    font-size: 1rem;
  }
} /* Enh
anced Mobile Optimizations */

/* Mobile-first improvements */
@media (max-width: 480px) {
  /* Typography optimizations */
  .logo {
    font-size: 2.5rem;
    letter-spacing: 3px;
    line-height: 1.2;
  }

  .hero-title {
    font-size: 1.8rem;
    letter-spacing: 2px;
    line-height: 1.3;
    padding: 0 10px;
  }

  .hero-title .highlight::after {
    height: 2px;
  }

  .page-hero-title {
    font-size: 1.8rem;
    letter-spacing: 2px;
  }

  .page-hero-title .hero-highlight::after {
    height: 2px;
  }

  .tagline {
    font-size: 1rem;
    letter-spacing: 1px;
    padding: 0 10px;
    margin-bottom: 20px;
  }

  .now-leasing {
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
  }

  .cta-button {
    padding: 12px 25px;
    font-size: 0.85rem;
    letter-spacing: 1px;
  }

  /* Navigation improvements */
  .logo-container {
    top: 15px;
    left: 15px;
  }

  .logo-img {
    height: 45px;
  }

  .logo-text {
    font-size: 0.9rem;
    padding: 8px 12px;
    letter-spacing: 1px;
  }

  .navbar {
    top: 15px;
    right: 15px;
  }

  .nav-toggle {
    width: 45px;
    height: 45px;
    padding: 12px;
  }

  .hamburger-line {
    width: 20px;
    height: 1.5px;
    margin: 2px 0;
  }

  /* Navigation menu mobile optimization */
  .nav-menu a {
    font-size: 1.8rem;
    margin: 15px 0;
  }

  .nav-menu li {
    margin: 20px 0;
  }

  /* Page hero optimizations */
  .page-hero h1 {
    font-size: 2rem;
    letter-spacing: 2px;
  }

  /* Content sections */
  .content-section {
    margin-bottom: 60px;
  }

  .content-section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
  }

  .content-section p {
    font-size: 1rem;
    line-height: 1.6;
    letter-spacing: 0.5px;
  }

  /* Footer mobile optimization */
  .footer-cta {
    padding: 40px 15px;
  }

  .footer-cta h2 {
    font-size: 1.2rem;
    margin-bottom: 30px;
  }

  .footer-cta h3 {
    font-size: 0.8rem;
  }

  .footer-info {
    padding: 30px 15px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-column h4 {
    font-size: 0.8rem;
    margin-bottom: 10px;
  }

  .footer-column p {
    font-size: 0.75rem;
    line-height: 1.4;
  }

  /* Back to top button */
  .back-to-top {
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
  }

  .back-to-top svg {
    width: 16px;
    height: 16px;
  }
}

/* Touch-friendly improvements */
@media (max-width: 768px) {
  /* Increase touch targets */
  .nav-menu a {
    padding: 15px 20px;
    margin: 10px 0;
  }

  .footer-column a {
    padding: 5px 0;
    display: inline-block;
  }

  .social-links a {
    padding: 10px;
    margin: 0 5px;
  }

  /* Improve text readability */
  .main-content {
    padding: 0 15px;
  }

  .page-content {
    padding: 60px 15px;
  }

  .content-container {
    padding: 40px 0;
  }

  /* Listings page mobile optimization */
  .listings-separator {
    padding: 40px 15px;
  }

  .separator-content {
    gap: 30px;
  }

  .listing-info h2 {
    font-size: 1.3rem;
  }

  .listing-info .location {
    font-size: 0.9rem;
  }

  .detail-column h6 {
    font-size: 0.75rem;
  }

  .detail-column p {
    font-size: 0.8rem;
  }
}

/* Landscape mobile optimization */
@media (max-width: 768px) and (orientation: landscape) {
  .main-content {
    height: 100vh;
    justify-content: center;
  }

  .logo {
    font-size: 2.5rem;
  }

  .tagline {
    font-size: 1.1rem;
  }

  .page-hero h1 {
    font-size: 2.5rem;
  }
}

/* Very small screens (iPhone SE, etc.) */
@media (max-width: 375px) {
  .logo {
    font-size: 2rem;
    letter-spacing: 2px;
  }

  .hero-title {
    font-size: 1.5rem;
    letter-spacing: 1.5px;
  }

  .page-hero-title {
    font-size: 1.5rem;
    letter-spacing: 1.5px;
  }

  .tagline {
    font-size: 0.9rem;
    letter-spacing: 0.5px;
  }

  .now-leasing {
    font-size: 1rem;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
  }

  .nav-menu a {
    font-size: 1.5rem;
  }

  .page-hero h1 {
    font-size: 1.8rem;
  }

  .content-section h2 {
    font-size: 1.5rem;
  }

  .footer-cta h2 {
    font-size: 1rem;
  }
}

/* Improve scrolling performance on mobile */
@media (max-width: 768px) {
  * {
    -webkit-overflow-scrolling: touch;
  }

  /* Reduce animations on mobile for better performance */
  .gallery-item:hover {
    transform: none;
  }

  .gallery-item:hover img {
    transform: none;
  }

  /* Optimize form for mobile */
  .contact-form-section {
    padding: 40px 10px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 12px 15px;
    font-size: 16px; /* Prevents zoom on iOS */
  }

  .submit-btn {
    padding: 15px 25px;
    font-size: 0.9rem;
    width: 100%;
    justify-content: center;
  }
}
/* Enhanced Image and Video Support */

/* Ensure all images load properly */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile fallback image - hidden on desktop, shown on mobile */
.mobile-hero-img {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

/* CRITICAL: Mobile hero optimizations - comprehensive mobile fix */
@media (max-width: 768px) {
  /* Show mobile fallback image */
  .mobile-hero-img {
    display: block !important;
  }

  /* Provide better mobile backgrounds instead of removing them */
  .about-hero {
    background-image: url("../media/01.jpg") !important;
    background-size: cover !important;
    background-position: center center !important;
  }
  
  .work-hero {
    background-image: url("../media/02.jpeg") !important;
    background-size: cover !important;
    background-position: center center !important;
  }
  
  .contact-hero {
    background-image: url("../media/03.jpeg") !important;
    background-size: cover !important;
    background-position: center center !important;
  }
  
  .listings-hero {
    background-image: url("../media/04.jpeg") !important;
    background-size: cover !important;
    background-position: center center !important;
  }
  
  .page-hero {
    /* Fix iOS viewport height bug */
    height: 100vh;
    height: -webkit-fill-available;
    min-height: 100vh;
    min-height: -webkit-fill-available;

    /* Force background properties */
    background-attachment: scroll !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;

    /* Ensure proper rendering */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: transform;
  }

  /* Force individual hero backgrounds on mobile */
  .about-hero {
    background-image: url("../media/about-hero.jpg") !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;
    background-color: #2a2a2a !important;
  }

  .work-hero {
    background-image: url("../media/the-address.jpeg") !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;
    background-color: #2a2a2a !important;
  }

  .contact-hero {
    background-image: url("../media/skyline.jpg") !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;
    background-color: #2a2a2a !important;
  }

  .listings-hero {
    background-image: url("../media/algo.png") !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;
    background-color: #2a2a2a !important;
  }
}

/* Video optimizations */
#video-background {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Gallery image optimizations */
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Ensure images don't break layout on mobile */
@media (max-width: 480px) {
  .gallery-item {
    min-height: 200px;
  }

  .gallery-item img {
    min-height: 200px;
  }

  /* CRITICAL: Small screen hero fixes */
  .page-hero {
    height: 100vh !important;
    height: -webkit-fill-available !important;
    min-height: 100vh !important;
    min-height: -webkit-fill-available !important;
  }

  .page-hero-content {
    padding: 20px;
  }

  /* Force reload background images on small screens */
  .about-hero,
  .work-hero,
  .contact-hero,
  .listings-hero {
    background-attachment: scroll !important;
    -webkit-background-size: cover !important;
    -moz-background-size: cover !important;
    -o-background-size: cover !important;
    background-size: cover !important;
  }
}

/* Loading states for images */
.gallery-item img:not([src]) {
  background: #2a2a2a;
  opacity: 0.5;
}

.gallery-item img[src] {
  opacity: 1;
}

/* Improve image loading performance */
.gallery-item img {
  loading: lazy;
}

/* Video play button styling */
.video-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 15px 25px;
  border-radius: 25px;
  cursor: pointer;
  z-index: 2;
  font-size: 14px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.video-play-button:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: translate(-50%, -50%) scale(1.05);
}
