
/* categories */
.categories {
    width: 100%;
    background-color: var(--primary-white);
}

.categories-column {
    width: auto;
}

button.see-more {
    border: 1px solid var(--primary-color);
    background: transparent;
    color: var(--text-color);
}

.menu-item-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.menu-item-panel {
    height: 100px;
    width: 250px;
    border: none;
    border-radius: 4px;
    background-color: var(--gray-light-color);

    flex: 1 1 100%;

    display: flex;
    align-items: center;
    gap: 15px;

    transition: 0.2s ease-out;
}

@media (min-width: 768px) {
    .menu-item-panel {
        flex: 1 1 calc(50% - 20px);
    }
}

@media (min-width: 1100px) {
    .menu-item-panel {
        flex: 1 1 calc(25% - 20px);
    }

    .categories-column {
        width: 400px;
    }
}

.menu-item-panel:hover {
    background-color: var(--primary-color);
}

.menu-item-icon {
    background-color: white;
    color: var(--gray);
    height: 50px;
    width: 50px;
    border: none;
    border-radius: 50%;
    padding: 10px;
    margin-left: 20px;
}

.full-color-icon {
    height: 70px;
    width: 70px;
    border: none;
    padding: 10px;
    margin-left: 20px;
}

.menu-item-name {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.05em;
    color: black;
    margin-bottom: 0;
}

.menu-item-panel:hover .menu-item-name {
    color: var(--white-color);
}

.menu-item-number {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
    margin-top: 0;
    height: auto;
}

.menu-item-panel:hover .menu-item-number {
    color: lightgray;
}

.food-image {
    margin: 50px 0;
    width: 330px;
    height: 300px;
}

@media (min-width: 1100px) {
    .food-image {
        width: 600px;
        height: 540px;
    }

    .categories-column {
        width: 600px;
    }
}

/* discount */
.discount {
    width: 100%;
    background-color: var(--primary-black);
    padding: 50px 0;
}

