:root {
    --primary: #3A4F41;
    --secondary: #F5F5F5;
    --accent: #D4B895;
    --text: #2C2C2C;
}

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

body {
    font-family: 'Source Sans Pro', sans-serif;;
    font-weight: 300;
    line-height: 1.6;
    color: var(--text);
    background: var(--secondary);
}

p {
    margin-bottom: 0.5em;
}

ul.indented-list {
    list-style: none;
    padding-left: 0;
}

ul.indented-list li {
    margin-left: 2rem;
    margin-bottom: 0.5rem;
}

h1, h2, h3 {
    font-family: 'Helvetica', sans-serif;;
    font-weight: 400;
    letter-spacing: 0.02em;
}

h1 {
    font-size: 2.5rem;;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

h1 .title-main {
    font-size: 3.5rem;
    line-height: 1.2;
}

h1 .title-sub {
    font-size: 2rem;
    line-height: 1;
    letter-spacing: 0.17em;
    margin-top: -0.3em;
}

h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { 
    margin-top: 1.5rem;
    margin-bottom: 0.5em;
}

.japanese-terms {
    font-family: 'Noto Serif JP', serif;;
    font-weight: 400;
    font-size: 1.25rem;
}

nav {
    background: white;
    padding: 1rem;
    position: fixed;
    width: 100%;
    top: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 100;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 101;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

nav ul {
    display: flex;
    justify-content: flex-end;
    list-style: none;
    max-width: 1200px;
    margin: 0 auto;
}

nav ul li {
    margin-left: 2rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

nav ul li:hover {
    background: rgba(58, 79, 65, 0.05);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(58, 79, 65, 0.1);
}

/* Dropdown Menu Styles */
nav ul li .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 280px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    margin-top: 0;
    padding-top: 0.5rem;
    z-index: 1000;
    padding-bottom: 0.5rem;
}

nav ul li:hover .dropdown {
    display: block;
}

nav ul li .dropdown a {
    padding: 0.75rem 1.2rem;
    white-space: normal;
    line-height: 1.4;
}

nav ul li .dropdown a:hover {
    background: rgba(58, 79, 65, 0.05);
}

nav a {
    text-decoration: none;;
    color: var(--text);
    font-weight: 300;
    display: block;
    padding: 0.75rem 1.2rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

nav a:hover {
    color: var(--primary);
    font-weight: 400;
}

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

nav a:hover::after {
    width: 80%;
}

.hero {
    height: 80vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background: linear-gradient(rgba(58, 79, 65, 0.35), rgba(58, 79, 65, 0.35)), url('img/fixedbowl.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    margin-top: 4rem;
    text-align: center;
    padding: 2rem;
}

.hero div {
    margin-top: 0px;
}

.hero h1 {
    font-size: 3rem;;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;;
    max-width: 600px;
    margin: 0 auto;
    font-style: italic;
	font-weight: lighter;
}

.hero div > .cta-button {
    position: relative;
    top: -50px;
}

.hero .cta-button {
    margin-top: 0px;
}

.cta-button {
    display: inline-block;;
    padding: 1rem 2rem;
    background: var(--accent);
    color: var(--text);
    text-decoration: none;;
    border-radius: 35px;
    margin-top: 2rem;;
    transition: background 0.3s;
}

.cta-button:hover {
    background: #c1a27e;;
}

.services {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 2rem;;
}

.services h2 {
    margin-bottom: 2rem;
    text-align: center;
	font-weight: lighter;
}

.services h3 {
    margin-bottom: 2rem;
    margin-top: 2rem;
    text-align: center;
	font-weight: lighter;
}

.service-flowchart {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.service-paths {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 3rem;
    gap: 2rem;
}

.service-path {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.path-header {
    background: var(--primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 3px;
    text-align: center;
    margin-bottom: 2rem;
    width: 100%;
}

.service-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}

.service-card {
    background: white;
    padding: 2rem;;
    border-radius: 3px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.service-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;;
}

.service-card h4 {
    color: var(--primary);
    margin: 1.5rem 0 0.5rem;
    font-size: 1.2rem;
}

.service-card ul {
    list-style-position: inside;
    margin: 1rem 0;
    padding-left: 1rem;
}

.service-card ul li {
    margin-bottom: 0.5rem;
}

.service-card p {
    margin-bottom: 1rem;
}

.spacer-section {
    height: 4rem;
}

.about {
    background: var(--primary);
    color: white;
    padding: 4rem 2rem;;
}

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

.about-content p {
    text-align: justify;;
    font-weight: 300;
}

footer {
    background: var(--text);
    color: white;
    padding: 2rem;;
    text-align: center;;
}

@media (max-width: 768px) {
    nav {
        padding: 0.5rem 1rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 1rem 0;
        margin: 0;
    }

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

    nav ul li {
        margin: 0;
    }

    nav ul li .dropdown {
        position: static;
        box-shadow: none;
        display: none;
        margin-top: 0.5rem;
        padding: 0;
    }

    nav ul li:hover .dropdown {
        display: block;
    }

    nav a {
        padding: 1rem;
        font-size: 1rem;
        white-space: normal;
    }

    nav ul li .dropdown a {
        padding: 0.75rem 1rem;
    }

    .hero {
        height: auto;
        min-height: 60vh;
        padding: 6rem 1rem 3rem 1rem;
        margin-top: 3rem;
        margin-bottom: 3rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

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

    .hero div > .cta-button {
        position: static;
        top: auto;
        margin-top: 0rem;
        margin-bottom: 0;
    }

    .services {
        margin: 0 auto 2rem auto;
        padding: 1rem;
    }

    .services h2 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .service-paths {
        flex-direction: column;
        gap: 3rem;
        margin-top: 2rem;
    }

    .service-path {
        width: 100%;
    }

    .path-header {
        padding: 1.5rem 1rem;
        margin-bottom: 1.5rem;
    }

    .path-header h3 {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .service-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

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

    .service-card h4 {
        font-size: 1.1rem;
        margin: 1.2rem 0 0.5rem;
    }

    .service-card p {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 1rem;
    }

    .service-card ul {
        padding-left: 0.5rem;
        margin: 0.8rem 0;
    }

    .service-card ul li {
        font-size: 0.95rem;
        margin-bottom: 0.4rem;
        line-height: 1.4;
    }

    .about {
        padding: 3rem 1rem;
    }

    .contact-form {
        margin: 2rem auto;
        padding: 1.5rem;
    }

    .logo {
        height: 300px;
        margin-bottom: 15px;
    }

    .logo svg {
        max-width: 600px;
    }
}

/* Additional mobile optimization for very small screens */
@media (max-width: 480px) {
    nav ul li {
        margin: 0.2rem;
    }

    nav a {
        padding: 0.5rem 0.8rem;
        font-size: 0.9rem;
    }

    .hero {
        height: 60vh;
        margin-top: 3.5rem;
    }

    .services {
        padding: 0.5rem;
    }

    .path-header {
        padding: 1rem 0.8rem;
    }

    .path-header h3 {
        font-size: 1.3rem;
    }

    .service-card {
        padding: 1.2rem;
    }

    .service-card h3 {
        font-size: 1.2rem;
    }

    .service-card h4 {
        font-size: 1rem;
    }

    .service-card p,
    .service-card ul li {
        font-size: 0.9rem;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }

    .logo {
        height: 250px;
    }

    .logo svg {
        max-width: 500px;
    }
}
/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 4rem auto;
    padding: 2rem;;
    background: white;
    border-radius: 3px;
    box-shadow: 0 2px 100px rgba(0, 0, 0, 0.1);
    text-align: center;;
}

.contact-form h2 {
    margin-bottom: 2rem;;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;;
    color: var(--text);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-sizing: border-box;;
}

.form-group textarea {
    resize: vertical;;
}

.message {
    margin-top: 1rem;;
}

em {
    font-weight: bold;;
    font-style: italic;;
}

.logo {
    height: 400px; /* Doubled from 200px */
    width: 100%;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;;
}

.logo svg {
    height: 100%;;
    width: auto;
    max-width: 800px; /* Doubled from 400px */
}

.contact-padding {
    padding-top: 60px; /* adjust this value to match the height of your navigation bar */
}

/* Pricing Page Styles */
.pricing-hero {
    height: 40vh;
    background: linear-gradient(rgba(58, 79, 65, 0.8), rgba(58, 79, 65, 0.8)), url('img/fixedbowl.jpg');
}

.pricing-hero h1 {
    color: white;
    margin-top: 4rem;
}

.pricing-section {
    max-width: 1000px;
    margin: 4rem auto;
    padding: 2rem;
}

/* Add scroll margin for sections targeted by anchor links */
section[id] {
    scroll-margin-top: 60px;
}

.pricing-container {
    background: white;
    border-radius: 3px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 3rem;
}

.pricing-table {
    width: 100%;
}

.pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid #eee;
}

.pricing-row:last-child {
    border-bottom: none;
}

.pricing-service {
    font-size: 1.1rem;
    color: var(--primary);
    flex: 1;
}

.pricing-amount {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text);
    text-align: right;
    padding-left: 2rem;
}

.pricing-note {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

@media (max-width: 768px) {
    .pricing-row {
        flex-direction: column;
        text-align: center;
        padding: 1rem 0;
    }

    .pricing-service {
        margin-bottom: 0.5rem;
    }

    .pricing-amount {
        padding-left: 0;
        text-align: center;
    }
}
