/* ========================
GLOBAL
======================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  color: #fff;

  /* BACKGROUND IMAGE + ORANGE OVERLAY */
  background: linear-gradient(rgba(244,120,33,0.75), rgba(244,120,33,0.75)),
              url("BG_PukkaFish.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}


/* ========================
MENU BACKGROUND / HERO PANEL
======================== */
.menu-background {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 120px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.menu-background::before {
  content: "";
  position: absolute;
  top: 60px;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  background: #f47821;
  border-radius: 8px;
  z-index: 0;
}

.menu-background > * {
  position: relative;
  z-index: 2;
}

/* ========================
TOP BAR
======================== */
.top-bar {
  background: #fff;
  padding: 20px 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.pukkafish {
  width: 140px;
  height: auto;
}

/* Default for desktop / large screens */
#collect .call_collect{
  display: block;
  width: clamp(120px, 40vw, 260px);
  height: auto;
  margin: 20px auto 0; /* pushes below navbar */
}

/* Small phones */
@media (max-width: 480px) {
  #collect {
    width: 90%;
    margin: 40px auto 0; /* more spacing below navbar */
  }
}

/* Medium phones / small tablets */
@media (min-width: 481px) and (max-width: 768px) {
  #collect {
    width: 80%;
    margin: 35px auto 0;
  }
}

/* Large tablets / small desktops */
@media (min-width: 769px) and (max-width: 1300px) {
  #collect {
    width: 50%;
    margin: 30px auto 0;
  }
}

/* ========================
NAVBAR
======================== */
nav ul {
  list-style: none;
  display: flex;
  gap: 14px;
}

nav ul li a {
  text-decoration: none;
  padding: 10px 22px;
  border-radius: 25px;
  background: #f47821;
  color: white;
  font-weight: 600;
  transition: 0.3s;
}

nav ul li a:hover {
  background: #c45410;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  border: none;
  background: none;
  cursor: pointer;
}

.close-menu {
  display: none;
}

/* ========================
MOBILE MENU
======================== */
@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  #mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #1e1e1e;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(-100%);
    transition: 0.4s;
    z-index: 2000;
  }

  #mobile-menu.active {
    transform: translateY(0);
  }

  #mobile-menu ul {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  #mobile-menu ul li a {
    font-size: 26px;
    background: #f47821;
    width: 220px;
    text-align: center;
  }

  .close-menu {
    display: block;
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 35px;
    border: none;
    background: none;
    color: white;
    cursor: pointer;
  }
}

/* ========================
HERO SECTION
======================== */
.burger {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 400px; /* prevents collapse on small screens */
  overflow: hidden;
}

.burger img {
  position: absolute;
  top: 50%;
  left: 50%;

  width: auto;
  height: 100%;

  min-width: 100%;
  min-height: 100%;

  transform: translate(-50%, -50%);
}

.burger::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.7));
}

.txt1 {
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  color: white;
  text-align: center;
  font-size: clamp(26px, 6vw, 80px);
  text-shadow: 2px 4px 10px black;
}

.btn1 {
  position: absolute;
  top: 65%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  font-size: clamp(16px, 3vw, 28px);
  padding: clamp(10px, 2vw, 35px) clamp(20px, 4vw, 35px);
  background: #f47821;
  color: white;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
}

.btn1:hover {
  background: #c45410;
}
/*
@media (max-width: 768px) {
  .burger img {
    height: 100%;
    width: auto;
  }
}
*/
@media (max-width: 768px) {
  .burger {
    height: auto; /* allow full image height */
  }

  .burger img {
    width: 100%;
    height: 100%; /* keeps full image */
    object-fit: cover; /* no cropping */
  }
}

@media (max-width: 480px) {
  .burger {
    height: auto;
  }

  .burger img {
    width: 100%;
    height: 100%;
  }
}

