/*
Theme Name: Lucerne Grand HTML Editable
Theme URI: https://example.com/lucerne-grand-html
Author: Vincent
Author URI: https://example.com
Description: A fully editable, SEO-optimised HTML-based WordPress theme for the Lucerne Grand property launch landing page. Every section uses inline, human-readable HTML for easy editing in the WordPress Theme File Editor, FTP, or GoDaddy File Manager. Includes built-in technical SEO: meta tags, Open Graph, Twitter Cards, JSON-LD structured data, canonical URLs, and XML sitemap support. Dependency-free and optimised for GoDaddy Managed WordPress Platform V2.
Version: 2.0.0
Tested up to: 6.9.4
Requires at least: 6.0
Requires PHP: 8.2
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lucerne-grand-html
Tags: one-column, custom-menu, custom-logo, featured-images, theme-options, translation-ready, full-width-template, block-styles, wide-blocks
*/

/* ============================================================
   BASE RESET & TYPOGRAPHY  (edit fonts, sizes, colours here)
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --lg-primary: #1a3c34;       /* Deep botanical green */
    --lg-secondary: #c9a84c;     /* Champagne gold */
    --lg-light: #faf8f2;         /* Warm ivory */
    --lg-dark: #1a1a1a;          /* Near-black text */
    --lg-grey: #6b7280;          /* Muted grey */
    --lg-white: #ffffff;
    --lg-font-heading: 'Playfair Display', Georgia, serif;
    --lg-font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --lg-radius: 4px;
    --lg-shadow: 0 4px 24px rgba(0,0,0,0.08);
    --lg-max-width: 1200px;
}

html { font-size: 16px; scroll-behavior: smooth; }
body {
    font-family: var(--lg-font-body);
    color: var(--lg-dark);
    background: var(--lg-white);
    line-height: 1.7;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--lg-font-heading); font-weight: 700; line-height: 1.2; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lg-secondary); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--lg-primary); }

/* Accessibility: skip link */
.lg-skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 2000;
    background: var(--lg-primary); color: #fff; padding: 12px 20px; border-radius: var(--lg-radius);
}
.lg-skip-link:focus { left: 16px; top: 16px; color: #fff; }

/* ============================================================
   UTILITY CLASSES — use these in your HTML for quick layout
   ============================================================ */
.lg-container { max-width: var(--lg-max-width); margin: 0 auto; padding: 0 24px; }
.lg-section { padding: 80px 0; }
.lg-section-alt { background: var(--lg-light); }
.lg-text-center { text-align: center; }
.lg-text-white { color: var(--lg-white); }
.lg-text-gold { color: var(--lg-secondary); }
.lg-text-green { color: var(--lg-primary); }
.lg-eyebrow { font-weight: 600; text-transform: uppercase; letter-spacing: 2px; font-size: 0.85rem; color: var(--lg-secondary); margin-bottom: 8px; }
.lg-mb-1 { margin-bottom: 8px; }
.lg-mb-2 { margin-bottom: 16px; }
.lg-mb-3 { margin-bottom: 24px; }
.lg-mb-4 { margin-bottom: 40px; }
.lg-mt-2 { margin-top: 16px; }
.lg-mt-4 { margin-top: 40px; }

/* Grid */
.lg-grid { display: grid; gap: 32px; }
.lg-grid-2 { grid-template-columns: repeat(2, 1fr); }
.lg-grid-3 { grid-template-columns: repeat(3, 1fr); }
.lg-grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .lg-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
    .lg-grid-2, .lg-grid-3, .lg-grid-4 { grid-template-columns: 1fr; }
    .lg-section { padding: 56px 0; }
}

/* Buttons */
.lg-btn {
    display: inline-block; padding: 14px 32px; border-radius: var(--lg-radius);
    font-weight: 600; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.5px;
    transition: all 0.3s ease; cursor: pointer; border: 2px solid transparent; text-align: center;
}
.lg-btn-primary { background: var(--lg-secondary); color: var(--lg-white); border-color: var(--lg-secondary); }
.lg-btn-primary:hover { background: transparent; color: var(--lg-secondary); }
.lg-btn-outline { background: transparent; color: var(--lg-white); border-color: var(--lg-white); }
.lg-btn-outline:hover { background: var(--lg-white); color: var(--lg-primary); }
.lg-btn-green { background: var(--lg-primary); color: var(--lg-white); border-color: var(--lg-primary); }
.lg-btn-green:hover { background: transparent; color: var(--lg-primary); }

/* Hero */
.lg-hero {
    position: relative; min-height: 90vh; display: flex; align-items: center;
    justify-content: center; text-align: center; overflow: hidden;
    background-size: cover; background-position: center;
}
.lg-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(26,60,52,0.72) 0%, rgba(26,60,52,0.5) 100%);
}
.lg-hero-content { position: relative; z-index: 2; max-width: 760px; padding: 40px 24px; }
.lg-hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); color: var(--lg-white); margin-bottom: 16px; }
.lg-hero p { font-size: 1.15rem; color: rgba(255,255,255,0.92); margin-bottom: 32px; }
.lg-hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Cards */
.lg-card {
    background: var(--lg-white); border-radius: var(--lg-radius); padding: 32px;
    box-shadow: var(--lg-shadow); transition: transform 0.3s;
}
.lg-card:hover { transform: translateY(-4px); }

