/* Enhanced Styles for IN&OUT MENS */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

/* Navigation */
.nav-link {
  color: #374151;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  padding: 0.5rem 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #d4a574;
  transition: width 0.3s;
}

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

.nav-link:hover {
  color: #d4a574;
}

/* Contact Form Inputs */
.contact-input {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  font-size: 1rem;
  transition: all 0.3s;
  outline: none;
  background: rgba(255, 255, 255, 0.05);
  color: white;
  backdrop-filter: blur(10px);
}

.contact-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.contact-input:focus {
  border-color: #d4a574;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 4px rgba(212, 165, 116, 0.1);
}

.contact-input option {
  background: #1a1a1a;
  color: white;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Stagger animations for child elements */
.observe {
  opacity: 0;
}

.fade-in-up {
  opacity: 1;
}

/* Hero section scroll indicator */
@keyframes bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(10px);
  }
}

.animate-bounce {
  animation: bounce 2s infinite;
}

/* Image hover effects */
img {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

img:hover {
  transform: scale(1.05);
}

/* Button hover effects */
button, .btn, a[class*="bg-"] {
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

button:hover, .btn:hover, a[class*="bg-"]:hover {
  transform: translateY(-2px);
}

button:active, .btn:active, a[class*="bg-"]:active {
  transform: translateY(0);
}

/* Card hover effects */
.group:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, #d4a574 0%, #8b7355 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

::-webkit-scrollbar-track {
  background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
  background: #d4a574;
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: #8b7355;
}

/* Scroll to top button */
.scroll-to-top {
  position: fixed;
  bottom: 100px;
  right: 32px;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #d4a574 0%, #8b7355 100%);
  color: white;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-center;
  font-size: 20px;
  box-shadow: 0 10px 30px rgba(212, 165, 116, 0.4);
  z-index: 40;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
}

.scroll-to-top:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(212, 165, 116, 0.6);
}

.scroll-to-top.show {
  display: flex;
}

/* Loading animation */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Gradient backgrounds */
.bg-gradient-primary {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.bg-gradient-secondary {
  background: linear-gradient(135deg, #d4a574 0%, #8b7355 100%);
}

/* Text shadows for hero section */
.text-shadow {
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* Backdrop blur effects */
.backdrop-blur-custom {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Mobile responsiveness */
@media (max-width: 1024px) {
  h1 {
    font-size: 3rem !important;
  }
  
  h2 {
    font-size: 2.5rem !important;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem !important;
  }
  
  h2 {
    font-size: 2rem !important;
  }
  
  .grid {
    gap: 1rem;
  }
  
  .scroll-to-top {
    bottom: 80px;
    right: 20px;
    width: 48px;
    height: 48px;
  }
}

/* Service card animations */
.observe:nth-child(1) { animation-delay: 0.1s; }
.observe:nth-child(2) { animation-delay: 0.2s; }
.observe:nth-child(3) { animation-delay: 0.3s; }
.observe:nth-child(4) { animation-delay: 0.4s; }
.observe:nth-child(5) { animation-delay: 0.5s; }
.observe:nth-child(6) { animation-delay: 0.6s; }

/* Floating animation for CTA buttons */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.float {
  animation: float 3s ease-in-out infinite;
}

/* Star rating */
.star-rating {
  display: flex;
  gap: 4px;
}

/* Badge styles */
.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Testimonial card enhancements */
.testimonial-card {
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 20px;
  font-size: 120px;
  color: rgba(212, 165, 116, 0.1);
  font-family: Georgia, serif;
  line-height: 1;
}

/* Gallery grid hover effects */
.gallery-item {
  position: relative;
  overflow: hidden;
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.9) 0%, rgba(139, 115, 85, 0.9) 100%);
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover::after {
  opacity: 1;
}

/* Process step connector lines */
@media (min-width: 1024px) {
  .process-steps {
    position: relative;
  }
  
  .process-steps::before {
    content: '';
    position: absolute;
    top: 48px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #d4a574 50%, transparent 100%);
    z-index: -1;
  }
}

/* Accessibility */
:focus-visible {
  outline: 3px solid #d4a574;
  outline-offset: 3px;
  border-radius: 4px;
}

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

/* Print styles */
@media print {
  nav, footer, .scroll-to-top, .float, button {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
}

/* Selection color */
::selection {
  background: #d4a574;
  color: white;
}

::-moz-selection {
  background: #d4a574;
  color: white;
}

/* Smooth page transitions */
.page-transition {
  transition: opacity 0.3s ease-in-out;
}

/* Loading state */
.loading {
  position: relative;
  pointer-events: none;
  opacity: 0.6;
}

.loading::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(2px);
}

/* Enhanced shadow utilities */
.shadow-premium {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.shadow-glow {
  box-shadow: 0 0 30px rgba(212, 165, 116, 0.3);
}

/* Text gradient animation */
@keyframes gradient-shift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.animate-gradient {
  background-size: 200% 200%;
  animation: gradient-shift 3s ease infinite;
}

/* Mobile Bottom Navigation */
.safe-area-bottom {
  padding-bottom: env(safe-area-inset-bottom);
}

.mobile-nav-item {
  transition: all 0.3s ease;
  position: relative;
}

.mobile-nav-item:active {
  transform: scale(0.95);
}

/* Hide floating CTA on mobile when bottom nav is visible */
@media (max-width: 1024px) {
  .fixed.bottom-8.right-8 {
    display: none;
  }
  
  body {
    padding-bottom: 80px; /* Space for enhanced mobile nav */
  }
  
  .scroll-to-top {
    bottom: 100px; /* Above mobile nav */
  }
}
