/* ============================================
   光榮定置漁場 — Main Stylesheet
   Design direction: warm, artisanal, heritage
   Color story: ocean teal + sand + weathered wood
   ============================================ */

/* --- RESET & BASE --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Noto Sans TC', 'Helvetica Neue', Arial, sans-serif;
  color: #3D3629;
  background-color: #F6F1E7;
  line-height: 1.9;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.25s ease-out, opacity 0.25s ease-out;
}

ul { list-style: none; }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- IMAGE PLACEHOLDERS --- */
.image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 400px;
  background-color: #9BB5B0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.05em;
  position: relative;
}

.image-placeholder span {
  background: rgba(0, 0, 0, 0.18);
  padding: 8px 20px;
  border-radius: 3px;
}

/* --- BUTTONS --- */
.btn {
  display: inline-block;
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: all 0.25s ease-out;
  border: none;
  outline: none;
}

.btn--outline-white {
  color: #FFFFFF;
  border: 1.5px solid rgba(255,255,255,0.7);
  border-radius: 2px;
  padding: 13px 44px;
  background: transparent;
}

.btn--outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: #FFFFFF;
}

.btn--pill {
  color: #3D3629;
  background-color: transparent;
  border: 1.5px solid #8B7D6B;
  border-radius: 2px;
  padding: 12px 40px;
  font-weight: 400;
}

.btn--pill:hover {
  background-color: #2C5F5A;
  border-color: #2C5F5A;
  color: #FFFFFF;
}

.btn--outline-dark {
  color: #4A4035;
  border: 1.5px solid rgba(74,64,53,0.5);
  border-radius: 2px;
  padding: 13px 44px;
  background: transparent;
}

.btn--outline-dark:hover {
  background: rgba(44,95,90,0.1);
  border-color: #2C5F5A;
  color: #2C5F5A;
}

/* ============================================
   HERO CAROUSEL
   ============================================ */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 58vh;
  min-height: 400px;
  overflow: hidden;
}

.hero-carousel__slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease-out;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.hero-slide--active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide__bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
}

.hero-slide__placeholder {
  color: rgba(255, 255, 255, 0.25);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.hero-slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10, 25, 30, 0.65) 0%,
    rgba(10, 25, 30, 0.35) 35%,
    rgba(10, 25, 30, 0.05) 65%,
    transparent 100%
  );
}

.hero-slide__overlay--light {
  background: linear-gradient(
    to right,
    rgba(246, 241, 231, 0.55) 0%,
    rgba(246, 241, 231, 0.25) 40%,
    transparent 70%
  );
}

.hero-slide__content {
  position: relative;
  z-index: 2;
  padding-left: 25%;
  max-width: 750px;
}

.hero-slide__heading {
  font-family: 'Noto Serif TC', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: #3D3629;
  letter-spacing: 0.4em;
  margin-bottom: 14px;
}

.hero-slide__text {
  font-family: 'Noto Serif TC', serif;
  font-size: 1.15rem;
  color: #FFFFFF;
  line-height: 2.3;
  margin-bottom: 32px;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.hero-slide__text--dark {
  color: #4A4035;
}

/* Carousel Dots */
.hero-carousel__dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.hero-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid rgba(61, 54, 41, 0.35);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease-out;
  padding: 0;
}

.hero-carousel__dot--active {
  background-color: #2C5F5A;
  border-color: #2C5F5A;
  width: 24px;
  border-radius: 4px;
}

.hero-carousel__dot:hover {
  border-color: #2C5F5A;
}

/* ============================================
   NAVIGATION BAR
   ============================================ */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: #F6F1E7;
  border-top: 1px solid rgba(61, 54, 41, 0.06);
  border-bottom: 1px solid rgba(61, 54, 41, 0.06);
  z-index: 1000;
}

.navbar__inner {
  display: flex;
  align-items: stretch;
  padding: 0 30px 0 0;
  max-width: 100%;
  min-height: 220px;
  justify-content: flex-end;
}

.navbar__logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
  padding: 20px 0 20px 0;
  margin-left: 10%;
  margin-right: auto;
}

