/* Vanilla CSS - No Frameworks */

:root {
  --bg: #0B0613;
  --text: #FFFFFF;
  --text-secondary: #D8D4E8;
  --card: #1A1028;
  --border: #2E1A47;
  --accent: #7C3AED;
  --accent-hover: #9333EA;
  --success: #25D366;
  --success-hover: #128C7E;
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
}

[data-theme='light'] {
  --bg: #F6F3FF;
  --text: #0B0613;
  --text-secondary: #2D2640;
  --card: #FFFFFF;
  --border: #DDD6FE;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
  line-height: 1.5;
}

/* Layout Utilities */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
  .container { padding: 0 2rem; }
}

.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-col { flex-direction: column; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }

@media (min-width: 768px) {
  .md-grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md-grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .lg-grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg-grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg-grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Typography */
.text-center { text-align: center; }
.font-bold { font-weight: 700; }
.font-medium { font-weight: 500; }
.uppercase { text-transform: uppercase; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-tighter { letter-spacing: -0.05em; }
.tracking-widest { letter-spacing: 0.1em; }

.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.text-7xl { font-size: 4.5rem; }

.text-secondary { color: var(--text-secondary); }
.text-accent { color: var(--accent); }
.text-white { color: #FFFFFF; }

/* Spacing */
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.pt-20 { padding-top: 5rem; }
.pb-6 { padding-bottom: 1.5rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-6 { margin-top: 1.5rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  font-weight: 700;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  border: none;
}

.btn-primary {
  background-color: var(--accent);
  color: #FFFFFF;
  box-shadow: 0 10px 15px -3px rgba(124, 58, 237, 0.2);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
}

.btn-outline {
  border: 2px solid var(--border);
  color: var(--text);
  background: transparent;
}

.btn-outline:hover {
  background-color: var(--card);
}

.btn-whatsapp {
  background-color: var(--success);
  color: #FFFFFF;
}

.btn-whatsapp:hover {
  background-color: var(--success-hover);
}

.card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 2rem;
}

.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }

.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }

.border { border: 1px solid var(--border); }
.border-b { border-bottom: 1px solid var(--border); }
.border-t { border-top: 1px solid var(--border); }

/* Navbar */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s ease;
  padding: 10px;
  background-color: rgba(var(--bg-rgb), 0.9);
  backdrop-filter: blur(12px);
}

.nav-link {
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent) !important;
}

