/* Global Styles */
:root {
    --color-primary: #A6B5A5;
    /* Sage */
    --color-secondary: #F4EBDA;
    /* Cream */
    --color-text-dark: #333333;
    --color-text-light: #666666;
    --color-white: #ffffff;
    --color-black: #000000;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Noto Sans JP', sans-serif;
    --transition-speed: 0.3s;
}

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

html {
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: opacity var(--transition-speed);
}

ul {
    list-style: none;
}

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

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 500;
    letter-spacing: 0.05em;
}

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

.section-subtitle {
    text-align: center;
    font-size: 1rem;
    margin-bottom: 4rem;
    color: var(--color-text-light);
    letter-spacing: 0.1em;
}

.text-left {
    text-align: left !important;
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

.bg-cream {
    background-color: var(--color-secondary);
}

/* Header */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: background var(--transition-speed);
}

#header.scrolled {
    background: rgba(244, 235, 218, 0.95);
    /* #F4EBDA */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo img {
    height: 40px;
    width: auto;
}

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

.nav-menu a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-dark);
    position: relative;
}

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

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

.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.phone-number {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    display: none;
    /* Hidden on small screens */
}

@media (min-width: 768px) {
    .phone-number {
        display: block;
    }
}

.btn-contact {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background-color var(--transition-speed), transform 0.2s;
}

.btn-contact:hover {
    background-color: #8fa08e;
    /* Slightly darker sage */
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    /* Shown on small screens */
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background-color: var(--color-text-dark);
}

/* Mobile Nav Overlay */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--color-white);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: right var(--transition-speed);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav ul {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-nav a {
    font-size: 1.5rem;
    font-weight: 700;
}

/* Hero Section */
#hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-white);
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    animation: zoomIn 20s infinite alternate;
}

@keyframes zoomIn {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Dark overlay */
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 0 1rem;
}

.hero-content h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    opacity: 0.9;
    font-weight: 300;
}

.scroll-down {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    opacity: 0.8;
}

.scroll-down .arrow {
    width: 1px;
    height: 50px;
    background-color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.scroll-down .arrow::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background-color: var(--color-primary);
    animation: dropDown 1.5s infinite;
}

@keyframes dropDown {
    0% {
        top: -50%;
    }

    100% {
        top: 100%;
    }
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards;
}

.delay-1 {
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.service-card {
    background-color: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-speed);
}

.service-card:hover {
    transform: translateY(-10px);
}

.card-image {
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.service-card:hover .card-image img {
    transform: scale(1.1);
}

.card-content {
    padding: 1.5rem;
}

.card-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.card-content p {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* Pricing */
.pricing-list-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--color-white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 5px 30px rgba(166, 181, 165, 0.2);
}

.pricing-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.pricing-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dotted #ddd;
    padding-bottom: 0.5rem;
}

.plan-name {
    font-weight: 500;
    font-size: 1.1rem;
}

.plan-price {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--color-primary);
}

.pricing-note {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* Process */
.process-flow {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    position: relative;
}

.process-step:not(:last-child)::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 25px;
    width: 2px;
    height: calc(100% + 10px);
    background-color: var(--color-secondary);
    z-index: 0;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
    z-index: 1;
}

.step-content {
    background: var(--color-white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    flex: 1;
}

.step-content h3 {
    display: inline-block;
    color: var(--color-text-dark);
    margin-bottom: 0.5rem;
}

.tag-free {
    display: inline-block;
    background-color: var(--color-secondary);
    color: var(--color-primary);
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    margin-left: 0.5rem;
    font-weight: 700;
    vertical-align: middle;
}

/* Portfolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.portfolio-item {
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 8px;
    position: relative;
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

/* Contact */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    background-color: var(--color-white);
}

@media (min-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr 1.5fr;
    }
}

.contact-info .section-title {
    margin-bottom: 1.5rem;
}

.contact-desc {
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.contact-phone .label {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
}

.contact-phone .phone {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-text-dark);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.required {
    color: #e74c3c;
    font-size: 0.8rem;
    margin-left: 0.3rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

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

.btn-submit {
    background-color: var(--color-primary);
    color: var(--color-white);
    border: none;
    padding: 1rem 3rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
}

.btn-submit:hover {
    background-color: #8fa08e;
}

/* Footer */
footer {
    background-color: #333;
    padding: 3rem 0;
    text-align: center;
    color: var(--color-white);
}

.logo-footer img {
    height: 40px;
    /* Reduced for footer */
    filter: brightness(0) invert(1);
    /* Make logo white */
    margin: 0 auto 1.5rem;
}

.copyright {
    font-size: 0.8rem;
    color: #aaa;
}

/* Mobile Menu Media Queries */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }
}

/* Google Form Container */
.google-form-container {
    width: 100%;
    background: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.google-form-container iframe {
    width: 100%;
    min-height: 800px;
    /* Ensure enough height for the form */
    border: none;
    display: block;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .google-form-container iframe {
        min-height: 1000px;
        /* Forms are longer on mobile */
    }
}