/* Julius Tower — Custom Styles
 * Additional styles beyond Tailwind CDN
 */

/* Ensure smooth loading */
html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Prevent content flash before JS loads */
.no-js .fade-up,
.no-js .fade-in,
.no-js .slide-left,
.no-js .slide-right {
  opacity: 1;
  transform: none;
}

/* Custom selection color */
::selection {
  background: #059669;
  color: #fff;
}

/* Smooth image loading */
img {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* Subtle gradient on body background */
body {
  background: linear-gradient(180deg, #FDF8F0 0%, #F9F0E0 100%);
}

/* Ensure nav is readable on light and dark sections */
.nav-light {
  background: rgba(253, 248, 240, 0.95);
  backdrop-filter: blur(10px);
}

/* Print styles */
@media print {
  nav, .mobile-menu, #contactForm, #successMsg { display: none; }
  body { color: #000; background: #fff; }
  .hero-layout { min-height: auto; }
}

/* Focus visible for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid #059669;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Loading state for form */
button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
