:root {
  --green: #315f32;
  --light-green: #74a34a;
  --deep-green: #192718;
  --cream: #f7f0df;
  --soft-cream: #fffaf0;
  --brown: #8a6a38;
  --dark: #1f261d;
  --text: #26301f;
  --muted: #6f7669;
  --white: #ffffff;
  --line: rgba(38, 48, 31, 0.14);
  --shadow: 0 24px 70px rgba(35, 51, 27, 0.16);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
a { text-decoration: none; }
img { max-width: 100%; display: block; }

.section-padding { padding: 100px 0; }
.section-subtitle {
  display: inline-block;
  color: var(--green);
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 12px;
}
.section-subtitle.light { color: #dceec8; }
.section-title {
  font-family: "Playfair Display", serif;
  color: var(--deep-green);
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
  font-weight: 800;
  margin-bottom: 18px;
}
.section-desc {
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto;
}

.site-header {
  transition: all 0.35s ease;
  padding: 14px 0;
  background: transparent;
}
.site-header.scrolled,
.site-header.menu-open {
  background: rgba(255, 250, 240, 0.96);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
  padding: 6px 0;
  backdrop-filter: blur(12px);
}
.logo img {
  height: 88px;
  width: auto;
  object-fit: contain;
  transition: 0.3s;
  filter: brightness(0) invert(1) drop-shadow(0 6px 14px rgba(0,0,0,0.32));
}
.site-header.scrolled .logo img,
.site-header.menu-open .logo img {
  height: 72px;
  filter: none;
}
.navbar-nav .nav-link {
  color: var(--white);
  font-weight: 800;
  margin: 0 10px;
  position: relative;
}
.site-header.scrolled .nav-link,
.site-header.menu-open .nav-link,
.site-header.scrolled .social-icons a,
.site-header.menu-open .social-icons a { color: var(--deep-green); }
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 8px;
  bottom: 2px;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: 0.3s;
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after { width: calc(100% - 16px); }
.social-icons { display: flex; gap: 14px; }
.social-icons a {
  color: var(--white);
  font-size: 18px;
  transition: 0.3s;
}
.social-icons a:hover { color: var(--light-green); transform: translateY(-2px); }
.navbar-toggler {
  border: none;
  border-radius: 8px;
  background: rgba(255,255,255,0.9);
}

.hero-section,
.carousel,
.carousel-inner,
.carousel-item {
  height: 100vh;
  min-height: 650px;
}
.hero-slide {
  position: relative;
  background-position: center;
  background-size: cover;
}
.slide-1 { background-image: url("assets/slider-1.webp"); }
.slide-2 { background-image: url("assets/slider-2.webp"); }
.slide-3 { background-image: url("assets/slider-3.webp"); }
.slide-4 { background-image: url("assets/slider-4.webp"); }
.slide-5 { background-image: url("assets/slider-5.webp"); }
.slide-6 { background-image: url("assets/slider-6.webp"); }
.slide-7 { background-image: url("assets/slider-7.webp"); }
.slide-8 { background-image: url("assets/slider-8.webp"); }
.slide-9 { background-image: url("assets/slider-9.webp"); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 28, 15, 0.2), rgba(18, 28, 15, 0.05), rgba(18, 28, 15, 0));
}
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
  padding-top: 70px;
}
.hero-tag {
  display: inline-block;
  width: fit-content;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 10px 18px;
  border-radius: 999px;
  margin-bottom: 25px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}
.hero-content h1 {
  max-width: 820px;
  font-family: "Playfair Display", serif;
  font-size: clamp(48px, 8vw, 92px);
  line-height: 0.98;
  font-weight: 800;
  margin-bottom: 22px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.28);
}
.hero-content p {
  max-width: 620px;
  font-size: 18px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 32px;
  line-height: 1.8;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.28);
}
.hero-btn,
.send-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  background: var(--green);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 800;
  border: 2px solid var(--green);
  transition: 0.3s;
}
.hero-btn:hover,
.send-btn:hover {
  background: var(--white);
  color: var(--green);
  border-color: var(--white);
}
.carousel-indicators [data-bs-target] {
  width: 24px;
  height: 4px;
  border: 0;
  border-radius: 999px;
}
.carousel-control-prev,
.carousel-control-next {
  top: 50%;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,0.34);
  border-radius: 50%;
  background: rgba(0,0,0,0.16);
  backdrop-filter: blur(6px);
  transform: translateY(-50%);
  opacity: 1;
}
.carousel-control-prev {
  left: auto;
  right: 86px;
}
.carousel-control-next {
  right: 26px;
}

