/*
 Theme Name:   Astra Child
 Theme URI:    http://example.com/astra-child
 Description:  Child theme for Astra
 Author:       Your Name
 Author URI:   http://example.com
 Template:     astra
 Version:      1.0.0
*/

/* Add your custom CSS below this line */

body {
  /* 	font-family: "EB Garamond", Sans-serif; */
  font-family: "Hina Mincho", Sans-serif !important;
}

html::-webkit-scrollbar {
  display: none;
}

html {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.site-above-footer-inner-wrap {
  padding: 0px !important;
}

header {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  z-index: 9999;
}

#primary.content-area {
  background-color: #fff;
}

.ast-primary-header {
  background-color: transparent;
}

/* Arrow color change on hover for buttons that have .arrow-hover */
.arrow-hover-dark-blue .elementor-button-icon svg path {
  fill: currentColor;
}

.arrow-hover-dark-blue .elementor-button:hover .elementor-button-icon svg path,
.arrow-hover-dark-blue .elementor-button:active .elementor-button-icon svg pat,
.arrow-hover-dark-blue .elementor-button:focus .elementor-button-icon svg pat {
  fill: #000f23;
}

/* Arrow color change on hover for buttons */
.arrow-hover-white .elementor-button-icon svg path {
  fill: black;
}

.arrow-hover-white .elementor-button:hover .elementor-button-icon svg path,
.arrow-hover-white .elementor-button:active .elementor-button-icon svg path,
.arrow-hover-white .elementor-button:focus .elementor-button-icon svg path {
  fill: #ffffff !important;
}

/* Hide desktop menu */
@media (min-width: 921px) {
  .main-header-menu {
    display: none !important;
  }

  /* Show hamburger menu on desktop */
  .ast-mobile-menu-trigger {
    display: block !important;
  }
}

@media (min-width: 921px) {
  .ast-mobile-menu-trigger {
    margin-left: auto;
  }
}

#scroll-indicator-wrap, #scroll-indicator-wrap *{
	z-index: 999 !important;
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  /*     bottom: -85px; */
  bottom: 140px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
}

.scroll-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 10px;
}

/* line */
.scroll-line {
  width: 2px;
  height: 153px;
  background: #fff;
  animation: scrollGrow 2s infinite;
  transform-origin: top;
}

/* Japanese style grow animation */
@keyframes scrollGrow {
  0% {
    transform: scaleY(0);
    transform-origin: top;
    opacity: 0.3;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
    opacity: 1;
  }

  51% {
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
    opacity: 0.3;
  }
}

.elementor-post-info__terms-list span {
  display: inline-block;
  background: #000;
  color: #fff;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  margin-right: 6px;
  margin-bottom: 6px;
}

/* Start header menu desing */
/* Hide the desktop header completely */
#ast-desktop-header {
  display: none !important;
}

/* Show mobile header on ALL screen sizes */
#ast-mobile-header {
  display: block !important;
}

/* Ensure mobile header bar is visible */
#ast-mobile-header .ast-primary-header-bar {
  display: block !important;
}

/* Make sure the hamburger button and menu work on all screens */
#ast-mobile-header .ast-button-wrap,
#ast-mobile-header .menu-toggle {
  display: flex !important;
}

/* Ensure mobile menu content displays properly */
.ast-mobile-header-content {
  display: block !important;
}

/* Arrow color change on hover for buttons */
.arrow-hover .elementor-button-icon svg path {
  fill: currentColor;
}

.arrow-hover .elementor-button:hover .elementor-button-icon svg path {
  fill: #000f23;
}

/* Make mobile navigation work on desktop */
#ast-mobile-site-navigation {
  display: block !important;
}

/* Reorder button content - text first, then icon */
.menu-toggle.main-header-menu-toggle {
  display: flex !important;
  flex-direction: row-reverse; /* This reverses the order */
  align-items: center;
  gap: 8px; /* Space between text and icon */
}

/* Style the menu text */
.mobile-menu-wrap {
  display: inline-flex !important;
  align-items: center;
}

.mobile-menu {
  font-size: 16px;
  font-weight: 500;
  color: inherit;
}

/* Ensure icon is visible */
.mobile-menu-toggle-icon {
  display: inline-flex !important;
  align-items: center;
}

/* Optional: Adjust spacing and alignment */
.ast-button-wrap {
  display: flex !important;
  align-items: center;
}

/* End header menu desing */

/* Sidebar Modal Style */
.side-overlay {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 999999;
  top: 0;
  right: 0;
  background-color: #d6d7d7;
  overflow-x: hidden;
  transition: 0.5s;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
}

.overlay-content {
  padding: 67px 30px;
}

.closebtn {
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 45px;
  color: #000;
  text-decoration: none;
  cursor: pointer;
  line-height: 1;
  transition: 0.3s;
}

.closebtn:hover {
  opacity: 0.7;
}

.menu-icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.icon-item {
  text-align: center;
  font-size: 14px;
  color: #000f23;
  font-family: "Hina Mincho", serif;
}

.icon-circle {
  background: #fff;
  border-radius: 50%;
  width: 84px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
  transition: 0.3s;
  cursor: pointer;
}

