/* =============================================
   Dorado Strategic - Custom Styles
   Design Direction: Tiffany Inversion v2 - Linen Luxe
   ============================================= */

/* Base Styles & Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Page Fade-In Animation */
body {
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Navigation Scroll States */
#main-nav {
  transition: all 0.3s ease;
}

#main-nav.scrolled {
  background-color: rgba(250, 248, 245, 0.98) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(42, 52, 65, 0.08);
}

/* Primary Button Styles */
.btn-primary {
  display: inline-block;
  background-color: #5AAFAD;
  color: white;
  padding: 0.875rem 2.5rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: all 0.2s ease;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 500;
  box-shadow: 0 4px 14px rgba(90, 175, 173, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(90, 175, 173, 0.35);
  background-color: #4a9f9d;
}

/* Secondary Button Styles */
.btn-secondary {
  display: inline-block;
  border: 2px solid #C9A860;
  color: #C9A860;
  padding: 0.75rem 2rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.2s ease;
  font-family: 'Inter', system-ui, sans-serif;
}

.btn-secondary:hover {
  background-color: #C9A860;
  color: white;
}

/* Text Link with Animated Underline */
.text-link {
  position: relative;
  color: #C9A860;
  text-decoration: none;
  transition: color 0.2s ease;
  font-weight: 500;
}

.text-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #C9A860;
  transition: width 0.3s ease;
}

.text-link:hover::after {
  width: 100%;
}

/* Service Card Styles */
.service-card {
  box-shadow: 0 4px 20px rgba(42, 52, 65, 0.08);
  transition: all 0.25s ease;
}

.service-card:hover {
  box-shadow: 0 12px 40px rgba(42, 52, 65, 0.15);
}

/* Card Shadow Utility */
.card-shadow {
  box-shadow: 0 4px 20px rgba(42, 52, 65, 0.08);
}

/* Form Input Focus States */
input:focus,
textarea:focus {
  outline: none;
  border-color: #5AAFAD !important;
  box-shadow: 0 0 0 3px rgba(90, 175, 173, 0.1);
}

/* Mobile Menu Overlay */
#mobile-menu {
  transition: opacity 0.3s ease;
}

#mobile-menu.hidden {
  display: none;
}

/* Nav Link Hover */
.nav-link {
  transition: color 0.2s ease;
  font-weight: 400;
}

.nav-link:hover {
  color: #5AAFAD;
}

/* Gold Horizontal Rule */
.gold-rule {
  height: 1px;
  background-color: #C9A860;
}

/* Pull Quote Styling */
.pull-quote-mark {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: #C9A860;
  font-size: 6rem;
  line-height: 1;
}

/* Impact Metric Number */
.impact-number {
  font-family: 'Bebas Neue', sans-serif;
  color: #5AAFAD;
}

/* Case Study Card */
.case-study-card {
  background-color: white;
  transition: all 0.25s ease;
  box-shadow: 0 2px 12px rgba(42, 52, 65, 0.06);
}

.case-study-card:hover {
  box-shadow: 0 8px 30px rgba(42, 52, 65, 0.1);
  transform: translateY(-2px);
}

/* Service Detail Card */
.service-detail-card {
  background-color: white;
  border-left: 4px solid #5AAFAD;
  transition: all 0.2s ease;
  box-shadow: 0 2px 12px rgba(42, 52, 65, 0.06);
}

.service-detail-card:hover {
  box-shadow: 0 6px 24px rgba(42, 52, 65, 0.1);
}

/* Headshot Image Styling */
.headshot-image {
  border: 4px solid #C9A860;
  box-shadow: 0 8px 30px rgba(42, 52, 65, 0.15);
}

/* Footer Link Hover */
.footer-link {
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #5AAFAD;
}

/* Custom Selection Color */
::selection {
  background-color: rgba(90, 175, 173, 0.2);
  color: #2A3441;
}

/* Privacy Policy Content Styles */
.privacy-content h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: #2A3441;
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.privacy-content p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.privacy-content ul {
  list-style-type: disc;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.privacy-content li {
  margin-bottom: 0.5rem;
}

/* Hide honeypot field - use specific class to avoid overriding Tailwind's responsive utilities */
.honeypot-field {
  display: none !important;
}

/* Responsive Image */
.responsive-img {
  max-width: 100%;
  height: auto;
}

/* Loading lazy placeholder */
img[loading="lazy"] {
  background-color: #FAF8F5;
}

/* Active nav state */
.nav-link.active {
  color: #5AAFAD;
  font-weight: 500;
}

/* Scroll margin for anchor targets */
[id] {
  scroll-margin-top: 100px;
}

/* Better focus states for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid #5AAFAD;
  outline-offset: 2px;
}

/* Smooth transitions for all interactive elements */
a, button, input, textarea {
  transition: all 0.2s ease;
}
