/* Top Page Dedicated Styles */

/* --- Bootstrap Grid System Reinforcement for Top Page Content --- */

/* Ensure .row behaves correctly (clearfix and negative margins) */
/* Targeting .row elements within specific top page content sections */
.new-store-appeal > .row,
.samgyetang-feature > .row,
.other-recommendations .menu-category > .row,
.other-recommendations .menu-category#yakitori-gallery .col-xs-12 > .row, /* Nested row for yakitori images */
.other-recommendations .menu-category#lunch-bento-gallery .col-xs-12 > .row, /* Nested row for lunch images */
.booking-info > .row,
ul.row.unstyled { /* For product lists */
  margin-left: -15px;
  margin-right: -15px;
}

.new-store-appeal > .row::before, .new-store-appeal > .row::after,
.samgyetang-feature > .row::before, .samgyetang-feature > .row::after,
.other-recommendations .menu-category > .row::before, .other-recommendations .menu-category > .row::after,
.other-recommendations .menu-category#yakitori-gallery .col-xs-12 > .row::before, .other-recommendations .menu-category#yakitori-gallery .col-xs-12 > .row::after,
.other-recommendations .menu-category#lunch-bento-gallery .col-xs-12 > .row::before, .other-recommendations .menu-category#lunch-bento-gallery .col-xs-12 > .row::after,
.booking-info > .row::before, .booking-info > .row::after,
ul.row.unstyled::before, ul.row.unstyled::after {
  display: table;
  content: " ";
}

.new-store-appeal > .row::after,
.samgyetang-feature > .row::after,
.other-recommendations .menu-category > .row::after,
.other-recommendations .menu-category#yakitori-gallery .col-xs-12 > .row::after,
.other-recommendations .menu-category#lunch-bento-gallery .col-xs-12 > .row::after,
.booking-info > .row::after,
ul.row.unstyled::after {
  clear: both;
}

/* Basic column setup for all relevant columns in the new top page content */
.new-store-appeal [class*="col-"],
.samgyetang-feature [class*="col-"],
.other-recommendations .menu-category [class*="col-"],
.booking-info [class*="col-"],
ul.row.unstyled > li[class*="col-"] {
  position: relative;
  min-height: 1px;
  padding-left: 15px;
  padding-right: 15px;
  box-sizing: border-box;
}

/* --- Breakpoint specific column behavior for Top Page Content --- */

/* Default to 1 column (xs, sm) */
.new-store-appeal .col-xs-12,
.samgyetang-feature .col-xs-12,
.other-recommendations .menu-category .col-xs-12,
.booking-info .col-xs-12,
ul.row.unstyled > li.col-xs-12 {
  width: 100%;
  float: none;
}
/* Ensure sm also defaults to 100% if not overridden by md or lg */
.new-store-appeal .col-sm-12,
.samgyetang-feature .col-sm-12,
.other-recommendations .menu-category .col-sm-12,
.booking-info .col-sm-12,
ul.row.unstyled > li.col-sm-6 { /* Product lists are col-sm-6 for 2 columns on sm */
   /* Default width: 100%; float: none; will be overridden below if screen is sm and up */
}