.icon-circle:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.icon-circle img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.modal-main-links {
  width: 70%;
}

.modal-main-links a {
  display: block;
  padding: 15px 0;
  border-bottom: 1px solid #000f23;
  color: #000f23;
  text-decoration: none;
  font-size: 18px;
  font-family: "Hina Mincho", serif;
  transition: 0.3s;
}

.modal-main-links a:hover {
  padding-left: 10px;
  opacity: 0.7;
}

.modal-main-links a span {
  float: right;
}

.modal-social-links {
  display: flex;
  gap: 15px;
  margin-top: 22px;
}

.social-icon {
  width: 44px;
  height: 44px;
  background: #000f23;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.social-icon:hover {
  background: #333;
  transform: scale(1.1);
}

.modal-english-link {
  margin-top: 20px;
}

.modal-english-link a {
  color: #000f23;
  text-decoration: none;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: "Hina Mincho", Sans-serif;
}

.modal-english-link a:hover {
  text-decoration: underline;
}

.main-header-bar.scrolled {
  background-color: #00000040;
}

.custom-nav-trigger {
  position: fixed;
  right: 30px;
  top: 30px;
  z-index: 9999;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  background: transparent;
  border: none;
  transition: 0.3s;
}

.custom-nav-trigger:hover {
  opacity: 0.8;
}

.menu-label {
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 1px;
  font-family: "EB Garamond", Sans-serif;
  margin-top: -1px;
}

.hamburger-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hamburger-lines span {
  display: block;
  width: 28px;
  height: 1px;
  background-color: #fff;
  transition: 0.3s;
}

.hide-scrollbar {
  overflow: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.hide-scrollbar::-webkit-scrollbar {
  display: none;
}
.site-header .ast-builder-grid-row {
  padding-left: 20px;
}

/* =========================
   DESKTOP (DEFAULT)
========================= */

.banner-wrap {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.banner-overlay {
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform: translate(-50%, 50%);
  text-align: center;
  width: 100%;
}

.banner-title {
  font-family: "EB Garamond", serif;
  font-size: 88px;
  font-weight: 400;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.banner-breadcrumbs {
  font-size: 12px;
  color: #333;
  background-color: #fff;
  font-weight: 400;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  padding: 10px 0;
}

.banner-breadcrumbs .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

.link-button {
  text-decoration: none !important;
}

.footer-legal-links {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 4px;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 14px;
  color: #ffffff;
}

.legal-link {
  color: #ffffff !important;
  text-decoration: none !important;
  transition: opacity 0.3s ease;
}

.legal-link:hover {
  opacity: 0.7;
}

.separator {
  color: #ffffff;
  margin: 0 5px;
}

.wpcf7-form-control,
.form-intro-text {
  font-family: "Hina Mincho", Sans-serif;
}

.wpcf7 input.wpcf7-form-control:not([type="submit"]):focus,
.wpcf7 select.wpcf7-form-control:focus,
.wpcf7 textarea.wpcf7-form-control:focus {
  color: #000f23;
}

.breadcrumbs-link {
  color: #333;
}

.button-border .elementor-button {
  border-width: 0.3px 0.3px 0.3px 0.3px !important;
}

/* Pagination wrapper */
.custom-pagination .elementor-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 130px;
}

/* Page numbers & arrows */
.custom-pagination .elementor-pagination a,
.custom-pagination .elementor-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid #ccc;
  color: #000;
  text-decoration: none;
  font-size: 18px;
  background: #fff;
}

/* Active page */
.custom-pagination .elementor-pagination .current {
  background: #000f23;
  color: #fff;
  border-color: #000;
}

/* Hover effect */
.custom-pagination .elementor-pagination a:hover {
  background: #f5f5f5;
  border-color: #000;
}

/* Previous / Next arrows */
.custom-pagination .elementor-pagination .prev,
.custom-pagination .elementor-pagination .next {
  font-size: 0;
  border: none;
}

/* Angle Left (Previous) */
.custom-pagination .elementor-pagination .prev::before {
  content: "";
  display: inline-block;
  width: 40px;
  height: 40px;
  background-color: #000e22;

  /* ULTRA WIDE ANGLE & THIN STROKE FOR LEFT */
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='0.5' stroke-linecap='butt' stroke-linejoin='miter'><polyline points='15 18 9 12 15 6'></polyline></svg>")
    center / 50px 50px no-repeat;

  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='0.5' stroke-linecap='butt' stroke-linejoin='miter'><polyline points='15 18 9 12 15 6'></polyline></svg>")
    center / 50px 50px no-repeat;
}

/* Angle Right (Next) */
.custom-pagination .elementor-pagination .next::before {
  content: "";
  display: inline-block;
  width: 40px;
  height: 40px;
  background-color: #000e22;

  /* MATCHED THICKNESS (1.2) AND SHARP LOOK */
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='0.5' stroke-linecap='butt' stroke-linejoin='miter'><polyline points='9 18 15 12 9 6'></polyline></svg>")
    center / 50px 50px no-repeat;

  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='0.5' stroke-linecap='butt' stroke-linejoin='miter'><polyline points='9 18 15 12 9 6'></polyline></svg>")
    center / 50px 50px no-repeat;
}

.circle-icon-container {
  width: 120px !important;
  height: 120px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.circle-icon img {
  height: 100% !important;
  object-fit: contain !important;
}

#stay-details-link-button .elementor-button {
    width: 230px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 20px;
}

#stay-details-link-button .elementor-button > span {
    width: 100%;
    text-align: center;
	justify-content: center;
}

