/* Catering Page Specific Styles */

/* Catering Hero */
.catering-hero {
  background-image: url('/media/img/catering/hero_catering.webp');
  background-repeat: no-repeat;
}

/* Catering Intro Section */
.catering-intro {
  background-color: var(--main-bg);
  padding: 6rem 0 0 0;
}

.catering-intro-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.intro-content {
  display: grid;
  grid-template-columns: 50% 50%;
  gap: 4rem;
  align-items: center;
}

/* Intro Text */
.intro-text h2 {
  font-size: 34px;
  color: var(--secondary-text);
  font-weight: 400;
  letter-spacing: 2px;
  line-height: 1.4;
  margin-bottom: 2rem;
}

.intro-text p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--secondary-text);
  margin-bottom: 1.5rem;
}

/* Catering Buttons */
.catering-buttons {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
}

.view-menu-btn,
.enquiry-btn {
  background-color: #ffe9ad;
  color: #3f6870;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 14px;
  font-family: 'Inria Serif', serif;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 4px;
  display: inline-block;
  min-width: 140px;
  height: 50px;
  line-height: 1;
}

.view-menu-btn:hover,
.enquiry-btn:hover {
  background-color: #f5dc8e;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Image Slider */
.intro-slider {
  position: relative;
  width: 100%;
}

.slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  gap: 20px;
}

.slider-item {
  width: 304px;
  height: 456px;
  flex-shrink: 0;
}

.slider-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Slider Navigation Buttons */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--secondary-text);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 300;
}

.slider-btn:hover {
  background-color: rgba(255, 255, 255, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.slider-btn.prev {
  left: 20px;
}

.slider-btn.next {
  right: 20px;
}

.feedback {
  background-color: var(--main-bg);
  padding: 5.5rem 0;
}

.feedback-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2.5rem;
  text-align: center;
  color: var(--secondary-text);
}

.feedback-title {
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 2px;
  margin: 0 0 1.5rem 0;
}

.feedback-subtitle {
  font-size: 18px;
  line-height: 1.8;
  margin: 0 auto 3.5rem auto;
  max-width: 1050px;
}

.feedback-form {
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
}

.feedback-form label {
  display: block;
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 0.75rem;
  margin-top: 2rem;
  color: var(--secondary-text);
}

.feedback-form textarea {
  width: 100%;
  min-height: 220px;
  padding: 1rem 1.25rem;
  border: 2px solid #6b8c8f;
  border-radius: 12px;
  font-size: 17px;
  font-family: 'Inria Serif', serif;
  color: var(--secondary-text);
  background: transparent;
  resize: vertical;
  box-sizing: border-box;
}

.feedback-form textarea:focus {
  outline: none;
  border-color: #3f6870;
  box-shadow: 0 4px 10px rgba(63, 104, 112, 0.15);
}

/* Slider Dots */
.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background-color: rgba(255, 255, 255, 1);
  width: 14px;
  height: 14px;
}

.slider-dot:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

/* Order Details Section */
.order-details {
  background-color: var(--main-bg);
  padding: 0 0 0 0;
}

.order-details-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.order-content {
  display: grid;
  grid-template-columns: 50% 50%;
  gap: 4rem;
  align-items: center;
}

/* Order Image */
.order-image {
  width: 100%;
}

.order-image img {
  width: 100%;
  height: auto;
  display: block;
  /* margin-top: -5rem; */
}

/* Order Text */
.order-text h2 {
  font-size: 34px;
  color: var(--secondary-text);
  font-weight: 400;
  letter-spacing: 2px;
  margin-bottom: 2rem;
}

.order-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.order-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: 16px;
  line-height: 1.8;
  color: var(--secondary-text);
}

.order-list li svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--secondary-text);
}

.order-list li span {
  flex: 1;
}

/* Quote Section */
.quote-section {
  position: relative;
  background-image: url('/media/img/catering/quote_background.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 8rem 0;
  text-align: center;
}

.quote-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(112, 147, 141, 0.85);
  z-index: 0;
}

.quote-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.quote-content {
  position: relative;
}

.quote-mark {
  font-size: 80px;
  font-family: Georgia, serif;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1;
}

.quote-mark.opening {
  position: absolute;
  top: -20px;
  left: -40px;
}

.quote-mark.closing {
  position: absolute;
  bottom: 40px;
  right: -40px;
}

.quote-text {
  font-size: 28px;
  font-style: italic;
  line-height: 1.8;
  color: #ffe9ad;
  margin: 2rem 4rem;
  position: relative;
}

.quote-source {
  font-size: 22px;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 2rem;
  font-style: normal;
}

/* Contact Form Section */
.contact-form {
  background-color: var(--main-bg);
  padding: 6rem 0;
}

