/* css/style.css */

/* Custom scrollbar for premium feel */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #fff8f1;
}
::-webkit-scrollbar-thumb {
  background: #8e706d;
  border-radius: 10px;
}

body {
  background-color: #fff8f1;
  color: #1e1b15;
  font-family: "Inter", sans-serif;
  position: relative;
}

.font-headline {
  font-family: "Noto Serif", serif;
}

.font-label {
  font-family: "Manrope", sans-serif;
}

.text-primary {
  color: #a61d21 !important;
}

.bg-primary {
  background-color: #a61d21 !important;
}

.text-on-primary {
  color: #ffffff !important;
}

/* Navbar */
.custom-navbar {
  background-color: rgba(250, 250, 249, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  padding: 0.75rem 2rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

@media (min-width: 992px) {
  .custom-navbar {
    border-radius: 1rem;
  }
}

.navbar-brand {
  font-family: "Noto Serif", serif;
  font-weight: 700;
  color: #a61d21 !important;
  letter-spacing: -0.05em;
  font-size: 1.5rem;
}

.nav-link {
  color: #57534e !important;
  font-weight: 600;
  transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: #a61d21 !important;
}

.contact-info a {
  color: #a61d21;
  font-family: "Manrope", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* Home Section */
#home {
  height: 100vh;
  position: relative;
  overflow: hidden;
}

/* About Section */
.chinese-motif {
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 50c0-15 10-25 25-25s25 10 25 25-10 25-25 25-25-10-25-25zm-50 0c0-15 10-25 25-25s25 10 25 25-10 25-25 25-25-10-25-25z' fill='%23a61d21' fill-opacity='0.03'/%3E%3C/svg%3E");
}

.contact-motif-bg {
  background-image: url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 20 L30 80 M70 20 L70 80 M20 40 L80 40 M20 60 L80 60' stroke='%23a61d21' stroke-width='2' fill='none' opacity='0.08'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 200px;
}

.parallax-bg {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.object-cover {
  object-fit: cover;
}

.gallery-slider {
  overflow: hidden;
  position: relative;
}

/* image hover zoom effect */
.img-zoom-wrapper {
  overflow: hidden;
}
.img-zoom-wrapper img {
  transition: transform 0.6s ease;
}
.img-zoom-wrapper:hover img,
.img-zoom-wrapper:focus img {
  transform: scale(1.1);
}

img.gallery-item {
  transition: transform 0.6s ease;
}
img.gallery-item:hover {
  transform: scale(1.1);
}

div.gallery-item {
  overflow: hidden;
}
div.gallery-item img {
  transition: transform 0.6s ease;
}
div.gallery-item:hover img {
  transform: scale(1.1);
}

.fixed-order-btn {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  background: #a61d21;
  color: white;
  width: 70px;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 100;
  border-radius: 8px 0 0 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
  line-height: 1.1;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.fixed-order-btn:hover {
  color: white;
  background: #8e181c;
}

.gallery-img-container {
  height: 100%;
  width: 100%;
}

/* Footer Icons */
.fill-current {
  fill: currentColor;
}

footer a svg {
  color: #ffffff !important;
}

/* Swiper Gallery Customization */
.gallery-swiper {
  padding-bottom: 70px !important;
}

.gallery-swiper .swiper-pagination {
  bottom: 10px !important;
}

.gallery-swiper .swiper-pagination-bullet {
  background-color: #d1d5db !important;
  opacity: 1;
  width: 10px !important;
  height: 10px !important;
  margin: 0 4px !important;
  padding: 0 !important;
  border: 7px solid transparent !important;
  background-clip: padding-box !important;
  box-sizing: content-box !important;
  border-radius: 50% !important;
}

.gallery-swiper .swiper-pagination-bullet-active {
  background-color: #a61d21 !important;
}

.gallery-swiper .gallery-item {
  height: 100%;
}

/* Gallery Navigation Buttons */
.gallery-wrapper {
  position: relative;
  padding: 0 80px;
}

.gallery-nav-btn {
  position: absolute;
  top: calc(
    50% - 35px
  ); /* Offset by half the bottom padding to center with the images */
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  color: #a61d21 !important;
  text-decoration: none !important;
}

.gallery-nav-btn:hover {
  transform: translateY(-50%) scale(1.15);
  background: transparent;
  color: #a61d21 !important;
}

.gallery-nav-btn .material-symbols-outlined {
  font-size: 48px;
}

.prev-btn {
  left: 0;
}

.next-btn {
  right: 0;
}

@media (max-width: 992px) {
  .gallery-wrapper {
    padding: 0;
  }
  .gallery-nav-btn {
    display: none;
  }
}

/* Decorative Motifs */
#gallery {
  background-color: transparent !important;
}

.gallery-motif-left {
  position: absolute;
  left: 0;
  top: 70%; /* Positioned between Swiper and Recommendations */
  transform: translateY(-50%);
  width: 320px;
  height: auto;
  z-index: 0;
  pointer-events: none;
  opacity: 0.9;
}

.contact-motif-bg {
  background-image: url("../images/face.png") !important;
  background-repeat: no-repeat;
  background-position: center left;
  background-size: contain;
  opacity: 1;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  border: none;
  text-decoration: none !important;
  color: #000000 !important;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
  background: #a61d21;
}

.back-to-top:hover .material-symbols-outlined {
  color: white;
}

.back-to-top .material-symbols-outlined {
  font-size: 32px;
  transition: color 0.3s ease;
}

.rotate-up {
  transform: rotate(90deg);
  display: inline-block;
}

/* Accessibility Improvements */
.carousel-indicators [data-bs-target] {
  width: 10px !important;
  height: 10px !important;
  margin: 0 2px !important;
  padding: 0 !important;
  border: 4px solid transparent !important;
  background-color: #fff !important;
  background-clip: padding-box !important;
  box-sizing: content-box !important;
  border-radius: 50% !important;
}

.text-white-50 {
  color: rgba(255, 255, 255, 0.85) !important;
}
