@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Noto+Sans+JP:wght@300;400;500&family=Noto+Sans:wght@300;400;500&display=swap');

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --color-black: #1A1A1A;
    --color-white: #F5F5F0;
    --color-maroon: #6B2D2D;
    --color-bg: #FAFAF8;
    --color-text: #2D2D2D;
    --color-text-light: #666;
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Noto Sans', 'Noto Sans JP', sans-serif;
    --transition: 200ms ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}

::selection {
    background-color: var(--color-maroon);
    color: var(--color-white);
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 24px 0;
    transition: background-color var(--transition), padding var(--transition);
    background-color: transparent;
}

.site-header.scrolled {
    background-color: rgba(250, 250, 248, 0.98);
    backdrop-filter: blur(10px);
    padding: 16px 0;
    box-shadow: 0 1px 0 rgba(0,0,0,0.05);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: var(--color-black);
}

.main-nav {
    display: flex;
    gap: 40px;
}

.main-nav a {
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    color: var(--color-text);
    position: relative;
    padding: 4px 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-maroon);
    transition: width var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.main-nav a.active {
    color: var(--color-maroon);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 1px;
    background-color: var(--color-black);
    transition: transform var(--transition), opacity var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background-color: var(--color-bg);
    z-index: 99;
    opacity: 0;
    transition: opacity 300ms ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 32px;
}

.mobile-nav a {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-text);
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 24px 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(250,250,248,1) 0%, rgba(250,250,248,0.95) 30%, rgba(250,250,248,0.7) 50%, rgba(250,250,248,0) 70%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 480px;
    padding-left: 60px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 2vw, 1.55rem);
    font-weight: 400;
    line-height: 1.8;
    color: var(--color-black);
    margin-bottom: 48px;
    font-style: italic;
    letter-spacing: 0.01em;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 48px;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    border: 1px solid var(--color-black);
    cursor: pointer;
    transition: all var(--transition);
    text-transform: none;
    background: transparent;
    color: var(--color-black);
    font-family: var(--font-body);
    font-weight: 400;
}

.btn-hero:hover {
    background-color: var(--color-black);
    color: var(--color-white);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-transform: uppercase;
}

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

.btn-primary:hover {
    background-color: #5a2525;
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-black);
    border-color: var(--color-black);
}

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

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    border-color: #25D366;
}

.btn-whatsapp:hover {
    background-color: #1da851;
}

.btn-outline {
    background-color: transparent;
    color: var(--color-maroon);
    border-color: var(--color-maroon);
}

.btn-outline:hover {
    background-color: var(--color-maroon);
    color: var(--color-white);
}

section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 16px;
}

.section-header p {
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

.process-section {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 40px;
    padding: 60px 0;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    max-width: 1000px;
    margin: 0 auto;
    align-items: center;
}

.process-section.has-image {
    grid-template-columns: auto 1fr 300px;
}

.process-section:last-child {
    border-bottom: none;
}

.process-number {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--color-maroon);
    font-style: italic;
}

.process-title {
    margin-bottom: 20px;
}

.process-title .jp {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.process-title .en {
    display: block;
    font-size: 0.875rem;
    color: var(--color-text-light);
    letter-spacing: 0.1em;
}

.process-text .jp {
    font-size: 1rem;
    margin-bottom: 16px;
    line-height: 1.9;
}

.process-text .en {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-style: italic;
    color: var(--color-text-light);
    line-height: 1.8;
}

.process-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background-color: #f0f0f0;
}

.process-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.process-section:hover .process-image img {
    transform: scale(1.03);
}
    text-transform: uppercase;
}

.process-text .jp {
    font-size: 1rem;
    margin-bottom: 16px;
    line-height: 1.9;
}

.process-text .en {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-style: italic;
    color: var(--color-text-light);
    line-height: 1.8;
}

.contact-cta {
    text-align: center;
    padding: 80px 24px;
    background-color: var(--color-black);
    color: var(--color-white);
}

.contact-cta h2 {
    font-size: 1.75rem;
    margin-bottom: 24px;
}

.contact-cta p {
    margin-bottom: 32px;
    opacity: 0.8;
}

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

.kimono-card {
    background: white;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: transform var(--transition), box-shadow var(--transition);
}

.kimono-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.kimono-card.sold {
    opacity: 0.7;
}

.kimono-image {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background-color: #f0f0f0;
}

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

.sold-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 6px 12px;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
}

.kimono-info {
    padding: 24px;
}

.kimono-info h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.kimono-price {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--color-maroon);
    margin-bottom: 16px;
}