/* Loader */
#loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0B0613;
  color: white;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.loader-icon-wrapper {
  position: relative;
  width: 100px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.loader-truck {
  width: 64px;
  height: 64px;
  color: var(--accent);
  animation: truck-bounce 0.6s infinite alternate ease-in-out;
}

.loader-road {
  position: absolute;
  bottom: 15px;
  width: 80px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.loader-road::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: road-move 1s infinite linear;
}

@keyframes truck-bounce {
  from { transform: translateY(0); }
  to { transform: translateY(-6px); }
}

@keyframes road-move {
  from { left: -100%; }
  to { left: 100%; }
}

.loader-title {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  background: linear-gradient(to right, #fff, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.loader-subtitle {
  font-size: 0.75rem;
  opacity: 0.6;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0;
  font-weight: 600;
}

.loader-bar-container {
  width: 180px;
  height: 3px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 9999px;
  overflow: hidden;
  margin-top: 1rem;
}

.loader-bar {
  height: 100%;
  width: 0;
  background: var(--accent);
  transition: width 1.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.loader-fade-out {
  opacity: 0;
  visibility: hidden;
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 1s ease-out;
}

.fade-in.visible {
  opacity: 1;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Theme Toggle */
.sun-icon, .moon-icon {
  width: 1.25rem;
  height: 1.25rem;
}

[data-theme='dark'] .sun-icon { display: block; }
[data-theme='dark'] .moon-icon { display: none; }
[data-theme='light'] .sun-icon { display: none; }
[data-theme='light'] .moon-icon { display: block; }

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover { background: var(--accent-hover); }

/* Sections */
section {
  scroll-margin-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Specific Components */
.service-card {
  transition: all 0.3s ease;
}

.service-card:hover {
  border-color: var(--accent);
}

.fleet-img-container {
  overflow: hidden;
  border-radius: 1.5rem 1.5rem 0 0;
}

.fleet-img {
  width: 100%;
  height: 12rem;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.group:hover .fleet-img {
  transform: scale(1.1);
}

/* Responsive Visibility */
.hidden { display: none; }

.selection-bg-accent::selection {
  background-color: var(--accent);
  color: #FFFFFF;
}

.logo-box img{
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.05em;
  color: var(--accent);
  text-decoration: none;
}

.theme-btn {
  padding: 0.5rem;
  border-radius: 9999px;
  transition: background-color 0.3s ease;
  background-color: var(--card);
  color: #C084FC;
  border: none;
  cursor: pointer;
}

.theme-btn:hover {
  background-color: var(--border);
}

.menu-toggle-btn {
  padding: 0.5rem;
  border-radius: 0.375rem;
  color: var(--text);
  background: transparent;
  border: none;
  cursor: pointer;
}

.mobile-menu-container {
  padding: 0.5rem 1rem 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav-link {
  display: block;
  padding: 1rem 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 0.375rem;
  color: var(--text);
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  background-color: rgba(124, 58, 237, 0.1);
  color: var(--accent);
}

/* Hero Section Styles */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  overflow: hidden;
}

.hero-bg-container {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, #0B0613, #0B0613, #1A1028);
}

[data-theme='light'] .hero-bg {
  background: linear-gradient(to bottom right, #F6F3FF, #F6F3FF, #EDE9FE);
}

.hero-glow-1 {
  position: absolute;
  top: 25%;
  right: -5rem;
  width: 24rem;
  height: 24rem;
  background-color: rgba(124, 58, 237, 0.1);
  border-radius: 9999px;
  filter: blur(100px);
}

.hero-glow-2 {
  position: absolute;
  bottom: 25%;
  left: -5rem;
  width: 24rem;
  height: 24rem;
  background-color: rgba(147, 51, 234, 0.1);
  border-radius: 9999px;
  filter: blur(100px);
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background-color: rgba(124, 58, 237, 0.1);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -0.025em;
}

@media (min-width: 640px) {
  .hero-title { font-size: 3rem; }
}

@media (min-width: 1024px) {
  .hero-title { font-size: 4.5rem; }
}

.hero-subtitle {
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
  max-width: 36rem;
  color: var(--text-secondary);
}

@media (min-width: 768px) {
  .hero-subtitle { font-size: 1.25rem; }
}

@media (min-width: 1024px) {
  .hero-subtitle { margin-left: 0; margin-right: 0; text-align: left; }
}

.hero-btns {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-btns { flex-direction: row; justify-content: center; }
}

@media (min-width: 1024px) {
  .hero-btns { justify-content: flex-start; }
}

.btn-with-icon {
  gap: 0.5rem;
}

.icon-sm {
  width: 1rem;
  height: 1rem;
}

.section-divider {
  width: 5rem;
  height: 0.375rem;
  background-color: var(--accent);
  margin: 0 auto;
  border-radius: 9999px;
}

.stat-card {
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background-color: var(--card);
}

.stat-number {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.875rem;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.about-col-1, .about-col-2 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-col-2 {
  padding-top: 2rem;
}

.about-img-lg {
  border-radius: 1rem;
  width: 100%;
  height: 16rem;
  object-fit: cover;
  border: 1px solid #2D2640;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}

.about-img-sm {
  border-radius: 1rem;
  width: 100%;
  height: 12rem;
  object-fit: cover;
  border: 1px solid #2D2640;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}

.service-icon-box {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  background-color: var(--bg);
}

.icon-md {
  width: 2rem;
  height: 2rem;
}

.icon-lg {
  width: 1.75rem;
  height: 1.75rem;
}

.contact-info-card {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon-box {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background-color: rgba(124, 58, 237, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.contact-link {
  opacity: 0.7;
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: var(--accent);
}

.form-card {
  height: 100%;
}

.footer {
  padding-top: 3rem;
  padding-bottom: 3rem;
  background-color: var(--bg);
}

.footer-logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

.footer-desc {
  max-width: 28rem;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  background-color: var(--card);
  color: var(--text);
  text-decoration: none;
}

.social-link:hover {
  background-color: var(--accent);
  color: #FFFFFF;
}

.footer-heading {
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-link {
  opacity: 0.7;
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--accent);
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: var(--text-secondary);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
  opacity: 0.5;
}

.floating-btns {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 40;
}

.floating-btn {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.w-full { width: 100%; }

.lg-col-span-2 {
  grid-column: span 2 / span 2;
}

@media (max-width: 1023px) {
  .lg-col-span-2 {
    grid-column: span 1 / span 1;
  }
}

.group-hover-translate {
  transition: transform 0.3s ease;
}

.group:hover .group-hover-translate {
  transform: translateX(0.25rem);
}

.hero-image-container {
  position: relative;
  display: none;
}

@media (min-width: 1024px) {
  .hero-image-container { display: block; }
}

.hero-image-wrapper {
  position: relative;
  z-index: 10;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.hero-accent-box-1 {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 8rem;
  height: 8rem;
  background-color: var(--accent);
  border-radius: 1rem;
  z-index: -10;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.hero-accent-box-2 {
  position: absolute;
  top: -1.5rem;
  left: -1.5rem;
  width: 8rem;
  height: 8rem;
  border: 2px solid var(--accent-hover);
  border-radius: 1rem;
  z-index: -10;
}

@media (min-width: 768px) {
  .md-flex { display: flex; }
  .md-hidden { display: none; }
}

@media (min-width: 1024px) {
  .lg-block { display: block; }
}

/* Forms */
input, select, textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background-color: var(--bg);
  color: var(--text);
  transition: all 0.3s ease;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--accent);
}

label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  opacity: 0.7;
}