.about-section { background: var(--white); }
.about-image { position: relative; }
.about-image::before {
  content: "";
  position: absolute;
  left: -18px;
  bottom: -18px;
  width: 80%;
  height: 80%;
  background: var(--cream);
  border-radius: 8px;
  z-index: 0;
}
.about-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.about-section p {
  color: var(--muted);
  line-height: 1.8;
}
.about-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}
.about-cards div {
  background: var(--soft-cream);
  padding: 20px 14px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid var(--line);
}
.about-cards i {
  display: block;
  color: var(--green);
  font-size: 30px;
  margin-bottom: 10px;
}

.menu-list-section {
  position: relative;
  background-image:
    linear-gradient(rgba(24, 49, 18, 0.88), rgba(24, 49, 18, 0.88)),
    url("https://images.unsplash.com/photo-1495474472287-4d71bcdd2085?auto=format&fit=crop&w=1800&q=85");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}
.menu-category-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 35px;
}
.menu-tab {
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.12);
  color: var(--white);
  padding: 12px 22px;
  border-radius: 8px;
  font-weight: 800;
  backdrop-filter: blur(8px);
  transition: 0.3s;
}
.menu-tab:hover,
.menu-tab.active {
  background: var(--white);
  color: var(--green);
  border-color: var(--white);
  transform: translateY(-2px);
}
.menu-list-wrapper {
  max-width: 920px;
  margin: 0 auto;
  background: rgba(255,250,240,0.96);
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 25px 70px rgba(0,0,0,0.22);
}
.menu-list { display: none; animation: fadeMenu 0.35s ease; }
.menu-list.active { display: block; }
.menu-group-title {
  margin: 26px 18px 8px;
  padding-bottom: 10px;
  color: var(--deep-green);
  border-bottom: 2px solid rgba(49, 95, 50, 0.24);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.menu-group-title:first-child { margin-top: 8px; }
.menu-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 18px;
  border-bottom: 1px dashed rgba(58, 36, 22, 0.22);
}
.menu-list-item:last-child { border-bottom: none; }
.menu-list-item h3 {
  color: var(--deep-green);
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 6px;
}
.menu-list-item p {
  color: var(--muted);
  margin: 0;
}
.menu-list-item span {
  color: var(--green);
  font-size: 24px;
  font-weight: 900;
  min-width: 72px;
  text-align: right;
}
.menu-note {
  max-width: 920px;
  margin: 18px auto 0;
  color: rgba(255,255,255,0.68);
  font-size: 13px;
  text-align: center;
}

.gallery-section { background: var(--white); }
.gallery-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}
.gallery-img:hover {
  transform: scale(1.03);
  box-shadow: 0 15px 35px rgba(0,0,0,0.14);
}

.contact-section { background: var(--soft-cream); }
.contact-section p { color: var(--muted); line-height: 1.8; }
.contact-info { margin-top: 28px; }
.contact-info a,
.contact-info div {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--text);
  font-weight: 700;
}
.contact-info i {
  width: 42px;
  height: 42px;
  background: var(--white);
  color: var(--green);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 10px 24px rgba(35, 51, 27, 0.08);
}
.contact-form {
  background: var(--white);
  padding: 34px;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 42px rgba(35, 51, 27, 0.08);
}
.form-control {
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 18px;
}
.form-control:focus { box-shadow: 0 0 0 3px rgba(49, 95, 50, 0.18); border-color: var(--green); }
textarea.form-control { resize: vertical; }
.form-status {
  display: none;
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 800;
}
.form-status.is-success,
.form-status.is-error { display: block; }
.form-status.is-success {
  color: #1e6b32;
  background: rgba(49, 95, 50, 0.12);
}
.form-status.is-error {
  color: #9b2c2c;
  background: rgba(155, 44, 44, 0.12);
}
.map-area iframe {
  width: 100%;
  height: 360px;
  border: 0;
  border-radius: 8px;
  filter: grayscale(15%);
  box-shadow: var(--shadow);
}
.map-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-weight: 800;
}
.map-link:hover { color: var(--deep-green); }
.coffee-visual {
  min-height: 390px;
  border-radius: 8px;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(23, 47, 16, 0.78), rgba(23, 47, 16, 0.24)),
    url("assets/ikigai-hero-generated.png");
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
}
.coffee-visual-overlay {
  padding: 55px;
  max-width: 620px;
  color: var(--white);
}
.coffee-visual-overlay span {
  display: inline-block;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  padding: 10px 18px;
  margin-bottom: 16px;
  backdrop-filter: blur(8px);
}
.coffee-visual-overlay h3 {
  font-family: "Playfair Display", serif;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.08;
}