.time-cell {
    width: 75px;
    height: 80px;
    border-radius: 12px;
    background-color: rgba(169, 169, 169, 0.3);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.time-cell-row {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.time-text-number {
    color: var(--white-color);
    font-weight: 800;
    margin: 0;
}

.time-text-increment {
    color: var(--text-gray);
    font-weight: 600;
    margin: 0;
}


/* why choose */
.why-choose {
    width: 100%;
    background-color: var(--primary-white);
}

.image-card {
    background-color: var(--gray-light-color);
    border-radius: 12px;
    transition: 0.2s ease-out;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.image-card:hover {
    background-color: var(--primary-color);
}

.image-card:hover .menu-item-name {
    color: var(--white-color);
}

.image-card:hover .menu-item-number {
    color: var(--gray-light-color);
}

.image-card-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.image-card-row > .image-card {
    flex: 1 1 100%;
}

@media (min-width: 768px) {
    .image-card-row > .image-card {
        flex: 1 1 calc(50% - 20px);
    }
}

@media (min-width: 1200px) {
    .image-card-row > .image-card {
        flex: 1 1 calc(25% - 20px);
    }
}

.choice-icon {
    height: 90px;
    width: 90px;
    border: none;
    padding: 10px;
}

/* reservation */
.reservation {
    width: 100%;
    background-color: var(--primary-black);
}

.reservation > .container {
    padding-top: 80px;
}

.reservation-text-column {
    width: 500px;
}

.book-table-card {
    width: 500px;
    background-color: var(--secondary-color);
    color: var(--white-color);
    border-radius: 12px;

    margin: 20px auto;
    padding-bottom: 40px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.book-table-input {
    border: 1px solid var(--gray-light-color);
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white-color);
    padding: 20px 40px;
}

.book-table-input::placeholder {
    color: var(--white-color);
}

/* Confirmation wrapper */
.book-confirm {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;

  /* adjust to match your theme */
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(6px);

  opacity: 0;
  transform: translateY(6px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.book-confirm.show {
  opacity: 1;
  transform: translateY(0);
}

/* Checkmark sizing */
.book-confirm-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
}

.check {
  width: 44px;
  height: 44px;
  display: block;
}

/* Circle + check stroke animation */
.check-circle,
.check-mark {
  stroke: #ffffff;          /* change if you want */
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* "draw" the circle */
.check-circle {
  stroke-dasharray: 157;
  stroke-dashoffset: 157;
}

/* "draw" the check */
.check-mark {
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
}

/* When we add .play, run both animations */
.book-confirm.play .check-circle {
  animation: drawCircle 450ms ease forwards;
}

.book-confirm.play .check-mark {
  animation: drawMark 300ms 260ms ease forwards;
}

@keyframes drawCircle {
  to { stroke-dashoffset: 0; }
}

@keyframes drawMark {
  to { stroke-dashoffset: 0; }
}

/* Text styling (tweak to match your fonts) */
.book-confirm-title {
  margin: 0;
  color: #fff;
  font-weight: 700;
  line-height: 1.1;
}

.book-confirm-subtitle {
  margin: 2px 0 0 0;
  color: rgba(255,255,255,0.85);
  font-weight: 400;
  line-height: 1.2;
}

/* Optional: hide inputs when confirmed */
.book-table-card.is-confirmed .book-table-input {
  display: none;
}

/* menu */
.menu {
    width: 100%;
    padding: 70px 0;
    background-color: var(--primary-white);
}

.menu > .container {
    max-width: 1400px;
}

.menu-item-card {
  margin: 10px 0;
  padding: 20px 30px;
  max-width: 450px;
  background-color: var(--gray-light-color);

  display: flex;
  align-items: center;
  gap: 20px;
}

.menu-item-row2 {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;                 /* row2 takes remaining space next to image */
}

.menu-item-row2 .price{
  margin-left: auto;       /* pushes price to the right on desktop */
  text-align: right;
}

.menu-item-card:hover {
    background-color: var(--secondary-color);
}

.menu-item-card:hover .menu-price-text, .menu-item-card:hover .menu-item-name, .menu-item-card:hover .menu-item-number {
    color: var(--white-color);
}

.card-text-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.menu-price-text {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-color);
}

@media (max-width: 768px){
  .menu-item-card {
    flex-direction: column;     /* stack: image then row2 */
    align-items: stretch;       /* make row2 full width */
  }

  .card-text-wrapper .menu-item-number {
    font-size: 0.8rem;
    line-height: 1rem;
    text-align: left;
  }

  .menu-item-card img {
    width: 60px;                /* prevent stretching */
    height: 60px;
    align-self: center;         /* center the image */
    flex: 0 0 auto;
  }

  .menu-item-row2 {
    width: 100%;
    display: flex;              /* keep both text blocks on same row */
    align-items: flex-start;
    gap: 12px;
  }

  .menu-item-row2 .card-text-wrapper:first-child {
    flex: 1 1 auto;             /* description takes remaining space */
    min-width: 0;               /* IMPORTANT: allows text to shrink/wrap */
  }

  .menu-item-row2 .price {
    flex: 0 0 auto;             /* price stays content-width */
    margin-left: auto;
    text-align: right;
    white-space: nowrap;        /* keeps $25.50 on one line */
  }
}


/* food pictures */
.food-pictures {
    height: 200px;
    width: 100%;
    background-color: var(--primary-black);

    border: 1px solid black;
}

/* chefs */
.chefs {
    width: 100%;
    background-color: var(--primary-white);
}

.chefs > .container {
    max-width: 1400px;
}

.chef-card {
    width: 410px;
    height: 450px;
    margin: 20px auto;
    position: relative;
}

.chef-name {
    width: 70%;
    height: 100px;
    background-color: var(--white-color);

    position: absolute;
    top: 70%;
    left: 12%;
}

.chef-1 {
    background-image: url("assets/chef_1.webp");
    background-position: center center;
}

.chef-2 {
    background-image: url("assets/chef_2.webp");
    background-position: center center;
}

.chef-3 {
    background-image: url("assets/chef_3.webp");
    background-position: center center;
}

/* reviews */
.reviews {
    height: 815px;
    width: 100%;
    background-color: var(--reviews-gray-color);
}

.review-card {
    width: 90%;
    margin: 0 auto;
    height: 500px;
    background-color: var(--white-color);

    display: flex;
    flex-direction: column;
    justify-content: space-around;
    gap: 15px;
}

.review-person {
    width: 80%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 15px;
}

.review-person-profile {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid var(--gray-color);
    background-color: var(--primary-dark-color);
}

.quote-icon-circle {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: var(--secondary-color);
}


/* footer */
footer {
    width: 100%;
    background-color: var(--primary-black);
    text-align: center;
}

footer > .container {
    padding: 20px 0;
    max-width: 800px;
}

@media (min-width: 1100px) {
    footer > .container {
        max-width: 900px;
    }
}

@media (min-width: 1300px) {
    footer > .container {
        max-width: 1300px;
    }
}

footer > .container > .row {
    justify-content: flex-start;
    padding-left: 20px;
    align-items: flex-start;
}

@media (min-width: 586px) {
    footer > .container > .row {
        justify-content: space-around;
        padding: 0;
    }
}

.footer-column {
    width: 300px;
    min-height: 200px;

    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-column > p, a {
    color: gray;
    margin: 5px 0;
}

.footer-column > a {
    text-decoration: none;
    font-weight: 800;
    transition: 0.2s ease-out;
}

.footer-column > a:hover {
    color: var(--white-color);
}

.footer-column > h2 {
    margin-bottom: 8px;
    font-family: var(--heading-font);
}

p#copyright {
    margin-bottom: 0;
    padding-bottom: 10px;
    color: gray;
    width: auto;
    font-weight: 500;
}

/* helper */

.mb-5 {
    margin-bottom: 5px;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-15 {
    margin-bottom: 15px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mb-50 {
    margin-bottom: 50px;
}

.mt-50 {
    margin-top: 50px;
}

.text-align-left {
    text-align: left;
}