/*
Theme Name: Wood Agate
Theme URI: https://deamore.com
Author: Wood Agate
Description: Luxury parquet flooring theme. W3C Validated, WCAG Compliant, Blog Support.
Version: 2.3
License: GNU General Public License v2 or later
Text Domain: wood-agate
*/

:root {
    --color-cream-oak: #F2EBE3;
    --color-cream-dark: #E6DBC9;
    --color-boxwood-gold: #C5A065;
    --color-jujube-red: #7A3E3E;
    --color-text-main: #2A2626;
    --color-text-muted: #59524B;
    --color-white: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --spacing-container: 1400px;
    --spacing-section: 8rem;
    --border-thin: 1px solid rgba(42, 38, 38, 0.1);
}

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

body {
    background-color: var(--color-cream-oak);
    color: var(--color-text-main);
    font-family: var(--font-body);
    line-height: 1.8;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
}

h1, h2, h3 { font-family: var(--font-heading); font-weight: 500; color: var(--color-text-main); margin-bottom: 1.5rem; }
h1 { font-size: 4.5rem; line-height: 1.1; letter-spacing: -0.03em; }
h2 { font-size: 3rem; letter-spacing: -0.02em; }
h3 { font-size: 2rem; }

.section-subtitle {
    display: block; font-family: var(--font-heading); font-size: 1rem;
    text-transform: uppercase; letter-spacing: 0.15em; color: var(--color-boxwood-gold); margin-bottom: 1rem;
}
.text-accent { font-family: var(--font-heading); color: var(--color-boxwood-gold); font-style: italic; }
p { margin-bottom: 2rem; color: var(--color-text-muted); font-weight: 400; max-width: 60ch; }
a { text-decoration: none; color: inherit; transition: all 0.4s ease; }
.container { max-width: var(--spacing-container); margin: 0 auto; padding: 0 4vw; }

.site-header { padding: 2rem 0; position: fixed; top: 0; width: 100%; z-index: 100; background: rgba(242, 235, 227, 0.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: var(--border-thin); }
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.site-title { font-size: 1.5rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-text-main); }
.main-navigation ul { display: flex; gap: 3rem; list-style: none; }
.main-navigation a { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; position: relative; }
.main-navigation a::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 1px; background: var(--color-jujube-red); transition: width 0.3s; }
.main-navigation a:hover::after { width: 100%; }

.hero-section { min-height: 100vh; display: flex; align-items: center; padding-top: 80px; position: relative; border-bottom: var(--border-thin); }
.hero-layout { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 4rem; align-items: center; }
.hero-text h1 { margin-bottom: 2rem; }
.hero-pre-title { display: block; color: var(--color-boxwood-gold); font-family: var(--font-body); font-size: 1rem; text-transform: uppercase; letter-spacing: 0.2em; margin-bottom: 1rem; }
.btn-luxury { display: inline-block; padding: 1rem 2.5rem; border: 1px solid var(--color-text-main); text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.2em; transition: 0.4s; background: transparent; cursor: pointer; }
.btn-luxury:hover { background: var(--color-text-main); color: var(--color-white); padding-left: 3rem; }
.hero-visual { position: relative; height: 600px; background: var(--color-cream-dark); border-radius: 300px 300px 0 0; overflow: hidden; }
.hero-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(197, 160, 101, 0.2) 100%); }

.what-we-do { padding: var(--spacing-section) 0; }
.section-header { margin-bottom: 5rem; text-align: center; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4rem; border-top: var(--border-thin); padding-top: 4rem; }
.process-item h3 { font-size: 1.5rem; margin-top: 1rem; }
.process-number { font-size: 0.9rem; color: var(--color-boxwood-gold); border: 1px solid var(--color-boxwood-gold); width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; border-radius: 50%; margin-bottom: 1rem; }

