/* Sea Cliff Willow Way - style.css */

/* --- Global Styles & Variables --- */
:root {
    --primary-color: #f4f1ea;
    --secondary-color: #333333;
    --accent-color: #d4a373;
    --light-gray: #f9f9f9;
    --white: #ffffff;
    --font-family-sans-serif: 'Noto Sans JP', sans-serif;
    --font-family-serif: 'Shippori Mincho', serif;
}

body {
    font-family: var(--font-family-sans-serif);
    line-height: 1.6;
    color: var(--secondary-color);
    background-color: var(--primary-color);
    margin: 0;
    padding: 0;
    font-feature-settings: "palt";
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
    font-family: var(--font-family-serif);
    font-weight: 500;
    letter-spacing: 1.2px;
}

h1 { font-size: 2.8rem; margin-bottom: 1rem; }
h2 { font-size: 2.2rem; margin-bottom: 0.8rem; }
h3 { font-size: 1.8rem; margin-bottom: 0.5rem; }

p {
    font-size: 1rem;
    line-height: 1.8;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* --- Layout & Container --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

main {
    padding: 40px 0;
}

/* --- Header & Navigation --- */
header {
    background: var(--white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-family: var(--font-family-serif);
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--secondary-color);
    letter-spacing: 2px;
}

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

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

nav ul li a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--secondary-color);
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.3s ease;
}

nav ul li a:hover, nav ul li a.active {
    border-bottom: 2px solid var(--accent-color);
}


/* --- Footer --- */
footer {
    background: var(--white);
    padding: 40px 20px;
    border-top: 1px solid #e0e0e0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-about, .footer-links, .footer-contact {
    flex: 1;
    min-width: 250px;
}

.footer-about h4, .footer-links h4, .footer-contact h4 {
    font-family: var(--font-family-serif);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.footer-about p {
    font-size: 0.9rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.footer-contact p {
    font-size: 0.9rem;
    margin: 5px 0;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    font-size: 0.8rem;
    color: #888;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover {
    background-color: #c5946a;
    transform: translateY(-2px);
}

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

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


/* --- Forms --- */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-family-sans-serif);
}

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

.consent-group {
    display: flex;
    align-items: center;
    gap: 10px;
}


/* --- Generic Sections --- */
.hero {
    background-color: var(--primary-color);
    text-align: center;
    padding: 80px 20px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px auto;
}

.text-center {
    text-align: center;
}

.section-padding {
    padding: 60px 20px;
}

/* --- Product Grid --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

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

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.product-info p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}


/* --- Trust/Features Section --- */
.features-grid {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    margin-top: 40px;
    text-align: center;
    flex-wrap: wrap;
}

.feature-item {
    flex: 1;
    min-width: 250px;
}

.feature-item h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

/* --- Testimonials --- */
.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 40px auto;
    text-align: center;
}
.testimonial {
    padding: 20px;
    font-style: italic;
}
.testimonial-author {
    margin-top: 15px;
    font-weight: bold;
}

/* --- Blog --- */
.blog-post-preview {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
}

/* --- Quiz --- */
.quiz-container {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    max-width: 800px;
    margin: 0 auto;
}
.quiz-step {
    display: none;
}
.quiz-step.active {
    display: block;
}
.quiz-options label {
    display: block;
    background: var(--light-gray);
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    cursor: pointer;
}
.quiz-options label:hover {
    background: #e9e9e9;
}


/* --- About Page --- */
.about-content {
    display: flex;
    gap: 40px;
    align-items: center;
}
.about-text { flex: 1; }
.about-image { flex: 1; }
.about-image img {
    max-width: 100%;
    border-radius: 12px;
}

/* --- Legal Page --- */
.legal-section {
    margin-bottom: 40px;
}
.legal-section h2 {
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&family=Shippori+Mincho:wght@400;500;700&display=swap');
