:root {
  --bg: #ffffff;
  --bg-soft: #f8f8f8;
  --text: #000000;
  --muted: #777777;
  --primary: #000000;
  --primary-hover: #000000;
  --inverse: #000000;
  --light-text: #ffffff;
  --font-main: 'Zen Kaku Gothic New', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

html,
body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--text);
  background: var(--bg);
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.02em;
  overflow-x: hidden;
  position: relative;
  width: 100%;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-main);
  font-weight: 300;
}

.custom-navbar {
  padding: 1.6rem 0;
  -webkit-transition:
    background-color 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    padding 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transition:
    background-color 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    padding 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  background: transparent;
  z-index: 1035;
  overflow: visible;
}

.custom-navbar .container-fluid {
  min-height: 64px;
}

.custom-navbar.nav-scrolled {
  background: #000000;
  padding: 0.7rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.brand-mark {
  width: 3.5rem;
  height: 3.5rem;
  border: 2px solid var(--light-text);
  color: var(--light-text);
}

.brand-logo-img {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.brand-name {
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.1em;
  font-weight: 800;
  color: #ffffff;
  font-size: 1.35rem;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.nav-scrolled .brand-name {
  color: #ffffff;
}

.navbar-brand {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: calc(100vw - 120px);
}

.custom-navbar .nav-link {
  color: #ffffff;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  padding: 0.35rem 0;
  transition: opacity 0.3s ease;
}

.nav-scrolled .nav-link {
  color: #ffffff;
}

.nav-scrolled .nav-link:hover,
.nav-scrolled .nav-link.active {
  color: #ffffff;
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 8px;
}

.custom-navbar .nav-link:hover,
.custom-navbar .nav-link.active {
  color: #ffffff;
  opacity: 0.7;
}



.mobile-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 237, 231, 0.45);
  background: rgba(0, 0, 0, 0.45);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.mobile-toggle .bar {
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: #ffffff;
  display: block;
  transition: background 0.3s ease;
}

.nav-scrolled .mobile-toggle .bar {
  background: #ffffff;
}

.nav-scrolled .mobile-toggle {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.5);
}

.mobile-toggle:focus-visible {
  outline: 2px solid rgba(255, 237, 231, 0.7);
  outline-offset: 2px;
}

.mobile-nav {
  background: #ffffff;
  color: #000000;
}

.mobile-nav .nav-link {
  color: #000000;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.mobile-nav .nav-link:hover {
  color: #000000;
  opacity: 0.7;
}

.hero-section {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.contact-full-section {
  height: 400px;
  overflow: hidden;
}

.hero-swiper {
  width: 100%;
  height: 100vh;
}

.hero-image {
  object-fit: cover;
  height: 100vh;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(20, 12, 10, 0.45),
    rgba(20, 12, 10, 0.58)
  );
  z-index: 1;
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  padding: 1rem;
  pointer-events: none;
  -webkit-transition: -webkit-transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.hero-content .hero-btn {
  pointer-events: auto;
}

.carousel-indicators,
.carousel-control-prev,
.carousel-control-next,
.swiper-pagination,
.swiper-button-prev,
.swiper-button-next {
  z-index: 10;
  transition: opacity 0.5s ease;
}

.swiper-button-prev,
.swiper-button-next {
  color: #ffffff;
  background: rgba(0, 0, 0, 0.25);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.swiper-button-prev {
  left: 5.5rem;
}

.swiper-button-next {
  right: 5.5rem;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 1.25rem;
  font-weight: bold;
}

.swiper-pagination-bullet {
  background: #ffffff;
  opacity: 0.5;
  width: 12px;
  height: 12px;
}

.swiper-pagination-bullet-active {
  background: var(--primary);
  opacity: 1;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 6vw, 5rem);
  margin-bottom: 0.75rem;
}

.hero-content p {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.order-btn {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.8);
  color: #000000;
  border-radius: 0;
  padding: 0.9rem 2.8rem;
  font-weight: 500;
  font-size: 0.85rem;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.order-btn:hover,
.order-btn:focus {
  background: rgba(0, 0, 0, 0.05);
  border-color: #000000;
  color: #000000;
}

.order-btn-outline {
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.4);
}

.order-btn-outline:hover {
  background: #000000;
  color: #ffffff !important;
}

.hero-btn {
  background: #000000;
  border: 1px solid #000000;
  color: #ffffff;
  border-radius: 0;
  padding: 1.2rem 3.5rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.hero-btn:hover {
  background: #ffffff;
  color: #000000 !important;
  border-color: #ffffff;
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.section-block {
  width: 100%;
}

.section-padding {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.section-padding-no-bottom {
  padding-bottom: 0 !important;
}

.section-padding-extra-top {
  padding-top: 8rem !important;
}

.section-soft {
  background: var(--bg-soft);
}

.section-heading {
  margin-bottom: 3.5rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  margin-bottom: 0.7rem;
  font-weight: 300;
  text-transform: uppercase;
}

.section-accent {
  font-family: var(--font-main);
  font-weight: 300;
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.title-bar {
  width: 80px;
  height: 4px;
  background: var(--primary);
  margin: 1rem 0 1.2rem;
}

.title-bar-center {
  margin-left: auto;
  margin-right: auto;
}

.title-bar-contact {
  background-color: #ffffff;
  width: 40px;
  height: 3px;
}

@media (min-width: 992px) {
  .title-bar-contact {
    width: 3px;
    height: 40px;
  }
}

.section-text {
  font-size: 1.1rem;
  line-height: 2;
  color: var(--muted);
  font-weight: 400;
  margin-bottom: 2rem;
}

/* Split About Styles */
.about-split-section {
  padding: 0;
  background: #ffffff;
}

.about-split-container {
  display: flex;
  flex-wrap: wrap;
  min-height: 700px;
}

.about-left {
  flex: 0 0 50%;
  position: relative;
  background-image: url('../img/skaipittsburgh/skai-001.jpg');
  background-size: cover;
  background-position: center;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem;
}

.about-left::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

.about-left-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 400px;
}

.about-right {
  flex: 0 0 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 6.5rem;
  background: var(--bg-soft);
}

.about-right-content {
  max-width: 600px;
}

.about-logo-svg {
  width: 120px;
  height: auto;
  margin-bottom: 2.5rem;
  filter: drop-shadow(0 0 10px rgba(0,0,0,0.3));
}

.about-title-jp {
  font-size: 5rem;
  font-weight: 300;
  margin-bottom: 0.2rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.about-title-en {
  font-size: 0.95rem;
  letter-spacing: 0.8em;
  text-transform: uppercase;
  font-weight: 400;
  margin-bottom: 4.5rem;
  opacity: 0.8;
  padding-left: 0.8em;
}

.btn-ghost-white {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: #ffffff;
  padding: 1rem 3rem;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-ghost-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  color: #ffffff;
}

@media (max-width: 991.98px) {
  .about-left, .about-right {
    flex: 0 0 100%;
  }
  .about-left {
    min-height: 500px;
  }
  .about-right {
    padding: 4rem 2rem;
  }
}

.image-frame {
  position: relative;
  border-radius: 4px;
}

.image-frame img {
  width: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.image-frame-left::before {
  content: "";
  position: absolute;
  top: -14px;
  left: -14px;
  width: 100%;
  height: 100%;
  background: var(--bg-soft);
  z-index: -1;
  border-radius: 4px;
}

.image-frame-right::after {
  content: "";
  position: absolute;
  right: -16px;
  bottom: -16px;
  width: 45%;
  height: 45%;
  border: 8px solid #ffe2d9;
  z-index: -1;
  border-radius: 4px;
}

.special-card {
  text-align: center;
  border-radius: 4px;
}

.special-image-wrap {
  overflow: hidden;
  aspect-ratio: 1 / 1;
  margin-bottom: 1.25rem;
  border-radius: 4px;
}

.special-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  border-radius: 4px;
}

.special-card:hover .special-image-wrap img {
  transform: scale(1.06);
}

.special-card h3 {
  font-size: 1.35rem;
  margin: 0;
}

.gallery-box {
  margin-top: 2.2rem;
}

.gallery-item {
  width: 100%;
  display: block;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  border-radius: 4px;
  -webkit-transition:
    -webkit-transform 0.3s ease,
    box-shadow 0.3s ease;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.gallery-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: 4px;
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.65);
}

.contact-map {
  position: relative;
  height: 400px;
  border-radius: 4px;
  overflow: hidden;
}

.contact-map::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(64, 64, 64, 0.35);
  pointer-events: none;
  z-index: 2;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) brightness(0.4) contrast(1.2);
}

.site-footer {
  background: var(--inverse);
  color: #ffffff;
}

.site-footer h4 {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 1.08rem;
  border-bottom: 1px solid rgba(255, 237, 231, 0.2);
  padding-bottom: 0.8rem;
  margin-bottom: 1rem;
  color: #d0d0d0;
}

.site-footer p {
  color: #b0b0b0;
  line-height: 1.85;
  font-size: 1.15rem;
}

.site-footer a {
  color: #b0b0b0;
  font-size: 1.15rem;
  transition: color 0.3s ease;
}

.site-footer a:hover {
  color: #ffffff;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 2.4rem;
  height: 2.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border: 1px solid rgba(255, 237, 231, 0.35);
  text-decoration: none;
  border-radius: 4px;
}

.social-link:hover,
.social-link:focus {
  color: #ffffff;
  border-color: rgba(255, 237, 231, 0.8);
}

.footer-column-social {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}

.footer-copyright {
  text-align: left;
  margin-top: 1rem;
  padding-top: 0;
  border-top: none;
  letter-spacing: 0.05em;
  color: #b0b0b0;
  font-size: 0.85rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 237, 231, 0.16);
}

.floating-order-btn {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 80px;
  height: 80px;
  background: #000000;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px 0 0 8px;
  z-index: 1040;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  line-height: 1.2;
  text-align: center;
}

.floating-order-btn:hover,
.floating-order-btn:focus {
  color: #ffffff;
  background: #222222;
}

@media (max-width: 991.98px) {
  .image-frame-right::after {
    display: none;
  }

  .brand-name {
    font-size: 0.9rem;
    letter-spacing: 0.05em;
  }

  .navbar-brand {
    max-width: calc(100vw - 80px);
  }

  .custom-navbar,
  .custom-navbar.nav-scrolled {
    background: #000000 !important;
    padding: 0.6rem 0;
    transition: none;
    box-shadow: none;
  }

  .custom-navbar .container-fluid {
    min-height: 56px;
  }

  .brand-mark {
    width: 2.7rem;
    height: 2.7rem;
  }

  .py-lg-6 {
    padding-top: 4.2rem;
    padding-bottom: 4.2rem;
  }

  .contact-map {
    height: 480px;
  }

  .about-title-jp {
    font-size: 3rem;
    letter-spacing: 0.15em;
  }

  .about-title-en {
    font-size: 0.85rem;
    letter-spacing: 0.4em;
    margin-bottom: 2.5rem;
    padding-left: 0.4em;
  }

  .about-left {
    padding: 3rem 1.5rem;
  }
}

@media (max-width: 767.98px) {
  .hero-content p {
    margin-bottom: 1.25rem;
  }

  .floating-order-btn {
    width: 72px;
    height: 72px;
    right: 0;
    font-size: 0.83rem;
  }

  .about-title-jp {
    font-size: 2.4rem;
    letter-spacing: 0.1em;
  }

  .about-title-en {
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    margin-bottom: 2rem;
  }
}