.collections-section { background: var(--color-white); padding: var(--spacing-section) 0; }
.collection-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0; }
.product-card { padding: 4rem 2rem; border-right: var(--border-thin); border-bottom: var(--border-thin); position: relative; transition: 0.5s; background: var(--color-white); }
.product-card:hover { z-index: 2; box-shadow: 0 20px 50px rgba(0,0,0,0.05); transform: translateY(-10px); }
.wood-sample { width: 100%; height: 300px; margin-bottom: 2rem; position: relative; overflow: hidden; }
.sample-desert { background: linear-gradient(135deg, #F0E6D8 0%, #D4C5B0 100%); }
.sample-crimson { background: linear-gradient(135deg, #E6DBC9 40%, #A65E5E 100%); }
.sample-golden { background: linear-gradient(135deg, #DBCBA8 0%, #C5A065 100%); }
.sample-forest { background: linear-gradient(135deg, #8B5A3B 0%, #5D3A3A 100%); }
.product-meta h3 { margin-bottom: 0.5rem; font-size: 1.75rem; }
.product-meta span { color: var(--color-jujube-red); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; }

.creative-mission { padding: var(--spacing-section) 0; background: var(--color-text-main); color: var(--color-cream-oak); position: relative; overflow: hidden; }
.mission-wrapper { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 6rem; position: relative; z-index: 2; }
.mission-content h2 { color: var(--color-cream-oak); }
.mission-content p { color: rgba(242, 235, 227, 0.8); }
.mission-content .section-subtitle { color: var(--color-boxwood-gold); }
.abstract-shape { width: 600px; height: 600px; background: var(--color-jujube-red); opacity: 0.2; border-radius: 50%; position: absolute; right: -10%; top: 50%; transform: translateY(-50%); filter: blur(80px); }

.site-footer { background: #1F1C1C; color: var(--color-cream-oak); padding: 6rem 0 2rem; border-top: 4px solid var(--color-boxwood-gold); }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem; margin-bottom: 4rem; }
.footer-brand h2 { color: var(--color-white); margin-bottom: 1rem; letter-spacing: 0.05em; }
.footer-brand p { color: #888; font-size: 0.9rem; }
.footer-nav .section-subtitle, .footer-contact .section-subtitle { margin-bottom: 1.5rem; }
.footer-nav ul li, .footer-contact ul li { margin-bottom: 0.8rem; color: #aaa; font-size: 0.9rem; }
.footer-nav a:hover { color: var(--color-white); margin-left: 5px; }

/* Blog */
.page-header { padding: 10rem 0 6rem; background: var(--color-cream-oak); text-align: center; border-bottom: var(--border-thin); }
.page-title { font-size: 3.5rem; margin-bottom: 1rem; }
.taxonomy-description { max-width: 600px; margin: 0 auto; font-size: 1.1rem; color: var(--color-text-muted); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; padding: 6rem 0; }
.post-card { background: var(--color-white); border: 1px solid rgba(0,0,0,0.05); transition: 0.4s ease; display: flex; flex-direction: column; }
.post-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.05); }
.post-thumbnail { height: 250px; overflow: hidden; position: relative; }
.post-thumbnail img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s ease; }
.post-card:hover .post-thumbnail img { transform: scale(1.05); }
.post-content-wrap { padding: 2rem; flex-grow: 1; display: flex; flex-direction: column; }
.post-meta { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--color-boxwood-gold); margin-bottom: 0.8rem; }
.post-title { font-size: 1.5rem; margin-bottom: 1rem; }
.post-title a { color: var(--color-text-main); transition: color 0.3s; }
.post-title a:hover { color: var(--color-jujube-red); }
.read-more { margin-top: auto; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; padding-top: 1.5rem; border-top: 1px solid #eee; }

.single-post-container { max-width: 800px; margin: 0 auto; padding: 0 2rem; }
.single-header { text-align: center; padding: 8rem 0 4rem; }
.single-title { font-size: 3rem; line-height: 1.2; margin-bottom: 1.5rem; }
.single-featured-image { width: 100%; height: auto; margin-bottom: 4rem; border-radius: 2px; }
.entry-content { font-size: 1.15rem; line-height: 1.9; color: var(--color-text-muted); }
.entry-content p { margin-bottom: 2rem; max-width: 100%; }
.entry-content h2, .entry-content h3 { margin-top: 3rem; color: var(--color-text-main); }
.entry-content blockquote { border-left: 4px solid var(--color-boxwood-gold); padding-left: 2rem; font-style: italic; font-size: 1.4rem; color: var(--color-text-main); margin: 3rem 0; }
.pagination { margin: 4rem 0; text-align: center; display: flex; justify-content: center; gap: 1rem; }
.pagination a, .pagination span { display: inline-block; padding: 0.5rem 1rem; border: 1px solid var(--color-text-muted); color: var(--color-text-main); font-family: var(--font-body); }
.pagination .current, .pagination a:hover { background: var(--color-text-main); color: var(--color-white); border-color: var(--color-text-main); }

@media (max-width: 900px) {
    .hero-layout, .process-grid, .mission-wrapper, .footer-inner, .collection-grid, .blog-grid { grid-template-columns: 1fr; gap: 3rem; }
    h1 { font-size: 3rem; }
    .hero-visual { height: 300px; border-radius: 10px; }
    .page-title { font-size: 2.5rem; }
    .single-title { font-size: 2.2rem; }
}