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

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #374151;
    background-color: #ffffff;
}

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

/* Center alignment for main content sections */
.hero,
.services,
.vin-lookup,
.products,
.why-choose,
.partner-garages,
.warranty {
    text-align: center;
}

.hero .container,
.services .container,
.vin-lookup .container,
.products .container,
.why-choose .container,
.partner-garages .container,
.warranty .container {
    text-align: center;
}

/* Header */
.header {
    background-color: #ffffff;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    flex-shrink: 0;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e3a8a;
    margin: 0;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e3a8a 0%, #374151 100%);
    color: #ffffff;
    padding: 4rem 0;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-main-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.vin-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.partner-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.product-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-features {
    display: flex;
    gap: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.feature-icon {
    flex-shrink: 0;
}

.image-placeholder {
    background: linear-gradient(45deg, #e5e7eb, #d1d5db);
    border: 2px dashed #9ca3af;
    border-radius: 8px;
    padding: 3rem;
    text-align: center;
    color: #6b7280;
    font-weight: 500;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Section Titles */
.section-title {
    font-size: 2rem;
    font-weight: 600;
    color: #1e3a8a;
    text-align: center;
    margin-bottom: 3rem;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background-color: #f9fafb;
}

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

.service-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.service-icon {
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 1rem;
}

.service-card p {
    color: #6b7280;
}

/* VIN Lookup Section */
.vin-lookup {
    padding: 5rem 0;
}

.vin-lookup .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.vin-description {
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

.vin-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.vin-input {
    flex: 1;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
}

.vin-input:focus {
    outline: none;
    border-color: #fbbf24;
}

.vin-button {
    background-color: #fbbf24;
    color: #1e3a8a;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
}

.vin-button:hover {
    background-color: #f59e0b;
}

.vin-features {
    display: flex;
    gap: 2rem;
}

.vin-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: #374151;
}

/* Products Section */
.products {
    padding: 5rem 0;
    background-color: #f9fafb;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.product-image .image-placeholder {
    min-height: 200px;
    margin: 0;
    border-radius: 0;
    border: none;
}

.product-info {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 0.5rem;
}

.product-description {
    color: #6b7280;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fbbf24;
    margin-bottom: 1.5rem;
}

.product-actions {
    display: flex;
    gap: 0.75rem;
}

.product-btn {
    flex: 1;
    padding: 0.75rem 1rem;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
}

.product-btn.primary {
    background-color: #fbbf24;
    color: #1e3a8a;
}

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

.product-btn.secondary {
    background-color: transparent;
    color: #1e3a8a;
    border: 2px solid #1e3a8a;
}

.product-btn.secondary:hover {
    background-color: #1e3a8a;
    color: #ffffff;
}

/* Why Choose Section */
.why-choose {
    padding: 5rem 0;
}

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

.reason-card {
    text-align: center;
    padding: 2rem 1rem;
}

.reason-number {
    font-size: 3rem;
    font-weight: 700;
    color: #fbbf24;
    margin-bottom: 1rem;
}

.reason-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 1rem;
}

.reason-card p {
    color: #6b7280;
}

/* Partner Garages Section */
.partner-garages {
    padding: 5rem 0;
    background-color: #f9fafb;
}

.partner-garages .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.partner-description {
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

.partner-stats {
    display: flex;
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fbbf24;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #6b7280;
    font-weight: 500;
}

/* Warranty Section */
.warranty {
    padding: 5rem 0;
}

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

.warranty-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.warranty-icon {
    margin-bottom: 1.5rem;
}

.warranty-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 1rem;
}

.warranty-card p {
    color: #6b7280;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background-color: #f9fafb;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.contact-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #6b7280;
}

.contact-form h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-family: inherit;
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #fbbf24;
}

.submit-btn {
    background-color: #1e3a8a;
    color: #ffffff;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    width: 100%;
}

.submit-btn:hover {
    background-color: #1e40af;
}

/* Footer */
.footer {
    background-color: #1e3a8a;
    color: #ffffff;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #374151;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-brand-name {
    font-size: 1.25rem;
    font-weight: 600;
}

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

.footer-nav a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 0.95rem;
}

.footer-nav a:hover {
    color: #fbbf24;
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    color: #9ca3af;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-features {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .vin-lookup .container {
        grid-template-columns: 1fr;
    }
    
    .vin-form {
        flex-direction: column;
    }
    
    .partner-garages .container {
        grid-template-columns: 1fr;
    }
    
    .partner-stats {
        justify-content: center;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .product-actions {
        flex-direction: column;
    }
}