.contact-form-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.contact-content {
  display: grid;
  grid-template-columns: 35% 65%;
  gap: 4rem;
  align-items: flex-start;
}

.contact-content.contact-text-only {
  grid-template-columns: 45% 55%;
}

.contact-text-block {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 100%;
  order: 1;
}

.contact-text-block h2 {
  font-size: 28px;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
  color: var(--secondary-text);
}

.contact-text-block p {
  font-size: 15px;
  color: #546468;
}

.contact-address-block {
  margin-top: auto;
}

.contact-address-block p {
  margin-bottom: 0.5rem;
}

.contact-address-block a {
  color: inherit;
  text-decoration: none;
}

.contact-text-only .address-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
  width: 100%;
}

.contact-address-left p {
  font-size: 14.4px;
  line-height: 1.8;
  margin: 0 0 0.1rem 0;
}

.contact-email,
.contact-phone {
  font-size: 14.4px;
  /* font-weight: 700; */
  display: block;
  margin-bottom: 0.3rem;
}

.contact-address-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  /* gap: 0.75rem; */
}

.contact-social-logo {
  height: 90px;
  display: block;
}

.contact-social-icons {
  display: flex;
}

.contact-social-icons img {
  height: 40px;
}

.contact-page .contact-form-wrapper {
  max-width: 620px;
  margin: 0;
  border-radius: 18px;
  padding: 2.5rem;
  order: 2;
}

.contact-page .catering-form {
  gap: 1rem;
}

.contact-page .form-group input,
.contact-page .form-group textarea {
  border-radius: 14px;
}

.contact-page .submit-btn {
  display: inline-block;
  margin: 1rem auto 0;
  min-width: 160px;
}

.contact-image {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
}

.contact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.contact-form-wrapper h2 {
  font-size: 41px;
  color: var(--secondary-text);
  font-weight: 400;
  letter-spacing: 2px;
  margin-bottom: 2rem;
}

.catering-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 17px;
  color: var(--secondary-text);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 17px;
  font-family: 'Inria Serif', serif;
  color: var(--secondary-text);
  background-color: white;
  width: 100%;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--secondary-text);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%233f6870' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
}

.date-input-wrapper {
  position: relative;
}

.calendar-icon {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--secondary-text);
  pointer-events: none;
}

.date-field input[type="date"] {
  padding-right: 2.5rem;
}

.date-field input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0;
  position: absolute;
  right: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.submit-btn {
  background-color: #ffe9ad;
  color: #3f6870;
  border: none;
  padding: 0.75rem 2rem;
  font-size: 17px;
  font-family: 'Inria Serif', serif;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 4px;
  width: fit-content;
  margin-top: 1rem;
}

.submit-btn:hover {
  background-color: #f5dc8e;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.contact-info {
  margin-top: 2rem;
  font-size: 17px;
  color: var(--secondary-text);
  text-align: center;
}

.contact-info a {
  color: var(--secondary-text);
  text-decoration: underline;
}

/* Gallery Section */
.catering-gallery {
  background-color: #f6f2e9;
  padding: 6rem 0;
}

.gallery-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.gallery-title {
  font-size: 28px;
  color: var(--secondary-text);
  font-weight: 400;
  letter-spacing: 2px;
  margin-bottom: 2rem;
}

.gallery-carousel {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  justify-content: center;
}

.gallery-window {
  max-width: 1180px;
  width: 100%;
  overflow: hidden;
}

.gallery-track {
  display: flex;
  gap: 24px;
  transition: transform 0.45s ease;
}

