:root {
    --primary-color: #d4af37; /* Gold */
    --primary-hover: #b08d27;
    --bg-dark: #111111;
    --bg-darker: #0a0a0a;
    --text-main: #f5f5f5;
    --text-muted: #a0a0a0;
    --border-color: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(17, 17, 17, 0.7);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --font-sans: 'Inter', 'Noto Sans JP', sans-serif;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

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

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

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

.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }

.section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-color);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: transparent;
}

.header.scrolled, .header.force-dark {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-menu ul li a {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    color: #e0e0e0;
}

.nav-menu ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-menu ul li a:hover, .nav-menu ul li a.active {
    color: #ffffff;
}

.nav-menu ul li a:hover::after,
.nav-menu ul li a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: 1rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-dark);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--bg-dark);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-text {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.btn-text:hover {
    gap: 0.8rem;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.05);
    animation: slowZoom 20s ease-in-out infinite alternate;
}

@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10,10,10,0.3) 0%, rgba(10,10,10,1) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 0 5%;
}

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 2rem;
}

.hero-title .latin {
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 900;
    letter-spacing: 12px;
    color: transparent;
    -webkit-text-stroke: 1px var(--primary-color);
    background: linear-gradient(135deg, #d4af37 0%, #ffdf00 50%, #d4af37 100%);
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.hero-title .japanese {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: 5px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    margin-bottom: 3rem;
    font-weight: 400;
    letter-spacing: 2px;
    line-height: 1.8;
}

/* Page Header (for interior pages) */
.page-header {
    padding: 150px 0 50px;
    text-align: center;
    background: var(--bg-darker);
    border-bottom: 1px solid var(--border-color);
}

.page-title {
    font-size: 3rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 1rem;
}

.page-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Services Preview */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    padding: 3rem 2rem;
    border-radius: 8px;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.service-icon {
    width: 48px;
    height: 48px;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Mission Section */
.alt-bg {
    background-color: var(--bg-darker);
}

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

.mission-text {
    font-size: 1.2rem;
    line-height: 2;
    margin-bottom: 3rem;
    color: var(--text-muted);
}

.mission-text strong {
    color: var(--primary-color);
    font-size: 1.4rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(45deg, rgba(212,175,55,0.05), transparent);
    border-top: 1px solid var(--border-color);
}
.cta-section p {
    color: var(--text-muted);
    margin-top: 1rem;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
    background-color: var(--bg-dark);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand h2 {
    color: var(--primary-color);
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links nav {
    display: flex;
    gap: 1.5rem;
}

.footer-links nav a {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links nav a:hover {
    color: var(--primary-color);
}

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

/* Base Content Styling (for About, Services Pages) */
.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.content-block {
    margin-bottom: 4rem;
}

.content-block h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.content-block p {
    margin-bottom: 1.5rem;
    color: #cccccc;
    font-size: 1.1rem;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
}

.price-table th, .price-table td {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
}

.price-table th {
    color: var(--primary-color);
    font-weight: 600;
    width: 30%;
}

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

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-main);
    font-family: var(--font-sans);
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Responsive */
@media (max-width: 900px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--bg-darker);
        flex-direction: column;
        justify-content: center;
        padding: 2rem;
        transition: var(--transition);
        z-index: 999;
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        margin-bottom: 3rem;
    }

    .nav-menu ul li a {
        font-size: 1.2rem;
    }

    .nav-actions {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }

    .nav-actions .btn {
        width: 100%;
    }

    .mobile-menu-btn {
        display: block;
        z-index: 1000;
    }
}

/* Animations Tools */
.reveal-text, .reveal-fade, .reveal-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal-text.is-visible, .reveal-fade.is-visible, .reveal-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-text:nth-child(1) { transition-delay: 0.1s; }
.reveal-fade:nth-child(2) { transition-delay: 0.4s; }
.reveal-fade:nth-child(3) { transition-delay: 0.7s; }
