@charset "UTF-8";

/* ==========================================================================
   Variables - "Wa-modern" Theme
   ========================================================================== */
:root {
    --text-color: #2d2d2d;
    /* Deeper text */
    --bg-color: #fcfcf9;
    /* Washi-like off-white */
    --accent-color: #9c8242;
    /* Stronger Gold */
    --accent-dark: #7a6533;
    --secondary-color: #000000;
    /* Pure Black for titles */
    --border-color: #e0e0e0;

    --font-mincho: 'Shippori Mincho', serif;
    --font-gothic: 'Zen Kaku Gothic New', sans-serif;

    --transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    /* Smoother easing */
    --container-width: 1200px;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-gothic);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 2;
    letter-spacing: 0.08em;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    position: relative;
    overflow-x: hidden;
}

/* Washi Texture Overlay */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

ul {
    list-style: none;
}

/* ==========================================================================
   Typography & Utils
   ========================================================================== */
.section-title {
    font-family: var(--font-mincho);
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 3rem;
    font-weight: 500;
    position: relative;
    display: inline-block;
    padding-bottom: 40px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 40px;
    background-color: var(--accent-color);
    opacity: 0.5;
}

.no-line {
    padding-bottom: 0 !important;
    margin-bottom: 1.5rem !important;
}

.no-line::after {
    display: none !important;
}

.section-subtitle {
    display: block;
    font-size: 0.85rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
    font-family: var(--font-gothic);
}

.text-center {
    text-align: center;
}

.mb-5 {
    margin-bottom: 4rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mt-5 {
    margin-top: 4rem;
}

.shadow-lg {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.container {
    width: 88%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.container-sm {
    max-width: 800px;
}

.container-fluid {
    width: 100%;
    padding: 0 4%;
}

.bg-light {
    background-color: #f4f4f2;
}

.bg-dark {
    background-color: #2c2c2c;
    color: #f4f4f2;
}

.bg-soft {
    background-color: #f3f3f1;
    color: var(--text-color);
}

.section {
    padding: 120px 0;
    position: relative;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-primary,
.btn-reserv,
.btn-contact {
    display: inline-block;
    padding: 1.2rem 3.5rem;
    font-family: var(--font-mincho);
    font-size: 1rem;
    letter-spacing: 0.1em;
    border: 1px solid var(--body-color);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: transparent;
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--secondary-color);
    transition: var(--transition);
    z-index: -1;
}

.btn-primary:hover {
    color: #fff;
    padding-left: 4.5rem;
}

.btn-primary:hover::before {
    left: 0;
}

.btn-reserv,
.btn-contact {
    width: 260px;
    text-align: center;
    margin: 10px;
}

.btn-reserv {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #fff;
}

.btn-reserv:hover {
    background-color: #fff;
    color: var(--accent-color);
}

.btn-contact {
    background-color: #fff;
    border-color: #333;
    color: #333;
}

.btn-contact:hover {
    background-color: #333;
    color: #fff;
}

/* ==========================================================================
   Header
   ========================================================================== */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    transition: background-color 0.4s ease, padding 0.4s ease;
}

#header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    padding: 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 110px;
    padding: 10px 4%;
    transition: height 0.4s ease;
}

#header.scrolled {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#header.scrolled .header-inner {
    height: 90px;
    padding: 15px 4%;
}

#header.scrolled .logo-white {
    opacity: 0;
}

#header.scrolled .logo-black {
    opacity: 1;
}

#header.scrolled .logo a {
    width: 148px;
    /* 20% smaller than 185px */
    height: 42px;
    /* 20% smaller than 52px */
}

.logo a {
    display: block;
    position: relative;
    width: 185px;
    height: 52px;
    display: flex;
    align-items: center;
}

.logo {
    opacity: 0;
    transform: translateY(-30px);
    transition: opacity 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.logo.visible {
    opacity: 1;
    transform: translateY(0);
}

.logo img {
    width: 100%;
    height: auto;
    transition: opacity 0.4s ease;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.logo-white {
    opacity: 1;
    z-index: 2;
}

.logo-black {
    opacity: 0;
    z-index: 1;
}

#header.scrolled .logo-white {
    opacity: 0;
}

#header.scrolled .logo-black {
    opacity: 1;
}

.pc-nav ul {
    display: flex;
    align-items: center;
}

.pc-nav li {
    margin-left: 2.5rem;
}