/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {
  ul.row.unstyled > li.col-sm-6 {
    width: 50%;
    float: left;
  }
  /* For 2-column text/image sections, they remain 100% until md */
  .new-store-appeal .col-sm-12,
  .samgyetang-feature .col-sm-12,
  .other-recommendations .menu-category .col-sm-12 {
      width: 100%;
      float: none;
  }
}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {
  /* Product Lists (3 columns) */
  ul.row.unstyled > li.col-md-4 { width: 33.33333333%; float: left; }

  /* Two-column sections */
  .new-store-appeal .col-md-7, .samgyetang-feature .col-md-7, .other-recommendations .menu-category .col-md-7 {
    width: 58.33333333%; float: left;
  }
  .new-store-appeal .col-md-5, .samgyetang-feature .col-md-5, .other-recommendations .menu-category .col-md-5 {
    width: 41.66666667%; float: left;
  }
  /* Yakitori image gallery (2 columns within its parent) */
  .menu-category#yakitori-gallery .col-md-5 .col-md-6 {
    width: 50%; float: left;
  }
  /* Lunch/Bento image gallery (3 columns within its parent) */
  .menu-category#lunch-bento-gallery .col-md-5 .col-md-4 {
    width: 33.33333333%; float: left;
  }
}

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  /* Product Lists (3 columns) */
  ul.row.unstyled > li.col-lg-4 { width: 33.33333333%; float: left; }

  /* Two-column sections */
  .new-store-appeal .col-lg-7, .samgyetang-feature .col-lg-7, .other-recommendations .menu-category .col-lg-7 {
    width: 58.33333333%; float: left;
  }
  .new-store-appeal .col-lg-5, .samgyetang-feature .col-lg-5, .other-recommendations .menu-category .col-lg-5 {
    width: 41.66666667%; float: left;
  }
  /* Yakitori image gallery (2 columns within its parent) */
   .menu-category#yakitori-gallery .col-lg-5 .col-lg-6 {
    width: 50%; float: left;
  }
  /* Lunch/Bento image gallery (3 columns within its parent) */
  .menu-category#lunch-bento-gallery .col-lg-5 .col-lg-4 {
    width: 33.33333333%; float: left;
  }
}


/* --- General heading color for new sections --- */
.new-store-appeal h2,
.samgyetang-feature h2,
.other-recommendations h2,
.booking-info h2 {
  color: #861515; 
}

/* --- New Store Appeal Section --- */
.new-store-appeal .lead {
  font-size: 1.15em; 
  margin-bottom: 1.5em;
}
.new-store-appeal img.img-responsive {
  border-radius: 8px; 
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
  max-width: 100%;
  height: auto;
}
.new-store-appeal img.img-responsive:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* --- Samgyetang Feature Section --- */
.samgyetang-feature .samgyetang-catchphrase {
  font-size: 1.5em; 
  font-weight: bold; 
  color: #861515; 
  margin-top: 0;
  margin-bottom: 0.75em;
  line-height: 1.3;
}
@media (max-width: 991px) { 
    .samgyetang-feature .samgyetang-catchphrase { 
        margin-top: 20px; 
    }
}
.samgyetang-feature .menu-toppings h4,
.samgyetang-feature .menu-closing h4 {
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  color: #861515; 
}
.samgyetang-feature .menu-toppings p,
.samgyetang-feature .menu-closing p {
  font-size: 0.95em;
  color: #555;
}
.samgyetang-feature img.img-responsive {
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
  max-width: 100%;
  height: auto;
}
.samgyetang-feature img.img-responsive:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}


/* --- Other Recommendations Section --- */
.other-recommendations .menu-category {
  margin-bottom: 40px; 
}
.other-recommendations .menu-category:first-child {
  border-top: none;
  padding-top: 0;
}
.other-recommendations .menu-category h3 { 
  font-size: 1.4em; 
  color: #861515;
  margin-top: 0;
  margin-bottom: 1em;
  border-bottom: 1px solid #861515; 
  padding-bottom: 0.5em;
}
.other-recommendations .menu-category h3 small {
  font-size: 0.7em;
  color: #777;
  font-weight: normal;
}
.other-recommendations .menu-category p {
  font-size: 0.95em;
  margin-bottom: 0.75em;
}
.other-recommendations .menu-category .small {
  font-size: 0.85em;
  color: #777;
}

