/* ============================================
   ADDITIONAL / SUPPLEMENTAL STYLES
   phoenix-palassio/css/extra.css
============================================ */

/* Search Overlay */
.search-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.search-overlay.open { display: flex; }
.search-overlay-inner {
  position: relative;
  width: 600px;
  max-width: 90vw;
}
.search-overlay-inner .search-form { width: 100%; }
.search-overlay-inner .search-form input[type="search"] {
  width: 100%;
  padding: 18px 24px;
  font-size: 1.2rem;
  border: none;
  border-radius: 4px 0 0 4px;
  outline: none;
  background: #fff;
  color: var(--black);
}
.search-overlay-inner .search-form > div { display: flex; }
.search-overlay-inner .search-submit {
  background: var(--gold);
  color: #fff;
  border: none;
  padding: 0 24px;
  font-size: 1.1rem;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  transition: var(--transition);
}
.search-overlay-inner .search-submit:hover { background: var(--gold-dark); }
.search-close {
  position: absolute;
  top: -50px;
  right: 0;
  color: #fff;
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.search-close:hover { color: var(--gold); }

/* Pagination */
.page-numbers {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}
.page-numbers a, .page-numbers span {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--black);
  transition: var(--transition);
}
.page-numbers a:hover, .page-numbers .current {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}
.page-numbers .dots { border: none; }

/* Scrolled header */
.site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.15) !important; }

/* WP Alignment */
.aligncenter { display: block; margin: 0 auto; }
.alignleft { float: left; margin-right: 20px; }
.alignright { float: right; margin-left: 20px; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.8rem; color: var(--gray); text-align: center; margin-top: 5px; }

/* Custom Logo */
.custom-logo { max-height: 55px; width: auto; }
.footer-logo-area .custom-logo { height: 55px; width: auto; margin-bottom: 20px; }

/* Hero Banner Override for Pages */
.page-hero {
  position: relative;
  height: 320px;
  overflow: hidden;
}
.page-hero img.attachment-hero-banner,
.page-hero img.wp-post-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Events hero - taller */
.events-hero { height: 400px; }

/* Brands hero - taller for search box */
.brands-hero { height: 380px; }

/* Dine hero */
.dine-hero { height: 280px; }
.dine-hero .page-hero-overlay { background: rgba(0,0,0,0.3); }

/* Games hero */
.games-hero { height: 320px; }
.games-hero .page-hero-overlay { background: rgba(180,30,30,0.5); }

/* Concierge hero */
.concierge-hero { height: 350px; }

/* Custom select styling */
select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23999' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 30px;
}

/* Smooth image load */
img { transition: opacity 0.3s ease; }

/* Print */
@media print {
  .top-bar, .site-header, .site-footer, .hero-slider { display: none; }
  body { font-size: 12pt; }
}

/* ============================================
   HOMEPAGE SPECIFIC OVERRIDES
============================================ */
.food-section .restaurant-card {
  transition: var(--transition);
}
.food-section .restaurant-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Marquee pause on hover */
.brands-marquee-wrapper:hover .brands-marquee-track {
  animation-play-state: paused;
}

/* Brand card hover */
.brand-card {
  transition: var(--transition);
  cursor: pointer;
}
.brand-card:hover { transform: translateY(-3px); }

/* Blog card hover  */
.blog-card:hover .btn-gold {
  background: var(--gold-dark);
}

/* ============================================
   WOOCOMMERCE OVERRIDES (if used for Gift Cards)
============================================ */
.woocommerce .button,
.woocommerce button.button {
  background: var(--gold) !important;
  color: #fff !important;
  border-radius: var(--border-radius) !important;
  font-family: var(--font-body) !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  font-size: 0.78rem !important;
}
.woocommerce .button:hover {
  background: var(--gold-dark) !important;
}
