/*
Theme Name: Senor Panchos
Template: Impreza
Version: 1.0
Author: Razemedia.com
Theme URI: http://Razemedia.com/
Author URI: http://Razemedia.com/
*/

/*Add your own styles here:*/

/* ========================================
   SENOR PANCHO'S HOME PAGE
   ======================================== */

/* Fonts loaded via functions.php to avoid render-blocking @import */

.sp-wrapper {
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 40px;
  box-sizing: border-box;
}

.sp-home {
  font-family: 'Inter', sans-serif;
}

.l-canvas > .sp-header + .l-main,
.l-canvas > .sp-header ~ .l-main {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.sp-header + * {
  margin-top: 0 !important;
}

/* Header */
.sp-header {
  background-color: #e7372f;
  height: 145px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  transition: height 0.35s ease, box-shadow 0.35s ease;
  will-change: height;
  transform: translateZ(0);
}

.sp-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 40px;
  height: 100%;
  box-sizing: border-box;
}

.sp-home {
  margin-top: 0 !important;
}

.l-canvas,
.l-main,
.l-section:first-child {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.sp-header ~ * {
  margin-top: 0 !important;
}

.sp-header.sp-header--scrolled {
  height: 80px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}


.sp-header.sp-header--scrolled .sp-header__logo img {
  height: 60px;
}

.sp-header.sp-header--scrolled .sp-header__nav {
  justify-content: center;
  gap: 0;
}

.sp-header.sp-header--scrolled .sp-header__social {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  pointer-events: none;
}

.sp-header__logo {
  display: flex;
  align-items: center;
}

.sp-header__logo img {
  height: 123px;
  width: auto;
  transition: height 0.35s ease;
}

.sp-header__nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  transition: gap 0.35s ease;
}

.sp-header__social {
  display: flex;
  gap: 12px;
  max-height: 40px;
  opacity: 1;
  transition: opacity 0.35s ease, max-height 0.35s ease;
}

.sp-header__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: #fff;
  border-radius: 50%;
  color: #e7372f;
  font-size: 16px;
  text-decoration: none;
  transition: opacity 0.3s;
}

.sp-header__social a:hover {
  opacity: 0.8;
}

.sp-header__links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.sp-header__links a {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  font-style: normal;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  line-height: 38.848px;
  transition: opacity 0.25s ease;
}

.sp-header__links a:hover:not(.sp-btn) {
  color: #fce931;
}

.sp-btn {
  display: inline-block;
  text-decoration: none;
  text-transform: uppercase;
  font-family: 'citrus-gothic', sans-serif;
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.sp-btn--yellow {
  background-color: #fce931;
  color: #000 !important;
  padding: 0 12px;
  line-height: 40px;
}

.sp-btn--yellow:hover {
  background-color: #fdd800;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Hamburger Button - hidden on desktop */
.sp-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  position: relative;
}

.sp-hamburger__line {
  display: block;
  width: 28px;
  height: 3px;
  background-color: #fff;
  border-radius: 2px;
  transition: transform 0.35s ease, opacity 0.25s ease;
}

.sp-hamburger__line + .sp-hamburger__line {
  margin-top: 6px;
}

/* Hamburger X animation */
.sp-menu-open .sp-hamburger__line:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.sp-menu-open .sp-hamburger__line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.sp-menu-open .sp-hamburger__line:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Mobile overlay */
.sp-header__overlay {
  display: none;
}

/* Hero */
.sp-hero {
  position: relative;
  height: 900px;
  overflow: hidden;
  transform: translateZ(0);
}

.sp-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.sp-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
  transform: translateZ(0);
  animation: sp-hero-zoom 20s ease-in-out infinite alternate;
}

@keyframes sp-hero-zoom {
  0% { transform: translateZ(0) scale(1); }
  100% { transform: translateZ(0) scale(1.05); }
}

.sp-hero__overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(247, 147, 33, 0.9);
  padding: 64px 48px 72px;
  text-align: center;
  z-index: 1;
  overflow: hidden;
}

.sp-hero__title,
.sp-hero__subtitle {
  position: relative;
  z-index: 1;
}

