:root {
  --bg-color: #0a0503;
  --bg-color-light: #160a06;
  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --primary-color: #ef4444;
  /* Red */
  --primary-color-hover: #dc2626;
  --secondary-color: #eab308;
  /* Yellow */
  --secondary-color-hover: #ca8a04;
  --border-color: rgba(239, 68, 68, 0.2);
  --font-main: 'Inter', sans-serif;
  --font-heading: 'Montserrat', sans-serif;
  --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body,
html {
  width: 100%;
  height: 100%;
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-main);
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

.text-primary {
  color: var(--primary-color);
}

.text-secondary {
  color: var(--secondary-color);
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-normal);
  border: none;
  font-family: var(--font-main);
  text-align: center;
}

.btn-primary {
  background-color: var(--primary-color);
  color: #fff;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.4);
}

.btn-primary:hover {
  background-color: var(--primary-color-hover);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.6);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--secondary-color);
  border: 1px solid var(--secondary-color);
}

.btn-outline:hover {
  background-color: rgba(234, 179, 8, 0.1);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: #25D366;
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
  background-color: #128C7E;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
  transform: translateY(-2px);
  color: #fff;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 5px 0;
  background-color: rgba(10, 5, 3, 0.85);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-normal);
}

.header.scrolled {
  padding: 15px 0;
  background-color: rgba(10, 5, 3, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo i {
  color: var(--primary-color);
}

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

.nav-links li a {
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-normal);
  position: relative;
}

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

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

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

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  color: var(--text-main);
  background: none;
  border: none;
  cursor: pointer;
}

/* Hero Section */
@keyframes selectorFlash {
  0% {
    opacity: 0;
  }

  5% {
    opacity: 1;
  }

  10% {
    opacity: 0;
  }

  15% {
    opacity: 1;
  }

  30% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  background-image: linear-gradient(rgba(10, 10, 10, 0.8), rgba(10, 10, 10, 0.9)), url('./assets/hero_bg_new.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 30% 55%, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.5) 15%, transparent 35%),
    radial-gradient(ellipse at 70% 55%, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.5) 15%, transparent 35%);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
  animation: selectorFlash 2.5s ease-out 0.8s;
  mix-blend-mode: screen;
}

.hero-content {
  max-width: 800px;
  position: relative;
  z-index: 10;
  animation: fadeUp 1s ease-out forwards;
}

.badge {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(234, 179, 8, 0.15);
  color: var(--secondary-color);
  border: 1px solid rgba(234, 179, 8, 0.3);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.hero h1 {
  font-size: 4.5rem;
  margin-bottom: 20px;
  text-shadow: 0 4px 10px rgba(199, 22, 22, 0.5);
}

.hero h1 span {
  color: var(--primary-color);
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 600px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 20px;
}

/* Services Section */
.services {
  padding: 100px 0;
  background-color: var(--bg-color-light);
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.section-header p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

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

.service-card {
  background-color: var(--bg-color);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.service-card .service-content {
  padding: 30px;
  flex-grow: 1;
}

.service-img-wrapper {
  overflow: hidden;
  width: 100%;
}

.service-card img.service-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.5s ease;
}

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

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(239, 68, 68, 0.1), transparent);
  opacity: 0;
  transition: var(--transition-normal);
  z-index: -1;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--border-color);
  box-shadow: 0 10px 30px rgba(239, 68, 68, 0.1);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
  display: inline-block;
  padding: 15px;
  background: rgba(234, 179, 8, 0.1);
  border-radius: 12px;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-family: var(--font-main);
}

.service-card p {
  color: var(--text-muted);
  line-height: 1.6;
}

/* Parts Section */
.parts {
  padding: 100px 0;
  background-color: var(--bg-color-light);
  position: relative;
}

.parts-header {
  text-align: center;
  margin-bottom: 60px;
}

.parts-badge {
  display: inline-block;
  color: var(--secondary-color);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.parts-header h2 {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.parts-header h2 em {
  color: var(--secondary-color);
  font-style: italic;
  font-weight: 400;
}

.parts-header p {
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.6;
}

.parts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.part-card {
  position: relative;
  height: 500px;
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
}

.part-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.part-card:hover .part-bg {
  transform: scale(1.1);
}

.part-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
  z-index: 2;
}

.part-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px 30px;
  z-index: 3;
  display: flex;
  flex-direction: column;
}

.part-label {
  color: var(--secondary-color);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.part-content h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #fff;
  line-height: 1.3;
}

.part-content p {
  color: #d1d5db;
  font-size: 1rem;
  margin-bottom: 25px;
  line-height: 1.6;
  opacity: 0.9;
}

.part-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.part-link i {
  transition: transform 0.3s;
}

.part-card:hover .part-link {
  color: var(--secondary-color);
}

.part-card:hover .part-link i {
  transform: translateX(5px);
}

/* Features / About Section */
.about {
  padding: 100px 0;
  background-color: var(--bg-color);
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-img {
  position: relative;
}

.about-img img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--primary-color);
  padding: 30px;
  border-radius: 50%;
  text-align: center;
  box-shadow: 0 10px 30px rgba(239, 68, 68, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 140px;
  height: 140px;
}

.experience-badge .num {
  font-size: 2.5rem;
  font-weight: 800;
  font-family: var(--font-heading);
  line-height: 1;
}

.experience-badge .text {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 5px;
}

.about-content h2 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.about-content p {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 30px;
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.feature-item i {
  color: var(--secondary-color);
  font-size: 1.2rem;
}

/* Contact CTA Section */
.cta {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(10, 5, 3, 1));
  border-top: 1px solid rgba(239, 68, 68, 0.2);
  border-bottom: 1px solid rgba(239, 68, 68, 0.2);
  text-align: center;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta p {
  color: var(--text-muted);
  margin-bottom: 30px;
  font-size: 1.1rem;
}

/* Footer */
.footer {
  background-color: #050201;
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  font-family: var(--font-main);
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: #fff;
}

.footer-col p {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 15px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-muted);
  transition: var(--transition-normal);
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.contact-info li {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  color: var(--text-muted);
}

.contact-info i {
  color: var(--secondary-color);
  font-size: 1.2rem;
  margin-top: 3px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  transition: var(--transition-normal);
}

.social-links a:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
  .about-container {
    grid-template-columns: 1fr;
  }

  .about-img {
    order: -1;
    max-width: 500px;
    margin: 0 auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 3rem;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background-color: var(--bg-color);
    flex-direction: column;
    padding: 80px 30px;
    transition: var(--transition-normal);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
  }

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

  .mobile-menu-btn {
    display: block;
    z-index: 1001;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: -150%;
  left: 0;
  width: 100%;
  background-color: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  z-index: 9999;
  transition: bottom 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
}

.cookie-banner.show {
  bottom: 0;
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.cookie-icon i {
  font-size: 2.5rem;
  color: var(--secondary-color);
}

.cookie-text {
  flex-grow: 1;
}

.cookie-text h3 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: #fff;
}

.cookie-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.cookie-actions .btn {
  padding: 10px 25px;
  font-size: 0.95rem;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-icon {
    display: none;
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie-actions .btn {
    width: 100%;
  }
}