:root {
    --primary-color: #2F4F4F;
    /* Dark Slate Gray - Deep Green */
    --accent-color: #DAA520;
    /* Goldenrod - Subtle Gold */
    --text-color: #333333;
    --bg-color: #FAFAFA;
    /* Off-white */
    --bg-light: #F0F4F4;
    /* Very light greenish gray */
    --bg-dark: #1A2E2E;
    /* Darker Green */
    --white: #FFFFFF;

    --font-heading: 'Shippori Mincho', serif;
    --font-body: 'Noto Sans JP', sans-serif;

    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.8;
    letter-spacing: 0.05em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Header */
#header {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo a {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links li a {
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-links li a:hover::after {
    width: 100%;
}

.btn-contact {
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 2px;
}

.btn-contact:hover {
    background-color: var(--accent-color);
    color: var(--white);
}

.btn-contact::after {
    display: none;
    /* Remove underline effect for button */
}

/* Burger Menu (Hidden on Desktop) */
.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 2px;
    background-color: var(--primary-color);
    margin: 5px;
    transition: var(--transition);
}

/* Hero Section */
#hero {
    height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('hero_background.png');
    /* Will be replaced with generated image path */
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    position: relative;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1.4;
    margin-bottom: 20px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.1rem;
    font-weight: 300;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--white);
    font-size: 0.8rem;
    animation: bounce 2s infinite;
}

.scroll-down::after {
    content: '';
    width: 1px;
    height: 40px;
    background-color: var(--white);
    margin-top: 10px;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Sections Common */
.section {
    padding: 100px 5%;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-subtitle {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 60px;
    letter-spacing: 0.1em;
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.text-block p {
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

/* Works Section */
.bg-light {
    background-color: var(--bg-light);
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.work-card {
    background-color: var(--white);
    padding: 40px 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.work-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.work-card .icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.work-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.work-card .desc {
    font-size: 0.9rem;
    color: #666;
    margin-top: 15px;
}

/* Info Section */
.info-list {
    max-width: 700px;
    margin: 0 auto;
    border-top: 1px solid #ddd;
}

.info-item {
    display: flex;
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
    text-align: left;
}

.info-item dt {
    width: 30%;
    font-weight: 600;
    color: var(--primary-color);
}

.info-item dd {
    width: 70%;
}

/* Contact Section */
.bg-dark {
    background-color: var(--bg-dark);
}

.text-white {
    color: var(--white) !important;
}

.contact-content {
    margin-top: 40px;
}

.btn-main {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 15px 40px;
    border-radius: 50px;
    margin: 30px 0;
    font-weight: 600;
    transition: var(--transition);
}

.btn-main:hover {
    background-color: #C5931A;
    transform: scale(1.05);
}

.tel {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    margin-top: 10px;
}

/* Footer */
footer {
    background-color: #111;
    color: #888;
    text-align: center;
    padding: 20px;
    font-size: 0.8rem;
}

.privacy-note {
    font-size: 0.7rem;
    opacity: 0.6;
    margin-bottom: 10px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media screen and (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0px;
        height: 92vh;
        top: 8vh;
        background-color: var(--white);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        /* Changed to full width for better mobile experience */
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        justify-content: center;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links.nav-active {
        transform: translateX(0%);
    }

    .burger {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .info-item {
        flex-direction: column;
    }

    .info-item dt {
        width: 100%;
        margin-bottom: 5px;
    }

    .info-item dd {
        width: 100%;
    }
}