:root {
  --bg: #faf7f2;
  --ink: #1f1a17;
  --muted: #796f67;
  --surface: #ffffff;
  --maxw: 1400px;
  --text-color: #ffffff;
  --primary-font: 'Alumni Sans', sans-serif;
  --bg-brown: #4D2900;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100vw;
  /* Hide scrollbar for IE, Edge and Firefox */
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Hide scrollbar for Chrome, Safari and Opera */
html::-webkit-scrollbar,
.body::-webkit-scrollbar {
  display: none;
}

.body {
  font-family: 'Albert Sans', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text-color);
  overflow-x: hidden;
  max-width: 100vw;
  background-image: url('src/images/background.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  /* Hide scrollbar for IE, Edge and Firefox */
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.body.frozen {
  overflow: hidden;
  height: 100vh;
}

.text-animation h1.line {
  font-family: var(--primary-font);
  font-size: 96px;
  color: #ffffff;
  text-transform: uppercase;
  margin: 0;
  padding: 0;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
  font-weight: 700;
  position: relative;
  z-index: 1;
  opacity: 1;
  filter: none;
  transform: none;
  line-height: 1;
}

img {
  max-width: 100%;
  display: block;
}

.header {
  position: absolute;
  top: 40px;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0;
}

.menu {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.nav-links-wrapper {
  display: flex;
  justify-content: center;
  align-items: stretch;
  width: 95%;
  background: var(--bg-brown);
  border: 1px solid rgba(255, 255, 255, 0.75);
  height: 56px;
}

.menu-item-left {
  display: grid;
  place-items: center;
  background: transparent;
  border: none;
  border-right: 1px solid rgba(255, 255, 255, 0.75);
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 700;
  font-size: 16px;
  width: 14.5%;
  height: 56px;
  text-align: center;
  transition: background-color 0.3s ease;
}

.menu-item-right {
  display: grid;
  place-items: center;
  background: transparent;
  border: none;
  border-left: 1px solid rgba(255, 255, 255, 0.75);
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 700;
  font-size: 16px;
  /* width: 16.67%; */
  width: 14.5%;
  height: 56px;
  text-align: center;
  transition: background-color 0.3s ease;
}

.menu-item-left:hover,
.menu-item-right:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.menu-logo-center {
  display: grid;
  place-items: center;
  color: #fff;
  text-decoration: none;
  height: 120px;
  padding: 0 1.5rem;
  position: relative;
  z-index: 101;
  flex-shrink: 0;
  width: auto;
  overflow: visible;
  top: -32px;
}

.menu-logo-center img {
  height: auto;
  width: 150px;
  height: 110px;
  object-fit: contain;
}

.menu-logo-mobile {
  display: none;
}

.hamburger-menu {
  display: none;
}

.hero-container {
  height: 400vh;
  position: relative;
  overflow: hidden;
  max-width: 100vw;
}

.sticky-wrapper {
  height: 100vh;
  position: sticky;
  top: 0;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  max-width: 100vw;
}

.text-animation {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  width: 100%;
  height: 50vh;
  max-height: 60vh;
  overflow: hidden;
}

.text-animation p.placeholder {
  visibility: hidden;
}

.sticky-wrapper .food-pot {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 550px;
  z-index: 2;
}

.food-pot img {
  width: 100%;
  height: auto;
  display: block;
}

.stacking-sections-container {
  position: relative;
  width: 95%;
  margin: 0 auto;
  max-width: 100vw;
  /* overflow: hidden; Removed to allow pinning to work better */
}

.stacking-section {
  display: grid;
  grid-template-columns: 50% 50%;
  height: 100vh;
  width: 100%;
  position: relative;
  /* GSAP will handle pinning */
  overflow: hidden;
}

#top-pick {
  z-index: 10;
}

#city-view {
  z-index: 11;
}

#our-menu {
  z-index: 12;
}

.content-column-1,
.content-column-2,
.content-column-3 {
  background-color: #FFF1D4;
  background-image: url('src/images/side.svg');
  background-repeat: no-repeat;
  color: #4a2906;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 4rem;
}