.sp-hero__title {
  font-family: 'Erica One', sans-serif;
  font-size: 104px;
  font-style: normal;
  font-weight: 400;
  color: #fff;
  text-transform: uppercase;
  text-shadow: 6px 6px 0px #e7372f;
  line-height: 0.95;
  margin: 0 0 8px;
  white-space: nowrap;
  animation: sp-shadow-pulse 4s ease-in-out infinite;
}

@keyframes sp-shadow-pulse {
  0%, 100% { text-shadow: 6px 6px 0px #e7372f; }
  50% { text-shadow: 8px 8px 4px #c42a23; }
}

.sp-hero__subtitle {
  font-family: 'Erica One', sans-serif;
  font-size: 72px;
  font-style: normal;
  font-weight: 400;
  color: #fff;
  text-transform: uppercase;
  margin: 0;
  line-height: 1;
}

/* Info Bar */
.sp-info {
  background-color: #000;
  position: relative;
}

.sp-info__border {
  height: 26.55px;
  width: 100%;
  background-repeat: repeat-x;
  background-size: 131.51px 26.55px;
}

.sp-info__border--top {
  transform: rotate(180deg);
}

.sp-info__content {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
  padding: 30px 40px;
  box-sizing: border-box;
  flex-wrap: wrap;
}

.sp-info__brand-text {
  font-family: 'Erica One', sans-serif;
  font-size: 56px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.1;
  color: #e7372f;
  text-shadow: 4px 4px 0px #febf12;
  white-space: nowrap;
}

.sp-info__divider {
  width: 2px;
  height: 110px;
  background-color: #fff;
  flex-shrink: 0;
  align-self: center;
}

.sp-info__detail {
  min-width: 180px;
  flex: 1;
}

.sp-info__detail strong {
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  font-weight: 700;
  font-style: normal;
  line-height: normal;
  display: block;
  margin-bottom: 15px;
  color: #fff;
}

.sp-info__detail:last-child strong {
  font-size: 16px;
}

.sp-info__detail p {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 400;
  font-style: normal;
  line-height: normal;
  margin: 0;
  color: #fff;
}

.sp-info__detail a {
  color: #fff;
  text-decoration: underline;
}

.sp-info__social {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.sp-info__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background-color: #fff;
  border-radius: 50%;
  color: #000;
  font-size: 12px;
  text-decoration: none;
  transition: opacity 0.3s;
}

.sp-info__social a:hover {
  opacity: 0.7;
}

/* Featured Entrees */
.sp-entrees {
  background-color: #e7372f;
  padding: 40px 0 55px;
  text-align: center;
}

.sp-entrees__header {
  margin-bottom: 24px;
}

.sp-entrees__title {
  font-family: 'Erica One', sans-serif;
  font-size: 56px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.1;
  color: #fff;
  text-shadow: 4px 4px 0 #47803C;
  text-transform: uppercase;
  margin: 0;
}

.sp-entrees__grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
  padding: 24px 40px;
  box-sizing: border-box;
}

.sp-entrees__card {
  padding: 24px;
  text-align: left;
  flex-shrink: 0;
  width: 328px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sp-entrees__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.sp-entrees__card--green {
  background-color: #55a746;
  margin-top: 16px;
}

.sp-entrees__card--orange {
  background-color: #dc8421;
}

.sp-entrees__card--yellow {
  background-color: #febf12;
  margin-top: 16px;
}

.sp-entrees__card-img {
  margin-bottom: 24px;
}

.sp-entrees__card-img img {
  width: 280px;
  height: 284px;
  object-fit: cover;
  display: block;
}

.sp-entrees__card--orange .sp-entrees__card-img img {
  height: 316px;
}

.sp-entrees__card-info h3 {
  font-family: 'citrus-gothic', sans-serif;
  font-size: 22px;
  font-style: normal;
  font-weight: 400;
  text-transform: uppercase;
  color: #000;
  margin: 0;
  line-height: 40px;
}

.sp-entrees__card-info p {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  color: #000;
  line-height: 24px;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sp-entrees__menu-btn {
  font-family: 'citrus-gothic', sans-serif;
  font-size: 28px;
  font-style: normal;
  font-weight: 400;
  padding: 8px 16px;
  line-height: 38.848px;
  margin-top: 24px;
}

/* Join the Club */
.sp-join {
  background-color: #000;
  text-align: center;
}

.sp-join__border {
  height: 26.55px;
  width: 100%;
  background-repeat: repeat-x;
  background-size: 131.51px 26.55px;
}

.sp-join__border--top {
  transform: rotate(180deg);
}

.sp-join__content {
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
  padding: 24px 40px;
  box-sizing: border-box;
}

.sp-join__content h2 {
  font-family: 'Erica One', sans-serif;
  font-size: 52px;
  font-style: normal;
  font-weight: 400;
  margin: 0;
  line-height: 1.1;
  letter-spacing: -1.195px;
}

.sp-join__black {
  color: #fff;
}

.sp-join__red {
  color: #e7372f;
}

.sp-join__link {
  text-decoration: none;
  display: inline-block;
  transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.sp-join__link:hover {
  transform: scale(1.05);
}

.sp-join__link .sp-join__black {
  color: #fff;
  transition: color 0.3s ease;
}

.sp-join__link .sp-join__red {
  color: #e7372f;
  transition: color 0.3s ease;
}

.sp-join__link:hover .sp-join__black {
  color: #febf12;
}

.sp-join__link:hover .sp-join__red {
  color: #febf12;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.sp-join__content p {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 16.8px;
  color: #fff;
  margin: 0;
}

/* Footer */
.sp-footer {
  background-color: #ec8522;
  color: #000;
}

.sp-footer__main {
  display: flex;
  align-items: flex-start;
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
  padding: 46px 40px;
  gap: 60px;
  box-sizing: border-box;
}

.sp-footer__logo img {
  height: 123px;
  width: auto;
}

.sp-footer__nav {
  display: flex;
  align-items: flex-start;
  gap: 30px;
}

.sp-footer__links {
  display: flex;
  flex-direction: column;
}

.sp-footer__links a {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  color: #000;
  text-decoration: none;
  text-transform: uppercase;
  line-height: 43px;
  transition: opacity 0.25s ease;
}

.sp-footer__links a:hover {
  opacity: 0.7;
}

.sp-footer__social {
  display: flex;
  gap: 10px;
  padding-top: 10px;
}

.sp-footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background-color: #000;
  border-radius: 50%;
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  transition: opacity 0.3s;
}

.sp-footer__social a:hover {
  opacity: 0.7;
}

.sp-footer__map {
  margin-left: auto;
}

.sp-map-marker {
  background: none !important;
  border: none !important;
  overflow: visible !important;
}

#sp-leaflet-map {
  width: 284px;
  height: 192px;
  border-radius: 4px;
  overflow: hidden;
}

#sp-leaflet-map .leaflet-marker-pane {
  overflow: visible;
}

#sp-leaflet-map .leaflet-map-pane svg,
#sp-leaflet-map .leaflet-map-pane img {
  overflow: visible;
}

