:root {
    --primary: #0E5E73;      /* Original Navy */
    --secondary: #173A63;    /* Dark Navy */
    --accent: #C5A059;       /* Gold Accent for Luxury */
    --text: #333333;
    --text-light: #666666;
    --bg-light: #F9F9F9;
    --white: #ffffff;
    --max-width: 1200px;
    --font-serif: 'Noto Serif JP', serif;
    --font-sans: 'Noto Sans JP', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text);
    line-height: 1.8;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, .subtitle, .logo {
    font-family: var(--font-serif);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

.section-gray {
    background-color: var(--bg-light);
}

.section-dark {
    background-color: var(--secondary);
    color: var(--white);
}

/* Typography Helpers */
.subtitle {
    display: block;
    color: var(--accent);
    font-size: 14px;
    letter-spacing: 0.2em;
    font-weight: 600;
    margin-bottom: 16px;
    position: relative;
    padding-left: 50px;
}

.subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 40px;
    height: 1px;
    background: var(--accent);
}

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

.section-header .subtitle {
    display: inline-block;
    padding-left: 0;
    padding-bottom: 10px;
}

.section-header .subtitle::before {
    display: none;
}

.section-header h2 {
    font-size: 32px;
    letter-spacing: 0.1em;
}

/* Navigation */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease;
    padding: 20px 0;
    color: var(--white);
}

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    padding: 12px 0;
    color: var(--secondary);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.logo-sub {
    font-size: 10px;
    font-family: var(--font-sans);
    letter-spacing: 0.1em;
    opacity: 0.8;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.05em;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s;
}

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

.btn-nav {
    border: 1px solid currentColor;
    padding: 10px 24px;
    border-radius: 4px;
    transition: all 0.3s;
}

.btn-nav:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

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

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.hero-slider {
    height: 100%;
    width: 100%;
}

.swiper-slide {
    position: relative;
    overflow: hidden;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    /* Ken Burns Effect */
    transform: scale(1);
    transition: transform 8s ease;
}

.swiper-slide-active .slide-bg {
    transform: scale(1.1);
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 10%; /* Left aligned */
    transform: translateY(-50%);
    color: var(--white);
    z-index: 10;
    max-width: 600px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.slide-content h2 {
    font-size: 48px;
    line-height: 1.4;
    margin-bottom: 24px;
    letter-spacing: 0.1em;
}

.slide-content p {
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 0.05em;
}

/* Overlay for text readability */
.swiper-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0) 100%);
    z-index: 1;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    letter-spacing: 0.2em;
    animation: bounce 2s infinite;
}

.scroll-indicator .line {
    width: 1px;
    height: 60px;
    background: var(--white);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateX(-50%) translateY(0);}
    40% {transform: translateX(-50%) translateY(-10px);}
    60% {transform: translateX(-50%) translateY(-5px);}
}

/* Concept Section */
.concept-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.concept-text h3 {
    font-size: 32px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.concept-text p {
    color: var(--text-light);
    margin-bottom: 24px;
}

.concept-image {
    position: relative;
}

.image-wrapper {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.image-wrapper img {
    transition: transform 0.6s;
    width: 100%;
}

.concept-image:hover .image-wrapper img {
    transform: scale(1.05);
}

.stat-box {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: var(--white);
    padding: 30px;
    display: flex;
    gap: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 4px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-item .num {
    font-family: var(--font-serif);
    font-size: 40px;
    color: var(--primary);
    font-weight: 600;
    line-height: 1;
}

.stat-item .label {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 5px;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: transform 0.4s, box-shadow 0.4s;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(14, 94, 115, 0.15);
}

.service-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.service-info {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-info .icon {
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 20px;
    transition: background 0.3s, color 0.3s;
}

.service-card:hover .service-info .icon {
    background: var(--primary);
    color: var(--white);
}

.service-info h3 {
    font-size: 20px;
    margin-bottom: 16px;
    color: var(--secondary);
}

.service-info p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 24px;
    flex-grow: 1;
}

.read-more {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.read-more i {
    transition: transform 0.3s;
}

.read-more:hover i {
    transform: translateX(5px);
}

/* Testimonial Parallax */
.testimonial-parallax {
    position: relative;
    background-image: url('../images/hero-2.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    padding: 120px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallax-overlay {
    position: absolute;
    inset: 0;
    background: rgba(14, 94, 115, 0.85); /* Navy Overlay */
}

.quote-icon {
    font-size: 40px;
    color: var(--accent);
    margin-bottom: 24px;
    opacity: 0.8;
}

.testimonial-text {
    font-family: var(--font-serif);
    font-size: 24px;
    line-height: 1.8;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--white);
}

.testimonial-author {
    font-size: 16px;
    opacity: 0.9;
    letter-spacing: 0.1em;
    color: var(--white);
}

/* Company */
.company-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.company-list {
    border-top: 1px solid #eee;
}

.list-row {
    display: grid;
    grid-template-columns: 140px 1fr;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    font-size: 15px;
}

.list-row dt {
    font-weight: 600;
    color: var(--secondary);
}

.map-container iframe {
    width: 100%;
    height: 300px;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-desc {
    margin-bottom: 40px;
    opacity: 0.9;
}

.detail-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.detail-item i {
    font-size: 24px;
    color: var(--accent);
    margin-top: 4px;
}

.detail-item div {
    display: flex;
    flex-direction: column;
}

.detail-item span {
    font-size: 12px;
    opacity: 0.7;
    margin-bottom: 4px;
}

.detail-item a {
    font-size: 24px;
    font-family: var(--font-serif);
}

.detail-item small {
    font-size: 12px;
    opacity: 0.7;
    margin-top: 4px;
}

.elegant-form {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    color: var(--text);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--secondary);
}

.required {
    color: #e74c3c;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    transition: border 0.3s;
    background: #fafafa;
}

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

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

.submit-btn {
    width: 100%;
    padding: 16px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    letter-spacing: 0.1em;
}

.submit-btn:hover {
    background: var(--secondary);
}

/* Footer */
.footer {
    background: #111;
    color: #999;
    padding: 40px 0;
    font-size: 12px;
}

.footer-links {
    margin-top: 16px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

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

/* Responsive */
@media (max-width: 900px) {
    .slide-content h2 { font-size: 36px; }
    .concept-grid, .contact-grid, .company-wrapper { grid-template-columns: 1fr; gap: 40px; }
    .services-grid { grid-template-columns: 1fr; }
    .stat-box { position: static; margin-top: 20px; width: 100%; justify-content: space-around; }
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
}