.content-column-2 {
  background-position: right;
}

.content-wrapper {
  max-width: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.image-column {
  background-size: cover;
  background-position: center;
  position: relative;
}

.image-column img {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: auto;
  min-width: 100%;
  object-fit: cover;
}

#top-pick .image-column {
  background-image: url('src/images/food-1.png');
}

#city-view .image-column {
  background-image: url('src/images/chairs.png');
}

#our-menu .image-column {
  background-image: url('src/images/food-2.png');
}

.cursive-title {
  font-family: 'Dancing Script', cursive;
  font-size: 46px;
  font-weight: 500;
  color: #B66202;
  margin-bottom: -10px;
}

.section-title {
  font-family: 'Alumni Sans', sans-serif;
  font-size: 86px;
  color: #1f1a17;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.content-column-1 p,
.content-column-2 p,
.content-column-3 p {
  font-family: 'Albert Sans', sans-serif;
  line-height: 1.6;
  margin-bottom: 2rem;
  text-align: center;
}

.cta-button {
  display: inline-block;
  background-color: #4a2906;
  color: #ffffff;
  padding: 14px 32px;
  text-decoration: none;
  font-family: 'Albert Sans', sans-serif;
  font-weight: 600;
  border-radius: 4px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
  background-color: #B66202;
  transform: translateY(-2px);
}

/* Loyalty Section - Using Location Page Styles as Standard */
.loyalty-section {
  height: 100vh;
  width: 100vw;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 2rem;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  background-image: url('src/images/wood-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.loyalty-content {
  max-width: 600px;
  margin-bottom: auto;
}

.loyalty-section .cursive-title {
  color: #FFDB90;
  font-family: 'Dancing Script', cursive;
  font-size: 46px;
  margin: 0 0 0.5rem 0;
}

.loyalty-content .section-title {
  font-family: 'Alumni Sans', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: #FFFFFF;
  text-transform: uppercase;
  margin: 0 0 1rem 0;
  letter-spacing: 0.05em;
}

.loyalty-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #FFFFFF;
  margin: 0 auto 2rem auto;
  max-width: 600px;
}

.cta-button-outline {
  display: inline-block;
  background-color: var(--bg-brown);
  color: #ffffff;
  border: 1px solid #FFDB90;
  padding: 12px 30px;
  text-decoration: none;
  font-family: 'Albert Sans', sans-serif;
  font-weight: 600;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
}

.cta-button-outline:hover {
  background-color: #e0b48f;
  color: #1f1a17;
}

.loyalty-gallery {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 100%;
  overflow: visible;
}

.gallery-item {
  width: calc(23% - 0.75rem);
  height: auto;
  min-height: 160px;
  flex-shrink: 0;
  transition: all 0.3s ease;
  transform: rotate(-5deg);
  background-color: #ffffff;
  padding: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
  overflow: visible;
}

.gallery-item:nth-child(even) {
  transform: rotate(5deg);
}

.gallery-item img {
  width: 100%;
  height: auto;
  min-height: 150px;
  object-fit: cover;
}

/* Responsive Design for Loyalty Section - Based on Location Page */
@media (max-width: 1024px) {
  .loyalty-section {
    height: auto;
    min-height: 100vh;
    padding: 4rem 2rem;
  }

  .loyalty-content {
    margin-bottom: 3rem;
  }

  .loyalty-content .section-title {
    font-size: 2.8rem;
  }

  .loyalty-gallery {
    position: relative;
    bottom: auto;
    flex-wrap: wrap;
    gap: 0.8rem;
    width: 100%;
    max-width: 100%;
    overflow: visible;
  }

  .gallery-item {
    width: calc(25% - 0.6rem);
    height: auto;
    min-height: 200px;
    flex-shrink: 0;
  }
}

@media (max-width: 768px) {
  .loyalty-section {
    height: auto;
    min-height: 100vh;
    padding: 3rem 1.5rem;
  }

  .loyalty-content {
    margin-bottom: 3rem;
  }

  .loyalty-content .section-title {
    font-size: 2.5rem;
  }

  .loyalty-content p {
    font-size: 1rem;
  }

  .loyalty-gallery {
    position: relative;
    bottom: auto;
    flex-wrap: wrap;
    gap: 0.8rem;
    width: 100%;
    max-width: 100%;
    overflow: visible;
  }

  .gallery-item {
    width: calc(50% - 0.4rem);
    height: auto;
    min-height: 180px;
    padding: 6px;
  }
}

@media (max-width: 480px) {
  .loyalty-section {
    height: auto;
    min-height: 100vh;
    padding: 2rem 1rem;
    width: 100%;
    max-width: 100vw;
    margin-left: 0;
    margin-right: 0;
  }

  .loyalty-content {
    margin-bottom: 2rem;
  }

  .loyalty-section .cursive-title {
    font-size: 1.8rem;
  }

  .loyalty-content .section-title {
    font-size: 1.8rem;
  }

  .loyalty-content p {
    font-size: 0.9rem;
  }

  .loyalty-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 0.8rem;
    padding: 0 1rem;
    width: 100%;
    max-width: 100%;
    overflow: visible;
  }

  .gallery-item {
    width: 100%;
    height: auto;
    min-height: 140px;
    flex-shrink: unset;
    scroll-snap-align: unset;
    transform: none !important;
  }
}


