:root {
  --body-bg-color: #f8fafc;
  --body-text-color: #ffffff;
  --heading-color: #ffffff;
  --hero-gradient1: #168295;
  --hero-gradient2: #0b5e3a;
  --footer-bg-color: #0d0d0d;
  --link-color: #ca301c;
  --header-bg-color: #000000;
  --font-family: system-ui;
  --nav-link-color: #ffffff;
  --footer-text-color: #ffffff;
  --header-text-color: #ffffffff;
}
html {
  overflow-x: hidden;
}
body {
  background-color: var(--body-bg-color);
  color: var(--body-text-color) !important;
  font-family: var(--font-family);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-image: linear-gradient(rgba(0, 0, 0, 0.685), rgba(0, 0, 0, 0.615)),
    url("/images/italian-pizzerias.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

h1 {
  font-size: clamp(2rem, 4vw, 2.5rem) !important;
  text-shadow: 0 0 8px rgba(139, 0, 0, 0.6), 0 0 20px rgba(139, 0, 0, 0.4);
  font-weight: 800;
}
h2 {
  font-size: clamp(1.6rem, 3vw, 2rem) !important;
}
h3 {
  font-size: clamp(1.4rem, 3vw, 1.7rem) !important;
}
p {
  margin-bottom: 0.5rem !important;
}

section {
  padding: 15px 0;
  scroll-margin-top: 70px;
}

h2,
h3 {
  color: var(--heading-color) !important;
}

.content-area a {
  color: var(--link-color) !important;
  text-decoration: none !important;
}

.content-area a:hover {
  color: var(--link-color) !important;
  opacity: 0.8;
}

.sidebar-page-list {
  padding: 0;
  margin: 0;
  margin-bottom: 17px;
  width: 279px;
}

.sidebar-page-list li {
  list-style-type: disc;
  list-style-position: inside;
  color: var(--heading-color);
}

.sidebar-page-list li::marker {
  color: var(--link-color);
  font-size: 1.2em;
}
.sidebar-page-list li:last-child {
  border-bottom: none;
}

.sidebar-page-list li a {
  padding: 12px 0;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  color: var(--link-color);
}

.sidebar-page-list li a:hover {
  padding-left: 11px;
}
.twitter-tweet {
  width: 279px !important;
}

.x {
  display: flex;
  justify-content: center;
}
.error_page {
  min-height: 70vh;
}

.footer-news {
  background: var(--footer-bg-color);
  border-top: 3px solid var(--link-color);
  padding: 2.5rem 1rem;
  border-radius: 12px 12px 0 0;
  position: relative;
  overflow: hidden;
  color: var(--footer-text-color);
}

.footer-news a {
  color: var(--link-color);
  text-decoration: none;
  position: relative;
}

.footer-news a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--link-color);
  transition: width 0.3s ease;
}

.footer-news a:hover::after {
  width: 100%;
}

.footer-newsletter h3 {
  color: var(--footer-text-color) !important;
  margin-bottom: 1rem;
  font-weight: 600;
}

.newsletter-form input {
  padding: 0.6rem 1rem;
  border: 1px solid var(--link-color);
  border-radius: 5px;
  font-size: 1rem;
}

.newsletter-form button {
  padding: 0.6rem 1.5rem;
  border: none;
  background: var(--link-color);
  color: #fff;
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.newsletter-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(102, 143, 106, 0.2);
}
.footer-social .social-icon {
  font-size: 1.5rem;
  margin: 0 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--link-color);
  width: 40px;
  height: 40px;
  line-height: 40px;
  border: 2px solid var(--link-color);
  border-radius: 50%;
  text-align: center;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
  cursor: pointer;
}

.footer-social .social-icon:hover {
  transform: scale(1.2) rotate(-10deg);
  background: var(--link-color);
  color: #fff;
}

.footer-news::after {
  right: 10px;
  top: auto;
  bottom: 10px;
  left: auto;
}

/* Responsive */
@media (max-width: 767px) {
  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
  }
}

