@import url("https://fonts.googleapis.com/css2?family=Mali:wght@600&display=swap");
@import url('shared.css');

.back-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100;
}

body, html {
  margin: 0;
  padding: 0;
  height: 100%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

::selection {
  color: #fff;
  background: hsl(349deg, 100%, 74%);
}

h1,
h2,
h3,
h4,
h5 p {
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
  align-self: center;
}

a, a:hover {
  text-decoration: none;
}

.flow-content > * + * {
  margin-top: 2rem;
}

li {
  list-style-type: none;
}

body {
  background: linear-gradient(to bottom, #E1F1DC, #fafafa 65%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  color: #383833;
  overflow-x: hidden;
  display: grid;
  margin: 1rem;
  gap: 3rem;
}
@media (min-width: 600px) {
  body {
    grid-template-rows: 80% auto auto;
    margin: 0;
  }
}

.d-none {
  display: none !important;
}
@media (min-width: 600px) {
  .d-none {
    display: block !important;
  }
}

h1 {
  font-size: 3.8rem;
  line-height: 4rem;
  font-weight: 800;
}

h2 {
  font-size: 1.8rem;
  color: #F19A33;
  font-weight: 500;
  margin-bottom: 1rem;
}

p {
  font-size: 1.2rem;
  line-height: 1.6rem;
}

ul {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 1rem;
  font-weight: 700;
  font-size: 1.5rem;
}
@media (min-width: 600px) {
  ul {
    gap: 8rem;
  }
}

@media (min-width: 600px) {
  .card {
    place-self: center;
    padding-left: 6rem;
  }
}

button {
  display: flex;
  gap: 1rem;
  color: #fff;
  font-size: 1.1rem;
  padding: 1rem 2rem;
  border-radius: 10px;
  border: 0;
  cursor: pointer;
}
button i {
  margin-left: 0.5rem;
}

header {
  display: grid;
  gap: 2rem;
}
@media (min-width: 600px) {
  header {
    grid-template-columns: 2fr 3fr;
    gap: 0;
  }
}
header p {
  max-width: 35ch;
}
header button {
  background: #F19A33;
}
header .pickle {
  position: relative;
  left: -12vmin;
  width: 40%;
  aspect-ratio: 1.5;
  background: transparent url("/images/pickles.PNG") bottom left/contain no-repeat;
  filter: drop-shadow(15px 10px 6px rgba(0, 0, 0, 0.35));
  transition: all 250ms linear;
}
header .pickle:hover {
  scale: 1.05;
  filter: drop-shadow(15px 10px 8px rgba(0, 0, 0, 0.35));
}
header .circle {
  position: relative;
  background: #387546;
  border-radius: 50%;
  aspect-ratio: 1.15;
}
@media (min-width: 600px) {
  header .circle {
    width: 114vmin;
    top: -20vh;
    right: -20vh;
  }
}
header .circle .burger {
  position: relative;
  top: 3%;
  left: 15%;
  width: 75%;
  aspect-ratio: 1.04;
  background: url("/images/burger.png") center center/85% no-repeat;
  rotate: 12deg;
  filter: drop-shadow(22px 22px 6px rgba(0, 0, 0, 0.5));
  transition: all 250ms linear;
}
@media (min-width: 600px) {
  header .circle .burger {
    top: 25%;
    left: 18%;
    width: 55%;
  }
}
header .circle .burger:hover {
  rotate: 18deg;
}

main {
  display: grid;
  gap: 3rem;
  margin-bottom: 5rem;
}

section.about {
  display: grid;
  gap: 2rem;
}
@media (min-width: 600px) {
  section.about {
    grid-template-columns: 2fr 3fr;
    gap: 0;
  }
}
section.about p {
  max-width: 65ch;
}
section.about button {
  background: #387546;
}
section.about .circle {
  position: relative;
  aspect-ratio: 1.15;
  left: -32vmin;
  border-radius: 50%;
  background: #387546;
  order: 1;
}
@media (min-width: 600px) {
  section.about .circle {
    order: 0;
  }
}
section.about .circle .burgerfries {
  position: relative;
  width: 100%;
  aspect-ratio: 1.6;
  background: url("/images/burgerfries.PNG") center center/90% no-repeat;
  filter: drop-shadow(22px 22px 6px rgba(0, 0, 0, 0.5));
  top: 4vmin;
  left: 20vmin;
  transition: all 250ms linear;
}
section.about .circle .burgerfries:hover {
  translate: 5vmin 0;
}

section.menu {
  display: grid;
}
section.menu .card {
  padding-left: 0;
  text-align: center;
}
section.menu .wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
@media (min-width: 600px) {
  section.menu .wrapper {
    flex-direction: row;
    padding: 0 10rem 3rem 10rem;
  }
}
section.menu .burger-card {
  display: grid;
  grid-template-rows: 30vmin auto;
  flex-grow: 1;
  background: #fff;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
  color: #696965;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
section.menu .burger-card:hover {
  transform: scale(1.03);
  box-shadow: 
    rgba(241, 154, 51, 0.4) 0px 15px 30px -5px,
    rgba(0, 0, 0, 0.1) 0px 10px 20px -5px;
}
section.menu .burger-card .description {
  display: grid;
  align-items: center;
  padding: 1rem;
}
section.menu .burger-card .description .flex {
  display: flex;
  justify-content: space-between;
}
section.menu .burger-card .description .price {
  font-size: 1.2rem;
  font-weight: 700;
}
section.menu .burger-card .description p {
  margin: 0;
  font-size: 1rem;
}
section.menu .burger-card:nth-child(1) .photo {
  background: url("/images/burgercard1.jpg") 100%/cover no-repeat;
}
section.menu .burger-card:nth-child(2) .photo {
  background: url("/images/burgercard2.jpg") 100%/cover no-repeat;
}
section.menu .burger-card:nth-child(3) .photo {
  background: url("/images/burgercard3.jpg") 100%/cover no-repeat;
}

section.clients h1 {
  text-align: center;
  margin-bottom: 1.5rem;
}
section.clients .client-wrapper {
  display: grid;
  gap: 1rem;
}
@media (min-width: 600px) {
  section.clients .client-wrapper {
    grid-template-columns: 1fr 1fr 1fr;
    padding: 2rem 10rem;
  }
}
section.clients .client-wrapper div {
  height: 25vmin;
  background-size: 100%;
  transition: background-size 0.4s ease, box-shadow 0.3s ease;
}
section.clients .client-wrapper div:hover {
  background-size: 110%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
section.clients .client-wrapper div:first-child {
  background: url("/images/burger-client1.jpg") 100%/cover no-repeat;
}
section.clients .client-wrapper div:nth-child(2) {
  background: url("/images/burger-client2.jpg") 100%/cover no-repeat;
}
section.clients .client-wrapper div:nth-child(3) {
  background: url("/images/burger-client3.jpg") 100%/cover no-repeat;
}
section.clients .client-wrapper div:nth-child(4) {
  background: url("/images/burger-client4.jpg") 100%/cover no-repeat;
}
section.clients .client-wrapper div:nth-child(5) {
  background: url("/images/burger-client5.jpg") 100%/cover no-repeat;
}
section.clients .client-wrapper div:nth-child(6) {
  background: url("/images/burger-client6.jpg") 100%/cover no-repeat;
}

section.info {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-direction: column;
}
@media (min-width: 600px) {
  section.info {
    padding: 0 12rem 5rem 12rem;
    flex-direction: row;
    gap: 6rem;
  }
}
section.info > div {
  flex-grow: 1;
  text-align: center;
  background: #fff;
  padding: 0.9rem 0 1.5rem 0;
  border-radius: 70px;
  box-shadow: rgba(50, 50, 93, 0.15) 0px 20px 27px -5px, rgba(0, 0, 0, 0.2) 0px 20px 16px -8px;
  transition: scale 100ms ease-in-out;
}
section.info > div:hover {
  scale: 1.0125;
}
section.info > div i {
  font-size: 2.5rem;
  color: #387546;
}
section.info > div p {
  margin-top: 1.5rem;
  margin-bottom: 0.3rem;
  font-weight: 700;
  font-size: 1rem;
}
section.info > div span {
  font-size: 0.9rem;
}

footer {
  width: 100%;
  position: relative;
  bottom: 0;
  background: radial-gradient(100% 142vh at 50% calc(100% + 35vh), #5A8464 calc(50% - 2px), rgba(56, 117, 70, 0) 50%) 50%/calc(100% + 60vh) 100%;
  height: 36vh;
  display: grid;
  place-content: end;
  color: #fff;
  padding-bottom: 10vmin;
  gap: 2rem;
  justify-content: center;
}
@media (min-width: 600px) {
  footer {
    padding-bottom: 20vmin;
    place-content: center;
  }
}
footer:after {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(#F5F8F4, #FAFAFA);
  height: 30vmin;
  width: 30vmin;
  top: -50%;
  left: calc(50% - 15vmin);
}
@media (min-width: 600px) {
  footer:after {
    content: "";
  }
}
footer span.logo {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  font-family: "Mali", cursive;
  align-items: center;
}
@media (min-width: 600px) {
  footer span.logo {
    padding-bottom: 9vmin;
  }
}
footer span.logo i {
  font-size: 6.5rem;
  --fa-primary-color: #452713;
  --fa-secondary-color: #C9753B;
  --fa-primary-opacity: 1;
  --fa-secondary-opacity: 1;
  transition: rotate 500ms ease-in-out;
}
footer span.logo i:hover {
  rotate: 360deg;
}
footer span.logo span {
  font-size: 2.5rem;
  color: #212529;
  line-height: 28px;
}
footer .icon-wrapper {
  display: flex;
  justify-content: center;
  gap: 7.5rem;
  text-align: center;
}
footer .icon-wrapper i {
  font-size: 2.3rem;
}

.wobble {
  display: inline-block;
  vertical-align: middle;
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  transition-duration: 0.3s;
}
.wobble i {
  transform: translateZ(0);
}
.wobble:hover i {
  animation: wobble 1s ease-in-out;
}

@keyframes wobble {
  16.65% {
    transform: translateX(6px);
  }
  33.3% {
    transform: translateX(-5px);
  }
  49.95% {
    transform: translateX(4px);
  }
  66.6% {
    transform: translateX(-2px);
  }
  83.25% {
    transform: translateX(1px);
  }
  100% {
    transform: translateX(0);
  }
}

/* ===== ENTRANCE ANIMATIONS ===== */

/* Hero section */
header .card {
  opacity: 0;
  animation: slideInLeft 0.8s ease-out forwards;
}

header .circle {
  opacity: 0;
  animation: scaleIn 0.8s ease-out 0.3s forwards;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* About section */
section.about .card {
  opacity: 0;
  animation: slideInRight 0.8s ease-out 0.5s forwards;
}

section.about .circle {
  opacity: 0;
  animation: slideInLeft 0.8s ease-out 0.3s forwards;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Menu cards - staggered (opacity only to allow hover transform) */
section.menu .burger-card {
  opacity: 0;
  animation: fadeIn 0.6s ease-out forwards;
}

section.menu .burger-card:nth-child(1) { animation-delay: 0.2s; }
section.menu .burger-card:nth-child(2) { animation-delay: 0.4s; }
section.menu .burger-card:nth-child(3) { animation-delay: 0.6s; }

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Client photos - staggered */
section.clients .client-wrapper div {
  opacity: 0;
  animation: fadeSlideUp 0.5s ease-out forwards;
}

section.clients .client-wrapper div:nth-child(1) { animation-delay: 0.1s; }
section.clients .client-wrapper div:nth-child(2) { animation-delay: 0.2s; }
section.clients .client-wrapper div:nth-child(3) { animation-delay: 0.3s; }
section.clients .client-wrapper div:nth-child(4) { animation-delay: 0.4s; }
section.clients .client-wrapper div:nth-child(5) { animation-delay: 0.5s; }
section.clients .client-wrapper div:nth-child(6) { animation-delay: 0.6s; }

/* Info cards - staggered */
section.info .info-card {
  opacity: 0;
  animation: fadeSlideUp 0.6s ease-out forwards;
}

section.info .info-card:nth-child(1) { animation-delay: 0.2s; }
section.info .info-card:nth-child(2) { animation-delay: 0.4s; }
section.info .info-card:nth-child(3) { animation-delay: 0.6s; }

/* Footer */
footer span.logo {
  opacity: 0;
  animation: fadeSlideUp 0.8s ease-out 0.3s forwards;
}

footer ul {
  opacity: 0;
  animation: fadeSlideUp 0.6s ease-out 0.5s forwards;
}

footer .icon-wrapper {
  opacity: 0;
  animation: fadeSlideUp 0.6s ease-out 0.7s forwards;
}