/**
 * Flame Logistics - Main Stylesheet
 * Common styles for all pages
 */

/* ===== Material Symbols ===== */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* ===== Reveal Animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Navigation Styles ===== */
.nav-scrolled {
  background-color: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.5);
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.nav-link {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.05em;
  font-weight: 600;
  color: #1b1b21;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #09005d;
}

.nav-link.active {
  color: #bc000c;
  font-weight: 700;
  border-bottom: 2px solid #bc000c;
  padding-bottom: 4px;
}

/* ===== Glass Effect ===== */
.glass-effect {
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-header {
  background: rgba(252, 248, 255, 0.9);
  backdrop-filter: blur(12px);
}

/* ===== Hero Gradient ===== */
.hero-gradient {
  background: linear-gradient(to right, rgba(9, 0, 93, 0.8) 0%, rgba(9, 0, 93, 0.4) 50%, transparent 100%);
}

/* ===== Text Gradient ===== */
.text-gradient-white {
  background: linear-gradient(to bottom, #ffffff 0%, rgba(255, 255, 255, 0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== Text Shadow ===== */
.text-shadow-hero {
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* ===== Service Card Styles ===== */
.service-card-shadow {
  box-shadow: 0 10px 40px -10px rgba(9, 0, 93, 0.05);
}

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

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px -12px rgba(9, 0, 93, 0.12);
}

/* ===== Hover Lift Effect ===== */
.hover-lift {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0px 12px 30px rgba(30, 25, 125, 0.08);
}

/* ===== Process Step Connector ===== */
.process-step::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -50%;
  width: 100%;
  height: 2px;
  background: repeating-linear-gradient(to right, #777682 0, #777682 5px, transparent 5px, transparent 10px);
  z-index: 0;
}

.process-step:last-child::after {
  display: none;
}

/* ===== Custom Scrollbar ===== */
.custom-scrollbar::-webkit-scrollbar {
  width: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #e1e3e4;
  border-radius: 10px;
}

/* ===== Form Focus States ===== */
input:focus,
select:focus,
textarea:focus {
  border-color: #bc000c !important;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(188, 0, 12, 0.1);
}

/* ===== Button Base Styles ===== */
.btn-primary {
  background-color: #bc000c;
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

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

.btn-secondary {
  background-color: #09005d;
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

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

.btn-outline {
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* ===== Marquee Animation ===== */
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.animate-marquee {
  animation: marquee 30s linear infinite;
}

.animate-marquee:hover {
  animation-play-state: paused;
}

/* ===== Pulse Animation ===== */
@keyframes pulse-slow {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

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

/* ===== Spin Animation ===== */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.animate-spin {
  animation: spin 1s linear infinite;
}

/* ===== Selection Color ===== */
::selection {
  background-color: rgba(188, 0, 12, 0.3);
}

/* ===== Smooth Scroll ===== */
html {
  scroll-behavior: smooth;
}

/* ===== Body Base Styles ===== */
body {
  font-family: 'Inter', sans-serif;
  background-color: #fcf8ff;
  color: #1b1b21;
  overflow-x: hidden;
}

/* ===== Container Max Width ===== */
.container-max {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Section Padding ===== */
.section-padding {
  padding-top: 96px;
  padding-bottom: 96px;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 768px) {
  .section-padding {
    padding-top: 64px;
    padding-bottom: 64px;
  }
}
