/* Custom styles for Intentionally Styled */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Prevent flash of unstyled content on navbar */
.navbar-scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Reveal animations - progressive enhancement */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile menu transitions */
#mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

#mobile-menu.open {
  max-height: 500px;
}

/* Gold accent line */
.gold-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #c9a84c, #d4b96a);
  border-radius: 2px;
}

/* Button hover effects */
a[href^="tel:"],
a[href^="mailto:"] {
  text-decoration: none;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #0d1b2a;
}

::-webkit-scrollbar-thumb {
  background: #c9a84c;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #d4b96a;
}

/* Form styles */
input, textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  color: #0d1b2a;
  background: white;
  transition: border-color 0.2s ease;
  outline: none;
}

input:focus, textarea:focus {
  border-color: #c9a84c;
}

input::placeholder, textarea::placeholder {
  color: #9ca3af;
}

/* Success message */
.form-success {
  display: none;
  background: #0d1b2a;
  color: #c9a84c;
  padding: 16px 24px;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  margin-top: 16px;
}

.form-success.show {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
  .hover\\:scale-105:hover {
    transform: none;
  }
}
