/*
Theme Name: Lua Home Theme
Theme URI: https://luahome.com
Author: Lua Home
Description: Clean minimal theme for Lua Home furniture store
Version: 1.0.0
Requires at least: 5.0
Requires PHP: 7.4
License: GPL v2 or later
Text Domain: lua-home-theme
*/

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --forest: #2D5A4A;
    --forest-dark: #1E3D32;
    --warm-brown: #8B7355;
    --cream: #FAF8F5;
    --charcoal: #2C2C2C;
    --white: #FFFFFF;
    --border: #E8E4DF;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--cream);
    color: var(--charcoal);
    line-height: 1.6;
    min-height: 100vh;
}

a {
    color: var(--forest);
    text-decoration: none;
}

a:hover {
    color: var(--forest-dark);
}

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

/* Site Header */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 0 24px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header .container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.site-logo {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 28px;
    font-weight: 500;
    color: var(--forest);
    text-decoration: none;
}

.site-logo span {
    color: var(--warm-brown);
}

.site-nav ul {
    list-style: none;
    display: flex;
    gap: 32px;
}

.site-nav a {
    font-size: 15px;
    font-weight: 500;
    color: var(--charcoal);
    transition: color 0.3s ease;
}

.site-nav a:hover {
    color: var(--forest);
}

/* Main Content */
.site-main {
    min-height: calc(100vh - 72px - 80px);
}

/* Full width for shortcode pages */
.page-template-default .site-main,
.lua-home-page .site-main {
    padding: 0;
}

.page-template-default .site-main .entry-content,
.lua-home-page .site-main .entry-content {
    max-width: none;
    padding: 0;
}

/* Regular content pages */
.entry-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 48px 24px;
}

.entry-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 42px;
    font-weight: 500;
    color: var(--forest);
    margin-bottom: 24px;
}

/* Site Footer */
.site-footer {
    background: var(--charcoal);
    color: var(--white);
    padding: 40px 24px;
    text-align: center;
}

.site-footer .container {
    max-width: 1400px;
    margin: 0 auto;
}

.site-footer p {
    font-size: 14px;
    opacity: 0.8;
}

.site-footer a {
    color: var(--white);
    opacity: 0.8;
}

.site-footer a:hover {
    opacity: 1;
}

/* Hide header/footer when Lua Home app is active */
body.lua-home-active .site-header,
body.lua-home-active .site-footer {
    display: none;
}

/* Utility */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* WordPress defaults */
.alignleft {
    float: left;
    margin-right: 1.5em;
}

.alignright {
    float: right;
    margin-left: 1.5em;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive */
@media (max-width: 768px) {
    .site-nav {
        display: none;
    }
    
    .entry-title {
        font-size: 32px;
    }
}
