/* Paris Design - Modern Minimalism Premium Styles */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --primary-blue: #2563eb;
  --dark-blue: #1e40af;
  --light-blue: #3b82f6;
  --primary-gray: #374151;
  --dark-gray: #1f2937;
  --medium-gray: #6b7280;
  --light-gray: #f9fafb;
  --border-gray: #e5e7eb;
  --white: #ffffff;
  --off-white: #fefefe;
  --text-dark: #111827;
  --text-medium: #4b5563;
}

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

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
  scroll-behavior: smooth;
}

/* Typography */
.heading-xl {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.heading-lg {
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
}

.heading-md {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.3;
}

.heading-sm {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 500;
  line-height: 1.4;
}

.text-large {
  font-size: 1.125rem;
  line-height: 1.7;
}

.text-medium {
  font-size: 1rem;
  line-height: 1.6;
}

/* Layout & Spacing */
.section-padding {
  padding: 6rem 1rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.card-spacing {
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.grid-gap {
  gap: 1.5rem;
}

.card-hover {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Hero Section */
.hero-overlay {
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(37, 99, 235, 0.4) 50%,
    rgba(0, 0, 0, 0.7) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 10;
}

/* Navigation */
.nav-link {
  position: relative;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--primary-blue);
  transition: width 0.3s ease;
}

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

.nav-mobile {
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
}

.nav-mobile.active {
  transform: translateX(0);
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-blue);
  padding: 0.875rem 1.75rem;
  border: 2px solid var(--primary-blue);
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-secondary:hover {
  background: var(--primary-blue);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-phone {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: var(--white);
  padding: 0.875rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.btn-phone:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.3);
}

/* Cards & Service Cards */
.service-card {
  background: var(--white);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--border-gray);
}

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

.service-card img {
  border-radius: 0.75rem;
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.corps-card {
  background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid var(--border-gray);
}

.corps-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
}

/* Forms */
.form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--border-gray);
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--white);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group {
  margin-bottom: 1.5rem;
}

/* Contact Section */
.contact-card {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
  color: var(--white);
  border-radius: 1rem;
  padding: 2rem;
}

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

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

.fade-in-up:nth-child(2) {
  animation-delay: 0.1s;
}

.fade-in-up:nth-child(3) {
  animation-delay: 0.2s;
}

.fade-in-up:nth-child(4) {
  animation-delay: 0.3s;
}

/* Footer */
.footer {
  background: var(--dark-gray);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer a {
  color: var(--medium-gray);
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--white);
}

/* Responsive Design */
@media (max-width: 768px) {
  .section-padding {
    padding: 4rem 1rem;
  }
  
  .card-spacing {
    padding: 1.5rem;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .grid-responsive {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .btn-primary,
  .btn-secondary,
  .btn-phone {
    width: 100%;
    justify-content: center;
  }
  
  .service-card {
    padding: 1.5rem;
  }
}

/* Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.bg-primary { background-color: var(--primary-blue); }
.bg-light { background-color: var(--light-gray); }
.bg-dark { background-color: var(--dark-gray); }

.text-primary { color: var(--primary-blue); }
.text-gray { color: var(--medium-gray); }
.text-white { color: var(--white); }

.mt-8 { margin-top: 2rem; }
.mt-16 { margin-top: 4rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-16 { margin-bottom: 4rem; }

.shadow-custom {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.rounded-lg { border-radius: 0.75rem; }
.rounded-xl { border-radius: 1rem; }

/* Map Container */
.map-container {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  height: 400px;
}

/* Loading States */
.loading {
  opacity: 0.7;
  pointer-events: none;
}

/* Success/Error Messages */
.message-success {
  background: #10b981;
  color: white;
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.message-error {
  background: #ef4444;
  color: white;
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

/* Language Switcher Styles */
.lang-btn {
  color: #6b7280;
  font-weight: 500;
  transition: all 0.2s;
}

.lang-btn.active {
  color: #2563eb;
  background-color: #eff6ff;
}

.lang-btn:hover:not(.active) {
  color: #374151;
  background-color: #f9fafb;
}

/* Language Selector Styles */
.language-selector {
  position: relative;
  display: inline-block;
}

.language-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  color: #374151;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.language-btn:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}

.language-btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.language-btn.active svg {
  transform: rotate(180deg);
}

.language-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.5rem;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  min-width: 120px;
  z-index: 50;
  display: none;
}

.language-menu.active {
  display: block;
}

.language-menu a {
  display: block;
  padding: 0.75rem 1rem;
  color: #374151;
  text-decoration: none;
  font-size: 0.875rem;
  transition: background-color 0.2s ease;
}

.language-menu a:hover {
  background: #f3f4f6;
}

.language-menu a.active {
  background: #eff6ff;
  color: #2563eb;
  font-weight: 500;
}

/* Mobile responsive for language selector */
@media (max-width: 768px) {
  .language-selector {
    margin-top: 1rem;
    width: 100%;
  }
  
  .language-btn {
    width: 100%;
    justify-content: center;
  }
  
  .language-menu {
    right: 0;
    left: 0;
    width: 100%;
  }
}

/* Flying Gallery Styles */
.flying-gallery {
  width: 100%;
  overflow: hidden;
  padding: 2rem 0;
  position: relative;
}

.flying-track {
  display: flex;
  animation: fly-scroll 40s linear infinite;
  gap: 1.5rem;
  padding: 0 1rem;
}

.flying-item {
  flex-shrink: 0;
  width: 320px;
  height: 240px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.flying-item:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.flying-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.flying-item:hover img {
  transform: scale(1.1);
}

.flying-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 1.5rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.flying-item:hover .flying-overlay {
  transform: translateY(0);
}

.flying-overlay h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.flying-overlay p {
  font-size: 0.875rem;
  opacity: 0.9;
  margin: 0;
}

@keyframes fly-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Pause animation on hover */
.flying-gallery:hover .flying-track {
  animation-play-state: paused;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .flying-item {
    width: 280px;
    height: 200px;
  }
  
  .flying-track {
    gap: 1rem;
    padding: 0 0.5rem;
  }
  
  .flying-overlay {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .flying-item {
    width: 250px;
    height: 180px;
  }
  
  .flying-track {
    gap: 0.75rem;
  }
}