/* Base Reset & Variables */
:root {
    --primary-color: #2F4F4F; /* Dark Slate Gray */
    --accent-color: #8B4513; /* Saddle Brown */
    --bg-color: #FDFCF8; /* Off-white paper like */
    --text-color: #333;
    --light-gray: #f0f0f0;
    --card-shadow: 0 4px 6px rgba(0,0,0,0.05);
    --hover-shadow: 0 8px 15px rgba(0,0,0,0.1);
    --font-heading: 'Shippori Mincho', serif;
    --font-body: 'Noto Sans JP', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    background-image: radial-gradient(#e5e5e5 1px, transparent 1px);
    background-size: 20px 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout */
.page-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    background-color: #fff;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.main-header {
    background-color: #fff;
    padding: 2rem 1rem;
    text-align: center;
    border-bottom: 3px solid var(--primary-color);
}

.hero-image-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.site-title {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: 0.1em;
}

/* Navigation */
.global-nav {
    background-color: var(--primary-color);
    margin-top: 1rem;
    border-radius: 4px;
    overflow: hidden;
}

.nav-list {
    display: flex;
    justify-content: center;
    list-style: none;
    flex-wrap: wrap;
}

.nav-item {
    display: block;
    padding: 1rem 1.5rem;
    color: #fff;
    font-weight: 500;
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--accent-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-item:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-item:hover {
    background-color: rgba(255,255,255,0.1);
}

/* Main Content */
.main-content {
    padding: 3rem 2rem;
    flex: 1;
}

.content-section {
    margin-bottom: 4rem;
}

.section-heading {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 1.8rem;
    border-left: 5px solid var(--accent-color);
    padding-left: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.section-heading::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, #ddd, transparent);
    margin-top: 0.5rem;
}

.section-heading a {
    color: var(--primary-color);
}

.section-heading a:hover {
    color: var(--accent-color);
}

/* Gallery Grids */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    justify-items: center;
}

.gallery-item {
    background: #fff;
    padding: 0.5rem;
    border: 1px solid #eee;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 4px;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

/* Outfit Section */
.outfit-container {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.outfit-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease;
}

.outfit-card:hover {
    transform: translateY(-3px);
}

.outfit-title {
    font-family: var(--font-heading);
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

/* News Section */
.news-layout {
    display: flex;
    gap: 2rem;
    align-items: center;
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.news-visuals {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.news-text h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.news-item {
    margin-bottom: 1.5rem;
}

.news-item.highlight p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.text-link {
    color: var(--accent-color);
    font-weight: bold;
    text-decoration: underline;
}

.text-link:hover {
    color: var(--primary-color);
    text-decoration: none;
}

/* Links Section */
.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.link-card {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid #eee;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

.link-card:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateX(5px);
}

.link-icon {
    width: 20px;
    height: auto;
    margin-right: 10px;
}

/* Ads Area */
.ads-area {
    margin-top: 4rem;
    text-align: center;
    background-color: #fafafa;
    padding: 2rem;
    border-top: 1px dashed #ddd;
}

.banner-images {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

/* Footer */
.main-footer {
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
    padding: 1.5rem;
    margin-top: auto;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .site-title {
        font-size: 1.8rem;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-item {
        width: 100%;
        text-align: center;
        padding: 0.8rem;
    }

    .news-layout {
        flex-direction: column;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
