/* General Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #004d40; /* Dark Teal/Green - Zen feel */
    --secondary-color: #ffb300; /* Amber/Gold - Accent */
    --accent-color: #e65100; /* Deep Orange - CTA */
    --text-color: #212121;
    --light-text-color: #f5f5f5;
    --background-light: #ffffff;
    --background-dark: #fafafa;
    --font-primary: 'Roboto', sans-serif;
    --font-secondary: 'Noto Serif JP', serif;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-light);
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }

p {
    margin-bottom: 1rem;
}

.accent {
    color: var(--secondary-color);
}

/* Buttons */
.btn-primary, .btn-secondary, .cookie-btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--light-text-color);
}

.btn-primary:hover {
    background-color: #ff6f00;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--light-text-color);
}

/* Navigation */
.navbar {
    background-color: var(--background-light);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.nav-brand h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 0;
}

.nav-brand .tagline {
    display: block;
    font-size: 0.8rem;
    color: #616161;
    margin-top: -5px;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 25px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    align-items: center;
}

.phone-number {
    color: var(--primary-color);
    font-weight: 700;
    margin-right: 20px;
}

.mobile-menu-toggle {
    display: none;
}

/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-text-color);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
    z-index: 10;
    max-width: 800px;
    padding: 20px;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    font-weight: 300;
}

.hero-buttons a {
    margin: 0 10px;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.section-title p {
    font-size: 1.1rem;
    color: #616161;
}

/* Block 2: Core Values */
.core-values {
    background-color: var(--background-dark);
    padding: 40px 0;
}

.core-values .container {
    display: flex;
    justify-content: space-around;
    text-align: center;
    flex-wrap: wrap;
}

.value-item {
    flex-basis: 22%;
    padding: 20px;
}

.value-item i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.value-item h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* Block 3: Services Overview */
.services-overview {
    background-color: var(--background-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    padding: 30px;
    text-align: center;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-card h4 {
    margin-bottom: 10px;
}

/* Block 4: Featured Project */
.featured-project {
    background-color: var(--background-dark);
}

.featured-project .container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.project-content {
    flex: 1;
}

.project-content h2 {
    margin-bottom: 20px;
}

.project-content p {
    margin-bottom: 30px;
}

.project-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.project-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Block 5: Process */
.process-steps {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.process-steps .step {
    flex-basis: calc(14.28% - 20px); /* 7 steps in a row */
    text-align: center;
    position: relative;
}

.step-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--light-text-color);
    font-weight: 700;
    margin-bottom: 10px;
}

.step h4 {
    font-size: 1rem;
    font-weight: 500;
}

/* Block 6: Testimonials */
.testimonials-section {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    text-align: center;
}

.testimonials-section .container {
    max-width: 800px;
}

.testimonial-card {
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
}

.testimonial-card i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.testimonial-card p {
    font-style: italic;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.testimonial-card footer {
    font-weight: 500;
    font-size: 1rem;
    color: var(--secondary-color);
}

/* Block 7: CTA Section */
.cta-section {
    background-color: var(--secondary-color);
    text-align: center;
    color: var(--text-color);
    padding: 60px 0;
}

.cta-section h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.cta-section .btn-primary {
    background-color: var(--primary-color);
    color: var(--light-text-color);
}

.cta-section .btn-primary:hover {
    background-color: #00796b;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #bdbdbd;
    padding: 50px 0 20px;
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.footer-section {
    flex-basis: 22%;
    margin-bottom: 20px;
}

.footer-section h3, .footer-section h4 {
    color: var(--light-text-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.footer-section p {
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li a {
    color: #bdbdbd;
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
}

.footer-section ul li a:hover {
    color: var(--secondary-color);
}

.social-links a {
    color: #bdbdbd;
    font-size: 1.2rem;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom a {
    color: var(--secondary-color);
    text-decoration: none;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    color: var(--light-text-color);
    padding: 15px 0;
    z-index: 2000;
    display: none; /* Hidden by default, shown by JS if no consent */
    align-items: center;
    justify-content: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
}

.cookie-text {
    display: flex;
    align-items: center;
    flex: 1;
}

.cookie-text i {
    font-size: 1.5rem;
    margin-right: 15px;
    color: var(--secondary-color);
}

.cookie-text p {
    margin: 0;
    font-size: 0.9rem;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.cookie-btn {
    padding: 8px 15px;
    font-size: 0.9rem;
    font-weight: 700;
}

.cookie-btn.accept {
    background-color: var(--accent-color);
    color: var(--light-text-color);
}

.cookie-btn.accept:hover {
    background-color: #ff6f00;
}

.cookie-btn.decline {
    background-color: transparent;
    color: var(--light-text-color);
    border: 1px solid var(--light-text-color);
}

.cookie-btn.decline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.cookie-link {
    color: var(--secondary-color);
    text-decoration: underline;
    margin-left: 10px;
}

/* Utility Class for other pages */
.content-page {
    padding: 100px 0;
    min-height: 70vh;
}

.content-page h2 {
    margin-bottom: 30px;
    text-align: left;
}

.content-page p, .content-page ul {
    margin-bottom: 20px;
}

.content-page ul {
    list-style: disc;
    padding-left: 20px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .nav-links {
        display: none;
    }

    .nav-container {
        padding: 15px 20px;
    }

    .nav-cta {
        display: none;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .featured-project .container {
        flex-direction: column;
    }

    .project-image {
        order: -1;
    }

    .process-steps .step {
        flex-basis: calc(33.33% - 20px);
    }

    .footer-section {
        flex-basis: 45%;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .core-values .value-item {
        flex-basis: 48%;
        margin-bottom: 20px;
    }

    .process-steps .step {
        flex-basis: calc(50% - 20px);
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-text {
        margin-bottom: 10px;
    }

    .cookie-actions {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .process-steps .step {
        flex-basis: 100%;
    }

    .footer-section {
        flex-basis: 100%;
    }
}
