/**
 * Child Theme Style.css Header
 * Somerset Place Society - Optimized Child Theme
 */

/*
Theme Name: Somerset Place Society - Child Theme
Theme URI: https://somersetplace.net
Description: SEO & Conversion Optimized Child Theme for Somerset Place Society. Enhanced with floating CTAs, enquiry forms, FAQ accordion, lifestyle content, and comprehensive schema markup.
Author: Somerset Place Development Team
Author URI: https://somersetplace.net
Version: 1.0.0
License: GPL v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: somerset-child
Domain Path: /languages
Parent Theme: illdy
Template: illdy
Requires PHP: 7.4
Requires WordPress: 6.0

== Description ==

Somerset Place Society Child Theme - Enhanced for performance, SEO, and conversions

== Features ==

✓ LocalBusiness Schema Markup
✓ FAQ Schema Markup
✓ AggregateRating (Reviews) Schema
✓ Service Area Schema
✓ Breadcrumb Schema
✓ Article/BlogPosting Schema
✓ Floating CTA Bar (Phone, WhatsApp, Enquiry, Directions)
✓ Enquiry Form Modal
✓ Google Reviews Widget
✓ FAQ Accordion
✓ Lifestyle Community Showcase Page
✓ Lazy Image Loading
✓ GZIP Compression
✓ Browser Caching Headers
✓ Analytics Integration (GA4, GTM, Facebook Pixel)
✓ Mobile Optimized
✓ Accessibility Compliant

== Installation ==

1. Upload to /wp-content/themes/somerset-place-child/
2. Activate in WordPress Admin → Appearance → Themes
3. Configure settings as needed

== Required Plugins ==

- Yoast SEO (already installed)
- WP Rocket (recommended for caching)
- ShortPixel (recommended for image optimization)

== Optional Plugins ==

- MonsterInsights (GA4 integration)
- Trust Badges (customer reviews)
- HotJar (session recording)

== Changelog ==

### 1.0.0 - 2025-01-15
- Initial release
- Complete SEO optimization
- Conversion rate optimization
- Performance enhancements
- Community lifestyle features

== Support ==

Documentation: See IMPLEMENTATION_GUIDE.md
Image Optimization: See IMAGE_OPTIMIZATION_GUIDE.md

== License ==

This child theme is licensed under GPL v3. See LICENSE file.

*/

/* Import parent theme styles */
@import url('../illdy/style.css');

/* Child theme customizations below */

:root {
    --primary-green: #515e4a;
    --accent-green: #79e020;
    --accent-red: #c6390e;
    --light-gray: #8c9597;
    --dark-gray: #545454;
    --text-light: #f8f9fa;
    --border-light: #e0e0e0;
}

/* Global optimizations */
html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography enhancements */
p {
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
}

/* Link styling */
a {
    transition: color 0.3s ease, background-color 0.3s ease;
}

a:hover,
a:focus {
    text-decoration: none;
}

/* Form improvements */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    border-radius: 6px;
    border: 1px solid var(--border-light);
    padding: 12px 15px;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-green);
    box-shadow: 0 0 0 3px rgba(121, 224, 32, 0.1);
}

button,
input[type="submit"],
input[type="button"] {
    cursor: pointer;
    border-radius: 6px;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* Container widths */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Responsive utilities */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    h1 { font-size: 24px; }
    h2 { font-size: 20px; }
    h3 { font-size: 18px; }
}

/* Spacing utilities */
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.pt-1 { padding-top: 10px; }
.pt-2 { padding-top: 20px; }
.pt-3 { padding-top: 30px; }
.pb-1 { padding-bottom: 10px; }
.pb-2 { padding-bottom: 20px; }
.pb-3 { padding-bottom: 30px; }

/* Utility classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.hidden { display: none !important; }
.visible { display: block !important; }

/* Skip to main content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #000;
    color: #fff;
    padding: 8px;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* Accessibility: Focus indicators */
*:focus {
    outline: 2px solid var(--accent-green);
    outline-offset: 2px;
}

button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--accent-green);
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Success/Error messages */
.alert {
    padding: 15px;
    border-radius: 6px;
    margin: 15px 0;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Print styles */
@media print {
    .no-print,
    .somerset-floating-cta-bar,
    .somerset-modal {
        display: none !important;
    }

    body {
        background: #fff;
        color: #000;
    }

    a {
        text-decoration: underline;
    }
}

/* Dark mode support (optional future feature) */
@media (prefers-color-scheme: dark) {
    /* Add dark mode styles here if needed */
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* End of child theme styles */