/* Stat band */
.lg-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.lg-stat { text-align: center; }
.lg-stat .num { font-family: var(--lg-font-heading); font-size: 2.2rem; color: var(--lg-secondary); }
.lg-stat .label { font-size: 0.85rem; color: var(--lg-grey); text-transform: uppercase; letter-spacing: 1px; }
@media (max-width: 768px) { .lg-stats { grid-template-columns: repeat(2, 1fr); } }

/* FAQ */
.lg-faq details {
    background: var(--lg-white); border: 1px solid #eee; border-radius: var(--lg-radius);
    margin-bottom: 12px; padding: 18px 22px; box-shadow: 0 1px 6px rgba(0,0,0,0.04);
}
.lg-faq summary { cursor: pointer; font-weight: 600; color: var(--lg-primary); list-style: none; }
.lg-faq summary::-webkit-details-marker { display: none; }
.lg-faq summary::after { content: '+'; float: right; color: var(--lg-secondary); font-size: 1.3rem; line-height: 1; }
.lg-faq details[open] summary::after { content: '\2212'; }
.lg-faq details p { margin-top: 12px; color: var(--lg-grey); }

/* Form */
.lg-form-group { margin-bottom: 20px; }
.lg-form-group label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.9rem; }
.lg-form-group input,
.lg-form-group select,
.lg-form-group textarea {
    width: 100%; padding: 12px 16px; border: 1px solid #ddd; border-radius: var(--lg-radius);
    font-size: 1rem; font-family: var(--lg-font-body); transition: border-color 0.3s;
}
.lg-form-group input:focus,
.lg-form-group select:focus,
.lg-form-group textarea:focus { border-color: var(--lg-secondary); outline: none; }

/* Footer */
.lg-footer { background: var(--lg-primary); color: rgba(255,255,255,0.85); padding: 60px 0 30px; }
.lg-footer a { color: var(--lg-secondary); }
.lg-footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 24px; margin-top: 40px; font-size: 0.85rem; }

/* Nav */
.lg-nav { background: var(--lg-white); box-shadow: 0 2px 8px rgba(0,0,0,0.06); position: sticky; top: 0; z-index: 1000; }
.lg-nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; max-width: var(--lg-max-width); margin: 0 auto; }
.lg-nav-logo { font-family: var(--lg-font-heading); font-size: 1.4rem; color: var(--lg-primary); font-weight: 700; }
.lg-nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.lg-nav-links a { color: var(--lg-dark); font-size: 0.9rem; font-weight: 500; }
.lg-nav-links a:hover { color: var(--lg-secondary); }
.lg-nav-cta { background: var(--lg-secondary); color: var(--lg-white); padding: 10px 20px; border-radius: var(--lg-radius); font-weight: 600; font-size: 0.85rem; white-space: nowrap; }
.lg-nav-cta:hover { color: var(--lg-white); opacity: 0.9; }
.lg-mobile-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; }
@media (max-width: 768px) {
    .lg-nav-links { display: none; }
    .lg-mobile-toggle { display: block; }
    .lg-nav-links.active { display: flex; flex-direction: column; align-items: flex-start; position: absolute; top: 100%; left: 0; right: 0; background: var(--lg-white); padding: 20px; box-shadow: var(--lg-shadow); }
}

/* Responsive images */
.lg-img-full { width: 100%; height: 400px; object-fit: cover; border-radius: var(--lg-radius); }
.lg-img-map { width: 100%; border-radius: var(--lg-radius); box-shadow: var(--lg-shadow); }

/* Sticky mobile call bar */
.lg-stickybar { display: none; }
@media (max-width: 768px) {
    .lg-stickybar {
        display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 1500;
        box-shadow: 0 -2px 12px rgba(0,0,0,0.15);
    }
    .lg-stickybar a { flex: 1; text-align: center; padding: 14px; font-weight: 600; font-size: 0.9rem; }
    .lg-stickybar .call { background: var(--lg-primary); color: #fff; }
    .lg-stickybar .enquire { background: var(--lg-secondary); color: #fff; }
    body { padding-bottom: 52px; }
}

/* Disclaimer bar */
.lg-disclaimer { background: var(--lg-dark); color: rgba(255,255,255,0.6); padding: 16px 24px; font-size: 0.78rem; text-align: center; }

/* Decorative art-deco band */
.lg-decoband {
    height: 64px;
    background-image: url('assets/images/art-deco-pattern.png');
    background-size: cover; background-position: center;
}

/* ============================================================
   WHATSAPP CLICK-TO-CHAT
   ============================================================ */
.lg-wa-float {
    position: fixed; right: 20px; bottom: 24px; z-index: 1400;
    width: 56px; height: 56px; border-radius: 50%;
    background: #25d366; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25); transition: transform 0.2s;
}
.lg-wa-float:hover { transform: scale(1.06); }
.lg-stickybar .whatsapp { background: #25d366; color: #fff; }
@media (max-width: 768px) {
    /* Lift the floating button above the sticky bar on phones */
    .lg-wa-float { bottom: 64px; }
}
