/* =============================
   IMPORTS Y FUENTES
============================= */
@import url('https://fonts.googleapis.com/css2?family=URW+Gothic:wght@400;700&display=swap');

/* =============================
   TIPOGRAFÍA GLOBAL Y UTILS
============================= */
body {
  background: #f7f7fa;
  color: #222;
}
#presentacion,
.font-georgia {
  font-family: 'Georgia', serif;
}

/* =============================
   LOGO - RESPONSIVE
============================= */
.logo-img {
  height: 54px;
  width: auto;
  max-width: 320px;
  min-width: 100px;
  object-fit: contain;
  display: inline-block;         /* <-- Cambia esto */
  vertical-align: middle;        /* <-- Añade esto */
  margin: 0;                     /* <-- Quita márgenes */
  padding: 0;
  transition: filter .18s;
}
@media (max-width: 991px) {
  .logo-img {
    height: 38px;
    max-width: 190px;
    min-width: 70px;
  }
}
@media (max-width: 575px) {
  .logo-img {
    height: 28px;
    max-width: 110px;
    min-width: 52px;
  }
}

/* =============================
   NAVBAR & NAV
============================= */
.navbar {
  background: linear-gradient(120deg, #626870 5%, #d4dae2 35%, #959da5 65%, #474b50 100%);
}
.navbar-brand {
  padding: 0 !important;
  margin-right: 1.2rem;
  display: flex;
  align-items: center;
}
.navbar .nav-link {
  color: #ea6907 !important;
  font-weight: bold;
  text-shadow:
    0 2px 8px #2a2a2a90,
    0 1px 0 #fff2,
    0 0px 2px #181F3190;
  font-size: 1.19rem; /* Puedes subir más si quieres */
  letter-spacing: 1.3px;
  transition: color 0.18s;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link.active {
  color: #fff !important; /* Cambia a #000 si lo prefieres */
  text-shadow:
    0 3px 14px #000a,
    0 1px 0 #fff2;
}
/* =============================
   TITULOS & HIGHLIGHTS
============================= */
.section-title,
.claim-highlight,
.footer-brand,
.bttf-title,
.logo-bttf {
  font-family: 'URW Gothic', Arial, Helvetica, sans-serif !important;
  font-weight: 700;
  letter-spacing: 2px;
  color: #ea6907;
  text-shadow: 1px 2px 8px #2222;
}
.section-title {
  font-size: 2.3rem;
  text-shadow: 1px 2px 6px #2222;
}
.claim-highlight {
  background: linear-gradient(90deg, #ea6907 0%, #ffb97c 100%);
  color: #fff;
  border-radius: 7px;
  box-shadow: 0 4px 18px #ea690744;
  letter-spacing: .02em;
  text-shadow: 1px 2px 6px #2222;
  transition: box-shadow .2s;
}
.claim-highlight:hover {
  box-shadow: 0 6px 32px #ea690755, 0 0 0 2px #ffb97c66;
}

/* =============================
   HERO
============================= */
.hero {
  min-height: 60vh;
  background: linear-gradient(105deg, #181F31 60%, #F7AA0A 100%);
  color: #fff;
  padding-top: 110px;
  padding-bottom: 80px;
  background-size: cover;
  background-position: center;
}
.hero-img {
  max-width: 95%;
  border-radius: 1.2rem;
  box-shadow: 0 2px 16px #1116;
}

/* =============================
   BOTÓN BTTF
============================= */
.btn-bttf {
  background: linear-gradient(90deg, #F7AA0A 0%, #EA4100 100%);
  border: none;
  color: #181F31;
  font-family: 'URW Gothic', Arial, sans-serif;
  font-size: 1.15rem;
  padding: 0.7rem 2.2rem;
  border-radius: 22px;
  box-shadow: 2px 4px 18px #0002;
  transition: background 0.2s;
}
.btn-bttf:hover {
  background: linear-gradient(90deg, #EA4100 0%, #F7AA0A 100%);
  color: #fff;
}
.bg-bttf-info {
  background: linear-gradient(120deg, #1e2340 75%, #EA4100 100%);
}
.icon-bttf {
  font-size: 1.3em;
  margin-right: 8px;
}
.carousel-item img {
  object-fit: cover;
  width: 100%;
  height: 340px;
}

/* =============================
   SERVICIOS ALT
============================= */
.servicios-alt {
  background: #f7f7fa;
}
.servicios-alt .row {
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 6px 30px #0001, 0 2px 8px #ea690711;
  margin-bottom: 2.5rem;
  overflow: hidden;
  transition: box-shadow .22s;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.servicios-alt .row:hover {
  box-shadow: 0 14px 36px #ea690744, 0 4px 22px #2222;
}
.servicios-alt .service-img {
  width: 100%;
  max-height: 250px;
  object-fit: cover;
  border-radius: 1.2rem 0 0 1.2rem;
  margin-bottom: 0;
  display: block;
  box-shadow: none;
}
.servicios-alt .service-text {
  padding: 2.2rem 2.2rem 2rem 2.2rem;
  border-radius: 0 1.2rem 1.2rem 0;
}
.servicios-alt .service-text ul {
  margin-bottom: 0;
}

/* Responsive servicios-alt */
@media (max-width: 991px) {
  .servicios-alt .row {
    flex-direction: column !important;
    border-radius: 1.2rem;
  }
  .servicios-alt .service-img {
    max-height: 190px;
    border-radius: 1.2rem 1.2rem 0 0 !important;
  }
  .servicios-alt .service-text {
    border-left: none;
    border-top: 5px solid #ea6907;
    border-radius: 0 0 1.2rem 1.2rem;
    margin-top: 0;
    padding: 1.4rem 1rem 1.2rem 1rem;
    box-shadow: 0 2px 10px #ea690744;
  }
  .servicios-alt .row.mb-5 {
    margin-bottom: 2.1rem !important;
  }
}
@media (max-width: 575px) {
  .servicios-alt .row {
    border-radius: 0.9rem;
    margin-bottom: 1.2rem;
    padding: 0;
  }
  .servicios-alt .service-img {
    border-radius: 0.9rem 0.9rem 0 0 !important;
    max-height: 140px;
  }
  .servicios-alt .service-text {
    padding: 1rem 0.6rem 1rem 0.6rem;
  }
}
/* =============================
   CONTACTO ALT
============================= */
/* Imagen decorativa */
.contact-img-delorean {
  max-width: 400px;
  width: 98%;
  border-radius: 15px;
  box-shadow: 0 8px 32px #181f3120, 0 2px 18px #ea690711;
  border: 3px solid #fff;
  margin-bottom: 0;
  transition: box-shadow 0.2s, transform 0.18s;
}
.contact-img-delorean:hover {
  box-shadow: 0 16px 44px #ea690744, 0 6px 30px #2222;
  transform: scale(1.03) rotate(-1.3deg);
}

.contact-img-desc {
  margin-top: 1.2em;
  padding: 0.2em 0.7em 0.8em;
  max-width: 430px;
  color: #222;
}
.img-title {
  font-family: 'URW Gothic', Arial, sans-serif;
  color: #ea6907;
  font-size: 1.28em;
  letter-spacing: 1.1px;
  text-shadow: 1px 2px 8px #ea690722;
  margin-bottom: 0.1em;
}

/* ----------- FORMULARIO COMPACTO ESCRITORIO ----------- */
.form-delorean {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 20px #0002, 0 1px 4px #ea690722;
  padding: 2.2rem 1.3rem 1.4rem;
  max-width: 410px;
  margin: 2.1rem auto;
  transition: max-width 0.2s, padding 0.2s;
}
.form-delorean .section-title {
  font-size: 1.43rem;
  font-weight: 700;
  color: #ea6907;
  letter-spacing: 1.2px;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 10px #d27c1b22, 1px 2px 6px #2222;
}
.form-label {
  color: #ea6907 !important;
  font-weight: 700;
  font-size: 1em;
  margin-bottom: 0.18rem;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 3px;
}
.required-asterisk {
  color: #e84118;
  font-size: 1em;
  margin-left: 2px;
  font-weight: bold;
  vertical-align: super;
}
.form-control, .form-select, textarea.form-control {
  border-radius: 7px;
  border: 1.1px solid #bbb;
  background: #f8fafc;
  color: #222;
  padding: 0.54em 0.85em;
  font-size: 1em;
  box-shadow: none;
  transition: border-color 0.16s, box-shadow 0.2s;
  margin-bottom: 0.53rem;
}
.form-control:focus, .form-select:focus, textarea.form-control:focus {
  border-color: #ea6907;
  box-shadow: 0 0 0 1.5px #ea690799;
  background: #fff;
  outline: none;
}
textarea.form-control {
  min-height: 60px;
  resize: vertical;
}
.form-check-input[type=checkbox] {
  border-radius: 3px;
  border: 1.2px solid #ea6907;
  width: 1.13em; height: 1.13em;
  margin-top: 0.05em;
  accent-color: #ea6907;
}
.form-check-input:focus { box-shadow: 0 0 0 1.5px #ea690744; }
.form-check-label a {
  color: #ea6907;
  text-decoration: underline;
  font-weight: 500;
}
.form-check-label a:hover { color: #e84118; }
.btn-bttf {
  background: linear-gradient(90deg, #F7AA0A 0%, #EA4100 100%);
  border: none;
  color: #181F31;
  font-family: 'URW Gothic', Arial, sans-serif;
  font-size: 1.06rem;
  font-weight: 700;
  padding: 0.72em 0;
  border-radius: 17px;
  box-shadow: 0 2px 9px #0001, 0 1px 6px #ea69072a;
  transition: background 0.19s, color 0.14s, box-shadow 0.16s;
  margin-top: 0.6em;
  letter-spacing: 0.5px;
}
.btn-bttf:hover, .btn-bttf:focus {
  background: linear-gradient(90deg, #EA4100 5%, #F7AA0A 94%);
  color: #fff;
  box-shadow: 0 6px 18px #ea690755, 0 1px 8px #2222;
}
.form-text, .form-info {
  color: #888;
  font-size: 0.97em;
  margin-top: .18rem;
}

/* ----------- IMAGEN Y FORMULARIO RESPONSIVE MOBILE ----------- */
@media (max-width: 991px) {
  .contact-img-delorean {
    max-width: 97vw !important;
    margin-top: 2.5em;
    border-radius: 10px !important;
    box-shadow: 0 2px 10px #0001, 0 1px 2px #ea690722;
  }
  .contact-img-desc {
    max-width: 97vw;
    font-size: 1em;
    padding: 0.1em 0.2em 0.5em;
  }
}
@media (max-width: 767px) {
  .form-delorean {
    padding: 1rem 0.2rem 0.7rem !important;
    max-width: 99vw !important;
    border-radius: 10px;
    box-shadow: 0 2px 10px #0001, 0 1px 2px #ea690722;
  }
  .form-delorean .section-title {
    font-size: 1.08rem !important;
    margin-bottom: 0.68rem;
  }
  .form-label {
    font-size: 0.95em !important;
    margin-bottom: 0.14rem !important;
  }
  .form-control, .form-select, textarea.form-control {
    font-size: 0.95em !important;
    padding: 0.42em 0.62em !important;
    border-radius: 5px !important;
    margin-bottom: 0.36rem !important;
  }
  textarea.form-control {
    min-height: 44px !important;
  }
  .btn-bttf {
    font-size: 0.97em !important;
    padding: 0.5em 0 !important;
    border-radius: 11px !important;
    margin-top: 0.44em;
  }
}

/* =============================
   FOOTER
============================= */
footer {
  color: #fff;
  background: #181F31 !important;
  letter-spacing: 2px;
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
}

.footer-bttf {
  background: linear-gradient(90deg, #181F31 50%, #282828 100%);
  color: #fff;
  box-shadow: 0 -2px 24px #0009;
  border-top: 5px solid #ea6907;
  font-size: 1.13rem;
  letter-spacing: 1.2px;
  margin-top: 60px;
  padding: 2.1rem 2.4rem 1.2rem 2.4rem;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 0.8rem 0.8rem 0 0;
}

.footer-brand {
  font-size: 1.38rem;
  font-family: 'BackToFuture', Arial, sans-serif;
  color: #fff;
  text-shadow: 0 3px 22px #ea690744, 1px 1px 6px #0005;
  margin-bottom: 0.65rem;
  letter-spacing: 1.8px;
  text-align: center;
}
.footer-glow {
  color: #ea6907;
  text-shadow: 0 0 8px #ea6907, 0 1px 16px #ea690744;
  font-weight: bold;
  margin-left: 5px;
  letter-spacing: 1.5px;
}
.footer-desc {
  font-size: 1.09rem;
  color: #ffb97c;
  opacity: 0.93;
  text-align: center;
  margin-bottom: 0.7rem;
  margin-top: 0.2rem;
  max-width: 700px;
}

.footer-social {
  margin: 0.7em 0 0.9em 0;
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
}
.footer-social svg {
  transition: transform .2s, filter .2s;
  filter: drop-shadow(0 0 6px #ea6907bb);
  font-size: 2.15em;
}
.footer-social:hover svg {
  transform: scale(1.18) rotate(-6deg);
  filter: drop-shadow(0 0 18px #fff) brightness(1.1);
}

.footer-link {
  color: #ffb97c;
  text-decoration: none;
  font-weight: 500;
  transition: color .2s, text-shadow .2s;
  margin: 0 0.8em;
  font-size: 1.08em;
  display: inline-block;
}
.footer-link:hover,
.footer-link:focus {
  color: #fff;
  text-shadow: 0 0 12px #ea6907;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5em 1em;
  margin-top: 0.5em;
}

/* RESPONSIVE FOOTER */
@media (max-width: 991px) {
  .footer-bttf {
    font-size: 1em;
    padding: 1.4rem 0.7rem 0.7rem 0.7rem;
    border-radius: 0;
  }
  .footer-brand { font-size: 1.16rem; }
  .footer-desc { font-size: 0.97em; }
  .footer-links {
    justify-content: center !important;
    margin-top: 8px;
    gap: 0.6em 0.7em;
    flex-direction: row;
  }
  .footer-link {
    font-size: 1em !important;
    margin: 0 0.2em !important;
    min-width: 110px;
    text-align: center;
  }
}

/* AVISO LEGAL */
.pt-navbar {
  margin-top: 95px; 
}

.legal-main {
  margin-top: 95px;  
}
/* =============================
   MODALES GALERÍA (BODA / SPOT BCN) – ESTILO BTTF + IMAGEN SIN RECORTE
============================= */

/* Marco y fondo del modal, coherente con tu branding */
.modal-bttf .modal-content {
  background: #000;
  color: #fff;
  border: 4px solid rgba(234, 105, 7, 0.8); /* #ea6907 */
  box-shadow: 0 0 30px rgba(234, 105, 7, 0.35);
}
.modal-bttf .modal-header { border: 0; }
.modal-bttf .modal-title {
  font-family: 'URW Gothic', Arial, Helvetica, sans-serif;
  color: #ea6907;
  letter-spacing: 2px;
  text-shadow: 0 0 10px rgba(234, 105, 7, 0.35);
}
.modal-bttf .btn-close {
  filter: invert(1) grayscale(100%);
  opacity: 0.9;
}
.modal-bttf .btn-close:hover {
  filter: invert(52%) sepia(88%) saturate(2200%) hue-rotate(3deg) brightness(105%) contrast(105%);
}

/* Fondo negro continuo detrás del carrusel */
.modal-bttf .carousel,
.modal-bttf .carousel .carousel-item {
  background: #000;
}

/* ⚠️ Sobrescribe tu .carousel-item img global SOLO dentro del modal:
   - La imagen entra COMPLETA (object-fit: contain)
   - Se adapta a la pantalla sin perder el coche
*/
.modal-bttf .carousel-item img {
  display: block;
  margin: 0 auto;
  width: auto !important;         /* evita ensanchar de más */
  max-width: 100%;
  height: auto !important;        /* anula altura fija global */
  max-height: 80vh;               /* ocupa alto de viewport */
  object-fit: contain !important; /* no recorta: coche entero */
  background: #000;
}
@media (max-width: 768px) {
  .modal-bttf .carousel-item img { max-height: 70vh; }
}

/* Controles del carrusel en naranja */
.modal-bttf .carousel-control-prev,
.modal-bttf .carousel-control-next {
  width: 10%;
  opacity: 1;
}
.modal-bttf .carousel-control-prev:hover,
.modal-bttf .carousel-control-next:hover {
  background: linear-gradient(to right, rgba(234,105,7,0.08), transparent);
}

/* Iconos flecha (SVG embebido en naranja #ea6907) */
.modal-bttf .carousel-control-prev-icon,
.modal-bttf .carousel-control-next-icon {
  background-size: 100% 100%;
  width: 2.6rem;
  height: 2.6rem;
}
.modal-bttf .carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23ea6907' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M10 3 5 8l5 5'/%3E%3C/svg%3E");
}
.modal-bttf .carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23ea6907' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m6 3 5 5-5 5'/%3E%3C/svg%3E");
}

/* Indicadores (puntos) en naranja */
.modal-bttf .carousel-indicators [data-bs-target] {
  background-color: rgba(234, 105, 7, 0.5);
}
.modal-bttf .carousel-indicators .active {
  background-color: #ea6907;
}

/* Estética de enlaces en títulos de tarjetas (coherente con nav) */
.card-title a {
  text-decoration: none;
  color: inherit;
}
.card-title a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  color: #ea6907;
}

/* Opcional: mismo marco para el modal de vídeo para unificar estilo */
#modalDelorean.modal-bttf .ratio { background: #000; }
/* Overlay "Spot Barcelona (fotos)" dentro de la tarjeta Spot TV */
.gallery-card { position: relative; }

.spot-overlay {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
}

.btn-overlay-bttf {
  appearance: none;
  border: 2px solid #ea6907;
  background: rgba(0,0,0,.65);
  color: #ffb97c;
  font-family: 'URW Gothic', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  font-size: .95rem;
  padding: .35rem .7rem;
  border-radius: 12px;
  line-height: 1;
  text-shadow: 0 1px 6px #0007;
  transition: background .18s, color .18s, transform .12s, box-shadow .18s;
}

.btn-overlay-bttf:hover,
.btn-overlay-bttf:focus {
  background: #ea6907;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px #ea690755, 0 1px 8px #2222;
  outline: none;
}
