:root {
  --primary: #0ea5e9;
  --primary-dark: #0284c7;
  --secondary: #0f172a;
  --light: #f8fafc;
  --white: #ffffff;
  --text: #334155;
  --text-light: #64748b;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Outfit', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  line-height: 1.6;
  color: var(--text);
  background-color: var(--light);
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 { color: var(--secondary); font-weight: 800; }
p { color: var(--text-light); }

/* Utility */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2.5rem;
  position: relative;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
}

/* Navbar */
header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
  transition: var(--transition);
  padding: 15px 0;
}

header.scrolled {
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-links li a {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  position: relative;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-links li a:hover {
  color: var(--primary);
}

.nav-links li a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
}
.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--secondary);
  border-radius: 3px;
  transition: var(--transition);
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section */
#home {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background: url('https://images.unsplash.com/photo-1469854523086-cc02fe5d8800?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
}

#home::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.6), rgba(15, 23, 42, 0.9));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 20px;
  animation: fadeInUp 1s ease forwards;
}

.hero-content h1 {
  font-size: 4.5rem;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hero-content p {
  font-size: 1.25rem;
  color: #e2e8f0;
  margin-bottom: 40px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.btn {
  display: inline-block;
  padding: 15px 35px;
  background: var(--primary);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  border-radius: 30px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
}

.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(14, 165, 233, 0.3);
}

/* Sections */
section {
  padding: 100px 0;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.service-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  transition: var(--transition);
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
}

.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: inline-block;
  padding: 20px;
  background: var(--light);
  border-radius: 50%;
  color: var(--primary);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

/* Fleet */
#fleet {
  background: var(--white);
}

/* About */
#about {
  background: var(--light);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  opacity: 0;
  transform: translateX(-30px);
}

.about-content.visible {
  opacity: 1;
  transform: translateX(0);
  transition: all 1s ease;
}

.about-text h2 {
  text-align: left;
  margin-bottom: 30px;
}

.about-text h2::after {
  left: 0;
  transform: translateX(0);
}

.about-text p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.about-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: var(--transition);
}

.about-image:hover img {
  transform: scale(1.05);
}

/* Contact */
#contact {
  background: var(--secondary);
  color: var(--white);
  position: relative;
}

#contact .section-title, #contact h2, #contact h3 {
  color: var(--white);
}

#contact .section-title::after {
  background: var(--primary);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
  opacity: 0;
  transform: translateY(30px);
}

.contact-wrapper.visible {
  opacity: 1;
  transform: translateY(0);
  transition: all 1s ease;
}

.contact-info p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1.1rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: rgba(255,255,255,0.03);
  padding: 40px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.05);
}

input, textarea {
  width: 100%;
  padding: 16px 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  color: var(--white);
  font-size: 1rem;
  transition: var(--transition);
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255,255,255,0.1);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}

input::placeholder, textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

textarea {
  height: 150px;
  resize: vertical;
}

/* Footer */
footer {
  background: #0b1120;
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 30px 20px;
  font-size: 0.9rem;
}

#msg {
  color: #34d399;
  font-weight: 600;
  text-align: center;
  height: 24px;
}

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

/* Responsive Design */
@media (max-width: 991px) {
  .hero-content h1 { font-size: 3.5rem; }
  .about-content, .contact-wrapper {
    grid-template-columns: 1fr;
  }
  .about-text h2 {
    text-align: center;
  }
  .about-text h2::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  
  .nav-links {
    position: fixed;
    right: -100%;
    top: 0;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    align-items: center;
    justify-content: center;
    transition: 0.4s ease;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    margin: 20px 0;
  }
  
  .nav-links li a {
    font-size: 1.2rem;
  }

  .hero-content h1 { font-size: 2.8rem; }
  section { padding: 80px 0; }
}

/* Floating WhatsApp Button */
.whatsapp-float-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
  align-items: flex-end;
}

.whatsapp-btn {
  background-color: #25d366;
  color: white;
  border-radius: 30px;
  height: 60px;
  padding: 0 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  animation: bounceIn 1s ease;
  font-weight: 600;
  font-size: 1rem;
}

.whatsapp-btn:hover {
  background-color: #128c7e;
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(37, 211, 102, 0.6);
}

.whatsapp-btn svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

@keyframes bounceIn {
  0% { opacity: 0; transform: scale(0.3); }
  50% { opacity: 1; transform: scale(1.05); }
  70% { transform: scale(0.9); }
  100% { transform: scale(1); }
}