.navbar {
  background-color: transparent !important;
  transition: background-color 0.4s ease, box-shadow 0.3s ease;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1030;
}
.navbar.scrolled {
  background-color: var(--header-bg-color) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-section {
  padding: 115px 0 30px;
  position: relative;
  overflow: hidden;
  color: var(--header-text-color);
}

.hero-section.gradient-bg {
  background: linear-gradient(
    135deg,
    var(--hero-gradient1),
    var(--hero-gradient2)
  );
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 77px 0;
  }
}
.navbar-light .navbar-nav .nav-link {
  color: var(--nav-link-color, #141414) !important;
}

.navbar-light .navbar-nav .nav-link.active {
  color: var(--link-color) !important;
  font-weight: bold;
}
/* Mobile nav */
@media (max-width: 1199.98px) {
  .navbar-collapse {
    position: fixed;
    top: 61px;
    left: 15px;
    right: 15px;
    background-color: color-mix(
      in srgb,
      var(--header-bg-color) 65%,
      transparent
    );
    backdrop-filter: blur(12px);
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    padding: 15px;
    margin: 0;
  }

  .navbar-nav {
    width: 100%;
  }

  .navbar-nav .nav-item {
    margin: 7px 0;
  }

  .navbar-nav .nav-item:hover {
    transform: translateY(-1px);
  }

  .navbar-nav .nav-link {
    font-size: 1.2rem;
    font-weight: 500;
    text-decoration: none;
    display: block;
    padding: 0;
  }

  .navbar-toggler {
    z-index: 10000;
    position: relative;
    border: var(--bs-border-width) solid var(--nav-link-color, #141414) !important;
  }
}

.custom-dropdown {
  border: 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  min-width: 220px;
  background: color-mix(
    in srgb,
    var(--header-bg-color) 65%,
    transparent
  ) !important;
  backdrop-filter: blur(12px);
}

.custom-dropdown .dropdown-item {
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
  color: var(--nav-link-color, #141414) !important;
  font-weight: 500;
  border-radius: 0;
  text-wrap: wrap;
}
.dropdown-menu {
  display: none;
}

.custom-dropdown .dropdown-item:hover {
  color: #fff;
  background: color-mix(
    in srgb,
    var(--header-bg-color) 95%,
    transparent
  ) !important;
}
.nav-item.dropdown > .nav-link {
  display: flex;
  align-items: center;
}

.nav-item.dropdown > .nav-link .arrow {
  position: relative;
  margin-left: auto;
  border: solid var(--nav-link-color, #141414);
  border-width: 0 2px 2px 0;
  padding: 3px;
  transform: rotate(45deg);
  transition: transform 0.25s;
}

.dropdown.open .dropdown-menu {
  display: block;
}

@media (min-width: 1200px) {
  .nav-item.dropdown {
    position: relative;
  }
  .nav-item.dropdown > .nav-link .arrow {
    margin-left: 7px;
  }
  .custom-dropdown.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0;
    z-index: 1000;
  }

  .nav-item.dropdown:hover > .nav-link .arrow {
    transform: rotate(-135deg);
  }
  .nav-item.dropdown:hover > .dropdown-menu {
    display: block !important;
  }
}
@media (max-width: 1199px) {
  .nav-item.dropdown > .nav-link .arrow {
    padding: 4px;
  }
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 0.9)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
.pizza-classic h2 {
  font-size: 3rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 3px;

  color: #8b0000; /* dark red accent */

  position: relative;
  display: inline-block;
  padding-bottom: 14px;

  /* subtle glow */
  text-shadow: 0 0 8px rgba(139, 0, 0, 0.6), 0 0 20px rgba(139, 0, 0, 0.4);

  transition: all 0.4s ease;
}
.pizza-classic h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);

  width: 70%;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent,
    #8b0000,
    #ff2a2a,
    #8b0000,
    transparent
  );

  border-radius: 10px;
}
.pizza-classic h2:hover {
  color: #ff2a2a;
  letter-spacing: 4px;

  text-shadow: 0 0 12px rgba(255, 42, 42, 0.8), 0 0 30px rgba(255, 42, 42, 0.6);
}
.pizza-spots {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(139, 0, 0, 0.4);
  padding: 21px;
  border-radius: 12px;
  transition: all 0.4s ease;
  height: 100%;
}

.pizza-spots:hover {
  border-color: #ff2a2a;
  box-shadow: 0 0 25px rgba(139, 0, 0, 0.4);
}

.pizza-spots h3 {
  color: #8b0000;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.pizza-spots p {
  color: #cccccc;
  line-height: 1.8;
  font-size: 1rem;
}

.pizza-spots .icon {
  color: #a00000;
  margin-right: 6px;
}
.gourmet-title {
  font-weight: 700;
  letter-spacing: 2px;
  position: relative;
  padding-bottom: 7px;
  text-shadow: 0 0 6px rgba(139, 0, 0, 0.4), 0 0 18px rgba(139, 0, 0, 0.3);
  transition: all 0.4s ease;
}
.img-spin {
  animation: spin 33s linear infinite;
  transform-origin: center;
}

/* Keyframes */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.rounded {
  border-radius: 21px !important;
}
.tradition-modern {
  background: rgba(0, 0, 0, 0.7);
  padding: 30px 21px;
  border-radius: 14px;
  border: 1px solid rgba(139, 0, 0, 0.35);
}

.tradition-modern h2 {
  color: #8b0000;
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 30px;
  text-shadow: 0 0 10px rgba(139, 0, 0, 0.5);
}

.tradition-modern p {
  color: #cccccc;
  line-height: 1.9;
  font-size: 1.05rem;
  margin-bottom: 18px;
}

