/* ============================================================================
   MAZER PROPERTIES LLC - STYLESHEET
   Professional, accessible, mobile-first design
   WCAG 2.1 AA compliant
   ============================================================================ */

/* ============================================================================
   BASE STYLES & RESET
   ============================================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette - WCAG AA Compliant */
    --primary-color: #1e3a5f;        /* Deep navy blue */
    --primary-dark: #152943;         /* Darker navy for hover states */
    --secondary-color: #4a7c59;      /* Forest green */
    --accent-color: #d4a574;         /* Warm tan/gold */
    --text-primary: #2c2c2c;         /* Near black for body text */
    --text-secondary: #555555;       /* Medium gray for secondary text */
    --background-light: #f8f9fa;     /* Off-white background */
    --background-white: #ffffff;     /* Pure white */
    --border-color: #d1d5db;         /* Light gray borders */
    --error-color: #c41e3a;          /* Red for errors/emergencies */
    --success-color: #2d5f3f;        /* Dark green for success states */
    
    /* Typography */
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* Border radius */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}

html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 1rem;
    line-height: var(--line-height-base);
    color: var(--text-primary);
    background-color: var(--background-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================================================
   ACCESSIBILITY - Skip Link
   ============================================================================ */

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: var(--spacing-sm);
    text-decoration: none;
    z-index: 100;
    font-weight: 600;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

/* ============================================================================
   LAYOUT - Container
   ============================================================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ============================================================================
   HEADER / HERO SECTION
   ============================================================================ */

.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: var(--spacing-xl) 0;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.5px;
}

.hero .location {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xs);
    opacity: 0.95;
}

.hero .tagline {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 300;
}

/* ============================================================================
   TYPOGRAPHY
   ============================================================================ */

h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

h2 {
    font-size: 2rem;
    margin-top: var(--spacing-xl);
    padding-bottom: var(--spacing-sm);
    border-bottom: 3px solid var(--secondary-color);
}

h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
}

p {
    margin-bottom: var(--spacing-md);
}

strong {
    font-weight: 600;
    color: var(--text-primary);
}

a {
    color: var(--secondary-color);
    text-decoration: underline;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-color);
}

a:focus {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

/* ============================================================================
   SECTIONS
   ============================================================================ */

section {
    background: var(--background-white);
    margin: var(--spacing-lg) 0;
    padding: var(--spacing-xl) var(--spacing-lg);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
}

.about p {
    font-size: 1.125rem;
    line-height: 1.8;
}

/* ============================================================================
   CALL-TO-ACTION BUTTONS & CARDS
   ============================================================================ */

.cta-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.cta-card {
    background: var(--background-light);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-md);
    border: 2px solid var(--border-color);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.cta-card h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.cta-card p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: var(--border-radius-sm);
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    min-width: 44px;
    min-height: 44px;
    line-height: 1.5;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--success-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--error-color);
    color: white;
}

.btn-secondary:hover {
    background-color: #a01829;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn:focus {
    outline: 3px solid var(--accent-color);
    outline-offset: 3px;
}

.disclaimer {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: var(--spacing-sm);
    font-style: italic;
}

/* ============================================================================
   PROPERTY FEATURES GRID
   ============================================================================ */

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.feature {
    background: var(--background-light);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-md);
    border-left: 4px solid var(--secondary-color);
}

.feature h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.feature ul {
    list-style-position: inside;
    padding-left: 0;
}

.feature li {
    padding: var(--spacing-xs) 0;
    color: var(--text-primary);
    line-height: 1.6;
}

/* ============================================================================
   VOUCHER SECTION (Highlighted)
   ============================================================================ */

.voucher-section {
    background: linear-gradient(135deg, #f0f9f4 0%, #e8f5e9 100%);
    border: 2px solid var(--secondary-color);
    border-radius: var(--border-radius-md);
}

.voucher-content p {
    font-size: 1.125rem;
    line-height: 1.8;
}

/* ============================================================================
   APPLICATION PROCESS
   ============================================================================ */

.process-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

.step {
    background: var(--background-light);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-sm);
    border-left: 4px solid var(--accent-color);
}

.step h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xs);
}

.step p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

.neutral-notice {
    background: var(--background-light);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    font-style: italic;
    color: var(--text-secondary);
}

/* ============================================================================
   CONTACT SECTION
   ============================================================================ */

.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    margin: var(--spacing-lg) 0;
}

.contact-item {
    background: var(--background-light);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-md);
    text-align: center;
}

.contact-item h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    font-size: 1.25rem;
}

.contact-item p {
    margin-bottom: var(--spacing-xs);
    font-size: 1rem;
}

.contact-item a {
    color: var(--secondary-color);
    font-weight: 600;
}

.emergency-contact {
    background: #fff3cd;
    border: 2px solid #ffc107;
    padding: var(--spacing-md);
    border-radius: var(--border-radius-sm);
    margin-top: var(--spacing-lg);
}

/* ============================================================================
   FOOTER - Legal Sections
   ============================================================================ */

footer {
    background: var(--primary-dark);
    color: white;
    padding: var(--spacing-xl) 0;
    margin-top: var(--spacing-xl);
}

footer .container {
    max-width: 1200px;
}

.footer-content {
    line-height: 1.8;
}

footer h3 {
    color: white;
    font-size: 1.25rem;
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: var(--spacing-xs);
}

footer p {
    font-size: 0.9375rem;
    line-height: 1.8;
    opacity: 0.95;
}

footer a {
    color: var(--accent-color);
    text-decoration: underline;
}

footer a:hover {
    color: white;
}

.copyright {
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: var(--spacing-md);
}

.legal-section {
    margin-bottom: var(--spacing-lg);
}

.eho-logo {
    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-sm);
    margin-top: var(--spacing-md);
}

.small-text {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* ============================================================================
   RESPONSIVE DESIGN - TABLET (768px and up)
   ============================================================================ */

@media (min-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero .location {
        font-size: 1.5rem;
    }
    
    .cta-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-info {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================================================
   RESPONSIVE DESIGN - DESKTOP (1024px and up)
   ============================================================================ */

@media (min-width: 1024px) {
    .container {
        padding: 0 var(--spacing-lg);
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .cta-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contact-info {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .process-steps {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ============================================================================
   PRINT STYLES
   ============================================================================ */

@media print {
    body {
        background: white;
        color: black;
    }
    
    .skip-link,
    .btn {
        display: none;
    }
    
    section {
        box-shadow: none;
        border: 1px solid #ccc;
        page-break-inside: avoid;
    }
    
    footer {
        background: white;
        color: black;
        border-top: 2px solid black;
    }
    
    a {
        text-decoration: underline;
        color: black;
    }
    
    a[href]:after {
        content: " (" attr(href) ")";
        font-size: 0.875rem;
    }
}

/* ============================================================================
   REDUCED MOTION (Accessibility Preference)
   ============================================================================ */

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

}