.navbar__logo-cn {
  font-family: 'Noto Serif TC', serif;
  font-size: 3.2rem;
  font-weight: 900;
  color: #2C5F5A;
  line-height: 1.1;
  letter-spacing: 0.3em;
}

.navbar__logo-en {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  font-weight: 400;
  color: #8B7D6B;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  margin-top: 8px;
}

/* Menu */
.navbar__menu {
  display: flex;
  align-items: stretch;
  flex-shrink: 0;
}

.navbar__item {
  border-left: 1px solid rgba(61, 54, 41, 0.06);
  display: flex;
  align-items: stretch;
}

.navbar__item:last-child {
  border-right: none;
}

.navbar__item > a {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 18px 16px;
  transition: background-color 0.25s ease-out;
  gap: 3px;
}

.navbar__item > a:hover {
  background-color: rgba(44, 95, 90, 0.04);
}

.navbar__item-en {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.45rem;
  font-weight: 400;
  color: rgba(139, 125, 107, 0.6);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  white-space: nowrap;
}

.navbar__item-cn {
  font-family: 'Noto Serif TC', serif;
  font-size: 1.1rem;
  color: #3D3629;
  font-weight: 500;
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: 0.18em;
  white-space: nowrap;
}

/* Cart */
.navbar__cart {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  flex-shrink: 0;
  text-decoration: none;
  transition: opacity 0.25s ease-out;
}

.navbar__cart:hover { opacity: 0.65; }

.navbar__cart-icon {
  position: relative;
  font-size: 1.6rem;
  color: #8B7D6B;
  margin-bottom: 6px;
}

.navbar__cart-label {
  font-family: 'Noto Serif TC', serif;
  font-size: 0.75rem;
  color: #3D3629;
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: 0.12em;
}