.sp-footer__map img {
  width: 284px;
  height: 192px;
  object-fit: cover;
}

.sp-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
  padding: 16px 40px 16px calc(40px + 2rem);
  min-height: 60px;
  box-sizing: border-box;
}

.sp-footer__copyright,
.sp-footer__legal {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  color: #000;
  margin: 0;
}

.sp-footer__legal a {
  color: #000;
  text-decoration: none;
  transition: opacity 0.25s ease;
}

.sp-footer__legal a:hover {
  opacity: 0.7;
  text-decoration: underline;
}

.sp-footer__raze {
  text-align: center;
  padding: 16px 0;
  background-color: #ec8522;
}

.sp-footer__raze img {
  height: 30px;
  width: auto;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.sp-footer__raze img:hover {
  opacity: 1;
}

/* Scroll Animations */
.sp-reveal {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, transform;
}

.sp-reveal.sp-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}

.sp-hero__overlay.sp-reveal,
.sp-hero__overlay.sp-reveal.sp-visible {
  transform: translate(-50%, -50%) !important;
}

.sp-hero__overlay.sp-reveal {
  opacity: 0;
}

.sp-hero__overlay.sp-reveal.sp-visible {
  opacity: 1;
}

.sp-reveal-delay-1 { transition-delay: 0.1s; }
.sp-reveal-delay-2 { transition-delay: 0.2s; }
.sp-reveal-delay-3 { transition-delay: 0.3s; }


