/* 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: #2d3748;
    background-color: #fafafa;
}

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

/* Header */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    padding: 1rem 0;
}

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

.logo {
    flex-shrink: 0;
}

.brand-name {
    font-family: 'Noto Serif JP', serif;
    font-size: 2rem;
    font-weight: 500;
    color: #4F46E5;
    text-decoration: none;
}

.brand-name a {
    color: inherit;
    text-decoration: none;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
    color: white;
    padding: 4rem 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    min-height: 400px;
}

.hero-text {
    text-align: left;
}

.hero-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    line-height: 1.8;
}

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

.hero-image img {
    width: 100%;
    max-width: 500px;
    height: 350px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Section Headers */
.section-header {
    margin-bottom: 3rem;
}

.section-header h2 {
    font-family: 'Noto Serif JP', serif;
    font-size: 2.5rem;
    color: #4F46E5;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 4rem 0;
    background-color: #fff;
    text-align: center;
}

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

.about-item {
    text-align: center;
    padding: 2rem 1rem;
}

.icon {
    margin-bottom: 1rem;
}

.about-item h3 {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.3rem;
    color: #4F46E5;
    margin-bottom: 0.5rem;
}

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

/* Products Section */
.products {
    padding: 4rem 0;
    background-color: #f8fafc;
    text-align: center;
}

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

.product-item {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-image {
    margin-bottom: 1rem;
}

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

.product-item h3 {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.3rem;
    color: #DC2626;
    margin-bottom: 0.5rem;
}

.product-item p {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: #DC2626;
    margin-bottom: 1rem;
    font-family: 'Noto Serif JP', serif;
}

.order-btn {
    background: linear-gradient(135deg, #DC2626, #EF4444);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    width: 100%;
    transition: background 0.3s ease, transform 0.2s ease;
}

.order-btn:hover {
    background: linear-gradient(135deg, #B91C1C, #DC2626);
    transform: translateY(-1px);
}

/* Services Section */
.services {
    padding: 4rem 0;
    background-color: #fff;
    text-align: center;
}

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

.service-item {
    padding: 2rem;
    border-left: 4px solid #D4AF37;
    background: #f8fafc;
}

.service-item h3 {
    font-family: 'Noto Serif JP', serif;
    color: #4F46E5;
    margin-bottom: 0.5rem;
}

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

/* Workshops Section */
.workshops {
    padding: 4rem 0;
    background-color: #f8fafc;
    text-align: center;
}

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

.workshop-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.workshop-image {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
}

.workshop-info h3 {
    font-family: 'Noto Serif JP', serif;
    color: #DC2626;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.workshop-info p {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

/* Artisans Section */
.artisans {
    padding: 4rem 0;
    background-color: #fff;
    text-align: center;
}

.artisan-image {
    margin: 2rem 0;
}

.artisan-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    justify-content: center;
    color: #6b7280;
    margin: 2rem 0;
}

.artisan-description {
    text-align: center;
    color: #6b7280;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Why Choose Section */
.why-choose {
    padding: 4rem 0;
    background-color: #f8fafc;
    text-align: center;
}

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

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

.reason-item h3 {
    font-family: 'Noto Serif JP', serif;
    color: #4F46E5;
    margin-bottom: 0.5rem;
}

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

/* Testimonials Section */
.testimonials {
    padding: 4rem 0;
    background-color: #fff;
    text-align: center;
}

.testimonial-item {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border-left: 4px solid #D4AF37;
}

.testimonial-item p {
    font-style: italic;
    color: #4a5568;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.testimonial-item cite {
    color: #6b7280;
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    padding: 4rem 0;
    background-color: #f8fafc;
    text-align: center;
}

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

.contact-item {
    text-align: center;
    padding: 2rem 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contact-item h3 {
    font-family: 'Noto Serif JP', serif;
    color: #4F46E5;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #4a5568;
}

/* Footer */
.footer {
    background-color: #2d3748;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

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

.footer-brand-text h3 {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #D4AF37;
}

.footer-brand-text p {
    color: #d1d5db;
    font-size: 0.9rem;
    margin: 0;
}

.footer-links {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
}

.footer-column h4 {
    font-family: 'Noto Serif JP', serif;
    color: #D4AF37;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #D4AF37;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #4a5568;
    margin-top: 1rem;
    color: #9ca3af;
    font-size: 0.9rem;
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(45, 55, 72, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    padding: 1.5rem;
    z-index: 1002;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1;
    min-width: 300px;
}

.cookie-banner-text p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-banner-text a {
    color: #D4AF37;
    text-decoration: underline;
}

.cookie-banner-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, #D4AF37, #F59E0B);
    color: white;
}

.cookie-btn-accept:hover {
    background: linear-gradient(135deg, #B45309, #D97706);
}

.cookie-btn-decline {
    background: transparent;
    color: #d1d5db;
    border: 1px solid #6b7280;
}

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

.cookie-btn-customize {
    background: transparent;
    color: #D4AF37;
    border: 1px solid #D4AF37;
}

.cookie-btn-customize:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: #F59E0B;
}

/* Cookie Settings Modal */
.cookie-settings-content {
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-category {
    margin-bottom: 2rem;
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f8fafc;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.cookie-category h3 {
    font-family: 'Noto Serif JP', serif;
    color: #4F46E5;
    margin: 0;
    font-size: 1.1rem;
}

.cookie-category p {
    color: #6b7280;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #4F46E5;
}

input:disabled + .slider {
    background-color: #9ca3af;
    cursor: not-allowed;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.cookie-settings-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

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

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 1rem;
    top: 0.5rem;
}

.close:hover {
    color: #DC2626;
}

.modal h2 {
    font-family: 'Noto Serif JP', serif;
    color: #4F46E5;
    margin-bottom: 1.5rem;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Noto Sans JP', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4F46E5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.modal form button {
    background: linear-gradient(135deg, #4F46E5, #7C3AED);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    width: 100%;
    transition: background 0.3s ease;
}

.modal form button:hover {
    background: linear-gradient(135deg, #4338CA, #6D28D9);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-image img {
        height: 250px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .workshops-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .brand-name {
        font-size: 1.5rem;
    }
    
    .modal-content {
        margin: 10% auto;
        width: 95%;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .logo-section {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .brand-name {
        font-size: 1.3rem;
    }
    
    .cookie-banner-actions {
        flex-direction: column;
    }
    
    .cookie-settings-actions {
        flex-direction: column;
    }
}