/* ===================================================
   Seaside Restaurant & Bar – Layered Parallax Scroll
   =================================================== */

:root {
  --color-primary: #05456F;
  --color-accent: #7acdee;
  --color-text: #333;
  --color-white: #fff;
  --header-height: 100px;
  --wave-height: 100px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.skip-link {
  position: absolute;
  top: -9999px;
  left: -9999px;
  z-index: 999999;
  padding: 15px 23px;
  background: var(--color-primary);
  color: var(--color-white);
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
  left: 0;
}

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

.text-center {
  text-align: center;
}


/* =========================
   FIXED HEADER
   ========================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-white);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 40px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
}

.header-left,
.header-right {
  flex: 0 0 auto;
}

.header-center {
  flex: 1;
  display: flex;
  justify-content: center;
}

.header-social {
  display: flex;
  gap: 10px;
}

.social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px;
  background: var(--color-primary);
  border-radius: 4px;
  color: var(--color-white) !important;
  transition: opacity 0.3s;
}

.social-icon-btn svg {
  width: 21px;
  height: 21px;
  fill: var(--color-white);
}

.social-icon-btn:hover {
  opacity: 0.85;
}

.logo-link {
  display: block;
  margin-bottom: -49px;
}

.logo {
  max-height: 120px;
  width: auto;
  height: 120px;
}

.btn-order {
  display: inline-block;
  padding: 13px 20px;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  background: var(--color-white);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-order:hover {
  background: var(--color-primary);
  color: var(--color-white);
}


/* =========================
   PHOTO SECTIONS (Parallax)
   ========================= */

.photo-section {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.photo-overlay {
  position: absolute;
  inset: 0;
  background: var(--color-primary);
  opacity: 0.1;
  pointer-events: none;
}

.photo-overlay-dark {
  background: #101218;
  opacity: 0.5;
}

.photo-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-section {
  min-height: 100vh;
  padding-top: var(--header-height);
}

.hero-text {
  max-width: 600px;
  padding: 80px 0;
}

.hero-label {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 8px;
}

.hero-squiggle {
  width: 80px;
  height: 12px;
  margin-bottom: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.9)' stroke-width='1.5' stroke-linecap='square'%3E%3Cpath d='M0,6c6,0,0.9,11.1,6.9,11.1S18,6,24,6'/%3E%3C/svg%3E") repeat-x;
  background-size: 24px 12px;
}

.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3.5rem;
  font-weight: 600;
  color: var(--color-white);
  line-height: 1.2;
  margin-bottom: 28px;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

.btn-outline-white {
  display: inline-block;
  padding: 12px 28px;
  border: 2px solid var(--color-white);
  color: var(--color-white);
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s;
}

.btn-outline-white:hover {
  background: var(--color-white);
  color: var(--color-primary);
}

.fullbar-section {
  min-height: 70vh;
}

.fullbar-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3.5rem;
  font-weight: 600;
  color: var(--color-white);
  text-align: center;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}


/* =========================
   CONTENT PANELS (White)
   =========================
   These panels sit ABOVE photo sections (z-index: 2).
   wave-top pulls the panel upward over the photo section
   above it with negative margin, creating the curved
   overlap. wave-bottom extends downward so the next
   photo section is revealed smoothly. */

.content-panel {
  position: relative;
  z-index: 2;
}

.wave-top {
  margin-top: calc(-1 * var(--wave-height));
  line-height: 0;
}

.wave-top svg {
  display: block;
  width: 100%;
  height: var(--wave-height);
  fill: var(--color-white);
}

.wave-bottom {
  position: relative;
  margin-bottom: calc(-1 * var(--wave-height));
  line-height: 0;
}

.wave-bottom svg {
  display: block;
  width: 100%;
  height: var(--wave-height);
  fill: var(--color-white);
}

.panel-body {
  background: var(--color-white);
  padding: 60px 0;
}

.menu-panel .panel-body {
  background: #fafafa;
  padding: 80px 0;
}


/* =========================
   SHARED SECTION STYLES
   ========================= */

.section-label {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.section-title a {
  color: inherit;
  text-decoration: none;
}

.section-title a:hover {
  text-decoration: underline;
}

.fish-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0 24px;
}

