/* Custom CSS for Mobilitta - Updated */

:root {
  --primary-color: #ff6b35; /* Laranja principal */
  --secondary-color: #1a1a1a; /* Preto/cinza escuro */
  --success-color: #28a745;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --dark-color: #1a1a1a; /* Preto */
  --light-color: #f8f9fa;
  --orange-light: #ff8c5a; /* Laranja mais claro para hover */
}

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

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: #333;
}

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

/* Header Top */
.header-top {
  font-size: 14px;
}

.social-links a {
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--primary-color) !important;
}

/* Navigation */
.navbar-brand {
  font-size: 1.8rem !important;
}

.navbar-nav .nav-link {
  font-weight: 500;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 107, 53, 0.7) 0%,
    rgba(255, 140, 90, 0.6) 30%,
    rgba(60, 60, 60, 0.5) 70%,
    rgba(40, 40, 40, 0.6) 100%
  );
}

.hero-content h1 {
  font-size: 3.5rem;
  line-height: 1.2;
}

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

.animate-fade-up {
  animation: fadeUp 1s ease-out forwards;
  opacity: 0;
}

/* Service Cards */
.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

.service-icon-img {
  width: 60px;
  height: 60px;
  filter: brightness(0) saturate(100%) invert(27%) sepia(51%) saturate(2878%) hue-rotate(346deg) brightness(104%)
    contrast(97%);
}

/* About Section */
.about-image {
  position: relative;
}

.experience-badge {
  bottom: 20px;
  right: 20px;
  text-align: center;
  min-width: 120px;
}

.phone-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Stats Counter */
.counter {
  font-weight: 700;
}

/* Project Image Cards - Updated for simple gallery */
.project-image-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: white;
}

.project-image-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15) !important;
}

.project-image-card img {
  transition: transform 0.3s ease;
}

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

/* Testimonial Cards */
.testimonial-card {
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

/* Contact Section */
.contact-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-form {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .display-5 {
    font-size: 2rem;
  }

  .experience-badge {
    position: static !important;
    margin-top: 20px;
    display: inline-block;
  }

  .about-content {
    padding-left: 0 !important;
    margin-top: 30px;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .btn-lg {
    padding: 10px 20px;
    font-size: 1rem;
  }

  .contact-form {
    margin-top: 30px;
  }
}

/* Custom Button Styles */
.btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--orange-light) 100%);
  border: none;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--orange-light) 0%, var(--primary-color) 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.btn-outline-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
}

/* Loading Animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Form Styles */
.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
}

/* Utility Classes */
.text-primary {
  color: var(--primary-color) !important;
}

.bg-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--orange-light) 100%) !important;
}

.shadow-custom {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  transition: all 0.3s ease;
}

.scroll-to-top:hover {
  background: var(--orange-light);
  transform: translateY(-2px);
}

.scroll-to-top.show {
  display: flex;
}

/* Alert Styles for Form Feedback */
.alert-success {
  background-color: #d4edda;
  border-color: #c3e6cb;
  color: #155724;
}

.alert-danger {
  background-color: #f8d7da;
  border-color: #f5c6cb;
  color: #721c24;
}
