/*
Theme Name: WeddingFlow SaaS
Theme URI: https://weddingtablefinder.com
Author: WeddingFlow
Description: A premium, ultra-fast custom SaaS theme specialized for Wedding Table Finder.
Version: 1.0.0
Text Domain: weddingflow-saas
*/

/* ═══════════════════════════════════════════════════════════════════
   Global Reset & Roots
   Strict reset to ensure no browser or WP defaults interfere.
   ═══════════════════════════════════════════════════════════════════ */

:root {
    /* Color Palette (.theme-old-money base) */
    --wl-bg: #FDFBF7;
    --wl-card: #FFFFFF;
    --wl-border: #E8E2D8;
    --wl-primary: #9B7B4D;
    --wl-primary-hover: #876A40;
    --wl-primary-light: #F5F0E8;
    --wl-text: #2C2420;
    --wl-text-sec: #6B6058;
    --wl-text-muted: #B5ADA5;
    
    /* Typography */
    --wl-font-h: 'Playfair Display', Georgia, serif;
    --wl-font-b: 'Inter', -apple-system, sans-serif;
    
    /* Structure */
    --wl-radius: 16px;
    --wl-radius-sm: 10px;
    --wl-shadow: 0 2px 8px rgba(44,36,32,.05), 0 8px 24px rgba(44,36,32,.04);
    --wl-shadow-lg: 0 8px 32px rgba(44,36,32,.10);
    --wl-ease: cubic-bezier(.4,0,.2,1);
    
    /* Layout */
    --container-width: 1140px;
}

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

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--wl-font-b);
    color: var(--wl-text);
    background-color: var(--wl-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Base Elements */
img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}
p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}
a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s var(--wl-ease);
}
button, input, textarea, select {
    font: inherit;
}
button {
    cursor: pointer;
}

/* Typography Base */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--wl-font-h);
    font-weight: 700;
    line-height: 1.2;
    color: var(--wl-text);
}

/* Utility Containers */
.wfl-container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

main {
    flex: 1; /* Pushes footer down */
}