/* ========================
SECTION TITLES
======================== */
.txt7 { /* Find your flavour */
  color: white;
  font-size: clamp(24px, 5vw, 40px);
  margin-top: 40px;
  text-align: center;
  line-height: 1.2;
}

.txt8 { /* Check out menu */
  color: white;
  font-size: clamp(24px, 4vw, 40px);
  text-align: center;
  margin-top: 40px;
}

.txt8::after {
  content: "";
  display: block;
  width: 120px;
  height: 3px;
  background: white;
  margin: 15px auto 0;
}

/* ========================
MENU GRID / CARDS
======================== */
.all_menu {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
}

.showing_menu {
  text-decoration: none;
  color: inherit;
  display: flex;
}

.card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
  transition: 0.3s;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.35);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.centered_cards {
  display: flex;
  justify-content: center; /* center the row */
  gap: 30px;
  flex-wrap: wrap; /* allows wrapping on small screens */
}

.centered_cards .card {
  width: 220px; /* same as grid card width */
  min-width: 200px; /* ensures responsive scaling */
}

.container {
  padding: 15px;
  text-align: center;
}

.container h4 {
  color: #333;
  font-size: 17px;
}

.sub-text {
  font-size: 14px;
  color: #666;
}

.descriptionText{
  position: relative; /* ensures it stacks correctly */
  z-index: 10;        /* sits above background overlays */
  padding: clamp(10px, 4vw, 0px) 5%;
  text-align: center;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.4);
  margin: 50px 10px; /* spacing from previous/next sections */
  max-width: 980px;
  clear: both;
  color: rgb(255, 0, 0);
}

.about-section {
  position: relative; /* ensures it stacks correctly */
  z-index: 10;        /* sits above background overlays */
  padding: clamp(60px, 8vw, 60px) 5%;
  background: rgba(0, 0, 0, 0.4); /* slightly stronger overlay to separate visually */
  text-align: center;
  border-radius: 12px;
  margin: 60px auto; /* spacing from previous/next sections */
  max-width: 980px;
  clear: both;        /* avoids floating elements affecting layout */
}

.about-container {
  max-width: 900px;
  margin: 0 auto;
}

.about-container h2.txt9 {
  color: white;
  font-size: clamp(28px, 5vw, 40px);
  margin-bottom: clamp(20px, 3vw, 35px);
  line-height: 1.2;
}

.about-text {
  color: white;
  font-size: clamp(16px, 2vw, 20px);
  line-height: clamp(1.4, 2vw, 1.8);
  margin-bottom: clamp(15px, 2vw, 25px);
}

/* ------------------------
TABLETS / SMALL SCREENS
------------------------ */
@media (max-width: 768px) {
  .descriptionText{
    padding: clamp(40px, 6vw, 70px) 4%;
    margin: 50px 50px;
  }

  .about-section {
    padding: clamp(40px, 6vw, 70px) 4%;
    margin: 50px 50px;
  }

  .about-container h2.txt9 {
    font-size: clamp(24px, 6vw, 32px);
    margin-bottom: clamp(15px, 3vw, 25px);
  }

  .about-text {
    font-size: clamp(14px, 4vw, 18px);
    line-height: 1.5;
    margin-bottom: clamp(10px, 2vw, 20px);
  }
}

/* ------------------------
EXTRA SMALL SCREENS (phones < 420px)
------------------------ */
@media (max-width: 420px) {
  .descriptionText {
    padding: clamp(32px, 5vw, 50px) 4%;
    margin: 40px 10px;
  }

  .about-section {
    padding: clamp(32px, 5vw, 50px) 4%;
    margin: 40px 10px;
  }

  .about-container h2.txt9 {
    font-size: clamp(20px, 5vw, 28px);
    margin-bottom: clamp(10px, 3vw, 20px);
  }

  .about-text {
    font-size: clamp(13px, 4vw, 16px);
    line-height: 1.5;
    margin-bottom: 15px;
  }
}
/* ========================
OPENING TIMES
======================== */
.time {
  color: white;
  text-align: center;
  font-size: clamp(18px, 2vw, 22px);
  margin-top: 30px;
}

