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

body {
  font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  background-color: #000000;
  color: #ffffff;
  overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #000000;
}

::-webkit-scrollbar-thumb {
  background: #dc2626;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #b91c1c;
}

/* Animazioni */
.fade-in {
  animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Bottoni */
.btn-primary {
  background-color: #dc2626;
  color: white;
  padding: 14px 32px;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  background-color: #b91c1c;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(220, 38, 38, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: white;
  padding: 14px 32px;
  border: 2px solid white;
  border-radius: 4px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  text-decoration: none;
  display: inline-block;
}

.btn-secondary:hover {
  background-color: white;
  color: #000000;
  transform: translateY(-2px);
}

/* Container */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-title {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 48px;
  text-align: center;
  letter-spacing: -1px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.95);
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.header.scrolled {
  background-color: rgba(0, 0, 0, 0.98);
  border-bottom-color: #dc2626;
  box-shadow: 0 5px 30px rgba(220, 38, 38, 0.15);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo img {
  height: 50px;
  transition: transform 0.3s ease;
}

.logo:hover img {
  transform: scale(1.05);
}

.nav {
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #dc2626;
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #dc2626;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  gap: 20px;
  align-items: center;
}

.phone-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  padding: 10px 20px;
  border: 1px solid #333;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.phone-btn:hover {
  border-color: #dc2626;
  color: #dc2626;
}

.cta-btn {
  background-color: #dc2626;
  color: white;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.cta-btn:hover {
  background-color: #b91c1c;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.4);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 28px;
}

/* Hero */
.hero {
  position: relative;
  height: 90vh;
  min-height: 600px;
  overflow: hidden;
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
  margin-top: 80px;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-color: #111214;
  background-size: cover;
  background-position: center;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0,0,0,0.85) 0%, rgba(220,38,38,0.2) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-content h1 {
  font-size: 72px;
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -2px;
}

.hero-content h2 {
  font-size: 64px;
  font-weight: 300;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-content p {
  font-size: 20px;
  max-width: 600px;
  margin-bottom: 40px;
  color: #e5e5e5;
  line-height: 1.6;
}

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

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(220, 38, 38, 0.8);
  border: none;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.slider-btn:hover {
  background: rgba(220, 38, 38, 1);
  transform: translateY(-50%) scale(1.1);
}

.slider-btn.prev {
  left: 40px;
}

.slider-btn.next {
  right: 40px;
}

.slider-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: #dc2626;
  width: 40px;
  border-radius: 6px;
}

/* Footer */
.footer {
  background: linear-gradient(180deg, #0a0a0a 0%, #000000 100%);
  border-top: 2px solid #dc2626;
  padding: 80px 0 0;
  margin-top: 100px;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 60px;
  margin-bottom: 60px;
}

.footer-section h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 24px;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-logo {
  height: 60px;
  margin-bottom: 20px;
}

.footer-tagline {
  color: #999;
  line-height: 1.6;
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-links a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
  border: 1px solid #333;
  text-decoration: none;
}

.social-links a:hover {
  background-color: #dc2626;
  border-color: #dc2626;
  transform: translateY(-3px);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 14px;
}

.footer-section ul li a {
  color: #999;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-section ul li a:hover {
  color: #dc2626;
  transform: translateX(5px);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  gap: 12px;
  color: #999;
  align-items: flex-start;
}

.contact-item svg {
  color: #dc2626;
  flex-shrink: 0;
  margin-top: 2px;
}

.quick-contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quick-contact-form input,
.quick-contact-form textarea {
  background-color: #1a1a1a;
  border: 1px solid #333;
  color: white;
  padding: 12px 16px;
  border-radius: 4px;
  font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  transition: all 0.3s ease;
}

.quick-contact-form input:focus,
.quick-contact-form textarea:focus {
  outline: none;
  border-color: #dc2626;
  background-color: #222;
}

.quick-contact-form button {
  width: 100%;
}

.footer-bottom {
  border-top: 1px solid #222;
  padding: 32px 24px;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  color: #666;
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: #666;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #dc2626;
}

/* Cards */
.card {
  background: linear-gradient(145deg, #1a1a1a 0%, #0d0d0d 100%);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.4s ease;
  border: 1px solid #222;
}

.card:hover {
  border-color: #dc2626;
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(220, 38, 38, 0.2);
}

/* Page Header */
.page-header {
  background: radial-gradient(circle at 78% 20%, rgba(220,38,38,.16), transparent 34%), linear-gradient(135deg, #111214 0%, #050506 78%);
  background-size: cover;
  background-position: center;
  padding: 120px 0 80px;
  text-align: center;
  border-bottom: 3px solid #dc2626;
  margin-top: 80px;
}

.page-header h1 {
  font-size: 56px;
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.page-header p {
  font-size: 20px;
  color: #e5e5e5;
}

/* Responsive */
@media (max-width: 1024px) {
  .nav {
    gap: 25px;
  }

  .phone-btn span {
    display: none;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }

  .nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.98);
    flex-direction: column;
    padding: 40px 24px;
    gap: 30px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    border-bottom: 2px solid #dc2626;
  }

  .nav.mobile-open {
    transform: translateX(0);
  }

  .header-actions {
    display: none;
  }

  .hero-content h1 {
    font-size: 42px;
  }

  .hero-content h2 {
    font-size: 36px;
  }

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

  .slider-btn {
    width: 44px;
    height: 44px;
  }

  .slider-btn.prev {
    left: 16px;
  }

  .slider-btn.next {
    right: 16px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 12px;
  }
}