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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #333;
  line-height: 1.6;
}

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

/* Header */
.header {
  text-align: center;
  padding: 40px 0;
  background: linear-gradient(135deg, #c41e3a 0%, #8b1538 100%);
  color: white;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.header-title {
  font-size: 3em;
  font-weight: bold;
  letter-spacing: 2px;
}

/* Hero Section */
.hero {
  text-align: center;
  margin-bottom: 40px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.main-image {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  display: block;
}

/* Carousel Section */
.carousel-section {
  margin-bottom: 50px;
  padding: 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.carousel-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}

.carousel-button {
  background: linear-gradient(135deg, #c41e3a 0%, #8b1538 100%);
  color: white;
  border: none;
  font-size: 20px;
  padding: 12px 18px;
  cursor: pointer;
  border-radius: 6px;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.carousel-button:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 10px rgba(196, 30, 58, 0.4);
}

.carousel-button:active {
  transform: scale(0.95);
}

.carousel-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f5f5f5;
  border-radius: 8px;
  overflow: hidden;
  min-height: 300px;
}

.carousel-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-width: 600px;
  max-height: 300px;
}

.thumbnail-container {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 10px;
  background: #f9f9f9;
  border-radius: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.thumbnail {
  width: 80px;
  height: 80px;
  border: 3px solid #ddd;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s;
  object-fit: cover;
}

.thumbnail:hover {
  border-color: #c41e3a;
  transform: scale(1.05);
}

.thumbnail.active {
  border-color: #c41e3a;
  box-shadow: 0 0 10px rgba(196, 30, 58, 0.5);
}

/* Summary Section */
.summary {
  background: white;
  padding: 40px;
  border-radius: 12px;
  margin-bottom: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.summary h2 {
  font-size: 2em;
  margin-bottom: 20px;
  color: #c41e3a;
}

.summary p {
  font-size: 1.1em;
  color: #555;
  line-height: 1.8;
}

/* Modifications Section */
.modifications {
  margin-bottom: 50px;
}

.mod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.mod-block {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all 0.3s;
  border-left: 5px solid #c41e3a;
  text-align: center;
}

.mod-block:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(196, 30, 58, 0.3);
}

.mod-block h3 {
  font-size: 1.8em;
  margin-bottom: 10px;
  color: #c41e3a;
}

.mod-block p {
  color: #777;
  font-size: 0.95em;
}

/* Contact Section */
.contact {
  background: linear-gradient(135deg, #c41e3a 0%, #8b1538 100%);
  color: white;
  padding: 40px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.contact h2 {
  font-size: 2em;
  margin-bottom: 20px;
}

.contact p {
  font-size: 1.2em;
  margin: 10px 0;
}

.contact a {
  color: #fff;
  text-decoration: none;
  border-bottom: 2px solid #fff;
  transition: all 0.3s;
}

.contact a:hover {
  opacity: 0.8;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  animation: fadeIn 0.3s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content {
  background-color: white;
  margin: 5% auto;
  padding: 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 600px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  animation: slideIn 0.3s;
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-content h2 {
  color: #c41e3a;
  margin-bottom: 20px;
  font-size: 1.8em;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s;
}

.close:hover {
  color: #c41e3a;
}

.modal-content ul {
  list-style: none;
  padding: 0;
}

.modal-content li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  color: #555;
  font-size: 1.05em;
}

.modal-content li:last-child {
  border-bottom: none;
}

/* Responsive */
@media (max-width: 768px) {
  .header-title {
    font-size: 2em;
  }

  .summary h2,
  .contact h2 {
    font-size: 1.5em;
  }

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

  .carousel-container {
    flex-direction: column;
  }

  .thumbnail-container {
    width: 100%;
  }
}