.gallery-card {
  margin: 0;
  flex: 0 0 320px;
  aspect-ratio: 1 / 1;
  background-color: #fff;
  box-shadow: 0 18px 32px rgba(10, 32, 28, 0.2);
  overflow: hidden;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(63, 104, 112, 0.3);
  background-color: #fff;
  color: var(--secondary-text);
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-arrow:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.gallery-arrow:not(:disabled):hover {
  background-color: #fdf4d6;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */

/* Smaller Web (960px - 1280px) */
@media (min-width: 960px) and (max-width: 1279px) {
  .intro-content {
      gap: 2rem;
  }

  .intro-text h2 {
      font-size: 30px;
  }

  .intro-text p {
      font-size: 18px;
  }

  .slider-btn {
      width: 40px;
      height: 40px;
      font-size: 20px;
  }

  .slider-btn.prev {
      left: 15px;
  }

  .slider-btn.next {
      right: 15px;
  }

  .order-details {
      padding: 0 0 6rem 0;
  }

  .order-content {
      gap: 2rem;
  }

  .order-text h2 {
      font-size: 34px;
  }

  .order-list li {
      font-size: 18px;
  }

  .quote-section {
      padding: 6rem 0;
  }

  .quote-text {
      font-size: 24px;
      margin: 2rem 3rem;
  }

  .quote-mark {
      font-size: 70px;
  }

  .quote-mark.opening {
      left: -30px;
  }

  .quote-mark.closing {
      right: -30px;
  }

  .contact-form-container {
      padding: 0 2rem;
  }

  .contact-content {
      gap: 2rem;
  }

  .contact-form-wrapper {
      width: 100%;
      max-width: 100%;
      box-sizing: border-box;
      padding-right: 20px;
  }

  .contact-form-wrapper h2 {
      font-size: 36px;
  }

  .catering-form {
      width: 100%;
      max-width: 100%;
      box-sizing: border-box;
  }

  .form-row {
      gap: 1rem;
      width: 100%;
      box-sizing: border-box;
  }

  .form-group {
      width: 100%;
      box-sizing: border-box;
  }

  .form-group label {
      font-size: 16px;
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
      font-size: 16px;
      max-width: 100%;
      width: 100%;
      box-sizing: border-box;
  }

  .submit-btn {
      font-size: 16px;
  }

  .contact-info {
      font-size: 16px;
  }

  .gallery-window {
      max-width: 1020px;
  }
}

/* Mobile (up to 960px) */
@media (max-width: 959px) {
  .catering-intro {
      padding: 3rem 0;
      overflow-x: hidden;
  }

  .catering-intro-container {
      padding: 0 1rem;
      max-width: 100%;
      box-sizing: border-box;
  }

  .intro-content {
      grid-template-columns: 1fr;
      gap: 2rem;
      width: 100%;
      box-sizing: border-box;
  }

  .intro-text {
      width: 100%;
      box-sizing: border-box;
  }

  .intro-text h2 {
      font-size: 22px;
      letter-spacing: 1px;
      word-wrap: break-word;
  }

  .intro-text p {
      font-size: 14px;
      word-wrap: break-word;
  }

  .catering-buttons {
      gap: 1rem;
      flex-wrap: wrap;
  }

  .view-menu-btn,
  .enquiry-btn {
      width: auto;
      max-width: 100%;
      height: auto;
      padding: 1rem 1.5rem;
      line-height: 1.5;
      white-space: normal;
      text-align: center;
      box-sizing: border-box;
  }

  .intro-slider {
      width: 100%;
      max-width: 100%;
      overflow: hidden;
      box-sizing: border-box;
  }

  .slider-container {
      width: 100%;
      max-width: 100%;
      margin: 0;
      box-sizing: border-box;
      border-radius: 8px;
  }

  .slider-track {
      gap: 0;
      width: 100%;
  }

  .slider-item {
      width: 100%;
      max-width: 100%;
      height: auto;
      aspect-ratio: 2/3;
      box-sizing: border-box;
  }

  .slider-item img {
      border-radius: 8px;
      width: 100%;
      height: 100%;
      object-fit: cover;
  }

  .slider-btn {
      width: 35px;
      height: 35px;
      font-size: 18px;
  }

  .slider-btn.prev {
      left: 10px;
  }

  .slider-btn.next {
      right: 10px;
  }

  .slider-dots {
      bottom: 15px;
  }

  .slider-dot {
      width: 10px;
      height: 10px;
  }

  .slider-dot.active {
      width: 12px;
      height: 12px;
  }

  .order-details {
      padding: 2rem 0 6rem 0;
      overflow-x: hidden;
  }

  .order-details-container {
      padding: 0 1rem;
      max-width: 100%;
      box-sizing: border-box;
  }

  .order-content {
      grid-template-columns: 1fr;
      gap: 2rem;
      width: 100%;
      box-sizing: border-box;
  }

  .order-image {
      width: 100%;
      max-width: 100%;
      box-sizing: border-box;
  }

  .order-image img {
      width: 100%;
      height: auto;
      display: block;
  }

/* Feedback Section */
.feedback {
  background-color: var(--main-bg);
  padding: 5.5rem 0;
}

.feedback-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2.5rem;
  text-align: center;
  color: var(--secondary-text);
}

.feedback-title {
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 2px;
  margin: 0 0 1.5rem 0;
}

.feedback-subtitle {
  font-size: 18px;
  line-height: 1.8;
  margin: 0 auto 3.5rem auto;
  max-width: 1050px;
}

.feedback-form {
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
}

.feedback-form label {
  display: block;
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 0.75rem;
  margin-top: 2rem;
  color: var(--secondary-text);
}

.feedback-form textarea {
  width: 100%;
  min-height: 220px;
  padding: 1rem 1.25rem;
  border: 2px solid #6b8c8f;
  border-radius: 12px;
  font-size: 17px;
  font-family: 'Inria Serif', serif;
  color: var(--secondary-text);
  background: transparent;
  resize: vertical;
  box-sizing: border-box;
}

.feedback-form textarea:focus {
  outline: none;
  border-color: #3f6870;
  box-shadow: 0 4px 10px rgba(63, 104, 112, 0.15);
}

@media (max-width: 959px) {
  .feedback {
    padding: 3rem 0;
  }

  .feedback-container {
    padding: 0 1.25rem;
  }

  .feedback-title {
    font-size: 24px;
  }

  .feedback-subtitle {
    font-size: 16px;
  }

  .feedback-form textarea {
    min-height: 160px;
  }
}
  .order-text {
      width: 100%;
      box-sizing: border-box;
  }

  .order-text h2 {
      font-size: 22px;
      letter-spacing: 1px;
      word-wrap: break-word;
  }

  .order-list {
      width: 100%;
      box-sizing: border-box;
  }

  .order-list li {
      font-size: 14px;
      word-wrap: break-word;
  }

  .order-list li svg {
      width: 20px;
      height: 20px;
  }

  .quote-section {
      padding: 4rem 0;
      overflow-x: hidden;
  }

  .quote-container {
      padding: 0 1rem;
      max-width: 100%;
      box-sizing: border-box;
  }

  .quote-content {
      width: 100%;
      box-sizing: border-box;
  }

  .quote-text {
      font-size: 16px;
      margin: 2rem 1rem;
      word-wrap: break-word;
  }

  .quote-mark {
      font-size: 60px;
  }

  .quote-mark.opening {
      top: -10px;
      left: -10px;
  }

  .quote-mark.closing {
      bottom: 30px;
      right: -10px;
  }

  .quote-source {
      font-size: 16px;
      word-wrap: break-word;
  }

  .contact-form {
      padding: 3rem 0;
      overflow-x: hidden;
  }

  .contact-form-container {
      padding: 0 1rem;
      max-width: 100%;
      box-sizing: border-box;
  }

  .contact-content.contact-text-only {
      display: flex;
      flex-direction: column;
      gap: 2rem;
  }

  .contact-text-block {
      order: 1;
      width: 100%;
  }

  .contact-page .contact-form-wrapper {
      order: 2;
      margin-top: 0;
      width: 100%;
      padding: 2rem 1.5rem;
  }

  .contact-text-only .address-row {
      grid-template-columns: 1fr;
      gap: 1rem;
  }

  .contact-address-right {
      align-items: flex-start;
  }

  .contact-social-logo {
      height: 90px;
  }

  .contact-social-icons {
      display: flex;
      gap: 0.75rem;
  }

  .contact-image {
      width: 100%;
      max-width: 100%;
      box-sizing: border-box;
  }

  .contact-image img {
      width: 100%;
      height: auto;
      display: block;
  }

  .contact-form-wrapper {
      width: 100%;
      box-sizing: border-box;
  }

  .contact-form-wrapper h2 {
      font-size: 26px;
      word-wrap: break-word;
  }

  .catering-form {
      width: 100%;
      box-sizing: border-box;
  }

  .form-group {
      width: 100%;
      box-sizing: border-box;
  }

  .form-group label {
      font-size: 15px;
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
      font-size: 16px;
      max-width: 100%;
      width: 100%;
      box-sizing: border-box;
      padding: 1rem;
  }

  .form-group input[type="date"],
  .form-group input[type="time"] {
      width: 300px;
      max-width: 100%;
  }

  .date-input-wrapper {
      width: 100%;
  }

  .calendar-icon {
      display: none;
  }

  .submit-btn {
      font-size: 16px;
      padding: 0.85rem 2.5rem;
  }

  .form-row {
      grid-template-columns: 1fr;
      gap: 1rem;
      width: 100%;
      box-sizing: border-box;
  }

  .contact-info {
      font-size: 15px;
      word-wrap: break-word;
  }

  .catering-gallery {
      padding: 3rem 0;
  }

  .gallery-container {
      padding: 0 1rem;
  }

  .gallery-title {
      font-size: 22px;
      letter-spacing: 1px;
  }

  .gallery-carousel {
      gap: 0.75rem;
  }

  .gallery-window {
      width: calc(100vw - 5rem);
      max-width: calc(100vw - 5rem);
      padding: 0;
  }

  .gallery-track {
      gap: 14px;
  }

  .gallery-card {
      flex: 0 0 calc(100vw - 2.5rem);
      max-width: none;
  }

  .gallery-arrow {
      width: 40px;
      height: 40px;
      font-size: 16px;
  }
}