.navbar__cart-badge {
  position: absolute;
  top: -5px;
  right: -9px;
  background-color: #C67B3C;
  color: #FFFFFF;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.5rem;
  font-weight: 600;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Purchase Tab */
.purchase-tab {
  position: fixed;
  right: 0;
  top: 120px;
  background-color: #2C5F5A;
  color: #F6F1E7;
  font-family: 'Noto Serif TC', serif;
  font-size: 0.75rem;
  padding: 14px 7px;
  letter-spacing: 0.08em;
  line-height: 1.9;
  text-align: center;
  z-index: 1100;
  border-radius: 4px 0 0 4px;
  transition: background-color 0.25s ease-out;
}

.purchase-tab:hover {
  background-color: #3A756F;
}


/* ============================================
   CONTENT SECTIONS — each block has its own color story
   ============================================ */
.section {
  padding: 50px 0;
  background-color: #F6F1E7;
}

/* ABOUT — 暖砂色，像港邊晨光 */
.section--about {
  background-color: #F6F1E7;
}
.section--about .image-placeholder {
  background-color: #7FA5A0;
}
.section--about .section__title-cn {
  color: #2C5F5A;
}
.section--about .btn--pill {
  border-color: #2C5F5A;
  color: #2C5F5A;
}
.section--about .btn--pill:hover {
  background-color: #2C5F5A;
  color: #F6F1E7;
}

/* PROCESS — 深海色底，白色文字，沉穩 */
.section--process {
  background-color: #1E3D3A;
  padding: 60px 0;
}
.section--process .section__title-en {
  color: rgba(246,241,231,0.5);
}
.section--process .section__subtitle-en {
  color: rgba(246,241,231,0.4);
}
.section--process .section__title-cn {
  color: #D4CEC0;
}
.section--process .section__title-cn strong {
  color: #F6F1E7;
}
.section--process .section__body {
  color: rgba(246,241,231,0.7);
}
.section--process .btn--pill {
  border-color: rgba(246,241,231,0.4);
  color: #D4CEC0;
}
.section--process .btn--pill:hover {
  background-color: #F6F1E7;
  border-color: #F6F1E7;
  color: #1E3D3A;
}
.section--process .image-placeholder {
  background-color: #3A6B66;
}

/* RECIPES — 暖木色調，像廚房的溫度 */
.section--recipes {
  background-color: #EDE6D8;
}
.section--recipes .image-placeholder {
  background-color: #A08B74;
}
.section--recipes .section__title-cn {
  color: #6B4C33;
}
.section--recipes .section__title-cn strong {
  color: #4A3520;
}
.section--recipes .section__title-en {
  color: #A08B74;
}
.section--recipes .section__subtitle-en {
  color: #A08B74;
}
.section--recipes .btn--pill {
  border-color: #8B7355;
  color: #6B4C33;
}
.section--recipes .btn--pill:hover {
  background-color: #6B4C33;
  border-color: #6B4C33;
  color: #F6F1E7;
}

.section__row {
  display: flex;
  align-items: stretch;
  max-width: 1400px;
  margin: 0 auto;
}

.section__row--reverse {
  flex-direction: row-reverse;
}

.section__image {
  flex: 0 0 55%;
  max-width: 55%;
  overflow: hidden;
}

.section__image .image-placeholder {
  min-height: 500px;
  object-fit: cover;
}

.section__content {
  flex: 0 0 45%;
  max-width: 45%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 65px;
}

.section__row--reverse .section__image {
  flex: 0 0 55%;
  max-width: 55%;
}

.section__row--reverse .section__content {
  flex: 0 0 45%;
  max-width: 45%;
}

/* Content always visible */
.section__row {
  opacity: 1;
  transform: translateY(0);
}

/* Section typography — warmer, more editorial */
.section__title-en {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  color: #8B7D6B;
  letter-spacing: 0.3em;
  line-height: 1;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.section__subtitle-en {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  font-weight: 400;
  color: #8B7D6B;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 28px;
  opacity: 0.6;
}

.section__title-cn {
  font-family: 'Noto Serif TC', serif;
  font-size: 1.6rem;
  color: #2C5F5A;
  font-weight: 600;
  line-height: 1.9;
  margin-bottom: 22px;
}

.section__title-cn strong {
  font-weight: 700;
  font-size: 1.7rem;
  display: block;
}

.section__body {
  font-size: 0.92rem;
  color: #5C5347;
  line-height: 2.1;
  margin-bottom: 36px;
}

/* ============================================
   QUICK LINKS — 深青底，圖標區
   ============================================ */
.quicklinks {
  padding: 70px 0;
  background-color: #F6F1E7;
}

.quicklinks__grid {
  display: flex;
  justify-content: center;
  gap: 50px;
  max-width: 1000px;
  margin: 0 auto;
}

.quicklinks__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  transition: transform 0.25s ease-out;
  cursor: pointer;
}

.quicklinks__item:hover {
  transform: translateY(-4px);
}

.quicklinks__circle {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background-color: #2C5F5A;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: background-color 0.25s ease-out, box-shadow 0.25s ease-out;
}

.quicklinks__item:hover .quicklinks__circle {
  background-color: #3A756F;
  box-shadow: 0 6px 24px rgba(44, 95, 90, 0.2);
}

.quicklinks__circle i {
  font-size: 2.4rem;
  color: #F6F1E7;
}

.quicklinks__label {
  font-family: 'Noto Serif TC', serif;
  font-size: 0.9rem;
  color: #3D3629;
  font-weight: 500;
  letter-spacing: 0.08em;
}

/* ============================================
   SOCIAL MEDIA — 淡灰藍，像遠方海平面
   ============================================ */
.social {
  padding: 70px 0;
  background-color: #E8E3D9;
}

.social__grid {
  display: flex;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.social__column { flex: 1; }

.social__label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  font-weight: 400;
  color: #8B7D6B;
  letter-spacing: 0.25em;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.social__title {
  font-family: 'Noto Serif TC', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #3D3629;
  margin-bottom: 20px;
}

.social__embed {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.image-placeholder--video {
  min-height: 320px;
  background: linear-gradient(135deg, #1C3A3E 0%, #2C5550 100%);
  flex-direction: column;
  gap: 14px;
  cursor: pointer;
}

.image-placeholder--video i {
  font-size: 3.5rem;
  color: rgba(246, 241, 231, 0.7);
  transition: transform 0.25s ease-out, color 0.25s ease-out;
}

.image-placeholder--video:hover i {
  transform: scale(1.1);
  color: #F6F1E7;
}

.image-placeholder--fb {
  min-height: 320px;
  background: #FFFFFF;
  color: #3D3629;
}

.fb-placeholder {
  padding: 30px;
  width: 100%;
  text-align: left;
}

.fb-placeholder__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.fb-placeholder__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #2C5F5A;
  flex-shrink: 0;
}

.fb-placeholder__header strong {
  font-size: 1rem;
  display: block;
  color: #2C5F5A;
}

.fb-placeholder__header p {
  font-size: 0.8rem;
  color: #8B7D6B;
}

.fb-placeholder__likes {
  font-size: 0.85rem;
  color: #5C5347;
  margin-bottom: 18px;
}

.fb-placeholder__likes i {
  color: #1877F2;
  margin-right: 5px;
}

.fb-placeholder__btn {
  background-color: #1877F2;
  color: #FFFFFF;
  border: none;
  padding: 9px 24px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.25s ease-out;
}

.fb-placeholder__btn:hover {
  background-color: #1565C0;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background-color: #1E2E28;
  color: #D4CEC0;
  padding: 50px 0 28px;
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
}

.footer__social {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 28px;
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(232, 224, 208, 0.2);
  border-radius: 50%;
  color: #E8E0D0;
  font-size: 1rem;
  transition: background-color 0.25s ease-out, border-color 0.25s ease-out;
}

.footer__social a:hover {
  background-color: rgba(232, 224, 208, 0.1);
  border-color: rgba(232, 224, 208, 0.4);
}

.footer__links {
  margin-bottom: 22px;
  font-size: 0.8rem;
}

.footer__links a {
  color: rgba(232, 224, 208, 0.7);
  transition: color 0.25s ease-out;
}

.footer__links a:hover { color: #E8E0D0; }

.footer__sep {
  color: rgba(232, 224, 208, 0.2);
  margin: 0 10px;
}

.footer__info { margin-bottom: 18px; }

.footer__info p {
  font-size: 0.78rem;
  color: rgba(232, 224, 208, 0.5);
  line-height: 1.8;
}

.footer__copyright {
  border-top: 1px solid rgba(232, 224, 208, 0.08);
  padding-top: 18px;
}

.footer__copyright p {
  font-size: 0.7rem;
  color: rgba(232, 224, 208, 0.3);
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.08em;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .navbar__inner { min-height: 120px; }
  .navbar__logo { padding: 16px 0 16px 20px; }
  .navbar__logo-cn { font-size: 2.2rem; }
  .navbar__item > a { padding: 14px 12px; }
  .navbar__item-en { font-size: 0.4rem; }
  .navbar__item-cn { font-size: 0.85rem; letter-spacing: 0.15em; }
  .section__content { padding: 40px 36px; }
}

@media (max-width: 768px) {
  .hero-carousel { height: 50vh; min-height: 350px; }
  .hero-slide__content { padding-left: 6%; padding-right: 6%; }
  .hero-slide__text { font-size: 1rem; line-height: 2; }
  .hero-slide__heading { font-size: 2rem; }

  .navbar__inner { flex-direction: column; min-height: auto; padding: 12px; }
  .navbar__logo { margin-left: 0; margin-right: 0; }
  .navbar__menu { flex-wrap: wrap; justify-content: center; }
  .navbar__item { border-left: none; }
  .navbar__item-cn { writing-mode: horizontal-tb; text-orientation: initial; font-family: 'Noto Sans TC', sans-serif; }
  .navbar__item-en { writing-mode: horizontal-tb; text-orientation: initial; }

  .section { padding: 60px 0; }
  .section__row, .section__row--reverse { flex-direction: column; }
  .section__image, .section__content,
  .section__row--reverse .section__image,
  .section__row--reverse .section__content { flex: 0 0 100%; max-width: 100%; }
  .section__content { padding: 36px 24px; }

  .quicklinks__grid { flex-wrap: wrap; gap: 24px; }
  .quicklinks__circle { width: 100px; height: 100px; }
  .quicklinks__circle i { font-size: 1.8rem; }

  .social__grid { flex-direction: column; }
  .purchase-tab { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: opacity 0.3s; }
  .section__row { transition: none; }
  .section__row { opacity: 1; transform: none; }
}