.tradition-modern .icon {
  color: #a00000;
  margin-right: 8px;
}
.img_el {
  padding: 60px 0;
  position: relative;
  margin-top: 17px;
}
.img_el:before {
  content: "";
  background: color-mix(in srgb, #00000091, transparent 30%);
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 17px;
}
.img_el .img_el-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: url("/images/hidden-gems.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  border-radius: 17px;
}
.img_el .container {
  position: relative;
  z-index: 3;
}
.img_el .container h2,
.img_el .container p {
  color: white !important;
}
.img_el .container h3 {
  color: #ef8a54;
}
.side-widget.static {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(139, 0, 0, 0.4);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  color: #ddd;
  font-family: "Segoe UI", sans-serif;
}

.side-widget.static h4 {
  color: #8b0000;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  text-shadow: 0 0 8px rgba(139, 0, 0, 0.4);
}

.side-widget.static p,
.side-widget.static small,
.side-widget.static li {
  font-size: 0.95rem;
  line-height: 1.6;
}

.side-widget.static ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.side-widget.static ul li {
  padding: 6px 0;
}

.side-widget.static .pw-image img {
  border-radius: 10px;
  width: 100%;
  display: block;
  margin-bottom: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-cool {
  position: relative;
  padding: 55px 0 45px;
  background: radial-gradient(
    circle at top,
    rgba(139, 0, 0, 0.22),
    rgba(0, 0, 0, 0.92) 55%
  );
  border-top: 1px solid rgba(139, 0, 0, 0.35);
  overflow: hidden;
}

/* subtle animated sheen */
.footer-cool::before {
  content: "";
  position: absolute;
  inset: -40% -20%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 42, 42, 0.08),
    transparent
  );
  transform: rotate(8deg);
  pointer-events: none;
}

.footer-cool p,
.footer-cool span,
.footer-cool a,
.footer-cool small {
  color: #cfcfcf;
}

.footer-cool .brand-dot {
  color: #8b0000;
  text-shadow: 0 0 12px rgba(139, 0, 0, 0.6);
  margin-right: 8px;
}

.footer-cool .footer-links .footer-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-cool .footer-links .footer-item.link {
  text-decoration: none;
  transition: 0.3s ease;
}

.footer-cool .footer-links .footer-item.link:hover {
  border-color: rgba(255, 42, 42, 0.55);
  box-shadow: 0 0 20px rgba(139, 0, 0, 0.25);
  transform: translateY(-1px);
}

.footer-cool .footer-icon {
  color: #a00000;
}

/* Newsletter */
.footer-cool .footer-newsletter h3 {
  color: #8b0000;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(139, 0, 0, 0.5);
  margin-bottom: 10px;
}

.footer-cool .footer-subtext {
  max-width: 560px;
  margin: 0 auto;
  color: #bdbdbd;
  line-height: 1.7;
}

.footer-cool .newsletter-form input {
  width: min(420px, 100%);
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.4);
  color: #eaeaea;
  outline: none;
}

.footer-cool .newsletter-form input:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.footer-cool .newsletter-form button {
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 42, 42, 0.35);
  background: linear-gradient(
    90deg,
    rgba(139, 0, 0, 0.85),
    rgba(255, 42, 42, 0.7)
  );
  color: #f2f2f2;
  font-weight: 800;
  letter-spacing: 1px;
}

.footer-cool .newsletter-form button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  filter: grayscale(10%);
}

.footer-cool .btn-spark {
  margin-left: 6px;
  opacity: 0.85;
}

.footer-cool .footer-note {
  color: #9f9f9f;
  letter-spacing: 0.5px;
}

/* Social */
.footer-cool .social-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e6e6e6;

  transition: 0.3s ease;
}

.footer-cool .social-icon:hover {
  border-color: rgba(255, 42, 42, 0.6);
  box-shadow: 0 0 22px rgba(139, 0, 0, 0.35);
  transform: translateY(-2px);
}

.footer-cool .social-icon i {
  font-size: 1.25rem;
}
.error_page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;

  background: radial-gradient(
      circle at top,
      rgba(139, 0, 0, 0.25),
      rgba(0, 0, 0, 0.95) 60%
    ),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 0h40v40H0z' fill='none'/%3E%3C/svg%3E");
}

.error-wrap {
  max-width: 640px;
  margin: auto;
  padding: 40px 25px;
}

.error-icon i {
  font-size: 5rem;
  color: #8b0000;
  text-shadow: 0 0 12px rgba(139, 0, 0, 0.6), 0 0 28px rgba(139, 0, 0, 0.4);
  margin-bottom: 20px;
}

.error-title {
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #f2f2f2;
  margin-bottom: 16px;
}

.error-text {
  font-size: 1.05rem;
  color: #bdbdbd;
  line-height: 1.8;
  margin-bottom: 34px;
}

/* Button */
.error_page_btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 999px;
  text-decoration: none;

  color: #f2f2f2;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;

  background: linear-gradient(
    90deg,
    rgba(139, 0, 0, 0.85),
    rgba(255, 42, 42, 0.75)
  );

  border: 1px solid rgba(255, 42, 42, 0.35);
  box-shadow: 0 0 24px rgba(139, 0, 0, 0.4);

  transition: all 0.35s ease;
}

.error_page_btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(255, 42, 42, 0.55);
  filter: brightness(1.1);
}
