:root {
    --bg-dark: #090d16;
    --bg-card: #121824;
    --accent-cyan: #00f2fe;
    --accent-blue: #4facfe;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border-color: #1e293b;
    --glow: 0 0 15px rgba(0, 242, 254, 0.35);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Noto Sans JP', 'Montserrat', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

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

/* Header & Glassmorphism Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(9, 13, 22, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-main);
}

.nav-logo {
    width: 32px;
    height: 32px;
    margin-right: 10px;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.logo-text .accent {
    color: var(--accent-cyan);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    transition: all 0.3s ease;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-cyan);
    text-shadow: var(--glow);
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 700px;
}

.badge {
    background: rgba(0, 242, 254, 0.1);
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 242, 254, 0.3);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 25px;
    font-weight: 800;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 35px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.95rem;
    text-align: center;
}

.btn-glow {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    color: #000;
    border: none;
}

.btn-glow:hover {
    box-shadow: var(--glow);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

.btn-block {
    display: block;
    width: 100%;
}

.hero-actions {
    display: flex;
    gap: 15px;
}

/* Features Grid */
.features {
    padding: 80px 0;
    border-bottom: 1px solid var(--border-color);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-header p {
    color: var(--text-muted);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 40px 30px;
    border-radius: 12px;
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Rooms Catalog */
.rooms {
    padding: 80px 0;
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.room-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
}

.room-card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-5px);
}

.room-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.room-info {
    padding: 25px;
}

.room-info h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.room-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
    height: 54px;
    overflow: hidden;
}

.room-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-cyan);
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background: rgba(18, 24, 36, 0.4);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 12px;
}

.quote {
    font-style: italic;
    font-size: 1rem;
    margin-bottom: 25px;
}

.author {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
}

.author-title {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Booking & Form Styling */
.booking-section {
    padding: 100px 0;
}

.booking-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.booking-info h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.contact-quick {
    margin-top: 40px;
}

.phone-link {
    font-size: 2rem;
    color: var(--accent-cyan);
    font-weight: 800;
    text-decoration: none;
    letter-spacing: 1px;
}

.hours {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 10px;
}

.booking-form-wrapper {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 12px;
}

.booking-form .form-group {
    margin-bottom: 20px;
}

.booking-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.booking-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.booking-form input, .booking-form select {
    width: 100%;
    padding: 12px 15px;
    background: #090d16;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: #fff;
    font-size: 0.95rem;
    transition: border-color 0.3s;
}

.booking-form input:focus, .booking-form select:focus {
    border-color: var(--accent-cyan);
    outline: none;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group label {
    margin-bottom: 0;
}

.checkbox-group a {
    color: var(--accent-cyan);
    text-decoration: underline;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

/* Footer style */
.footer {
    border-top: 1px solid var(--border-color);
    background-color: #05070a;
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand .brand-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 15px;
    max-width: 320px;
}

.footer-links h4, .footer-legal-links h4 {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.footer-links a, .footer-legal-links a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover, .footer-legal-links a:hover {
    color: var(--accent-cyan);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-bottom p {
    margin-bottom: 10px;
}

/* Page Title Section */
.page-title {
    padding: 140px 0 60px;
    background-size: cover;
    background-position: center;
    text-align: center;
}

.page-title h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
}

.page-title p {
    color: var(--text-muted);
}

/* About & Contact Page Grid Layout */
.content-container {
    padding: 80px 20px;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
}

.about-text h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.about-meta-box {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 12px;
}

.meta-table {
    width: 100%;
    border-collapse: collapse;
}

.meta-table th, .meta-table td {
    padding: 12px 10px;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
    text-align: left;
}

.meta-table th {
    width: 30%;
    color: var(--text-muted);
}

.meta-table ul {
    list-style-position: inside;
}

/* Services Detail Page layout */
.services-detail {
    padding: 80px 0;
}

.service-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.service-block.reverse {
    direction: rtl;
}

.service-block.reverse .service-text-side {
    direction: ltr;
}

.service-image-side img {
    width: 100%;
    border-radius: 12px;
    height: 380px;
    object-fit: cover;
    border: 1px solid var(--border-color);
}

.room-number {
    color: var(--accent-cyan);
    font-weight: 700;
}

.service-text-side h2 {
    font-size: 2rem;
    margin-top: 10px;
}

.price-badge {
    color: var(--accent-cyan);
    font-weight: bold;
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.equipment-list {
    margin: 20px 0;
    list-style-type: none;
}

.equipment-list li {
    margin-bottom: 8px;
}

/* Accordion FAQ */
.accordion {
    margin: 40px auto;
}

.accordion-item {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--bg-card);
    margin-bottom: 15px;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 20px 25px;
    background: transparent;
    border: none;
    text-align: left;
    color: #fff;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-body {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-out;
    color: var(--text-muted);
}

.accordion-item.active .accordion-body {
    padding-bottom: 25px;
}

/* Imprint specific */
.imprint-table {
    width: 100%;
    margin-top: 40px;
    border: 1px solid var(--border-color);
}

.imprint-table th, .imprint-table td {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
}

.imprint-table th {
    background-color: var(--bg-card);
    width: 30%;
    text-align: left;
}

.privacy-section {
    padding: 140px 0 80px;
}

.text-content {
    max-width: 800px;
    margin: 0 auto;
}

.text-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.text-content h2 {
    font-size: 1.6rem;
    margin: 30px 0 15px;
}

.text-content p, .text-content ul {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.text-content ul {
    list-style-position: inside;
}

/* Thank You Section */
.thank-you-section {
    padding: 180px 0 100px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(0, 242, 254, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    color: var(--accent-cyan);
    margin: 0 auto 30px;
}

/* Cookie consent banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #0b0f19;
    border-top: 2px solid var(--accent-cyan);
    z-index: 9999;
    padding: 20px;
    box-shadow: 0 -5px 25px rgba(0,0,0,0.5);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Error Popups */
.error-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #ef4444;
    color: #fff;
    padding: 15px 25px;
    border-radius: 6px;
    z-index: 10000;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s;
}

.error-toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* Contact Grid Specific */
.contact-grid-page {
    padding: 80px 20px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
}

.contact-info-list p {
    margin-bottom: 12px;
}

.map-wrapper {
    margin-top: 30px;
    height: 300px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--bg-dark);
        flex-direction: column;
        align-items: center;
        padding-top: 60px;
        transition: left 0.4s ease;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .booking-container, .content-container, .service-block, .contact-grid-page {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-block.reverse {
        direction: ltr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}