/* ============================================
   Historic Bridge Street - Main Stylesheet
   Color palette derived from Merchants Logo:
   Navy:    #1B2A5B
   Orange:  #E07830
   Gold:    #F0B840
   Sky:     #4BA3D4
   Sand:    #FFF8F0
   Green:   #5BB050
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #1B2A5B;
  --navy-light: #2A3F7E;
  --orange: #E07830;
  --orange-light: #F09050;
  --gold: #F0B840;
  --sky: #4BA3D4;
  --sky-light: #7EC8E8;
  --sand: #FFF8F0;
  --sand-dark: #F5EDE0;
  --green: #5BB050;
  --white: #FFFFFF;
  --text: #2D2D2D;
  --text-light: #6B7280;
  --shadow: 0 2px 12px rgba(27, 42, 91, 0.10);
  --shadow-lg: 0 8px 32px rgba(27, 42, 91, 0.15);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--sand);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--navy); }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* --- Typography --- */
h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; }

.section-subtitle {
  color: var(--orange);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

/* --- Header / Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(27, 42, 91, 0.08);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 52px;
  width: auto;
}

.logo-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

.logo-text span {
  display: block;
  font-size: 0.7rem;
  color: var(--orange);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  color: var(--navy);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width var(--transition);
}

.nav-links a:hover { color: var(--orange); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: var(--white) !important;
  padding: 10px 24px !important;
  border-radius: 50px;
  font-weight: 600 !important;
  box-shadow: 0 4px 12px rgba(224, 120, 48, 0.3);
  transition: transform var(--transition), box-shadow var(--transition) !important;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(224, 120, 48, 0.4);
  color: var(--white) !important;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, var(--sky) 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(224, 120, 48, 0.3), transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(75, 163, 212, 0.2), transparent 50%),
    linear-gradient(180deg, rgba(27, 42, 91, 0.6) 0%, rgba(27, 42, 91, 0.3) 100%);
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 24px 80px;
  max-width: 800px;
}

.hero-location {
  font-family: 'Pacifico', cursive;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: var(--gold);
  margin-bottom: 8px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero .tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 1px;
}

.hero p {
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: var(--white);
  box-shadow: 0 4px 16px rgba(224, 120, 48, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(224, 120, 48, 0.45);
  color: var(--white);
}

.btn-secondary {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.25);
  border-color: var(--white);
  color: var(--white);
}

/* Wave divider */
.wave-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 3;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: auto;
}

/* --- Section Base --- */
section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-top: 12px;
}

/* --- Highlights / Quick Info Bar --- */
.highlights {
  background: var(--white);
  padding: 60px 0;
  position: relative;
  z-index: 4;
  margin-top: -40px;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.highlight-card {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius);
  background: var(--sand);
  transition: transform var(--transition), box-shadow var(--transition);
}

.highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.highlight-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
}

.highlight-icon.shop { background: rgba(224, 120, 48, 0.12); color: var(--orange); }
.highlight-icon.dine { background: rgba(91, 176, 80, 0.12); color: var(--green); }
.highlight-icon.play { background: rgba(75, 163, 212, 0.12); color: var(--sky); }
.highlight-icon.stay { background: rgba(240, 184, 64, 0.12); color: var(--gold); }

.highlight-card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.highlight-card p { font-size: 0.9rem; color: var(--text-light); }

/* --- Businesses Section --- */
.businesses {
  background: var(--sand);
}

.business-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 24px;
  border-radius: 50px;
  border: 2px solid var(--navy);
  background: transparent;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition);
}

.tab-btn.active, .tab-btn:hover {
  background: var(--navy);
  color: var(--white);
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.business-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.business-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.business-card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--navy), var(--sky));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.business-card-img .placeholder-icon {
  font-size: 3rem;
  opacity: 0.5;
}

.business-card-img img.business-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 24px;
  background: var(--white);
}

.business-card-body h3 a {
  color: var(--navy);
  transition: color var(--transition);
}