.item-1 {
  transform: rotate(-8deg);
  z-index: 10;
}

.item-2 {
  transform: rotate(4deg);
  z-index: 11;
}

.item-3 {
  transform: rotate(-5deg);
  z-index: 12;
}

.item-4 {
  transform: rotate(6deg);
  z-index: 13;
}

.site-footer {
  background-color: #FFF1D4;
  color: #4a2906;
  position: relative;
  overflow: hidden;
}

.footer-content {
  margin: 0 auto;
  padding: 6rem;
  position: relative;
  z-index: 2;
}

.footer-pattern {
  background-image: url('src/images/footer-side.svg');
  background-position: right;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  z-index: 1;
  background-repeat: no-repeat;
}

.footer-branding {
  margin-bottom: 3rem;
}

.site-footer .cursive-title {
  color: #B66202;
  font-size: 2.5rem;
  margin-bottom: -10px;
}

.site-footer .section-title {
  color: #1f1a17;
  font-size: 3.5rem;
}

.footer-divider {
  border: none;
  height: 1px;
  background-color: #d1c9c3;
  margin: 1.5rem 0;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.footer-nav a {
  color: #4a2906;
  text-decoration: none;
  font-family: 'Albert Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: #B66202;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
  color: #796f67;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: #4D2900;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: #B66202;
}

.footer-copyright {
  color: #B66202;
  font-weight: 600;
}

@media (min-width: 1241px) and (max-width: 1440px) {
  .header {
    padding: 0;
  }

  .menu-item-left,
  .menu-item-right {
    font-size: 15px;
  }

  .text-animation h1.line {
    font-size: 5.5rem;
  }

  .food-pot {
    width: 500px;
  }

  .text-animation {
    height: 65vh;
    padding-bottom: 35vh;
  }
}

@media (min-width: 769px) and (max-width: 1240px) {

  /* Navigation adjusted to show full menu in this range */
  .menu {
    justify-content: center;
    width: 100%;
  }

  .nav-links-wrapper {
    width: 95%;
    max-width: var(--maxw);
    display: flex;
    justify-content: center;
    align-items: stretch;
    height: 60px;
    background: rgba(77, 41, 0, 0.9);
    backdrop-filter: blur(10px);
  }

  .menu-item-left,
  .menu-item-right {
    font-size: 12px;
    flex: 1;
    width: auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.5rem;
    border: none;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
  }

  .menu-item-right {
    border-right: none;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
  }

  .menu-logo-center {
    height: 80px;
    top: -15px;
    padding: 0 1rem;
    width: auto;
    flex-shrink: 0;
  }

  .menu-logo-center img {
    width: 150px;
  }

  /* Hamburger and mobile logo hidden here */
  .menu-logo-mobile,
  .hamburger-menu {
    display: none;
  }

  .text-animation h1.line {
    font-size: clamp(3.5rem, 4.5vw, 4.5rem);
    line-height: 0.95;
  }

  .text-animation {
    height: 60vh;
    padding-bottom: 10vh;
  }

  .sticky-wrapper .food-pot {
    width: 450px;
  }


  .stacking-section {
    grid-template-columns: 1fr;
    grid-template-rows: 45vh 55vh;
    position: relative;
    /* margin-bottom: 1rem; Removed to keep sections touching for stacking */
  }

  .image-column {
    grid-row: 1 / 2;
  }

  .content-column-1,
  .content-column-2,
  .content-column-3 {
    grid-row: 2 / 3;
    padding: 2.5rem 2rem;
    text-align: center;
  }

  .content-wrapper {
    max-width: 85%;
  }

  .cursive-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2.8rem;
  }

  .content-column-1 p,
  .content-column-2 p,
  .content-column-3 p {
    font-size: 1rem;
  }

  .gallery-item {
    width: 25%;
    padding: 8px;
  }


  .gallery-item {
    width: calc(50% - 0.5rem);
    min-height: 200px;
  }

  .gallery-item img {
    height: 200px;
  }

  .footer-content {
    padding: 5rem 2rem;
  }

  .footer-pattern {
    display: none;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .booking-hero-content {
    padding: 4rem 0;
  }

  .header {
    padding: 0;
    top: 20px;
  }

  .menu {
    width: 95%;
    margin: 0 auto;
    justify-content: space-between;
  }

  .menu-logo-center,
  .menu-item-left,
  .menu-item-right {
    display: none;
  }

  .menu-logo-mobile {
    display: block;
    width: 80px;
  }

  .hamburger-menu {
    display: block;
    background: var(--bg-brown);
    border: 1px solid white;
    border-radius: 10px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
  }

  .hamburger-menu .bar {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px 0;
    background-color: #fff;
    transition: all 0.3s ease-in-out;
  }

  .hamburger-menu.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger-menu.active .bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .hamburger-menu.active .bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .nav-links-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(29, 21, 17, 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out;
    z-index: 1000;
  }

  .nav-links-wrapper.active {
    transform: translateX(0);
    width: 60%;
    margin-left: 40%;
  }

  .nav-links-wrapper .menu-item-left,
  .nav-links-wrapper .menu-item-right {
    display: grid;
    background: none;
    border: none;
    font-size: 1.3rem;
    height: auto;
    padding: 1.2rem;
    width: auto;
    color: #fff;
    text-decoration: none;
    text-align: center;
  }

  .text-animation h1.line {
    font-size: clamp(2.5rem, 5.5vw, 3.5rem);
    line-height: 0.95;
  }

  .text-animation {
    height: 55vh;
    padding-bottom: 25vh;
  }

  .sticky-wrapper .food-pot {
    width: 90%;
    max-width: 400px;
  }

  .stacking-section {
    grid-template-columns: 1fr;
    grid-template-rows: 40vh 60vh;
    position: relative;
  }

  .image-column {
    grid-row: 1 / 2;
  }

  .content-column-1,
  .content-column-2,
  .content-column-3 {
    grid-row: 2 / 3;
    padding: 2rem 1.5rem;
    text-align: center;
  }

  .content-wrapper {
    max-width: 90%;
  }

  .cursive-title {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .content-column-1 p,
  .content-column-2 p,
  .content-column-3 p {
    font-size: 0.95rem;
  }


  .gallery-item {
    width: calc(50% - 0.4rem);
    min-height: 180px;
    padding: 6px;
  }

  .gallery-item img {
    height: 180px;
  }

  .footer-content {
    text-align: center;
    padding: 2rem 1.5rem;
  }

  .footer-pattern {
    display: none;
  }

  .site-footer .cursive-title {
    font-size: 2rem;
  }

  .site-footer .section-title {
    font-size: 2.5rem;
  }

  .footer-nav {
    justify-content: center;
    gap: 1rem 1.5rem;
  }

  .footer-branding {
    margin-bottom: 1rem;
  }

  .site-footer .cursive-title {
    margin-bottom: 0;
  }

  .site-footer .section-title {
    font-size: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 0;
    top: 15px;
  }

  .menu {
    width: 95%;
    margin: 0 auto;
    justify-content: space-between;
  }

  .menu-logo-center,
  .menu-item-left,
  .menu-item-right {
    display: none;
  }

  .menu-logo-mobile {
    display: block;
    width: 60px;
  }

  .hamburger-menu {
    display: block;
    background: var(--bg-brown);
    border: 1px solid white;
    border-radius: 10px;
    cursor: pointer;
    padding: 6px;
    z-index: 1001;
  }

  .hamburger-menu .bar {
    display: block;
    width: 18px;
    height: 2px;
    margin: 3px 0;
    background-color: #fff;
    transition: all 0.3s ease-in-out;
  }

  .hamburger-menu.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger-menu.active .bar:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
  }

  .hamburger-menu.active .bar:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
  }

  .nav-links-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(29, 21, 17, 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out;
    z-index: 1000;
  }

  .nav-links-wrapper.active {
    transform: translateX(0);
  }

  .nav-links-wrapper .menu-item-left,
  .nav-links-wrapper .menu-item-right {
    display: grid;
    background: none;
    border: none;
    font-size: 1.2rem;
    height: auto;
    padding: 0.7rem 0;
    width: auto;
    color: #fff;
    text-decoration: none;
    text-align: center;
  }

  .hero-container {
    height: 350vh;
    overflow: hidden;
    max-width: 100vw;
  }

  .text-animation h1.line {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    line-height: 0.9;
  }

  .text-animation {
    height: 65vh;
    padding-bottom: 20vh;
  }

  .sticky-wrapper .food-pot {
    width: 95%;
    max-width: 320px;
    position: absolute;
    bottom: 0;
  }

  .stacking-section {
    grid-template-columns: 1fr;
    grid-template-rows: 40vh 60vh;
    max-width: 100vw;
    overflow-x: hidden;
    position: relative;
  }

  .image-column {
    grid-row: 1 / 2;
  }

  .content-column-1,
  .content-column-2,
  .content-column-3 {
    grid-row: 2 / 3;
    padding: 2rem 1.5rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .content-wrapper {
    max-width: 95%;
  }

  .cursive-title {
    font-size: 1.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .content-column-1 p,
  .content-column-2 p,
  .content-column-3 p {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }

  .nav-links-wrapper.active {
    transform: translateX(0);
    width: 100%;
    margin-left: 0;
  }


  .gallery-item {
    width: 100%;
    padding: 4px;
    min-height: 150px;
    transform: none !important;
  }

  .gallery-item img {
    height: 150px;
  }

  .cta-button,
  .cta-button-outline {
    width: 100%;
    max-width: 280px;
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .footer-branding {
    margin-bottom: 1rem;
  }

  .footer-content {
    text-align: center;
    padding: 3rem 1rem;
  }

  .footer-pattern {
    display: none;
  }

  .site-footer .cursive-title {
    font-size: 1.5rem;
    margin-bottom: 0;
  }

  .site-footer .section-title {
    font-size: 2rem;
  }

  .footer-nav {
    justify-content: center;
    gap: 0.8rem 1rem;
    flex-wrap: wrap;
  }

  .footer-nav a {
    font-size: 0.8rem;
  }

  .footer-bottom {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    text-align: center;
  }

  .footer-legal {
    flex-direction: column;
    gap: 0.5rem;
  }

  .footer-divider {
    margin: 1rem 0;
  }
}

/* Specific fix for short viewports (e.g., 1440x640) */
@media (max-height: 720px) {
  .stacking-section .section-title {
    font-size: 2.2rem !important;
    margin-bottom: 0.5rem !important;
  }

  .stacking-section .cursive-title {
    font-size: 1.6rem !important;
  }

  .stacking-section p {
    font-size: 0.9rem;
    line-height: 1;
    margin-bottom: 1rem;
  }

  .content-column-1,
  .content-column-2,
  .content-column-3 {
    padding: 1.5rem 1rem;
  }
}