:root {
    --bg-color: #0d0d0d;
    --text-color: #e0e0e0;
    --primary-color: #ffffff;
    --accent-color: #007bff;
    --secondary-bg-color: #1a1a1a;
    --placeholder-bg: #222;
    --font-family: 'Poppins', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

#header.scrolled {
    background-color: rgba(13, 13, 13, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid #222;
}

#header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
}

.logo img {
    height: 40px;
    display: block;
    transition: height 0.3s ease;
}

#header.scrolled .logo img {
    height: 30px;
}

#header nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

#header nav a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 400;
    position: relative;
    transition: color 0.3s ease;
}

#header nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

#header nav a:hover {
    color: var(--accent-color);
}

#header nav a:hover::after {
    width: 100%;
}

/* Hero Section */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.7);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1;
    gap: 2rem;
}

.hero-logo-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    gap: 0.3rem;
}

.hero-title-main {
    font-size: clamp(5rem, 15vw, 12rem);
    font-weight: 700;
    letter-spacing: 0.2em;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.hero-title-sub {
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: 300;
    letter-spacing: 0.4em;
    opacity: 0.9;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 0.8rem;
    margin-top: 0.3rem;
}

.hero-subtext {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-weight: 300;
    color: var(--text-color);
    letter-spacing: 2px;
    margin-top: 1rem;
    text-transform: uppercase;
}

.hero-reservation {
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 600;
    color: var(--accent-color);
    letter-spacing: 0.3em;
    margin-top: 2rem;
    padding: 0.8rem 2rem;
    border: 2px solid var(--accent-color);
    border-radius: 50px;
    display: inline-block;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 123, 255, 0.8), 0 0 30px rgba(0, 123, 255, 0.5);
    }
}

.scroll-down {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 40px;
    border: 2px solid var(--primary-color);
    border-radius: 20px;
}

.scroll-down::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 2px;
    animation: scroll-indicator 2s infinite;
}

@keyframes scroll-indicator {
    0% { opacity: 1; top: 8px; }
    50% { opacity: 0; top: 20px; }
    100% { opacity: 0; top: 20px; }
}

/* Content Sections */
.content-section {
    padding: 6rem 0;
}

.about-logo {
    text-align: center;
    margin-bottom: 4rem;
}

.about-logo img {
    max-width: 600px;
    width: 90%;
    height: auto;
}

/* Offset for fixed header when scrolling to anchors */
.content-section[id] {
    scroll-margin-top: 110px;
}

.content-section h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: -2.5rem auto 4rem;
    color: #aaa;
    font-size: 1.05rem;
    line-height: 1.8;
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

#about p {
    max-width: 450px;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    overflow: hidden;
}

.image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.accent-bg {
    background-color: var(--secondary-bg-color);
    text-align: center;
}

#concept h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

#concept p {
    max-width: 600px;
    margin: 0 auto;
}

/* Details Section */
.details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.detail-card {
    border-radius: 8px;
    overflow: hidden;
    color: var(--primary-color);
    background-color: var(--secondary-bg-color);
}

.detail-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.detail-card:hover img {
    transform: scale(1.05);
}

.detail-card-content {
    padding: 1.5rem;
}

.detail-card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.detail-card-content p {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.6;
}

/* Pricing Section */
.pricing-subheading {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    margin-top: 4rem;
    border-bottom: 1px solid #333;
    padding-bottom: 0.5rem;
}
#pricing .pricing-subheading:first-of-type {
    margin-top: 0;
}
.pricing-note {
    text-align: left;
    color: #999;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.pricing-note-tight {
    margin-top: -1.5rem;
    margin-bottom: 2rem;
}

.grade-comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.three-grade-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.grade-card {
    background-color: var(--secondary-bg-color);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid #2a2a2a;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grade-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.grade-card h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.grade-card p {
    color: #aaa;
    margin-bottom: 1rem;
    min-height: 60px;
}

.grade-price {
    margin: 1.5rem 0;
    font-weight: 600;
    line-height: 1.1;
}

.grade-price .price-amount {
    font-size: 2.2rem;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.grade-price .price-note {
    font-size: 0.8rem;
    font-weight: 400;
    color: #999;
    margin-left: 0.5rem;
}

.grade-card ul {
    list-style: none;
    text-align: left;
}

.grade-card ul li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 25px;
}

.grade-card ul li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.grade-card ul li.base-model-item {
    padding-left: 0;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #3a3a3a;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #aaa;
}

.grade-card ul li.base-model-item::before {
    content: none;
}

.base-model-item strong {
    color: var(--text-color);
    font-weight: 600;
}

.grade-card ul li.note-item {
    padding-left: 0;
    color: #999;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.25rem;
}

.grade-card ul li.note-item:first-of-type {
    margin-top: 1rem;
}

.grade-card ul li.note-item::before {
    content: none;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background-color: var(--secondary-bg-color);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease, filter 0.4s ease;
}

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

/* Image Modal */
.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
}

.image-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 2rem;
    right: 3rem;
    color: #fff;
    font-size: 3rem;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10000;
}

.modal-close:hover {
    color: var(--accent-color);
}

.modal-nav {
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    pointer-events: none;
}

.modal-prev,
.modal-next {
    pointer-events: all;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: none;
    font-size: 2rem;
    padding: 1rem 1.5rem;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.modal-prev:hover,
.modal-next:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}


/* CTA Section / Contact Form */
.cta-section {
    text-align: center;
    background-color: var(--bg-color);
}

.cta-section p {
    max-width: 600px;
    margin: 0 auto 2rem;
}

.section-subtitle-jp {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 400;
    color: var(--accent-color);
    letter-spacing: 0.1em;
    margin: 1rem auto 1.5rem !important;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--accent-color);
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    background-color: #0056b3;
}

.contact-form {
    max-width: 800px;
    margin: 3rem auto 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    text-align: left;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.contact-form label {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #bbb;
    font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background-color: var(--secondary-bg-color);
    border: 1px solid #2a2a2a;
    border-radius: 5px;
    color: var(--text-color);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
}

.contact-form select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23e0e0e0' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .cta-button {
    grid-column: 1 / -1;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.form-note {
    font-size: 0.9rem;
    color: var(--accent-color);
    margin-top: 0.5rem;
    margin-bottom: 0;
}


/* Footer */
footer {
    padding: 3rem 0;
    background-color: var(--secondary-bg-color);
    text-align: center;
    color: #888;
    font-size: 0.9rem;
}
footer p {
    margin-bottom: 0.5rem;
}

/* Animations */
.fade-in, .fade-up {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in {
    transform: scale(0.95);
}

.fade-up {
    transform: translateY(30px);
}

.fade-in.visible, .fade-up.visible {
    opacity: 1;
    transform: none;
}
.hero-content .fade-in { 
    transition-delay: 0.2s; 
}


/* Responsive Design */
@media (max-width: 992px) {
    .three-grade-grid {
        grid-template-columns: 1fr;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .content-section {
        padding: 4rem 0;
    }
    .two-column, .detail-item, .detail-item.reverse {
        grid-template-columns: 1fr;
        grid-template-areas: unset !important;
        text-align: center;
    }
    .details-grid {
        grid-template-columns: 1fr;
    }
    #about p {
        margin: 0 auto;
    }
    #header nav ul {
        display: none; /* Simple hiding for mobile, could be a burger menu */
    }
    .grade-comparison-grid {
        grid-template-columns: 1fr;
    }
    .grade-card p {
        min-height: unset;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }
}