/* === LifeRealEstate - Photo-Rich Professional Design === */
:root {
    --color-primary: #1a3a5c;
    --color-primary-dark: #0f2440;
    --color-secondary: #2c5f8a;
    --color-accent: #c8a96e;
    --color-accent-light: #ddc9a0;
    --color-bg: #f8f9fa;
    --color-bg-alt: #eef2f6;
    --color-text: #2d3436;
    --color-text-light: #636e72;
    --color-white: #ffffff;
    --font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
    font-size: 15px;
    position: relative;
    min-height: 100%;
    scroll-behavior: smooth;
}

@media (min-width: 768px) {
    html { font-size: 16px; }
}

body {
    font-family: var(--font-family);
    color: var(--color-text);
    line-height: 1.8;
    margin-bottom: 0;
    background-color: var(--color-white);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--color-primary);
}

a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover { color: var(--color-primary); }

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem var(--color-secondary);
}

.form-control:focus, .form-select:focus {
    border-color: var(--color-secondary);
}

/* === Buttons === */
.btn-primary {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 0.75rem 2rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 58, 92, 0.35);
}

.btn-outline-primary {
    color: var(--color-primary);
    border-color: var(--color-primary);
    font-weight: 500;
    padding: 0.75rem 2rem;
    border-radius: 4px;
}

.btn-outline-primary:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-outline-light {
    border-width: 2px;
    font-weight: 500;
    padding: 0.75rem 2rem;
    border-radius: 4px;
}

.btn-outline-light:hover {
    transform: translateY(-2px);
}

.btn-accent {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-primary-dark);
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-accent:hover {
    background-color: var(--color-accent-light);
    border-color: var(--color-accent-light);
    color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 169, 110, 0.3);
}

/* === Navbar === */
.site-navbar {
    background-color: rgba(15, 36, 64, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.8rem 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-white) !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 0.05em;
}

.brand-icon { display: flex; align-items: center; }

.site-navbar .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s ease;
    position: relative;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
    color: var(--color-white) !important;
}

.site-navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.site-navbar .nav-link:hover::after { width: 60%; }

/* === Hero Section === */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(15, 36, 64, 0.85) 0%, rgba(26, 58, 92, 0.7) 50%, rgba(44, 95, 138, 0.6) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem 0;
}

.hero-label {
    display: inline-block;
    color: var(--color-accent);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    border: 1px solid var(--color-accent);
    padding: 0.4rem 1.5rem;
    border-radius: 30px;
}

.hero-title {
    color: var(--color-white);
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

@media (min-width: 768px) {
    .hero-title { font-size: 3.2rem; }
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 2;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons { margin-top: 1rem; }

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-align: center;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-8px); }
    60% { transform: translateX(-50%) translateY(-4px); }
}

/* === Section Styles === */
.section-title {
    font-size: 1.6rem;
    color: var(--color-primary);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--color-accent);
}

.text-center .section-title::after,
.section-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-lead {
    font-size: 1.05rem;
    color: var(--color-text-light);
    line-height: 2;
}

.section-eyebrow {
    display: block;
    color: var(--color-accent);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

/* === About Intro Section (with photo) === */
.section-about-intro {
    padding: 6rem 0;
    background-color: var(--color-white);
}

.about-intro-img {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(26, 58, 92, 0.15);
    position: relative;
}

.about-intro-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 350px;
    display: block;
}

.about-intro-img .img-accent {
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 120px;
    height: 120px;
    background-color: var(--color-accent);
    border-radius: 8px;
    z-index: -1;
}

/* === Reason Cards (with photos) === */
.section-reasons {
    padding: 6rem 0;
    background-color: var(--color-bg);
}

.reason-card {
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
}

.reason-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(26, 58, 92, 0.15);
}

.reason-card-img {
    height: 200px;
    overflow: hidden;
}

.reason-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.reason-card:hover .reason-card-img img {
    transform: scale(1.05);
}

.reason-card-body {
    padding: 1.8rem;
}

.reason-card-body h4 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: var(--color-primary);
}

.reason-card-body p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: 0;
}

/* === Area Cards (with photo backgrounds) === */
.section-area {
    padding: 6rem 0;
    background-color: var(--color-white);
}

.area-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 280px;
    cursor: pointer;
    transition: all 0.4s ease;
}

.area-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.area-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.area-card:hover img {
    transform: scale(1.08);
}

.area-card-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(15, 36, 64, 0.85) 0%, rgba(15, 36, 64, 0.2) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    color: var(--color-white);
}

.area-card-overlay h4 {
    color: var(--color-white);
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.area-card-overlay p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

/* === Stats Section === */
.section-stats {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: var(--color-white);
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1.2;
}

.stat-number span {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--color-accent-light);
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 0.3rem;
}

/* === CTA Section (with bg image) === */
.section-cta {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}

.section-cta .cta-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
}

