body {
  font-family: "Abril Fatface", serif;
  font-weight: 300;
  background-image: linear-gradient(to bottom right, #ffffff, #f8f9fa);
  color: #222;
}

h1, h2 {
  font-family: "Abril Fatface", serif;
  color: #b11226;
}

.jumbotron {
  background-color: #fff;
}

.jumbotron h1 {
  font-size: 3.5rem;
  color: #b11226;
}

.jumbotron p {
  font-family: "Open Sans", sans-serif;
  font-size: 1.2rem;
}

.drop-shadow {
  text-shadow: 0 2px 2px rgba(0, 0, 0, 0.15);
}

.spec-box {
  background: #f7f7f7;
  border: 1px solid #ddd;
  color: #b11226;
  font-weight: 700;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.spec-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.spec-box h5 {
  margin-bottom: 0.5rem;
}

.card-img-top {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-img-top:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

footer {
  font-family: "Open Sans", sans-serif;
  font-size: 0.9rem;
}

footer a:hover {
  color: #b11226;
  text-decoration: none;
}

footer i {
  transition: color 0.3s ease;
}

footer i:hover {
  color: #b11226;
}

/* Ferrari-themed Button */
.btn-ferrari {
  background-color: #b11226;
  color: #fff;
  border: none;
  transition: background-color 0.3s ease;
}

.btn-ferrari:hover {
  background-color: #8c0d1d;
  color: #fff;
}

/* Back to Top Button */
.back-to-top {
  bottom: 20px;
  right: 20px;
  z-index: 999;
  display: inline-block;
  padding: 10px 12px;
  border-radius: 50%;
  font-size: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Section padding */
section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

/* Gallery Heading */
main h1 {
  font-family: "Abril Fatface", serif;
  font-size: 2.8rem;
  color: #b11226;
}

/* Gallery Image Card Hover */
.card-img-top {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 0.25rem;
}

.card-img-top:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.navbar .nav-link.active {
  color: #b11226 !important;
  font-weight: bold;
  border-bottom: 2px solid #b11226;
}
