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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #2D3748;
    background-color: #F7FAFC;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: #2D3748;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.875rem;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
    color: #4A5568;
}

/* Color Variables */
:root {
    --primary-color: #4C5B87;  /* Muted indigo */
    --secondary-color: #8B4513;  /* Hinoki wood tone */
    --accent-color: #2D3748;  /* Sumi black */
    --cream-color: #F7FAFC;  /* Washi cream */
    --light-indigo: #E2E8F0;
    --text-primary: #2D3748;
    --text-secondary: #4A5568;
    --text-light: #718096;
}

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

.header-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-brand a {
    text-decoration: none;
}

.logo {
    width: 48px;
    height: 48px;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--cream-color) 0%, #EDF2F7 100%);
    padding: 4rem 0;
}

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

.hero-content h1 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

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

/* Buttons */
.btn-primary, .btn-secondary {
    padding: 0.875rem 1.75rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: #3A4A73;
}

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

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

/* Sections */
section {
    padding: 4rem 0;
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Services */
.services {
    background: white;
}

.services h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

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

.service-card {
    background: var(--cream-color);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--light-indigo);
}

.service-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Products */
.products {
    background: var(--light-indigo);
}

.products h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

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

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.product-image {
    height: 200px;
    background: var(--light-indigo);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.product-price {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

.product-actions {
    margin-top: 1.5rem;
}

/* Craftsmen */
.craftsmen {
    background: white;
}

.craftsmen h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

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

.craftsman-card {
    background: var(--cream-color);
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
}

.craftsman-image {
    height: 150px;
    background: var(--light-indigo);
    display: flex;
    align-items: center;
    justify-content: center;
}

.craftsman-info {
    padding: 1.5rem;
}

.craftsman-info h4 {
    color: var(--primary-color);
}

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

/* Workshops */
.workshops {
    background: var(--primary-color);
    color: white;
}

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

.workshop-text h3 {
    color: white;
    margin-bottom: 1.5rem;
}

.workshop-text p {
    color: #E2E8F0;
    margin-bottom: 2rem;
}

.workshop-features {
    list-style: none;
    margin-bottom: 2rem;
}

.workshop-features li {
    color: #E2E8F0;
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.workshop-features li:before {
    content: "•";
    color: var(--secondary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.workshop-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
}

/* Showcase */
.showcase {
    background: white;
}

.showcase h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

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

.showcase-item {
    background: var(--cream-color);
    border-radius: 12px;
    overflow: hidden;
}

.showcase-image {
    height: 200px;
    background: var(--light-indigo);
    display: flex;
    align-items: center;
    justify-content: center;
}

.showcase-info {
    padding: 1.5rem;
}

.showcase-info h4 {
    color: var(--primary-color);
}

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

/* Materials */
.materials {
    background: var(--light-indigo);
}

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

.materials-text h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.materials-list {
    margin-top: 2rem;
}

.material-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem 0;
    border-bottom: 1px solid #CBD5E0;
}

.material-item:last-child {
    border-bottom: none;
}

.material-item strong {
    color: var(--primary-color);
}

.material-item span {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.materials-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
}

/* Why Choose */
.why-choose {
    background: white;
}

.why-choose h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

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

.reason-card {
    background: var(--cream-color);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.reason-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Contact */
.contact {
    background: var(--light-indigo);
}

.contact h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

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

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

.contact-icon {
    padding: 0.75rem;
    background: white;
    border-radius: 8px;
}

.contact-details h4 {
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.contact-details p {
    color: var(--text-secondary);
    margin: 0;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
}

.contact-form h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid #CBD5E0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(76, 91, 135, 0.1);
}

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

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* Footer */
.footer {
    background: var(--accent-color);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

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

.footer-logo .brand-name {
    color: white;
}

.footer-brand p {
    color: #A0AEC0;
    margin-bottom: 0;
    line-height: 1.6;
}

.footer-navigation {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.footer-nav-section h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-nav-links a {
    color: #A0AEC0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-nav-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #4A5568;
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: #A0AEC0;
    margin: 0;
    font-size: 0.875rem;
}

/* Modal */
.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 {
    position: relative;
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #E2E8F0;
}

.modal-header h3 {
    color: var(--primary-color);
    margin: 0;
}

.close {
    color: #A0AEC0;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

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

.modal-body {
    padding: 1.5rem;
}

/* Placeholder Images */
.placeholder-image {
    background: #E2E8F0;
    color: #718096;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    text-align: center;
    width: 100%;
    height: 100%;
}

/* Text alignment utilities */
.text-center {
    text-align: center;
}

.text-center .workshop-content,
.text-center .materials-content,
.text-center .contact-content {
    text-align: left;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--accent-color);
    color: white;
    padding: 1rem;
    z-index: 1001;
    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;
}

.cookie-banner-text {
    flex: 1;
}

.cookie-banner-text p {
    margin: 0;
    color: #E2E8F0;
}

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

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

.cookie-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    font-size: 0.875rem;
}

.cookie-btn-accept {
    background: var(--primary-color);
    color: white;
}

.cookie-btn-decline {
    background: transparent;
    color: white;
    border: 1px solid #4A5568;
}

.cookie-btn:hover {
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-img {
        height: 300px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        width: 100%;
        max-width: 280px;
    }
    
    .workshop-content,
    .materials-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-navigation {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid,
    .products-grid,
    .craftsmen-grid,
    .showcase-grid,
    .reasons-grid {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions button {
        width: 100%;
    }
    
    .cookie-banner-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .cookie-banner-actions {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    section {
        padding: 2rem 0;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero-img {
        height: 250px;
    }
    
    .contact-form,
    .service-card,
    .reason-card {
        padding: 1.5rem;
    }
    
    .footer-navigation {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
}