/*
Theme Name: Moriya Chikusan Theme
Theme URI: https://moriyatikusan.com
Author: Antigravity
Description: A custom premium theme for Moriya Chikusan, focusing on Olive Wagyu and Sanuki no Mezame.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* ==========================================================================
   Variables & Reset
   ========================================================================== */
:root {
    --color-primary: #3A4A3B; /* Deep Olive Green */
    --color-secondary: #8C9E5E; /* Fresh Asparagus Green */
    --color-accent: #C4A77D; /* Earthy Gold/Wheat */
    --color-text: #333333;
    --color-text-light: #666666;
    --color-bg: #F9F9F7; /* Warm Off-white */
    --color-white: #FFFFFF;
    
    --font-heading: "Shippori Mincho", serif;
    --font-body: "Noto Sans JP", sans-serif;
    
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;
    
    --container-width: 1200px;
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
    background-color: var(--color-white);
    padding: var(--spacing-sm) 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.site-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-primary);
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: var(--spacing-md);
}

.main-navigation a {
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    color: var(--color-text);
    font-weight: 500;
}

.main-navigation a:hover {
    color: var(--color-secondary);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    margin-top: 60px; /* Header height offset */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/group.jpg'); /* Default fallback */
    background-size: cover;
    background-position: center;
    filter: brightness(0.7);
    z-index: -1;
}

.hero-content {
    text-align: center;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-sm);
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
    font-weight: 300;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: var(--color-secondary);
    color: var(--color-white);
    border-radius: 4px;
    font-weight: bold;
}

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

/* ==========================================================================
   Section Styles
   ========================================================================== */
section {
    padding: var(--spacing-xl) 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: var(--spacing-lg);
    color: var(--color-primary);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--color-accent);
    margin: var(--spacing-xs) auto 0;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-primary);
}

/* ==========================================================================
   Products Section
   ========================================================================== */
.product-card {
    display: flex;
    margin-bottom: var(--spacing-lg);
    background: var(--color-white);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border-radius: 8px;
    overflow: hidden;
}

.product-card:nth-child(even) {
    flex-direction: row-reverse;
}

.product-image {
    flex: 1;
    min-height: 300px;
}

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

.product-info {
    flex: 1;
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-info h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-primary);
}

/* ==========================================================================
   Farm Life (Schedule)
   ========================================================================== */
.schedule-container {
    background-color: var(--color-white);
    padding: var(--spacing-md);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.timeline-item {
    display: flex;
    margin-bottom: var(--spacing-sm);
    border-bottom: 1px solid #eee;
    padding-bottom: var(--spacing-sm);
}

.timeline-time {
    font-weight: bold;
    width: 100px;
    color: var(--color-accent);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: var(--spacing-lg) 0;
    text-align: center;
}

.footer-info {
    margin-bottom: var(--spacing-md);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 768px) {
    .site-title {
        font-size: 1.2rem;
    }
    .main-navigation {
        display: none; /* Mobile menu implementation needed later */
    }
    .hero-title {
        font-size: 2rem;
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
    .product-card, .product-card:nth-child(even) {
        flex-direction: column;
    }
}