.fish-divider .squiggle {
  flex: 1;
  max-width: 120px;
  height: 16px;
  display: block;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none' viewBox='0 0 24 24' fill='none' stroke='%237acdee' stroke-width='2' stroke-linecap='square'%3E%3Cpath d='M0,6c6,0,0.9,11.1,6.9,11.1S18,6,24,6'/%3E%3C/svg%3E") repeat-x;
  background-size: 24px 16px;
}

.fish-divider .fa-fish {
  color: var(--color-accent);
  font-size: 18px;
  flex-shrink: 0;
}

.fish-divider-center {
  justify-content: center;
}

.fish-divider-center .squiggle {
  max-width: 60px;
}


/* =========================
   GRID LAYOUTS
   ========================= */

.grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text p,
.work-text p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: 16px;
}

.about-image img,
.work-image img {
  border-radius: 4px;
}

.menu-title-box {
  display: inline-block;
  padding: 20px 40px;
  border: 4px solid var(--color-primary);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.menu-title-box a {
  text-decoration: none;
  color: inherit;
}


/* =========================
   FOOTER
   ========================= */

.site-footer {
  position: relative;
  z-index: 2;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 60px 24px 30px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-main {
  text-align: center;
}

.footer-logo-wrap {
  margin-bottom: 24px;
}

.footer-logo {
  max-width: 97px;
  margin: 0 auto;
}

.footer-text p {
  max-width: 700px;
  margin: 0 auto 24px;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.footer-social-link {
  display: inline-flex;
  padding: 10px;
  transition: opacity 0.3s;
}

.footer-social-link svg {
  width: 24px;
  height: 24px;
}

.footer-social-link:hover {
  opacity: 0.8;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
}

.footer-bottom p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}


/* =========================
   MOBILE: Disable parallax
   ========================= */

@media (max-width: 1024px) {
  .photo-section {
    background-attachment: scroll;
  }
}


/* =========================
   RESPONSIVE: Tablets
   ========================= */

@media (max-width: 968px) {
  .grid-2col {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .fullbar-title {
    font-size: 2.5rem;
  }
}


/* =========================
   RESPONSIVE: Mobile
   ========================= */

@media (max-width: 768px) {
  :root {
    --wave-height: 60px;
  }

  .header-inner {
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 20px;
    min-height: auto;
  }

  .header-left {
    order: 2;
    flex: 0 0 auto;
  }

  .header-center {
    order: 1;
    flex: 1 1 100%;
  }

  .header-right {
    order: 3;
    flex: 0 0 auto;
  }

  .logo-link {
    margin-bottom: -20px;
  }

  .logo {
    max-height: 80px;
    height: 80px;
  }

  .hero-section {
    padding-top: 160px;
  }

  .container {
    padding: 0 20px;
  }

  .hero-text {
    padding: 40px 0;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.3;
  }

  .hero-label {
    font-size: 12px;
    letter-spacing: 2px;
  }

  .panel-body {
    padding: 48px 0;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .about-text p,
  .work-text p {
    font-size: 15px;
  }

  .fullbar-section {
    min-height: 50vh;
  }

  .fullbar-title {
    font-size: 2rem;
  }

  .menu-title-box {
    padding: 16px 24px;
    display: block;
    margin: 0 auto;
    max-width: 90%;
  }

  .site-footer {
    padding: 48px 20px 24px;
  }

  /* Touch-friendly targets */
  .social-icon-btn {
    padding: 12px;
    min-width: 44px;
    min-height: 44px;
  }

  .btn-order {
    padding: 14px 24px;
    min-height: 44px;
  }

  .btn-outline-white {
    padding: 14px 28px;
    min-height: 44px;
  }

  .footer-social-link {
    padding: 14px;
    min-width: 48px;
    min-height: 48px;
    align-items: center;
    justify-content: center;
  }
}


/* =========================
   RESPONSIVE: Small phones
   ========================= */

@media (max-width: 480px) {
  :root {
    --wave-height: 50px;
  }

  .container {
    padding: 0 16px;
  }

  .header-inner {
    padding: 8px 16px;
  }

  .hero-section {
    padding-top: 140px;
  }

  .hero-title {
    font-size: 1.75rem;
    margin-bottom: 20px;
  }

  .panel-body {
    padding: 40px 0;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-label {
    font-size: 11px;
    letter-spacing: 2px;
  }

  .menu-title-box {
    padding: 14px 16px;
    max-width: 100%;
  }

  .site-footer {
    padding: 40px 16px 20px;
  }

  .footer-bottom p {
    font-size: 13px;
  }
}