.footer {
  background: var(--deep-green);
  color: var(--white);
  padding: 42px 0;
}
.footer-logo {
  width: min(340px, 100%);
  height: auto;
  margin-bottom: 14px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 8px;
}
.footer h2 {
  font-family: "Playfair Display", serif;
  font-size: 28px;
  margin-bottom: 6px;
}
.footer p,
.footer small {
  color: rgba(255,255,255,0.72);
  margin: 0;
}
.footer-social { margin-bottom: 8px; }
.footer-social a {
  color: var(--white);
  font-size: 20px;
  margin-left: 14px;
  transition: 0.3s;
}
.footer-social a:hover { color: var(--light-green); }

.gallery-modal .modal-content { background: transparent; border: 0; }
.gallery-modal .modal-body { padding: 0; position: relative; }
.gallery-modal img {
  width: 100%;
  max-height: 86vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(0,0,0,0.45);
  animation: zoomGallery 0.35s ease;
}
.gallery-close {
  position: absolute;
  right: -10px;
  top: -45px;
  background-color: var(--white);
  opacity: 1;
  z-index: 5;
  border-radius: 50%;
  padding: 12px;
}
.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--white);
  background: var(--green);
  border: 0;
  border-radius: 8px;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: 0.22s ease;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }

@keyframes fadeMenu {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes zoomGallery {
  from { opacity: 0; transform: scale(0.88) translateY(20px); filter: blur(4px); }
  to { opacity: 1; transform: scale(1) translateY(0); filter: blur(0); }
}

@media (max-width: 991px) {
  .site-header,
  .site-header.scrolled {
    background: rgba(255,250,240,0.96);
    padding: 8px 0;
  }
  .logo img,
  .site-header.scrolled .logo img { height: 68px; filter: none; }
  .site-header .nav-link,
  .site-header .social-icons a { color: var(--deep-green); }
  .navbar-collapse { padding: 18px 0; }
  .navbar-nav .nav-link { margin: 6px 0; }
  .social-icons { margin-top: 12px; }
  .hero-section,
  .carousel,
  .carousel-inner,
  .carousel-item { min-height: 620px; }
  .section-padding { padding: 75px 0; }
  .about-cards { grid-template-columns: 1fr; }
  .about-image img { height: 420px; }
}

@media (max-width: 575px) {
  .carousel-control-prev,
  .carousel-control-next { display: none; }
  .hero-content h1 {
    max-width: 100%;
    font-size: 38px;
    overflow-wrap: anywhere;
  }
  .hero-content p { font-size: 15px; }
  .hero-tag { font-size: 13px; }
  .section-title { font-size: 32px; }
  .contact-form { padding: 22px; }
  .gallery-img { height: 190px; }
  .menu-tab {
    width: calc(50% - 8px);
    padding: 11px 8px;
    font-size: 13px;
  }
  .menu-list-wrapper { padding: 8px; }
  .menu-list-item {
    padding: 18px 12px;
    align-items: flex-start;
  }
  .menu-list-item span {
    font-size: 20px;
    min-width: 58px;
  }
  .coffee-visual { min-height: 310px; }
  .coffee-visual-overlay { padding: 28px; }
  .gallery-close { right: 8px; top: -42px; }
}
