/*
Theme Name: Voisins Japonais
Template: astra
Author: Kotori.japon
Description: Astra Child Theme for Voisins Japonais.
Version: 1.0.0
*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;800&family=Noto+Sans+JP:wght@400;700&family=Playfair+Display:ital,wght@0,700;1,700&display=swap');

/* --- Design System: Pop + Wa Fusion --- */
:root {
    /* Colors */
    --wa-bg: #FFFDF5;        /* Washi Pink/Cream */
    --wa-red: #BC002D;       /* Traditional Crimson */
    --wa-gold: #D4A017;      /* Traditional Gold */
    --pop-coral: #FF6B6B;    /* Pop Accent Red */
    --pop-cyan: #339AF0;     /* Pop Accent Blue */
    --wa-green: #8dbd8e;     /* Gentle Green - NEW */
    --sumi-ink: #2D2D2D;     /* Text Color */
    --white: #FFFFFF;
    
    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --font-body: 'Noto Sans JP', 'Montserrat', sans-serif;
    
    /* Spacing & Sizes */
    --max-width: 1200px;
    --section-padding: 6rem 0;
    --radius-lg: 24px;
    --radius-sm: 12px;
    
    /* Shadows */
    --shadow-soft: 0 10px 30px rgba(0,0,0,0.05);
    --shadow-pop: 8px 8px 0px var(--wa-green);
}

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

body {
    font-family: var(--font-body);
    background-color: var(--wa-bg);
    color: var(--sumi-ink);
    line-height: 1.7;
    overflow-x: hidden;
}

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

.serif {
    font-family: var(--font-serif);
    font-style: italic;
}

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

/* --- Layout --- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: var(--section-padding);
}

/* --- Header --- */
header {
    background: rgba(255, 253, 245, 0.8);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(188, 0, 45, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--wa-red);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-circle {
    width: 32px;
    height: 32px;
    background: var(--wa-red);
    border-radius: 50%;
    display: inline-block;
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: var(--wa-red);
}

.btn-cta {
    background: var(--wa-red);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 4px 4px 0 var(--wa-gold);
    transition: transform 0.2s;
}

.btn-cta:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--wa-green);
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 8rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: 'JAPAN';
    position: absolute;
    top: 10%;
    left: -5%;
    font-size: 15rem;
    font-weight: 900;
    color: rgba(188, 0, 45, 0.03);
    z-index: -1;
}

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

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    color: var(--sumi-ink);
}

.hero-content h1 span {
    color: var(--wa-red);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-pop);
    transform: rotate(2deg);
}

.floating-tag {
    position: absolute;
    background: var(--white);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-soft);
    font-weight: 700;
    top: -20px;
    right: -20px;
    z-index: 2;
    transform: rotate(-5deg);
}

/* --- Features & Cards --- */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}

.card {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    text-align: left;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--wa-green);
}

.card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--wa-red);
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: #666;
}

/* --- Decorative Elements --- */
.vertical-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    position: absolute;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--wa-gold);
    letter-spacing: 4px;
}

.accent-wave {
    background-image: radial-gradient(circle at 10px 10px, rgba(188, 0, 45, 0.05) 2px, transparent 0);
    background-size: 20px 20px;
}

/* --- Responsive & Mobile Menu --- */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001; /* Above the menu */
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--sumi-ink);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hamburger animation */
.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

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

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 968px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        /* display: none; */ /* Removing old hidden state */
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 253, 245, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.4s ease;
        z-index: 1000;
        font-size: 1.5rem;
    }

    .nav-links.active {
        right: 0;
    }

    .btn-cta {
        display: none; /* Hide standard CTA on mobile */
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content p {
        margin: 0 auto 2rem;
    }
}

/* --- Astra Compatibility Reset --- */
.ast-container, .site-content, .ast-content-area, .ast-separate-container .ast-article-inner {
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.site-header, .site-footer {
    display: none !important; /* Hide Astra's default header/footer if they appear */
}
#page {
    display: block !important;
}
.site {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
main {
    flex: 1;
}

/* --- Contact Form Styles --- */
input, textarea {
    width: 100%;
    padding: 1rem;
    margin-top: 0.5rem;
    border: 2px solid var(--wa-bg);
    border-radius: var(--radius-sm);
    font-family: inherit;
    background: var(--wa-bg);
}
input:focus, textarea:focus {
    outline: none;
    border-color: var(--wa-gold);
}
label {
    font-weight: 700;
    color: var(--wa-red);
}

