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

:root {
    --primary-color: #2D4B7A;
    --secondary-color: #F8F6F0;
    --accent-color: #C54A4A;
    --text-dark: #333333;
    --text-light: #666666;
    --background-light: #FEFEFE;
    --border-color: #E5E5E5;
    --shadow-light: 0 2px 10px rgba(45, 75, 122, 0.1);
    --shadow-medium: 0 4px 20px rgba(45, 75, 122, 0.15);
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
}

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

/* Header */
.header {
    background-color: var(--background-light);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo {
    flex-shrink: 0;
}

.brand-info {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: 'Shippori Mincho', serif;
    font-size: 28px;
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1.2;
    margin: 0;
}

.tagline {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 400;
    margin: 0;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #f0f4f8 100%);
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
    min-height: 400px;
}

.hero-text {
    flex: 1;
}

.hero-title {
    font-family: 'Shippori Mincho', serif;
    font-size: 48px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 24px;
    line-height: 1.3;
}

.hero-description {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.8;
}

.cta-button {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #b03d3d;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-img {
    width: 100%;
    max-width: 500px;
    height: 350px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
}

/* Image Styles */
.hero-image {
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 100%;
    max-width: 400px;
    height: 300px;
    background-color: var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 14px;
    border: 2px dashed var(--text-light);
}

.product-img,
.artisan-img,
.workshop-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.product-image {
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
}

.artisan-image {
    height: 250px;
    overflow: hidden;
    border-radius: 8px;
}

.workshop-img {
    border-radius: 12px;
    box-shadow: var(--shadow-light);
}

/* Section Titles */
.section-title {
    font-family: 'Shippori Mincho', serif;
    font-size: 36px;
    font-weight: 500;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 60px;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: var(--background-light);
}

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

.about-item {
    text-align: center;
    padding: 32px 24px;
    background-color: var(--secondary-color);
    border-radius: 12px;
}

.about-icon {
    margin-bottom: 24px;
}

.about-item h3 {
    font-family: 'Shippori Mincho', serif;
    font-size: 24px;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.about-item p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: var(--secondary-color);
}

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

.feature-card {
    background-color: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
}

.feature-card h3 {
    font-family: 'Shippori Mincho', serif;
    font-size: 20px;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Products Section */
.products {
    padding: 80px 0;
    background-color: var(--background-light);
}

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

.product-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

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

.product-info {
    padding: 24px;
}

.product-info h3 {
    font-family: 'Shippori Mincho', serif;
    font-size: 20px;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.product-price {
    font-size: 18px;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 12px;
}

.product-description {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.product-button {
    width: 100%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.product-button:hover {
    background-color: #1e3456;
}

/* How it Works */
.how-it-works {
    padding: 80px 0;
    background-color: var(--secondary-color);
}

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

.step {
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
    margin: 0 auto 24px;
}

.step h3 {
    font-family: 'Shippori Mincho', serif;
    font-size: 20px;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.step p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Artisan Spotlight */
.artisan-spotlight {
    padding: 80px 0;
    background-color: var(--background-light);
}

.artisan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.artisan-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    overflow: hidden;
}

.artisan-image .image-placeholder {
    height: 250px;
    margin: 0;
    border-radius: 0;
    border: none;
}

.artisan-info {
    padding: 24px;
}

.artisan-info h3 {
    font-family: 'Shippori Mincho', serif;
    font-size: 22px;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.artisan-craft {
    font-size: 16px;
    font-weight: 500;
    color: var(--accent-color);
    margin-bottom: 16px;
}

.artisan-description {
    color: var(--text-light);
    line-height: 1.8;
}

/* Workshop Section */
.workshop {
    padding: 80px 0;
    background-color: var(--secondary-color);
}

.workshop-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.workshop-info h3 {
    font-family: 'Shippori Mincho', serif;
    font-size: 28px;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.workshop-info p {
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.8;
}

.workshop-info ul {
    margin-bottom: 32px;
    padding-left: 20px;
}

.workshop-info li {
    color: var(--text-light);
    margin-bottom: 8px;
    line-height: 1.6;
}

.workshop-image {
    display: flex;
    justify-content: center;
}

.workshop-image .image-placeholder {
    height: 300px;
}

/* Gift Services */
.gift-services {
    padding: 80px 0;
    background-color: var(--background-light);
}

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

.service-card {
    background-color: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    text-align: center;
    border-left: 4px solid var(--accent-color);
}

.service-card h3 {
    font-family: 'Shippori Mincho', serif;
    font-size: 20px;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background-color: var(--secondary-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.testimonial-card {
    background-color: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
}

.testimonial-card p:first-child {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.8;
    position: relative;
}

.testimonial-card p:first-child::before {
    content: '"';
    font-size: 48px;
    color: var(--accent-color);
    position: absolute;
    top: -10px;
    left: -10px;
}

.testimonial-author {
    text-align: right;
    color: var(--text-light);
    font-weight: 500;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: var(--background-light);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.contact-item {
    text-align: center;
    padding: 32px;
    background-color: var(--secondary-color);
    border-radius: 12px;
}

.contact-item h3 {
    font-family: 'Shippori Mincho', serif;
    font-size: 20px;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.contact-item p {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.contact-hours {
    font-size: 14px;
    color: var(--text-light) !important;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 40px;
}

.footer-section {
    flex: 1;
}

.footer-section h4 {
    font-family: 'Shippori Mincho', serif;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 16px;
    color: var(--secondary-color);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.footer-description {
    font-size: 14px;
    opacity: 0.8;
    margin: 0;
}

.footer-contact p {
    margin: 4px 0;
    font-size: 14px;
    opacity: 0.9;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-nav a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-nav a:hover {
    opacity: 1;
}

.footer-brand {
    font-family: 'Shippori Mincho', serif;
    font-size: 20px;
    font-weight: 500;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
    font-size: 14px;
    opacity: 0.8;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 40px;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    position: relative;
    box-shadow: var(--shadow-medium);
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--text-dark);
}

.modal h2 {
    font-family: 'Shippori Mincho', serif;
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 32px;
    text-align: center;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

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

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-button {
    width: 100%;
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #b03d3d;
}

/* Responsive Design */

/* Centered sections */
.centered-section {
    text-align: center;
}

.centered-section .container > * {
    text-align: center;
}

.centered-section .about-item,
.centered-section .feature-card,
.centered-section .step,
.centered-section .service-card,
.centered-section .testimonial-card {
    text-align: center;
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .hero-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .hero-title {
        font-size: 36px;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .header-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .workshop-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .footer-nav {
        align-items: center;
        text-align: center;
    }

    .modal-content {
        margin: 10% auto;
        padding: 24px;
        width: 95%;
    }

    .products-grid,
    .features-grid,
    .about-grid,
    .steps,
    .artisan-grid,
    .services-grid,
    .testimonials-grid,
    .contact-info {
        grid-template-columns: 1fr;
    }
}