/* ================================================================
   Fiery Escape Bologna - gradient_modern Full Site Style
   CRITICAL: FLEXBOX ONLY - NO CSS GRID/NO COLUMNS
   Colors: Primary #D32F2F, Secondary #263238, Accent #F5F5F5
   Fonts: Montserrat (display), Open Sans (body)
   Responsive, gradient effects, smooth transitions
=================================================================== */
/* ================================================================
   RESET & BASE STYLES
=================================================================== */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { box-sizing: border-box; font-size: 16px; scroll-behavior: smooth; }
*, *:before, *:after { box-sizing: inherit; }
body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #263238;
  background: #F5F5F5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  min-height: 100vh;
}
a { color: #D32F2F; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #B71C1C; text-decoration: underline; }
ul, ol { margin-left: 1.15em; margin-bottom: 1em; }
img { max-width: 100%; height: auto; display: block; border: none; }
strong { font-weight: 700; }

/* ============ TYPOGRAPHY (gradient_modern) ============ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #D32F2F;
  font-weight: 800;
  letter-spacing: -0.02em;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; line-height: 1.15; }
h2 { font-size: 2rem; margin-bottom: 18px; line-height: 1.2; }
h3 { font-size: 1.4rem; margin-bottom: 10px; }
h4 { font-size: 1.2rem; margin-bottom: 8px; }
p, ul, ol, blockquote { font-size: 1rem; margin-bottom: 16px; }
blockquote {
  background: #F5F5F5;
  padding: 18px 22px;
  border-left: 5px solid #D32F2F;
  color: #263238;
  border-radius: 12px;
  font-style: italic;
  margin-bottom: 10px;
}

/* =================== CONTAINERS & LAYOUTS =================== */
.container {
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 18px;
  padding-right: 18px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 14px rgba(38,50,56,0.08);
}

/* --- Flex Patterns --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}
.card { margin-bottom: 20px; position: relative; background: #fff; border-radius: 18px; box-shadow: 0 2px 12px rgba(38,50,56,0.09); }
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 1px 10px rgba(38,50,56,0.11);
  margin-bottom: 20px;
  color: #263238;
  max-width: 600px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ================= HERO GRADIENTS ================= */
.hero {
  background: linear-gradient(90deg, #D32F2F 0%, #FF6F6F 80%);
  color: #fff;
  padding: 68px 0 60px 0;
  margin-bottom: 46px;
}
.hero h1, .hero h2, .hero h3 {
  color: #fff;
  text-shadow: 0 2px 10px rgba(38,50,56,0.25);
}
.hero p {
  color: #fff;
  max-width: 600px;
  margin-bottom: 22px;
  line-height: 1.6;
}
.hero .btn-primary { background: #fff; color: #D32F2F; }
.hero .btn-primary:hover, .hero .btn-primary:focus {
  background: #F18282; color: #fff;
}

/* =============== NAVIGATION (Desktop & Mobile) =============== */
.header-container {
  display: flex;
  align-items: center;
  gap: 22px;
  padding-top: 18px;
  padding-bottom: 18px;
  background: transparent;
  position: relative;
  z-index: 200;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-left: 36px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  color: #263238;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  transition: color 0.2s;
  padding: 7px 10px;
  border-radius: 8px;
}
.main-nav a:hover, .main-nav a:focus {
  color: #D32F2F;
  background: rgba(211,47,47,0.09);
}
.btn.btn-primary {
  background: linear-gradient(90deg, #D32F2F 40%, #D32F2F 80%);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  border-radius: 14px;
  padding: 12px 32px;
  font-size: 1.08rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 1px 6px rgba(211,47,47,0.07);
  margin-left: auto;
  margin-right: 16px;
  transition: background 0.25s, box-shadow 0.2s, color 0.22s;
  outline: none;
  position: relative;
  z-index: 2;
}
.btn.btn-primary:hover, .btn.btn-primary:focus {
  background: linear-gradient(90deg, #B71C1C 20%, #D32F2F 93%);
  box-shadow: 0 3px 18px rgba(211,47,47,0.10);
  color: #fff;
}

/* =================== MOBILE NAV =================== */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  margin-left: 8px;
  color: #D32F2F;
  cursor: pointer;
  z-index: 205;
  padding: 8px 10px;
  line-height: 1;
  border-radius: 9px;
  transition: background 0.18s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #D32F2F;
  background: #FDF6F6;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  transform: translateX(-100%);
  transition: transform 0.38s cubic-bezier(.77,.1,.2,1);
  box-shadow: 0 0 0 0 rgba(211,47,47,0.07);
}
.mobile-menu.open {
  transform: translateX(0%);
  box-shadow: 0 5px 32px rgba(211,47,47,0.11);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 20px 24px 6px 0;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #D32F2F;
  cursor: pointer;
  border-radius: 8px;
  padding: 6px 14px 5px 14px;
  transition: background 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #FFECEC;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 38px;
  width: 100%;
  align-items: flex-start;
  padding: 0 34px;
}
.mobile-nav a {
  color: #263238;
  font-size: 1.27rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 12px 9px;
  border-radius: 8px;
  width: 100%;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FBE4E4;
  color: #D32F2F;
}

/* Hide desktop nav/show burger on mobile */
@media (max-width: 990px) {
  .main-nav { display: none; }
  .btn.btn-primary { margin-right: 0; }
  .mobile-menu-toggle { display: block; }
}
@media (max-width: 430px) {
  .mobile-nav { padding: 0 18px; }
}

/* =============== FOOTER ==================== */
footer {
  background: linear-gradient(90deg, #263238 0%, #40535B 90%);
  padding: 44px 0 20px 0;
  color: #fff;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.footer-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 8px;
}
.footer-nav a {
  color: #F5F5F5;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 7px;
  padding: 7px 10px;
  transition: color 0.19s, background 0.19s;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #D32F2F;
  color: #fff;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 1rem;
}
.contact-info img {
  display: inline-block;
  width: 21px;
  vertical-align: middle;
  margin-right: 7px;
}
footer small {
  color: #d6d8db;
  font-size: 0.95rem;
  margin-top: 12px;
}

/* =============== FEATURES & CARDS =============== */
.feature-grid, .feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
  margin: 0 0 32px 0;
  padding: 0;
  list-style: none;
}
.feature-grid li, .feature-list li {
  display: flex;
  align-items: center;
  background: #F5F5F5;
  border-radius: 13px;
  box-shadow: 0 1px 6px rgba(38,50,56,0.08);
  padding: 14px 19px;
  gap: 13px;
  min-width: 210px;
  font-size: 1rem;
  color: #263238;
  font-weight: 600;
}
.feature-grid img, .feature-list img {
  width: 32px;
  height: 32px;
  margin-right: 8px;
}

.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0 0 20px 0;
}
.service-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(211,47,47,0.12);
  padding: 28px 22px 24px 22px;
  flex: 1 1 290px;
  min-width: 260px;
  max-width: 370px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.2s, transform 0.21s;
  margin-bottom: 12px;
  border: 2px solid transparent;
}
.service-card:hover, .service-card:focus {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 6px 32px rgba(211,47,47,0.16);
  border: 2px solid #FF6F6F;
  z-index: 3;
}
.service-card h3 {
  font-size: 1.22rem;
  font-weight: 700;
  color: #263238;
  margin-bottom: 12px;
}
.service-card strong {
  color: #D32F2F;
  font-weight: 800;
}

/* =================== TIPS & FAQS =================== */
.tip-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 16px;
}
.tip-card {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 10px rgba(211,47,47,0.09);
  padding: 20px 17px;
  flex: 1 1 210px;
  min-width: 180px;
  margin-bottom: 16px;
}
.faq {
  background: #F5F5F5;
  border-radius: 11px;
  padding: 16px 18px;
  margin-top: 14px;
  box-shadow: 0 1px 5px rgba(38,50,56,0.06);
}
.faq h3 { color: #D32F2F; font-size: 1.1rem; }

/* ============== CONFIRMATION/THANK YOU ============= */
.confirmation {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 12px rgba(38,50,56,0.08);
  padding: 32px 22px 26px 22px;
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ============== MAP PLACEHOLDER ============= */
.map-placeholder {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #F5F5F5;
  border-radius: 10px;
  padding: 12px 14px;
  box-shadow: 0 1px 4px rgba(38,50,56,0.08);
  margin: 14px 0 24px 0;
}
.map-placeholder img { width: 34px; opacity: 0.8; }

/* ============== OTHER UTILITIES ============== */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 15px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 18px;
}

/* ================ COOKIE CONSENT BANNER ================ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #263238;
  color: #fff;
  padding: 22px 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 12000;
  box-shadow: 0 -2px 24px rgba(38,50,56,0.18);
  font-size: 1rem;
  gap: 17px;
  flex-wrap: wrap;
  transition: transform 0.28s, opacity 0.22s;
}
.cookie-banner.hide {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}
.cookie-banner .btn {
  margin-left: 10px;
  margin-right: 4px;
}
.cookie-banner .cookie-settings {
  background: transparent;
  color: #fff;
  border: 1.5px solid #FF6F6F;
  border-radius: 8px;
  padding: 7px 13px;
  margin-left: 8px;
  font-size: 1rem;
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.cookie-banner .cookie-settings:hover, .cookie-banner .cookie-settings:focus {
  background: #D32F2F;
  color: #fff;
}

/* ---- Cookie Modal ---- */
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%; transform: translate(-50%,-60%);
  background: #fff;
  color: #263238;
  z-index: 15000;
  border-radius: 20px;
  box-shadow: 0 2px 28px rgba(38,50,56,0.21);
  min-width: 320px; max-width: 96vw;
  padding: 30px 28px 22px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s, transform 0.21s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%,-50%);
}
.cookie-modal h3 {
  font-size: 1.18rem;
  color: #D32F2F;
  margin-bottom: 10px;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 9px;
}
.cookie-modal .category-toggle {
  margin-left: auto;
}
.cookie-modal .cookie-category input[type='checkbox'] {
  width: 22px; height: 22px; accent-color: #D32F2F;
}
.cookie-modal .category-essential {
  color: #263238;
  font-weight: 600;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 14px;
  margin-top: 16px;
  align-items: center;
  flex-wrap: wrap;
}
/* Modal close button */
.cookie-modal .close-modal {
  position: absolute;
  top: 17px; right: 17px;
  background: none;
  color: #D32F2F;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  border-radius: 7px;
  transition: background 0.14s;
  padding: 3px 12px 2px 12px;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  background: #FFF3F3;
}