.business-card-body h3 a:hover {
  color: var(--orange);
}

.business-visit-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--orange);
  margin-top: 8px;
}

.business-visit-link:hover {
  color: var(--navy);
}

.business-category {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--orange);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.business-card-body {
  padding: 20px;
}

.business-card-body h3 {
  margin-bottom: 8px;
}

.business-card-body p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.business-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-light);
}

.business-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* --- Events Section --- */
.events {
  background: var(--white);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.event-card {
  background: var(--sand);
  border-radius: var(--radius);
  padding: 28px;
  border-left: 4px solid var(--orange);
  transition: transform var(--transition), box-shadow var(--transition);
}

.event-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.event-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.event-date svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.event-details svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.event-card h3 { margin-bottom: 8px; }

.event-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.event-details {
  font-size: 0.85rem;
  color: var(--text-light);
}

.event-details span {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

/* --- Nightlife Section --- */
.nightlife {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.nightlife::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 70%, rgba(224, 120, 48, 0.15), transparent 50%),
    radial-gradient(ellipse at 70% 30%, rgba(75, 163, 212, 0.1), transparent 50%);
}

.nightlife .section-header { position: relative; }
.nightlife h2 { color: var(--white); }
.nightlife .section-header p { color: rgba(255,255,255,0.7); }

.nightlife-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  position: relative;
}

.nightlife-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 28px;
  backdrop-filter: blur(8px);
  transition: all var(--transition);
}

.nightlife-card:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-2px);
}

.nightlife-card h3 {
  color: var(--gold);
  margin-bottom: 4px;
}

.nightlife-card .venue-type {
  color: var(--orange-light);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 12px;
}

.nightlife-card p {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.nightlife-card .hours {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--sky-light);
  font-size: 0.85rem;
  font-weight: 500;
}

/* --- Gallery Section --- */
.gallery {
  background: var(--sand);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}

.gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
  cursor: pointer;
  background: linear-gradient(135deg, var(--navy), var(--sky));
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(27,42,91,0.7));
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}

.gallery-item:hover .overlay { opacity: 1; }

.gallery-item .overlay span {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius);
  box-shadow: 0 0 60px rgba(0,0,0,0.5);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(255,255,255,0.2);
  border: none;
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: background var(--transition);
}

.lightbox-close:hover { background: rgba(255,255,255,0.3); }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  transition: background var(--transition);
}

.lightbox-nav:hover { background: rgba(255,255,255,0.3); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

/* --- Map Section --- */
.map-section {
  background: var(--white);
  padding: 60px 0;
}

.map-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16/7;
  max-height: 450px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* --- Footer --- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand img { height: 48px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; max-width: 300px; }

.site-footer h4 {
  color: var(--white);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.site-footer ul li { margin-bottom: 8px; }
.site-footer ul a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.site-footer ul a:hover { color: var(--orange); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  color: rgba(255,255,255,0.5);
  font-size: 1.2rem;
  transition: color var(--transition);
}

.footer-social a:hover { color: var(--orange); }

/* --- Footer Social Section --- */
.footer-social-section {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 32px;
  margin-bottom: 32px;
}

.footer-social-section h4 {
  color: var(--white);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.footer-social-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.social-link-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition);
  text-decoration: none;
}

.social-link-card:hover {
  background: rgba(255,255,255,0.14);
  color: var(--white);
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}

.social-link-card svg {
  flex-shrink: 0;
  color: #1877F2;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .highlights-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    transition: transform var(--transition);
  }

  .nav-links.open { transform: translateY(0); }

  .mobile-toggle { display: flex; }
}

@media (max-width: 600px) {
  .highlights-grid { grid-template-columns: 1fr; }
  .business-grid,
  .events-grid,
  .nightlife-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer-social-links { flex-direction: column; align-items: stretch; }
  .social-link-card { justify-content: center; }
  .hero-content { padding: 100px 16px 60px; }
  section { padding: 60px 0; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}

/* --- Utility --- */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
