/* Premium Portfolio Styles for Hicham Eddarhmoumi */
:root {
  --bg-dark: #0A0A0A;
  --bg-card: #111111;
  --bg-card-hover: #1A1A1A;
  --text-primary: #FFFFFF;
  --text-secondary: #A1A1AA;
  --accent-gold: #EAB308;
  --accent-gold-dark: #CA8A04;
  --accent-emerald: #00C4A0;
  --border-color: #27272A;
}

body {
  font-family: 'Inter', system_ui, sans-serif;
}

/* Custom scrollbar for premium feel */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #111111;
}
::-webkit-scrollbar-thumb {
  background: #3F3F46;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #EAB308;
}

/* Navbar */
.nav-link {
  position: relative;
  transition: color 0.2s ease;
}
.nav-link:hover {
  color: #EAB308;
}
.nav-link.active {
  color: #EAB308;
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #EAB308;
  border-radius: 2px;
}

/* Premium Card Styles */
.premium-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.premium-card:hover {
  transform: translateY(-8px);
  border-color: #EAB308;
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  background-color: var(--bg-card-hover);
}

/* Service & Pricing Cards */
.service-card, .pricing-card {
  transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
}
.service-card:hover, .pricing-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.4);
}

.pricing-card.popular {
  border-color: #EAB308;
  position: relative;
  transform: scale(1.02);
}
.pricing-card.popular::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  background: linear-gradient(45deg, #EAB308, #FACC15);
  border-radius: 12px;
  z-index: -1;
  opacity: 0.15;
}

/* Portfolio Project Cards */
.project-card {
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
}
.project-card:hover {
  transform: translateY(-10px);
}
.project-card:hover .project-image {
  transform: scale(1.05);
}
.project-image {
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), 
              box-shadow 0.3s ease;
}

/* Process Step Styles */
.process-step {
  transition: all 0.2s ease;
}
.process-step:hover {
  background-color: #1F1F23;
  transform: translateX(4px);
}

/* Form Styles */
.form-input {
  background-color: #111111;
  border: 1px solid #27272A;
  color: white;
  transition: all 0.2s ease;
}
.form-input:focus {
  border-color: #EAB308;
  box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.1);
  outline: none;
}
.form-input::placeholder {
  color: #52525B;
}

/* Buttons */
.btn-primary {
  background-color: #EAB308;
  color: #0A0A0A;
  font-weight: 600;
  transition: all 0.3s ease;
}
.btn-primary:hover {
  background-color: #FACC15;
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgb(234 179 8 / 0.3);
}

.btn-secondary {
  border: 1px solid #3F3F46;
  color: white;
  transition: all 0.3s ease;
}
.btn-secondary:hover {
  background-color: #1A1A1A;
  border-color: #EAB308;
  color: #EAB308;
}

/* Modal */
.modal {
  animation: modalPopIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes modalPopIn {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(40px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Filter Buttons */
.filter-btn {
  transition: all 0.2s ease;
}
.filter-btn.active {
  background-color: #EAB308;
  color: #0A0A0A;
  border-color: #EAB308;
}

/* Timeline */
.timeline-item {
  position: relative;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: -24px;
  width: 2px;
  background: #27272A;
}
.timeline-item:last-child::before {
  display: none;
}

/* Testimonials */
.testimonial-card {
  transition: all 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-4px);
}

/* Footer */
footer {
  border-top: 1px solid #27272A;
}

/* Utility */
.gold-text {
  color: #EAB308;
}
.section-title {
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, #EAB308, transparent);
  border-radius: 3px;
}

/* Mobile Menu */
.mobile-menu {
  animation: slideDown 0.3s ease forwards;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Process Accordion */
.process-header {
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.process-header:hover {
  background-color: #1A1A1A;
}
.process-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
              padding-top 0.4s ease,
              padding-bottom 0.4s ease;
  padding-top: 0;
  padding-bottom: 0;
}
.process-content.open {
  max-height: 1200px; /* Enough for all steps */
  padding-top: 1.5rem;
  padding-bottom: 2rem;
}

/* Active header state when process is open */
.process-header.open {
  background-color: #1f2937;
}

/* Success Toast */
.toast {
  animation: toastSlide 0.4s ease forwards;
}
@keyframes toastSlide {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}