/* Theme Colors
 *
 * Change these variables to create a different color theme.
 * The rest of the stylesheet uses these variables instead
 * of hardcoded colors.
 */

:root {
    /* Main */
    --color-background: #120507;        /* Very dark wine black */
    --color-text: #fceee8;              /* Soft blush tint */

    /* Header / Footer */
    --color-header-background: #240a0f; /* Rich deep burgundy */
    --color-footer-background: #1b070b; /* Slightly darker midnight rose */

    /* Text */
    --color-text-muted: #b08a90;        /* Dusty rose mauve */
    --color-text-light: #ffffff;        /* Pure white */

    /* Accent */
    --color-accent: #c41e3a;            /* Velvet crimson red */
    --color-accent-light: #ff6b81;      /* Bright neon rose pink */

    /* Borders */
    --color-border: #3b1118;            /* Dark garnet border */
    --color-border-light: #521922;      /* Medium wine border */

    /* Overlay */
    --color-overlay: rgba(15, 3, 5, 0.88); /* Deep ruby night overlay */

    /* Animaiton */
    --animation-duration: 0.8s;
    --animation-delay: 0s;
}

/* Common WordPress CSS to disable or changes
 * 
 * Our original PHP files did not accounted for these css, so
 * we decided to disable them or changes them.
*/

.wp-block-group__inner-container {
    width: 100%;
    max-width: none !important;
	gap: unset !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.wp-block-navigation__container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    width: auto;
    margin: 0;
    padding: 0;
    list-style: none;
	gap: unset !important;
}

.wp-block-navigation-item {
    display: flex;
    align-items: stretch;
    margin: 0;
    padding: 0;
    border-left: 1px solid var(--color-text-light);
    border-right: 1px solid var(--color-text-light);
}

.wp-block-navigation-item__content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.5rem;
    color: var(--color-text-light) !important;
    text-decoration: none;
    font-size: 1.25rem;
    line-height: 1.5;
    white-space: nowrap;
}

.wp-block-site-title {
    margin-top: 0;
    margin-bottom: 0;
}

.wp-block-site-title a {
    color: var(--color-text-muted);
    text-decoration: none;
}

.wp-block-social-links {
    margin-top: 0;
    margin-bottom: 0;
}

.wp-block-navigation {
    width: auto;
    max-width: none !important;
    display: flex;
    justify-content: center;
}

.wp-block-navigation-item__content:hover {
    color: var(--color-text-light) !important;
}

.wp-block-navigation-item__label {
    margin: 0;
    padding: 0;
}

/* 
 * Common CSS 
 */

/* Bootstrap container-fluid */
.container-fluid {
    width: 100%;
    max-width: none !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    display: flex;
    flex-direction: column;
}

.bg-glass {
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
}

* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}

body {
	font-family:
		"ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, Osaka,
		"ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	background-color: var(--color-background);
	color: var(--color-text);
}

body.modal-open {
    overflow: hidden;
}

/* header.php */