#stay-details-link-button .elementor-button-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}


.details-back-button .elementor-button {
    width: 232px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 20px;
}

.details-back-button .elementor-button > span {
    width: 100%;
    text-align: center;
    justify-content: center;
}

.details-back-button .elementor-button-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

/* Responsive */
@media (max-width: 1260px) {
  .circle-icon-container {
    width: 100px !important;
    height: 100px !important;
  }
}

@media (min-width: 1200px) {
  #ast-mobile-header {
    display: block !important;
  }
  #ast-desktop-header {
    display: none !important;
  }
}

/* Tablet */
@media (max-width: 1024px) {
  .circle-icon-container {
    width: 120px !important;
    height: 120px !important;
  }

  .custom-pagination .elementor-pagination {
    margin-top: 40px;
    gap: 6px;
    flex-wrap: wrap;
  }

  .custom-pagination .elementor-pagination a,
  .custom-pagination .elementor-pagination span {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .custom-pagination .elementor-pagination .prev::before,
  .custom-pagination .elementor-pagination .next::before {
    width: 28px;
    height: 28px;
    mask-size: 36px 36px;
    -webkit-mask-size: 36px 36px;
  }

  .page-list-slide-img {
    width: 50% !important;
    height: 260px;
    overflow: hidden;
  }
  .page-list-slide-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
  }
}

.inner-page-section-image img {
	display: block;
	object-fit: cover;
}

@media (min-width: 922px) {
  #ast-mobile-header {
    display: block !important;
  }
  #ast-desktop-header {
    display: none !important;
  }
}

/* =========================
   TABLET VIEW
========================= */

@media (max-width: 991px) {
  .banner-wrap {
    height: 300px;
  }

  .banner-title {
    font-size: 64px;
    letter-spacing: 0.04em;
  }

  .banner-overlay {
    bottom: 50%;
  }

  .banner-breadcrumbs {
    font-size: 11px;
    padding: 8px 0;
  }

  .banner-breadcrumbs .container {
    padding: 0 20px;
  }
}

@media (min-width: 769px) {
  #ast-mobile-header {
    display: block !important;
  }
  #ast-desktop-header {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .modal-main-links {
    width: 100%;
  }

  .overlay-content {
    padding: 67px 20px;
  }

  .custom-nav-trigger {
    right: 20px;
    top: 30px;
  }

  .menu-label {
    display: none;
  }
  .site-header .ast-builder-grid-row {
    padding-left: 0px;
  }
}

@media (max-width: 767px) {
  .footer-legal-links {
    justify-content: center;
    flex-wrap: wrap;
    font-size: 12px;
  }
	.scroll-indicator {
  bottom: 195px;
}
}

/* =========================
   MOBILE VIEW
========================= */

@media (min-width: 481px) and (max-width: 767px) {
  .page-list-slide-img {
    width: 50%;
    height: 200px !important;
    min-height: 200px;
    overflow: hidden;
  }

  .page-list-slide-img img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    display: block;
  }

  .circle-icon-container {
    width: 90px !important;
    height: 90px !important;
  }

  .circle-icon img {
    width: 60px !important;
    height: 60px !important;
    object-fit: contain !important;
  }
}

@media (max-width: 576px) {
  .banner-wrap {
    height: 220px;
  }

  .banner-overlay {
    bottom: 50%;
    padding: 0 15px;
  }

  .banner-title {
    font-size: 30px;
    line-height: 1.2;
    letter-spacing: 0.03em;
  }

  .banner-breadcrumbs {
    font-size: 10px;
    text-align: left;
    padding: 6px 0;
  }

  .banner-breadcrumbs .container {
    padding: 0 10px;
  }
}

/* Override all media queries */
@media (min-width: 544px) {
  #ast-mobile-header {
    display: block !important;
  }
  #ast-desktop-header {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .page-list-slide-img {
    width: 50%;
    height: 110px !important;
    min-height: 110px;
    overflow: hidden;
  }
	
  .page-title .elementor-heading-title,
  .page-title{
    font-size: 28px !important;
  }

  .page-details {
    font-size: 14px !important;
  }

  .post-section-details {
    font-size: 14px !important;
  }

  .post-title .elementor-heading-title {
    font-size: 24px !important;
  }

  .post-details,
  .stay-summary-item,
  .form-intro-text {
    font-size: 14px !important;
  }

  .post-category,
  .post-category .elementor-heading-title{
    font-size: 14px !important;
  }

  .circle-icon-container {
    width: 70px !important;
    height: 70px !important;
  }

  .circle-icon img {
    width: 38px !important;
    height: 38px !important;
    object-fit: contain !important;
  }
}