.pc-nav a {
    font-size: 0.9rem;
    color: #fff;
    text-transform: uppercase;
    transition: color 0.4s ease;
    letter-spacing: 0.1em;
    position: relative;
}

.pc-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.pc-nav a:hover::after {
    width: 100%;
}

#header.scrolled .pc-nav a {
    color: #333;
}

.btn-nav {
    background-color: var(--accent-color);
    border: 1px solid var(--accent-color);
    padding: 0.6rem 1.8rem;
    color: #fff !important;
    border-radius: 2px;
}

.btn-nav::after {
    display: none;
}

.btn-nav:hover {
    background-color: var(--accent-dark);
    border-color: var(--accent-dark);
    color: #fff !important;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
    z-index: 1002;
}

.mobile-menu-btn span {
    position: absolute;
    right: 0;
    width: 100%;
    height: 1px;
    background-color: #fff;
    transition: var(--transition);
}

#header.scrolled .mobile-menu-btn span,
.sub-page #header .mobile-menu-btn span {
    background-color: #333;
}

.mobile-menu-btn span:nth-of-type(1) {
    top: 0;
}

.mobile-menu-btn span:nth-of-type(2) {
    top: 9px;
    width: 70%;
}

.mobile-menu-btn span:nth-of-type(3) {
    bottom: 0;
}

.mobile-menu-btn:hover span:nth-of-type(2) {
    width: 100%;
}