.day {
  font-weight: bold;
}

/* ========================
MAP SECTION
======================== */
#contact {
  color: white;
  font-weight: bold;
  text-align: center;
  font-size: clamp(22px, 4vw, 36px);
  margin-top: 40px;
}

.map {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.txt3 {
  color: white;
  font-size: clamp(20px, 2.5vw, 24px);
  font-weight: bold;
}

.pTxt1 {
  color: white;
  font-size: clamp(16px, 2vw, 20px);
  margin-bottom: 40px;
  margin-left: 10px;
}

.txt4 {
  color: white;
  font-size: clamp(16px, 2vw, 20px);
  margin-top: 10px;
}

.txt4 a {
  color: white;
}

/* ========================
RESPONSIVE GRID / HERO / TITLES
======================== */
@media (min-width: 1001px) and (max-width: 1300px) {
  .btn1 {
    top: 72%; /* push button down to avoid overlapping title */
  }
}

@media (max-width: 1000px) {
  .all_menu {
    grid-template-columns: repeat(2, 1fr);
  }

  .centered_cards .card {
    width: 100%;
    min-width: 0;
  }

.centered_cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
}

  .centered_cards a:last-child {
    grid-column: 1 / -1;   /* take full row */
    display: grid;
    place-items: center;   /* perfect centering */
  }

   .centered_cards a:last-child .card {
    width: 50%;           /* same size as others */
    max-width: 100%;    /* prevents shrinking */ 
  }

  .map {
    flex-direction: column;
    text-align: center;
  }

  .showing_menu {
  display: block; /* NOT flex */
}

  .card {
    width: 100%;
  }

  .btn1{
    top: 78%;
  }
}

@media (max-width: 600px) {
  .img2 { height: 32vh; }
  .txt5 { left: 6%; }
  .txt6 { right: 6%; }

  .txt1 { font-size: clamp(24px,6vw,34px); }
  .btn1 { top: 67%; font-size: clamp(16px,3vw,20px); }

  .txt7 { font-size: clamp(20px,6vw,32px); margin-top: 30px; }
  .txt8 { font-size: clamp(22px,5vw,36px); margin-top: 30px; }

  .menu-background::before { width: 90%; }

  /* FIXED MOBILE MENU CARDS */
  .all_menu{
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
    margin: 40px auto;
    max-width: 480px;
  }

  .centered_cards {
    display: grid;              /* switch from flex → grid */
    grid-template-columns: 1fr; /* match other cards */
    gap: 20px;
    padding: 0 15px;
    margin: 40px auto;
    max-width: 480px;
  }

  .centered_cards .card {
    width: 100%; /* force same width as others */ 
  }

  .centered_cards a:last-child .card {
    width: 100%;           /* same size as others */
    max-width: 100%;       /* prevents shrinking */ 
  }

  .card {
    width: 100%;
    box-sizing: border-box;
  }

  .time { font-size: clamp(16px,2vw,18px); }
  #contact { font-size: clamp(20px,5vw,30px); margin-top: 35px; }
}

@media (max-width: 420px) {
  .txt1 { font-size: clamp(20px,5vw,26px); }
  .btn1 { font-size: 18px; padding: 10px 20px; }

  .txt7 { font-size: clamp(18px,7vw,28px); }
  .txt8 { font-size: clamp(18px,6vw,28px); }

  .map iframe { width: 95%; height: 250px; }
  .pTxt1 { font-size: 16px; }
  #contact { font-size: clamp(18px,6vw,26px); margin-top: 30px; }
}

/* ========================
FOOTER
======================== */
footer {
  background: white;
  padding: 30px 30px;
  text-align: center;
}

footer .ftpukkalogo {
  width: 140px;
  height: auto;
}

@media (max-width: 600px) {
  footer .ftpukkalogo { width: 110px; }
}