/* Responsive */
@media (min-width: 1200px) {
.sp-footer__copyright {
    padding-left: 0px !important;
    margin-left: -20px;
}

}
@media (max-width: 1200px) {
  .sp-hero__title {
    font-size: 80px;
  }
  .sp-hero__subtitle {
    font-size: 52px;
  }
  .sp-info__brand-text {
    font-size: 42px;
  }
  .sp-entrees__card {
    width: auto;
    flex: 1;
    min-width: 260px;
  }
  .sp-entrees__card-img img {
    width: 100%;
  }
}

@media (max-width: 950px) {
  /* Mobile Header */
  .sp-header {
    height: 70px;
    padding: 0;
  }

  .sp-header__inner {
    padding: 0 16px;
    align-items: center;
  }

  .sp-header__logo {
    display: flex;
    align-items: center;
    height: 100%;
  }

  .sp-header.sp-header--scrolled {
    height: 70px;
  }

  .sp-header__logo img,
  .sp-header.sp-header--scrolled .sp-header__logo img {
    height: 55px;
  }

  .sp-hamburger {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .sp-header__nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background-color: #e7372f;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 100px 30px 40px;
    gap: 0;
    z-index: 1000;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0);
  }

  .sp-menu-open .sp-header__nav {
    right: 0;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
  }

  .sp-header__links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }

  .sp-header__links a {
    font-size: 20px;
    line-height: 1;
    padding: 16px 0;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.3s ease, transform 0.3s ease, color 0.25s ease;
  }

  .sp-menu-open .sp-header__links a {
    opacity: 1;
    transform: translateX(0);
  }

  .sp-menu-open .sp-header__links a:nth-child(1) { transition-delay: 0.1s; }
  .sp-menu-open .sp-header__links a:nth-child(2) { transition-delay: 0.15s; }
  .sp-menu-open .sp-header__links a:nth-child(3) { transition-delay: 0.2s; }
  .sp-menu-open .sp-header__links a:nth-child(4) { transition-delay: 0.25s; }

  .sp-header__links .sp-btn--yellow {
    margin-top: 16px;
    text-align: center;
    border-bottom: none;
  }

  .sp-header__social {
    order: 1;
    margin-top: 30px;
    gap: 16px;
    display: flex !important;
    opacity: 1 !important;
    max-height: none !important;
    overflow: visible !important;
    pointer-events: auto !important;
  }

  /* Mobile overlay */
  .sp-header__overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
  }

  .sp-menu-open .sp-header__overlay {
    opacity: 1;
    visibility: visible;
  }

  /* Hero */
  .sp-hero {
    height: 500px;
  }
  .sp-hero__title {
    font-size: 42px;
  }
  .sp-hero__subtitle {
    font-size: 24px;
  }
  .sp-hero__overlay {
    padding: 24px;
    width: 90%;
  }
  .sp-hero__title {
    white-space: normal;
  }

  /* Info */
  .sp-info__content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
    padding: 30px 20px;
  }
  .sp-info__brand-text {
    font-size: 36px;
  }
  .sp-info__divider {
    width: 80%;
    height: 2px;
  }
  .sp-info__detail {
    min-width: unset;
    width: 100%;
  }
  .sp-info__social {
    justify-content: center;
  }

  /* Entrees */
  .sp-entrees__grid {
    flex-direction: column;
    align-items: center;
    padding: 24px 20px;
  }
  .sp-entrees__card--green,
  .sp-entrees__card--yellow {
    margin-top: 0;
  }
  .sp-entrees__title {
    font-size: 42px;
  }

  /* Join */
  .sp-join__content h2 {
    font-size: 36px;
    line-height: 44px;
    letter-spacing: -0.7px;
  }

  /* Footer */
  .sp-footer__main {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .sp-footer__nav {
    flex-direction: column;
    align-items: center;
  }
  .sp-footer__map {
    margin-left: 0;
    width: 100%;
  }
  #sp-leaflet-map {
    width: 100%;
  }
  .sp-footer__logo img {
    height: 80px;
  }
  .sp-footer__bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    padding: 16px 20px;
  }
  .sp-footer__copyright,
  .sp-footer__legal {
    font-size: 14px;
  }
  .sp-entrees__card {
    width: 100%;
    max-width: 328px;
  }
}