.mobile-menu-btn.active span:nth-of-type(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-of-type(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-of-type(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.mobile-menu-btn.active span {
    background-color: #333 !important;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: #fdfdfb;
    z-index: 1001;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    /* Stack vertically */
    transition: cubic-bezier(0.77, 0, 0.175, 1) 0.6s;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-inner {
    text-align: center;
    width: 100%;
}

.mobile-nav ul {
    text-align: center;
    margin-bottom: 3rem;
}

.mobile-nav li {
    margin: 1rem 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.mobile-nav.active li {
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav.active li:nth-child(1) {
    transition-delay: 0.2s;
}

.mobile-nav.active li:nth-child(2) {
    transition-delay: 0.3s;
}

.mobile-nav.active li:nth-child(3) {
    transition-delay: 0.4s;
}

.mobile-nav.active li:nth-child(4) {
    transition-delay: 0.5s;
}

.mobile-nav.active li:nth-child(5) {
    transition-delay: 0.6s;
}

.mobile-nav.active li:nth-child(6) {
    transition-delay: 0.7s;
}

.mobile-nav a {
    font-size: 1.4rem;
    font-family: var(--font-mincho);
    color: #333;
}

.mobile-contact-info {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease 0.8s, transform 0.4s ease 0.8s;
}

.mobile-nav.active .mobile-contact-info {
    opacity: 1;
    transform: translateY(0);
}

.mobile-contact-info p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 0.5rem;
}

.mobile-contact-info .email {
    font-size: 1.1rem;
    color: var(--accent-color);
    font-family: var(--font-mincho);
    display: block;
    margin-bottom: 1rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
#hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

#hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Layer 1: Dot pattern | Layer 2: Subtle overall darkening | Layer 3: Vignette for focus */
    background-image:
        radial-gradient(rgba(0, 0, 0, 0.4) 1px, transparent 1px),
        linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
        radial-gradient(circle, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.6) 100%);
    background-size: 3px 3px, 100% 100%, 100% 100%;
    z-index: 2;
}

.hero-video,
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* Both at same layer, visibility controlled by JS/Opacity */
    transition: opacity 1.5s ease;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slideshow {
    opacity: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease, transform 10s linear;
    transform: scale(1.05);
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
    transform: scale(1);
}

.hero-content {
    text-align: center;
    z-index: 10;
    /* Ensure this is on top of everything */
    position: relative;
}

.hero-title {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
}

.vertical-text {
    writing-mode: vertical-rl;
    font-family: var(--font-mincho);
    font-size: 3.5rem;
    color: #fff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.2em;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease;
}

.vertical-text.visible {
    opacity: 1;
    transform: translateY(0);
}

.vertical-text:nth-child(1) {
    transition-delay: 0.5s;
}

.vertical-text:nth-child(2) {
    transition-delay: 0.2s;
}

.hero-subtitle {
    color: #fff;
    font-size: 1rem;
    letter-spacing: 0.4em;
    font-family: var(--font-gothic);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    padding: 15px 30px;
    display: inline-block;
    opacity: 0;
    transform: scale(0.9);
    transition: all 1s ease 1s;
}

.hero-subtitle.visible {
    opacity: 1;
    transform: scale(1);
}

.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-family: var(--font-gothic);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    z-index: 5;
    /* Higher z-index just in case */
    opacity: 1;
    /* Maximum brightness */
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
    /* Glow effect for extra visibility */
}

.scroll-down::after {
    content: '';
    display: block;
    width: 1px;
    height: 70px;
    background-color: #fff;
    margin: 15px auto 0;
    animation: scrollLine 2s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}

@keyframes scrollLine {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

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

    51% {
        transform: scaleY(1);
        transform-origin: bottom;
    }

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

/* ==========================================================================
   Concept Section
   ========================================================================== */
.concept-content {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    font-family: var(--font-mincho);
    font-size: 1.15rem;
    line-height: 2.8;
    background-image: linear-gradient(to right, transparent, rgba(183, 156, 92, 0.1) 50%, transparent);
    background-size: 100% 1px;
    background-repeat: no-repeat;
    background-position: bottom;
    padding-bottom: 4rem;
}

.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

/* ==========================================================================
   Floor Map
   ========================================================================== */
.floor-img {
    max-width: 800px;
    width: 100%;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.08));
    margin: 0 auto;
}

.floor-desc {
    color: #666;
    margin-top: 3rem;
}

/* ==========================================================================
   Gallery Section
   ========================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1 / 1;
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}



.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover::after {
    background-color: rgba(0, 0, 0, 0.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 2;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-text {
    color: #fff;
    font-family: var(--font-mincho);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* --- Lightbox Styles --- */
#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

#lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

#lightbox-img {
    max-width: 90%;
    max-height: 85vh;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
    user-select: none;
    animation: zoomIn 0.4s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
    line-height: 1;
    transition: transform 0.3s ease;
}

.lightbox-close:hover {
    transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 3rem;
    cursor: pointer;
    padding: 20px;
    transition: color 0.3s ease;
    user-select: none;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    color: #fff;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

@media (max-width: 768px) {
    .lightbox-close {
        top: 15px;
        right: 15px;
        font-size: 2rem;
    }

    .lightbox-prev,
    .lightbox-next {
        padding: 10px;
        font-size: 2rem;
    }

    .lightbox-prev {
        left: 5px;
    }

    .lightbox-next {
        right: 5px;
    }
}

/* ==========================================================================
   Scenes Section
   ========================================================================== */
.scenes-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .scenes-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
}

.scene-card {
    border: 1px solid var(--border-color);
    padding: 0;
    /* Vertical breathing room handled by img and text padding */
    text-align: center;
    transition: var(--transition);
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    /* For rounded corners or clean edges */
}

.scene-card:hover {
    background-color: #fff;
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.scene-img {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    margin-bottom: 2rem;
}

.scene-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.scene-card:hover .scene-img img {
    transform: scale(1.1);
}

.scene-card-content {
    padding: 0 2rem 3rem;
}

.scene-card h4 {
    font-family: var(--font-mincho);
    margin-bottom: 1.5rem;
    font-size: 1.35rem;
    color: var(--accent-color);
}

.scene-card p {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.8;
}

/* ==========================================================================
   Access
   ========================================================================== */
.access-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

@media (min-width: 768px) {
    .access-content {
        flex-direction: row;
        align-items: stretch;
    }

    .map-container {
        flex: 1.2;
    }

    .access-info {
        flex: 0.8;
        padding-left: 3rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

.map-container iframe {
    width: 100%;
    height: 400px;
    filter: grayscale(0.2);
    transition: var(--transition);
}

.map-container:hover iframe {
    filter: grayscale(0);
}

.access-info h4 {
    font-family: var(--font-mincho);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.access-info hr {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 2rem 0;
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-title {
    font-family: var(--font-mincho);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.contact-text {
    margin-bottom: 3rem;
    color: #666;
}

.contact-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
}

.contact-tel {
    border-top: 1px solid #ddd;
    display: inline-block;
    padding-top: 3rem;
    width: 100%;
    max-width: 600px;
}

.tel-link {
    display: block;
    font-size: 2.5rem;
    font-family: var(--font-mincho);
    color: var(--secondary-color);
    line-height: 1.2;
    margin: 10px 0;
}

.tel-link:hover {
    color: var(--accent-color);
}

/* ==========================================================================
   Footer
   ========================================================================== */
#footer {
    background-color: #111;
    color: #fff;
    padding: 80px 0 40px;
}

.footer-logo {
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
}

.footer-logo img {
    width: 200px;
    height: auto;
}

.footer-links {
    margin-bottom: 3rem;
}

.footer-links li {
    display: inline-block;
    margin: 0 15px;
}

.footer-links a {
    color: #999;
    font-size: 0.85rem;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #fff;
    transition: var(--transition);
}

.footer-links a:hover {
    color: #fff;
}

.footer-links a:hover::after {
    width: 100%;
}

.copyright {
    color: #555;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

/* ==========================================================================
   Sub-pages & Others
   ========================================================================== */
.page-header {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.4;
    z-index: 0;
}

/* Page specific headers */
.ph-tour::before {
    background-image: url('../src/DSC_8468.JPG');
}

.ph-gallery::before {
    background-image: url('../src/DSC_8471.JPG');
}

.ph-price::before {
    background-image: url('../src/DSC_8512.JPG');
}

.ph-contact::before {
    background-image: url('../src/DSC_8524.JPG');
}

.ph-company::before {
    background-image: url('../src/DSC_8538.JPG');
}

.ph-privacy::before {
    background-image: url('../src/DSC_8555.JPG');
}

.page-header h2,
.page-header p {
    position: relative;
    z-index: 1;
}

.page-header h2 {
    font-family: var(--font-mincho);
    font-size: 3rem;
}

/* Responsive Fixes */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }

    .pc-nav {
        display: none;
    }

    .header-inner {
        height: 210px;
        padding-top: 130px;
        justify-content: center;
        align-items: flex-start;
        transition: all 0.4s ease;
        /* Ensure smooth transition */
    }

    /* Scrolled state for Mobile & Sub-pages default mobile */
    #header.scrolled,
    .sub-page #header {
        background-color: #fff;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    #header.scrolled .header-inner,
    .sub-page #header .header-inner {
        height: 80px;
        padding-top: 10px;
        justify-content: space-between;
        align-items: center;
    }

    #header.scrolled .logo-white,
    .sub-page #header .logo-white {
        opacity: 0;
    }

    #header.scrolled .logo-black,
    .sub-page #header .logo-black {
        opacity: 1;
    }

    #header.scrolled .mobile-menu-btn span,
    .sub-page #header .mobile-menu-btn span {
        background-color: #333;
    }

    .logo a {
        width: 266px;
        height: 76px;
        transition: all 0.4s ease;
    }

    #header.scrolled .logo a,
    .sub-page #header .logo a {
        width: 118px;
        /* 20% smaller than 148px */
        height: 33px;
        /* 20% smaller than 42px */
        margin-left: 0;
    }

    .mobile-menu-btn {
        display: block;
        position: absolute;
        right: 5%;
        top: 30px;
        transition: all 0.4s ease;
    }

    #header.scrolled .mobile-menu-btn {
        top: 50%;
        transform: translateY(-50%);
    }

    .hero-title {
        flex-direction: column;
        gap: 1rem;
        height: auto;
    }

    .vertical-text {
        writing-mode: horizontal-tb;
        font-size: 2rem;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    }

    .hero-subtitle {
        font-size: 0.9rem;
        padding: 10px 20px;
    }

    .container {
        width: 90%;
    }

    .btn-reserv,
    .btn-contact {
        width: 100%;
        margin: 5px 0;
    }

    .header-inner {
        height: 70px;
    }
}

/* Form Styles for Sub-pages */
.contact-form {
    background-color: #fff;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.required {
    background-color: #cc0000;
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 5px;
    margin-left: 5px;
    vertical-align: middle;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    font-family: inherit;
}

.form-submit {
    text-align: center;
    padding-top: 1rem;
}

/* Company Details */
.company-info dt {
    float: left;
    clear: left;
    width: 120px;
    font-weight: bold;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
}

.company-info dd {
    margin-left: 140px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
}

@media (max-width: 768px) {

    .company-info dt,
    .company-info dd {
        float: none;
        width: 100%;
        margin-left: 0;
        border: none;
        padding-bottom: 5px;
        margin-bottom: 5px;
    }

    .company-info dd {
        border-bottom: 1px solid #eee;
        margin-bottom: 15px;
    }
}

.policy-content h3,
.policy-content h4 {
    font-family: var(--font-mincho);
    margin-top: 2rem;
    margin-bottom: 1rem;
}