.other-recommendations .menu-category .col-md-5 > img.img-responsive,
.other-recommendations .menu-category .col-lg-5 > img.img-responsive {
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
  max-width: 100%;
  height: auto;
}
.other-recommendations .menu-category .col-md-5 > img.img-responsive:hover,
.other-recommendations .menu-category .col-lg-5 > img.img-responsive:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.menu-category#yakitori-gallery .row [class*="col-"] img.img-responsive {
  border-radius: 6px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
  margin-bottom: 10px; 
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  width: 100%; 
  object-fit: cover; 
  aspect-ratio: 4/3; 
  mask-image: linear-gradient(to bottom, black 85%, transparent 100%); 
}
.menu-category#yakitori-gallery .row [class*="col-"] img.img-responsive:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 10px rgba(0,0,0,0.2);
  opacity: 1;
  mask-image: none; 
}

.menu-category#lunch-bento-gallery .row { 
  display: flex;
  flex-wrap: wrap;
  justify-content: center; 
}
.menu-category#lunch-bento-gallery .row [class*="col-"] { 
  padding: 10px; 
  display: flex; 
  justify-content: center;
}

.menu-category#lunch-bento-gallery .polaroid-item {
  background-color: #fff;
  padding: 10px 10px 20px 10px; 
  border-radius: 3px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2), 0 0 0 1px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 90%; 
  max-width: 200px; 
}
.menu-category#lunch-bento-gallery .polaroid-item img.img-responsive {
  width: 100%; 
  object-fit: cover; 
  aspect-ratio: 1/1; 
  display: block;
  border: 1px solid #eee; 
}
.menu-category#lunch-bento-gallery .polaroid-item:hover {
  transform: scale(1.1) rotate(0deg) !important; 
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
  z-index: 10; 
}
.menu-category#lunch-bento-gallery .polaroid-item:nth-child(1) { transform: rotate(-3deg); }
.menu-category#lunch-bento-gallery .polaroid-item:nth-child(2) { transform: rotate(2deg); filter: blur(0.5px) opacity(0.95); }
.menu-category#lunch-bento-gallery .polaroid-item:nth-child(3) { transform: rotate(-2.5deg); filter: blur(0.8px) opacity(0.9); }
.menu-category#lunch-bento-gallery .polaroid-item:nth-child(4) { transform: rotate(3.5deg); filter: blur(1px) opacity(0.85); }
.menu-category#lunch-bento-gallery .polaroid-item:nth-child(5) { transform: rotate(-1.5deg); filter: blur(1.2px) opacity(0.8); }


/* --- Booking Info Section --- */
.booking-info p {
  font-size: 1.05em;
  line-height: 1.7;
}

/* Course item layout */
.course-item-body {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.course-item-img {
  flex-shrink: 0;
}
.course-item-img img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  display: block;
}
.course-item-detail {
  flex: 1;
  min-width: 0;
}
@media (max-width: 480px) {
  .course-item-body {
    flex-direction: column;
    align-items: center;
  }
  .course-item-img {
    margin-bottom: 10px;
  }
}

/* General Adjustments for new content sections */
.new-store-appeal,
.samgyetang-feature,
.other-recommendations,
.booking-info {
  padding-top: 20px; 
  padding-bottom: 20px; 
}

.lead {
  font-size: 1.15rem; 
  font-weight: 300; 
  margin-bottom: 1em;
}

.list-unstyled { 
  padding-left: 0;
  list-style: none;
}
.list-unstyled li {
  padding: 3px 0;
}

/* Responsive adjustments for new content */
@media (max-width: 767px) { 
    .new-store-appeal h2,
    .samgyetang-feature h2,
    .other-recommendations h2,
    .booking-info h2 {
        font-size: 1.5rem; 
    }
    .samgyetang-feature .samgyetang-catchphrase { 
        font-size: 1.3em;
    }
    .other-recommendations .menu-category h3 { 
        font-size: 1.2em; 
    }
    .lead {
        font-size: 1.05rem;
    }
    .menu-category#lunch-bento-gallery .polaroid-item {
        width: 80%; 
    }
}
@media (max-width: 480px) {
    .other-recommendations .menu-category h3 {
        font-size: 1.1em; 
    }
}
