/**
 * Roger Dupont, S.A. - Engineering Firm Landing Page
 * Custom Styles for Tailwind-based Design
 */

:root {
  --navy-blue-primary: #1a365d;
  --navy-blue-secondary: #2c5282;
  
  --accent-blue: #4299e1;
  --accent-light: #bee3f8;
  
  --gray-50: #f7fafc;
  --gray-100: #edf2f7;
  --gray-200: #e2e8f0;
  --gray-500: #64748b;
  --gray-700: #2d3748;
  --gray-900: #1a202c;
  
  --white: #ffffff;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
}

html {
  scroll-behavior: smooth;
}

.nav-scrolled {
  background-color: var(--white);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.hero-gradient {
  background: linear-gradient(135deg, var(--navy-blue-primary) 0%, var(--gray-900) 100%);
}

.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.portfolio-item {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.portfolio-item:hover {
  transform: scale(1.02);
  opacity: 1;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--navy-blue-primary);
  box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .mobile-stack {
    flex-direction: column !important;
    gap: 1rem;
  }
  
  .mobile-text-center {
    text-align: center !important;
  }
}

.mobile-menu {
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

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

.project-info {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.portfolio-grid {
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .portfolio-grid {
    gap: 2rem;
  }
}

.services-grid {
  gap: 2rem;
}

@media (min-width: 768px) {
  .services-grid {
    gap: 3rem;
  }
}

.btn-ripple:active {
  transform: scale(0.98);
}

@media (max-width: 640px) {
  h1 { font-size: 2rem !important; }
  h2 { font-size: 1.75rem !important; }
  h3 { font-size: 1.25rem !important; }
}

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

@media print {
  .no-print {
    display: none !important;
  }
}