.site-header {
    width: 100%;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.site-header.alignfull {
    width: 100%;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.site-header .navbar {
    width: 100%;
    max-width: none !important;
    margin: 0 !important;
    padding: 0;
    
    display: flex;
    flex-direction: column;
}

.navbar-top {
    width: 100%;
    display: flex;

    justify-content: space-between;
    align-items: center;
}

.navbar-logo {
    color: var(--color-text-muted);
    border-bottom-color: var(--color-text-muted);

    font-size: 1.5rem;
    font-weight: 1200;
}

.navbar-top p {
    margin-top: 0;
    margin-bottom: 0;
}

.navbar-toggler {
    border: none;
}

.navbar-bottom {
    width: 100%;
    justify-content: center;
    background-color: var(--color-header-background);
    color: var(--color-text-light);
    min-height: 50px;
}

@media (max-width: 991.98px) {

    .navbar-bottom {
        width: 100%;
        min-height: auto;
        justify-content: stretch;
    }

    .navbar-bottom .wp-block-navigation {
        width: 100%;
        max-width: none !important;
        display: flex;
        justify-content: stretch;
    }

    .navbar-bottom .wp-block-navigation__container {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0 !important;
    }

    .navbar-bottom .wp-block-navigation-item {
        width: 100%;
        display: flex;
        align-items: stretch;
        border-left: none;
        border-right: none;
        border-bottom: 1px solid var(--color-text-light);
    }

    .navbar-bottom .wp-block-navigation-item:first-child {
        border-top: 1px solid var(--color-text-light);
    }

    .navbar-bottom .wp-block-navigation-item__content {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0.65rem 1rem;
        font-size: 1rem;
        line-height: 1.5;
        white-space: nowrap;
    }
}

/* front-page.php */

.hero {
	height: calc(100dvh - 120px);
}

.hero .carousel,
.hero .carousel-inner,
.hero .carousel-item {
	height: 100%;
}

.hero .carousel-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.section {
	padding: 120px;
	font-size: 1rem;
}

.section-about {
    background-position: 0 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.section .cast-card-sub-text {
    color: var(--color-text-light) !important;
}

.card-section {
	padding: 60px 120px;
	font-size: 1rem;
	background-color: var(--color-header-background);
	color: var(--color-text-light) !important;
}

@media (max-width: 768px) {
	.section {
		padding: 60px 30px;
		font-size: 12px !important;
	}

	.card-section {
		padding: 60px 30px;
		font-size: 10px !important;
	}

	.cast-card-sub-text {
		font-size: 12px !important;
	}
}

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

.cast-card-image {
    position: relative;
}

.cast-card-image img {
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	display: block;
}

.cast-card-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px;
    background-color: var(--color-overlay);
    color: var(--color-text-light);
    text-align: center;
}

.cast-card-text {
	padding-top: 5px;
	padding-bottom: 5px;
    color: white;
}

.cast-card-sub-text {
	padding-top: 5px;
	padding-bottom: 5px;
	background-color: var(--color-accent);
}

/* page-system.php */

.luxury-price-table {
	max-width: 700px;
	margin: 0 auto;

	border-collapse: separate;
	border-spacing: 0;
}

.luxury-price-table td {
	padding: 1rem 1.5rem;
	border-bottom: 1px solid var(--color-border);
}

.luxury-price-table td:first-child {
	width: 35%;
    background-color: var(--color-accent-light);
    color: var(--color-text-light);
	font-weight: 600;
}

.luxury-price-table td:last-child {
	color: var(--color-text-muted);
}

.luxury-price-table tr:last-child td {
	border-bottom: none;
}

/* single-cast.php */

.cast-single-main-image img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.cast-gallery-thumbnail {
    display: block;
    width: 100%;
    padding: 0;
    border: 2px solid transparent;
    background: none;
    cursor: pointer;
}

.cast-gallery-thumbnail img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.cast-gallery-thumbnail.active {
    border-color: var(--color-accent);
}

.cast-gallery-thumbnail:hover {
    border-color: var(--color-accent);
}

.cast-info-table th {
    width: 35%;
    font-weight: 600;
}

.cast-info-table td {
    width: 65%;
}

.cast-description {
    padding-top: 30px;
    border-top: 1px solid var(--color-border-light);
}

/* footer.php */

.site-footer {
    width: 100%;
    margin: 0   ;
    padding: 0;
    background-color: var(--color-footer-background);
    color: var(--color-text-light);
}

.footer-nav {
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: var(--color-footer-background);
}

/* WordPress Navigation Block */
.footer-navigation {
    display: flex;
    justify-content: center;
    align-items: stretch;
    width: 100%;
    max-width: none !important;
    margin: 0;
    padding: 0;
    list-style: none;
    gap: 0 !important;
}

/* Navigation items */
.footer-navigation .wp-block-navigation-item {
    display: flex;
    align-items: stretch;
    margin: 0;
    padding: 0;
    border-left: 1px solid var(--color-text-light);
    border-right: 1px solid var(--color-text-light);
}

/* Navigation links */
.footer-navigation .wp-block-navigation-item__content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.875rem;
    color: var(--color-text-light) !important;
    text-decoration: none;
    font-size: 1.25rem;
    line-height: 1.5;
    white-space: nowrap;
}

.footer-navigation .wp-block-navigation-item__content:hover {
    color: var(--color-text-light) !important;
}

.footer-navigation .wp-block-navigation-item__label {
    margin: 0;
    padding: 0;
}

.footer-nav-list {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-nav-item {
    margin: 0;
    padding: 0;
    border-left: 1px solid var(--color-text-light);
    border-right: 1px solid var(--color-text-light);
}

.footer-nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.875rem;
    color: var(--color-text-light);
    text-decoration: none;
    font-size: 1.25rem;
    line-height: 1.5;
    white-space: nowrap;
}

.footer-nav-link:hover {
    color: var(--color-text-light);
}

.footer-info {
    width: 100%;
    padding: 3rem 1.5rem;
}

.footer-info-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

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

.footer-info-text p {
    margin: 0 0 0.5rem 0;
}

.footer-info-text p:last-child {
    margin-bottom: 0;
}

.footer-copyright {
    width: 100%;
    padding: 1rem 1.5rem;
    text-align: center;
    border-top: 1px solid var(--color-text-light);
}

.footer-copyright p {
    margin: 0;
    font-size: 0.875rem;
}

.footer-copyright a {
    color: var(--color-text-light);
    text-decoration: none;
}

.footer-copyright a:hover {
    color: var(--color-text-light);
}

@media (max-width: 991.98px) {

    .footer-navigation {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        width: 100% !important;
        gap: 0 !important;
    }
    
    .footer-navigation .wp-block-navigation-item {
        display: flex !important;
        width: 100% !important;
        min-width: 100% !important;
        border-left: none;
        border-right: none;
        border-bottom: 1px solid var(--color-text-light);
    }

    .footer-navigation .wp-block-navigation-item:first-child {
        border-top: 1px solid var(--color-text-light);
    }

    .footer-navigation .wp-block-navigation-item__content {
        display: flex !important;
        width: 100% !important;
        align-items: center;
        justify-content: center;
        padding: 0.6rem 1rem;
        font-size: 0.95rem;
        line-height: 1.4;
        white-space: nowrap;
    }

    .footer-nav-list {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .footer-nav-item {
        width: 100%;

        border-left: none;
        border-right: none;

        border-bottom: 1px solid var(--color-text-light);
    }

    .footer-nav-item:first-child {
        border-top: 1px solid var(--color-text-light);
    }

    .footer-nav-link {
        width: 100%;
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }

    .footer-info {
        padding: 2rem 1rem;
    }

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

    .footer-info-text p {
        font-size: 0.9rem;
    }

    .footer-copyright {
        padding: 1rem;
    }

    .footer-copyright p {
        font-size: 0.75rem;
    }
}

/* Animation CSS */

.fade-in-up {
    opacity: 0;
    transform: translateY(50px);
}

.fade-in-down {
    opacity: 0;
    transform: translateY(-50px);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
}

.fade-in-up.is-visible {
    animation: 
    fadeInUp 
    var(--animation-duration) 
    ease-out 
    var(--animation-delay)
    both;
}

.fade-in-down.is-visible {
    animation: 
    fadeInDown 
    var(--animation-duration) 
    ease-out 
    var(--animation-delay)
    both;
}

.fade-in-left.is-visible {
    animation: 
    fadeInLeft 
    var(--animation-duration) 
    ease-out 
    var(--animation-delay)
    both;
}

.fade-in-right.is-visible {
    animation: 
    fadeInRight 
    var(--animation-duration) 
    ease-out 
    var(--animation-delay)
    both;
}

.fade-delay-1 {
    animation-delay: 0.2s !important;
}

.fade-delay-2 {
    animation-delay: 0.4s !important;
}

.fade-delay-3 {
    animation-delay: 0.6s !important;
}

.fade-delay-4 {
    animation-delay: 0.8s !important;
}

.fade-delay-5 {
    animation-delay: 1s !important;
}

/* Keyframes... */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Pop up Modal */
.age-modal {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.age-modal-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    max-width: 500px;
    width: 90%;
}

.age-modal-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}