/* Reset and Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Navigation Bar */
.navbar {
    background-color: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
    position: sticky;
    top: 0;
    z-index: 1000; /* Ensure navbar stays on top */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .logo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #0A2540; /* Deep blue */
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: #495057;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #17A2B8; /* Teal for hover */
    text-decoration: none;
}

/* Responsive navigation - can be expanded later */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
    }
    
    .nav-links {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-links li {
        margin: 5px 10px;
    }
}

body {
    font-family: 'Inter', 'Noto Sans JP', sans-serif; /* Using Inter and Noto Sans JP as planned */
    line-height: 1.6;
    color: #333;
    background-color: #F8F9FA; /* Light gray background */
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Poppins', sans-serif; /* Using Poppins for headings */
    font-weight: 600;
    margin-bottom: 0.75em;
    color: #0A2540; /* Deep blue for headings */
}

h1 {
    font-size: 2.8rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1.5em;
}

h3 {
    font-size: 1.4rem;
    color: #17A2B8; /* Teal for service titles */
}

p {
    margin-bottom: 1em;
}

a {
    color: #17A2B8; /* Teal for links */
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.3s ease;
    margin-right: 10px; /* Add some space between buttons */
}

.btn-primary {
    background-color: #0A2540; /* Deep blue */
    color: #fff;
}

.btn-primary:hover {
    background-color: #081c30; /* Darker blue */
    text-decoration: none;
}

.btn-secondary {
    background-color: #e9ecef; /* Light gray */
    color: #0A2540; /* Deep blue text */
    border: 1px solid #ced4da;
}

.btn-secondary:hover {
    background-color: #ced4da; /* Darker gray */
    text-decoration: none;
}

.btn-details {
    color: #FD7E14; /* Orange accent for details link */
    font-weight: 500;
}

.btn-details:hover {
    color: #e06f10; /* Darker orange */
    text-decoration: underline;
}


/* Hero Section */
.hero {
    background-color: #fff; /* White background for hero */
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid #e9ecef;
}

.hero h1 {
    margin-bottom: 0.5em;
}

.hero p {
    font-size: 1.1rem;
    color: #6c757d; /* Gray text */
    margin-bottom: 1.5em;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Services Section */
.services {
    padding: 60px 0;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns layout */
    gap: 30px;
}

@media (max-width: 768px) {
    .service-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
    }
}

.service-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.service-item i { /* Placeholder for icon styles */
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #17A2B8; /* Teal for icons */
    /* In a real project, replace this with actual icon font classes */
    display: block; /* Temporary display for placeholder */
}

.service-item h3 {
    margin-bottom: 10px;
}

.service-item p {
    font-size: 0.95rem;
    color: #6c757d;
    margin-bottom: 15px;
}

/* Contact Section */
.contact {
    background-color: #fff; /* White background */
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid #e9ecef;
}

.contact h2 {
    margin-bottom: 0.5em;
}

.contact p {
    font-size: 1.1rem;
    color: #6c757d; /* Gray text */
    margin-bottom: 1.5em;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Accent Button Style */
.btn-accent {
    background-color: #28A745; /* Green accent color */
    color: #fff;
}

.btn-accent:hover {
    background-color: #218838; /* Darker green */
    text-decoration: none;
}

/* Footer */
.footer {
    background-color: #0A2540; /* Deep blue background */
    color: #adb5bd; /* Light gray text */
    padding: 30px 0;
    text-align: center;
    margin-top: 40px; /* Add some space above the footer */
}

.footer p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.footer a {
    color: #e9ecef; /* Lighter link color for footer */
}

.footer a:hover {
    color: #fff;
}

/* Page Header (Simple) */
.page-header {
    background-color: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 40px; /* Space below header */
}

.page-header .logo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #0A2540; /* Deep blue */
    text-decoration: none;
}

/* Main Content Area */
.main-content {
    padding-bottom: 60px; /* Space above footer */
}

/* Page Title Section */
.page-title {
    text-align: center;
    margin-bottom: 40px;
}

.page-title h1 {
    font-size: 2.5rem; /* Slightly smaller than hero h1 */
    margin-bottom: 0.3em;
}

.page-title p {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 700px;
    margin: 0 auto;
}

/* Content Section */
.content-section {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.content-section h2 {
    text-align: left; /* Align section titles left */
    font-size: 1.8rem;
    margin-bottom: 1em;
    color: #17A2B8; /* Teal for section titles */
}

/* Service Details Layout */
.service-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-details div {
    /* Individual service item styling if needed */
}

.service-details i {
    font-size: 2rem;
    color: #FD7E14; /* Orange accent for icons */
    margin-bottom: 10px;
    display: block; /* Ensure icon takes space */
}

.service-details h3 {
    font-size: 1.2rem;
    color: #0A2540; /* Deep blue for sub-headings */
    margin-bottom: 0.5em;
}

.service-details p {
    font-size: 0.95rem;
    color: #6c757d;
}

/* Contact Form Styles */
.contact-form {
    max-width: 700px; /* Limit form width */
    margin: 0 auto; /* Center the form */
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #495057;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit; /* Use body font */
    line-height: 1.5;
}

.form-group textarea {
    resize: vertical; /* Allow vertical resizing */
}

.form-group .required {
    color: #dc3545; /* Red color for required indicator */
    margin-left: 4px;
}

.contact-form button[type="submit"] {
    display: block; /* Make button block level */
    width: auto; /* Adjust width automatically */
    margin-top: 10px;
    margin-left: auto; /* Push button to the right if needed, or center */
    margin-right: auto; /* Center the button */
}

/* Company Info Page Styles */
.company-info {
    margin-bottom: 30px;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.info-table th, .info-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.info-table th {
    width: 25%;
    color: #0A2540;
    font-weight: 600;
    background-color: #f8f9fa;
}

.info-table ul {
    margin: 0;
    padding-left: 20px;
}

.vision-mission {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.vision, .mission {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #17A2B8;
}

.vision h3, .mission h3 {
    color: #0A2540;
    margin-bottom: 15px;
}

/* Portfolio Items */
.portfolio-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.portfolio-item {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.portfolio-item h3 {
    color: #0A2540;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.portfolio-item p {
    color: #495057;
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Product Categories List */
.product-categories {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.product-categories li {
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    padding: 12px 15px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.product-categories li:hover {
    transform: translateY(-2px);
}

.product-categories i {
    color: #FD7E14; /* Orange accent for icons */
    margin-right: 10px;
    font-size: 1.2rem;
}