/* ==== Cookie Modal Anim on open ====== */
@media (max-width: 430px) {
  .cookie-modal { min-width: 90vw; padding: 18px 8px 18px 10px; }
}

/* =============== RESPONSIVE DESIGN =============== */
@media (max-width: 1100px) {
  .container { max-width: 97vw; }
  .services-list, .card-container { gap: 16px; }
}
@media (max-width: 900px) {
  .section { padding: 36px 10px; }
  .feature-grid li, .feature-list li { min-width: 140px; font-size: 0.98rem; }
  .services-list { gap: 10px; }
}
@media (max-width: 768px) {
  .content-wrapper, .footer .content-wrapper {
    gap: 18px;
  }
  .section { margin-bottom: 38px; padding: 32px 4vw; }
  .feature-grid, .feature-list, .services-list, .tip-cards {
    gap: 12px;
  }
  .feature-grid li, .feature-list li { min-width: unset; padding: 11px 10px; font-size: 0.96rem; }
  .card-container, .content-grid, .tip-cards {
    flex-direction: column;
    gap: 18px;
  }
  .testimonials { flex-direction: column; }
  .testimonial-card { padding: 13px 10px; font-size: 0.94rem; }
  .footer-nav { gap: 8px; }
  .text-image-section { flex-direction: column; align-items: flex-start; gap: 15px; }
}
@media (max-width: 600px) {
  .container { padding-left: 7px; padding-right: 7px; }
  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.17rem; }
  .hero { padding: 34px 0 30px 0; }
  .btn.btn-primary { padding: 11px 17px; font-size: 1rem; }
  .service-card, .tip-card { padding: 15px 9px 18px 11px; }
  .section { padding: 16px 2px; }
  .testimonial-card { font-size: 0.87rem; }
}

/* ================ ANIMATIONS & MICRO-INTERACTIONS ================ */
.btn, button {
  transition: background 0.19s, color 0.18s, transform 0.15s, box-shadow 0.18s;
}
.btn:active, button:active {
  transform: scale(0.97);
}
/* section/card subtle fadein */
.section, .card, .service-card, .testimonial-card, .tip-card, .cookie-banner {
  animation: fadeinIntro 0.9s cubic-bezier(.19,.62,.32,1) both;
}
@keyframes fadeinIntro {
  from { opacity: 0; transform: translateY(24px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ================ ACCESSIBILITY & FOCUS ================ */
a:focus, button:focus, .btn:focus { outline: 2px solid #D32F2F; outline-offset: 2px; }

/* =============== UTILITIES =============== */
.mt-2 { margin-top: 16px!important; }
.mb-0 { margin-bottom: 0!important; }
.mb-1 { margin-bottom: 8px!important; }
.mb-2 { margin-bottom: 16px!important; }
.mb-3 { margin-bottom: 24px!important; }
.gap-1 { gap: 9px!important; }
.gap-2 { gap: 17px!important; }
.gap-3 { gap: 26px!important; }

/* ===================== END ===================== */