.kimono-colors {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.color-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.1);
}

.kimono-motifs {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin-bottom: 16px;
}

.inquire-btn {
    width: 100%;
}

.filters {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    padding: 24px;
    background-color: white;
    border-radius: 4px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-group label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-light);
}

.filter-group select {
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.875rem;
    min-width: 150px;
    background-color: white;
    cursor: pointer;
}

.filter-group select:focus {
    outline: none;
    border-color: var(--color-maroon);
}

.lookbook-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
}

.lookbook-item {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    cursor: pointer;
    background-color: #f0f0f0;
}

.lookbook-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 400ms ease;
}

.lookbook-item:hover img {
    transform: scale(1.05);
}

.lookbook-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white;
    opacity: 0;
    transition: opacity var(--transition);
}

.lookbook-item:hover .lookbook-caption {
    opacity: 1;
}

.lookbook-caption h3 {
    font-size: 1.125rem;
    margin-bottom: 4px;
}

.lookbook-caption p {
    font-size: 0.875rem;
    opacity: 0.8;
}

.booking-section {
    max-width: 600px;
    margin: 0 auto;
    padding: 120px 24px 80px;
}

.booking-section h1 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 16px;
}

.booking-section .subtitle {
    text-align: center;
    color: var(--color-text-light);
    margin-bottom: 48px;
}

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

.form-group label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-light);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 0;
    border: none;
    border-bottom: 1px solid #ddd;
    font-family: var(--font-body);
    font-size: 1rem;
    background: transparent;
    transition: border-color var(--transition);
}

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

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-submit {
    text-align: center;
    margin-top: 48px;
}

.form-submit .btn {
    min-width: 250px;
}

.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.modal-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
}

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 8px;
}

.site-footer {
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 80px 0 40px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.footer-brand {
    margin-bottom: 32px;
}

.footer-brand .logo {
    color: var(--color-white);
    margin-bottom: 8px;
}

.footer-brand p {
    font-family: var(--font-heading);
    font-style: italic;
    opacity: 0.7;
}

.footer-contact {
    margin-bottom: 24px;
}

.footer-contact a {
    color: var(--color-maroon);
    text-decoration: underline;
}

.footer-social {
    margin-bottom: 40px;
}

.footer-social a {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 4px;
    transition: all var(--transition);
}

.footer-social a:hover {
    background-color: var(--color-maroon);
    border-color: var(--color-maroon);
}

.copyright {
    font-size: 0.75rem;
    opacity: 0.5;
}

.admin-panel {
    padding: 120px 24px 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.admin-panel h1 {
    margin-bottom: 32px;
}

.admin-nav {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid #ddd;
}

.admin-nav a {
    padding: 8px 16px;
    border-radius: 4px;
    transition: all var(--transition);
}

.admin-nav a:hover,
.admin-nav a.active {
    background-color: var(--color-maroon);
    color: white;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.admin-table th,
.admin-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.admin-table th {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-light);
    background-color: #fafafa;
}

.admin-table tr:hover td {
    background-color: #fafafa;
}

.admin-table .actions {
    display: flex;
    gap: 8px;
}

.admin-table .actions button,
.admin-table .actions a {
    padding: 6px 12px;
    font-size: 0.75rem;
    border-radius: 4px;
    cursor: pointer;
    border: none;
}

.admin-table .edit-btn {
    background-color: var(--color-maroon);
    color: white;
}

.admin-table .delete-btn {
    background-color: #dc3545;
    color: white;
}

.admin-table .toggle-btn {
    background-color: #28a745;
    color: white;
}

.admin-table .toggle-btn.sold {
    background-color: #6c757d;
}

.login-form {
    max-width: 400px;
    margin: 150px auto;
    padding: 48px;
    background: white;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.login-form h1 {
    text-align: center;
    margin-bottom: 32px;
}

.add-form {
    background: white;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    margin-bottom: 32px;
}

.add-form h2 {
    margin-bottom: 24px;
    font-size: 1.5rem;
}

.empty-state {
    text-align: center;
    padding: 80px 24px;
    color: var(--color-text-light);
}

.empty-state h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--color-text);
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-nav-overlay {
        display: block;
    }
    
    .process-section {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .process-section.has-image {
        grid-template-columns: 1fr;
    }
    
    .process-image {
        height: 220px;
        order: -1;
        margin-bottom: 16px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .collection-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .lookbook-grid {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 100px 24px 60px;
    }
    
    .hero-bg::after {
        background: linear-gradient(to bottom, rgba(245,245,240,0.95) 0%, rgba(245,245,240,0.8) 100%);
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
}