.section-cta .cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-cta .cta-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(15, 36, 64, 0.9) 0%, rgba(26, 58, 92, 0.85) 100%);
}

.section-cta .cta-content {
    position: relative;
    z-index: 1;
}

.section-cta h2 {
    color: var(--color-white);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.section-cta p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    line-height: 2;
}

/* === Page Header (with bg photo) === */
.page-header {
    position: relative;
    padding: 5rem 0 4.5rem;
    text-align: center;
    overflow: hidden;
}

.page-header .header-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
}

.page-header .header-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-header .header-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(15, 36, 64, 0.9) 0%, rgba(44, 95, 138, 0.8) 100%);
}

.page-header .header-content {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    color: var(--color-white);
    font-size: 2rem;
    margin-bottom: 0.3rem;
    letter-spacing: 0.08em;
}

.page-header-sub {
    color: var(--color-accent-light);
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0;
}

/* === Section Content === */
.section-content {
    padding: 5rem 0;
    background-color: var(--color-white);
}

/* === Company Info Table === */
.company-info-table .table {
    border-collapse: separate;
    border-spacing: 0;
}

.company-info-table .table th {
    background-color: var(--color-bg);
    color: var(--color-primary);
    font-weight: 600;
    width: 160px;
    vertical-align: middle;
    padding: 1rem 1.2rem;
    border-color: #e0e4e8;
    font-size: 0.95rem;
}

.company-info-table .table td {
    padding: 1rem 1.2rem;
    border-color: #e0e4e8;
    vertical-align: middle;
}

/* === Message Card === */
.message-section {
    position: relative;
}

.message-section-img {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(26, 58, 92, 0.12);
}

.message-section-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 300px;
    display: block;
}

.message-card {
    background: var(--color-bg);
    border-radius: 12px;
    padding: 2.5rem;
    border-left: 4px solid var(--color-accent);
}

.message-card p {
    color: var(--color-text);
    line-height: 2;
    margin-bottom: 0.8rem;
}

.message-card p:last-of-type { margin-bottom: 0; }

.ceo-signature {
    text-align: right;
    font-weight: 700;
    color: var(--color-primary);
    margin-top: 1.5rem;
    margin-bottom: 0;
}

/* === Philosophy Cards === */
.philosophy-card {
    background: var(--color-bg);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.philosophy-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(26, 58, 92, 0.1);
    border-bottom-color: var(--color-accent);
}

.philosophy-icon { margin-bottom: 1rem; }

.philosophy-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.philosophy-card p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 0;
}

/* === Properties - Area Photo Cards === */
.prop-area-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 260px;
    transition: all 0.4s ease;
}

.prop-area-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.prop-area-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.prop-area-card:hover img { transform: scale(1.08); }

.prop-area-card .overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(15, 36, 64, 0.8) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
}

.prop-area-card .overlay h4 {
    color: var(--color-white);
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.prop-area-card .overlay p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* === Feature Section with Photo === */
.feature-showcase {
    padding: 6rem 0;
    background: var(--color-bg);
}

.feature-showcase-img {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(26, 58, 92, 0.12);
}

.feature-showcase-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
    display: block;
}

.feature-list { list-style: none; padding: 0; margin: 0; }

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem 0;
    border-bottom: 1px solid #e8ecf0;
}

.feature-list li:last-child { border-bottom: none; }

.feature-num {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
    min-width: 40px;
}

.feature-text h5 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.feature-text p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 0;
}

/* === Contact Split Layout === */
.contact-split {
    padding: 5rem 0;
    background: var(--color-white);
}

.contact-img {
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    min-height: 400px;
    box-shadow: 0 15px 50px rgba(26, 58, 92, 0.1);
}

.contact-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.contact-form-card {
    background: var(--color-bg);
    border-radius: 12px;
    padding: 2.5rem;
}

.contact-form-card .form-label {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-primary);
}

.contact-form-card .form-control,
.contact-form-card .form-select {
    border-color: #d1d9e0;
    padding: 0.7rem 1rem;
    border-radius: 6px;
}

/* === Privacy Content === */
.privacy-content h3 {
    font-size: 1.15rem;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    color: var(--color-primary);
}

.privacy-content p { line-height: 2; }
.privacy-content ul { padding-left: 1.5rem; }
.privacy-content ul li { margin-bottom: 0.3rem; line-height: 2; }

/* === Footer === */
.site-footer {
    background-color: var(--color-primary-dark);
    color: rgba(255, 255, 255, 0.75);
    padding: 4rem 0 1.5rem;
}

.footer-brand {
    color: var(--color-white);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.footer-desc {
    font-size: 0.85rem;
    line-height: 1.8;
}

.footer-heading {
    color: var(--color-accent-light);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li { margin-bottom: 0.4rem; }

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover { color: var(--color-white); }

.footer-divider {
    border-color: rgba(255, 255, 255, 0.15);
    margin: 2rem 0 1rem;
}

.footer-copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0;
}

/* === Form Floating Fix === */
.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}
