/*
Theme Name: Winters Property Theme
Description: A professional WordPress theme designed for Winters Property Management CT, featuring a clean forest green color scheme. Connecticut's Trusted House Watcher - professional home watch services.
Author: Winters Property Management CT
Version: 1.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: winters-property-theme
*/

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
    color: #333;
    background-color: #ffffff;
    font-weight: 400;
    letter-spacing: 0.01em;
}

/* Color Variables - Updated Green Theme with Gold Accents */
:root {
    --logo-green: #3b4331;
    --primary-green: #3b4331;
    --secondary-green: #4d5741;
    --light-green: #5f6a51;
    --accent-green: #717d61;
    --bold-text-green: #3b4331;
    --gold: #d4af37;
    --gold-light: #f4e09a;
    --gold-dark: #b8941f;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --gray: #6c757d;
    --dark-gray: #343a40;
    --border-color: #dee2e6;
}

/* Typography - Distinctive fonts for sophisticated design */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* Bold text styling (not titles) */
strong {
    color: var(--bold-text-green);
    font-weight: 600;
}

h1 {
    font-size: 3rem;
    line-height: 1.15;
    font-weight: 700;
}

h2 {
    font-size: 2.25rem;
    line-height: 1.25;
    font-weight: 600;
}

h3 {
    font-size: 1.625rem;
    line-height: 1.35;
    font-weight: 600;
}

h4 {
    font-size: 1.25rem;
    line-height: 1.4;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    color: var(--dark-gray);
    font-size: 1.05rem;
}

a {
    color: var(--secondary-green);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

a:hover {
    color: var(--primary-green);
}

/* Contact Info Bar - Enhanced */
.contact-info-bar {
    font-size: 0.9rem;
    background: linear-gradient(90deg, #f0f4ec 0%, #e8f0e0 100%);
    padding: 1.5rem 0;
    border-bottom: 2px solid var(--logo-green);
    position: relative;
    overflow: hidden;
}

.contact-info-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 67, 49, 0.05), transparent);
    animation: shimmer 8s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.contact-info-bar svg {
    transition: transform 0.3s ease;
}

.contact-info-bar a:hover svg {
    transform: rotate(15deg) scale(1.2);
}

.contact-info-bar a {
    position: relative;
    transition: all 0.3s ease;
}

.contact-info-bar a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--logo-green);
    transition: width 0.3s ease;
}

.contact-info-bar a:hover::after {
    width: 100%;
}

.contact-info-bar a:hover {
    color: var(--primary-green) !important;
    transform: translateY(-2px);
}


/* Container and Layout */
.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 1rem;
}

.content-wrapper {
    min-height: calc(100vh - 140px);
}

/* Header Styles */
.site-header {
    background-color: var(--white);
    border-bottom: 3px solid var(--primary-green);
    padding: 1.5rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 2rem;
    position: relative;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.site-logo img {
    height: 80px;
    width: auto;
    border-radius: 8px;
}

.site-text {
    display: flex;
    flex-direction: column;
}

.site-title {
    font-size: 2.2rem;
    color: var(--primary-green);
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.site-description {
    color: var(--secondary-green);
    font-size: 1rem;
    margin: 0;
    font-weight: 500;
}

/* Minimal branding for homepage */
.site-branding-minimal {
    display: flex;
    align-items: center;
}

.site-branding-minimal .site-text {
    display: flex;
    flex-direction: column;
}

/* Hero logo positioning */
.hero-logo-container {
    z-index: 20;
}

.hero-logo img {
    transition: transform 0.3s ease;
}

.hero-logo:hover img {
    transform: scale(1.05);
}

/* Header Navigation Layout */
.header-navigation {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
    justify-content: flex-end;
}

/* Navigation Styles */
.main-navigation {
    margin-top: 0;
    position: relative;
}

/* Header CTA Button */
.header-cta .get-started-btn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    color: var(--dark-gray);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
    background-color: var(--primary-green);
    color: var(--white);
    text-decoration: none;
    transform: translateY(-1px);
}

/* Main Content */
.main-content {
    padding: 2rem 0;
    position: relative;
}

/* Subtle Background Decorative Elements */
.content-section {
    position: relative;
}

.content-section::before {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 80px;
    height: 80px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23d4af37' opacity='0.08'%3E%3Cpath d='M12 3L2 12h3v8h6v-6h2v6h6v-8h3L12 3z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 0;
}

.content-section:nth-child(even)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23d4af37' opacity='0.08'%3E%3Cpath d='M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2M12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20A8,8 0 0,0 20,12A8,8 0 0,0 12,4M16.2,16.2L11,13V7H12.5V12.2L17,14.9L16.2,16.2Z'/%3E%3C/svg%3E");
    top: auto;
    bottom: 20px;
    left: 20px;
    right: auto;
}

.content-section:nth-child(3n)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23d4af37' opacity='0.08'%3E%3Cpath d='M22.7,19L13.6,9.9C14.5,7.6 14,4.9 12.1,3C10.1,1 7.1,0.6 4.7,1.7L9,6L6,9L1.6,4.7C0.4,7.1 0.9,10.1 2.9,12.1C4.8,14 7.5,14.5 9.8,13.6L18.9,22.7C19.3,23.1 19.9,23.1 20.3,22.7L22.6,20.4C23.1,20 23.1,19.3 22.7,19Z'/%3E%3C/svg%3E");
}

/* Ensure content stays above background */
.content-card,
.content-section > h1,
.content-section > h2,
.content-section > h3,
.content-section > p,
.content-section > div {
    position: relative;
    z-index: 1;
}

.page-title {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--accent-green);
}

.content-section {
    margin-bottom: 3rem;
    padding-bottom: 2.5rem;
    border-bottom: 2px solid var(--logo-green);
    position: relative;
}

.content-section:last-child {
    border-bottom: none;
}

/* Buttons - Enhanced with Animations */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--secondary-green);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover {
    background-color: var(--primary-green);
    color: var(--white);
    text-decoration: none;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(59, 67, 49, 0.4), 0 0 0 2px var(--gold);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--logo-green) 100%);
    box-shadow: 0 4px 15px rgba(59, 67, 49, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--logo-green) 0%, var(--primary-green) 100%);
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(59, 67, 49, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(59, 67, 49, 0.6);
    }
    100% {
        box-shadow: 0 4px 15px rgba(59, 67, 49, 0.4);
    }
}

/* Cards and Sections - Sophisticated Design */
.service-card,
.content-card {
    background-color: var(--white);
    border: none;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow:
        0 4px 6px -1px rgba(59, 67, 49, 0.08),
        0 2px 4px -1px rgba(59, 67, 49, 0.04);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.service-card::before,
.content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--gold) 0%, var(--primary-green) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* Alternating backgrounds for visual interest */
.content-section:nth-child(even) {
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.8) 0%, rgba(240, 244, 236, 0.8) 100%);
    padding: 2rem 1rem;
    margin-left: -1rem;
    margin-right: -1rem;
    border-radius: 12px;
}

.content-section:nth-child(3n) {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.03) 0%, rgba(113, 125, 97, 0.03) 100%);
    padding: 2rem 1rem;
    margin-left: -1rem;
    margin-right: -1rem;
    border-radius: 12px;
    border-left: 3px solid var(--gold);
    border-right: 3px solid var(--gold);
}

/* Add subtle texture pattern overlay for specific sections */
.content-section:nth-child(4n) {
    background: 
        radial-gradient(circle at 20% 20%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 67, 49, 0.03) 0%, transparent 50%),
        var(--light-gray);
    padding: 2rem 1rem;
    margin-left: -1rem;
    margin-right: -1rem;
    border-radius: 12px;
}

/* Enhanced spacing and visual breaks */
.content-section {
    margin-bottom: 2rem;
}

.content-section + .content-section {
    margin-top: 1.5rem;
}

.service-card::after,
.content-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--logo-green), var(--accent-green), var(--logo-green));
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
    border-radius: 12px 12px 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.service-card:hover::before,
.content-card:hover::before {
    opacity: 1;
}

.service-card:hover,
.content-card:hover {
    transform: translateY(-12px);
    box-shadow:
        0 25px 50px -12px rgba(59, 67, 49, 0.2),
        0 10px 20px -5px rgba(59, 67, 49, 0.1);
}

/* Forms */
.contact-form {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-green);
}

/* Compact homepage contact form: sits clean inside its own white card */
.contact-form-compact {
    background-color: transparent;
    padding: 0;
    border-left: none;
    border-radius: 0;
}

.compact-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-form-compact .btn-primary {
    width: 100%;
}

@media (max-width: 600px) {
    .compact-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-green);
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary-green);
    box-shadow: 0 0 0 2px rgba(74, 93, 35, 0.2);
}

/* Footer */
.site-footer {
    background-color: var(--primary-green);
    color: var(--white);
    padding: 2rem 0 1rem;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.footer-info {
    margin-bottom: 1rem;
}

.footer-info h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.footer-contact h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-contact .contact-item {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding-right: 1rem;
    word-break: break-word;
}

.footer-contact .contact-label {
    color: var(--accent-green);
    font-weight: 500;
    min-width: 80px;
}

.footer-contact .contact-link {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
    word-break: break-word;
    display: inline-block;
}

.footer-contact .contact-link:hover {
    color: var(--accent-green);
    text-decoration: underline;
}

.footer-contact .contact-text {
    color: var(--white);
}

.footer-services h4,
.footer-business-hours h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-services ul,
.footer-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-services li,
.footer-navigation li {
    margin-bottom: 0.5rem;
}

.footer-services a,
.footer-navigation a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-services a:hover,
.footer-navigation a:hover {
    color: var(--accent-green);
    text-decoration: underline;
}

.footer-business-hours .hours-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--secondary-green);
}

.footer-business-hours .day {
    font-weight: 500;
    color: var(--white);
}

.footer-business-hours .time {
    color: var(--accent-green);
}

.footer-cta {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--secondary-green);
    border-radius: 8px;
}

.footer-cta h4 {
    color: var(--white);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.footer-cta p {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-cta .btn {
    background-color: var(--accent-green);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-cta .btn:hover {
    background-color: var(--white);
    color: var(--primary-green);
    transform: translateY(-2px);
}

.footer-copyright {
    border-top: 1px solid var(--secondary-green);
    padding-top: 1rem;
    font-size: 0.9rem;
    text-align: center;
}

.copyright-content {
    margin-bottom: 0.5rem;
}

.copyright-text {
    margin: 0 0 0.5rem 0;
    color: var(--white);
}

.copyright-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
}

.copyright-link:hover {
    color: var(--accent-green);
    text-decoration: underline;
}

.copyright-description {
    margin: 0;
    font-size: 0.85rem;
    color: var(--accent-green);
}

.footer-privacy {
    margin-top: 1rem;
    text-align: center;
}

.footer-privacy a {
    color: var(--accent-green);
    text-decoration: none;
    font-size: 0.85rem;
}

.footer-privacy a:hover {
    color: var(--white);
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* SHOW HAMBURGER MENU ON MOBILE */
    .menu-toggle {
        display: block !important;
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        background: #3b4331;
        color: white;
        padding: 8px 12px;
        font-size: 24px;
        border-radius: 4px;
        z-index: 10001;
    }
    
    /* Hide desktop navigation on mobile */
    .main-navigation ul {
        display: none !important;
    }
    
    /* Mobile navigation styles when toggled */
    .main-navigation.toggled ul {
        display: block !important;
        position: fixed;
        top: 60px;
        left: 0;
        width: 80%;
        height: calc(100vh - 60px);
        background: white;
        box-shadow: 2px 0 10px rgba(0,0,0,0.2);
        margin: 0;
        padding: 0;
        z-index: 10000;
    }
    
    .main-navigation.toggled li {
        border-bottom: 1px solid #e0e0e0;
    }
    
    .main-navigation.toggled a {
        display: block;
        padding: 15px 20px;
        color: #3b4331;
        text-decoration: none;
        font-size: 16px;
    }
    
    /* Mobile overlay */
    .menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 9998;
    }
    
    .menu-overlay.active {
        display: block;
    }
    
    .contact-info-bar {
        display: none; /* Hide on mobile */
    }
    
    .header-content {
        position: relative;
        padding: 10px 0;
    }
    
    .site-branding {
        padding-right: 60px; /* Make room for hamburger */
    }
    
    .site-title {
        font-size: 1.4rem !important;
        text-align: left;
    }
    
    .site-description {
        display: none; /* Hide tagline on mobile */
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .footer-contact {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    /* Footer responsive styles */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-business-hours .hours-item {
        justify-content: space-between;
    }
}

@media (max-width: 480px) {
    .main-navigation ul {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    .service-card,
    .content-card,
    .contact-form {
        padding: 1.5rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-green {
    color: var(--primary-green);
}

.bg-light {
    background-color: var(--light-gray);
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 2rem;
}

/* WordPress Specific */
.wp-block-group {
    margin-bottom: 2rem;
}

.aligncenter {
    text-align: center;
}

.alignleft {
    float: left;
    margin-right: 1rem;
}

.alignright {
    float: right;
    margin-left: 1rem;
}

.screen-reader-text {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* Mobile Menu Toggle - Default Hidden on Desktop */
.menu-toggle {
    background: var(--primary-green);
    color: var(--white);
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    display: none; /* Hidden by default on desktop */
    font-size: 1rem;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background: var(--secondary-green);
    transform: translateY(-1px);
}

.menu-toggle .menu-icon {
    display: inline-block;
    margin-left: 0;
    font-size: 1.5rem;
    line-height: 1;
}

/* Banner sections styling for reference site layout */
.banner-section {
    padding: 4rem 0;
    margin: 3rem 0;
    background: linear-gradient(135deg, var(--light-green) 0%, var(--secondary-green) 100%);
    color: white;
    text-align: center;
    border-radius: 8px;
}

.banner-section h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.banner-section p {
    font-size: 1.2rem;
    color: #f0f8e8;
    margin-bottom: 2rem;
}

/* Stacked content sections */
.stacked-section {
    margin: 3rem 0;
    padding: 2rem 0;
}

.stacked-section:nth-child(even) {
    background-color: var(--light-gray);
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
}

/* Professional service cards - Sophisticated Layout */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
}

.service-item {
    background: var(--white);
    border: none;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: left;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    box-shadow:
        0 4px 6px -1px rgba(59, 67, 49, 0.06),
        0 2px 4px -1px rgba(59, 67, 49, 0.03);
}

/* Staggered card offset for visual interest */
.services-grid .service-item:nth-child(2) {
    transform: translateY(30px);
}

.services-grid .service-item:nth-child(4) {
    transform: translateY(30px);
}

.service-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--primary-green));
    border-radius: 4px 4px 0 0;
    opacity: 0;
    transform: scaleX(0);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.service-item:hover {
    box-shadow:
        0 25px 60px -15px rgba(59, 67, 49, 0.2),
        0 10px 25px -10px rgba(59, 67, 49, 0.1);
    transform: translateY(-8px);
}

.services-grid .service-item:nth-child(2):hover,
.services-grid .service-item:nth-child(4):hover {
    transform: translateY(22px);
}

.service-item:hover::after {
    opacity: 1;
    transform: scaleX(1);
}

.service-item h3 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-item .service-icon {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.05) 100%);
    border-radius: 16px;
}

.service-item p {
    color: var(--gray);
    line-height: 1.75;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.service-features li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    color: var(--dark-gray);
    position: relative;
    transition: color 0.3s ease;
}

.service-features li:hover {
    color: var(--primary-green);
}

.service-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.8rem;
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

/* Contact page specific styles */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.contact-info-item {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-green);
    text-align: center;
}

.contact-info-item h4 {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.contact-info-item .contact-icon {
    font-size: 2rem;
    color: var(--secondary-green);
    margin-bottom: 1rem;
    display: block;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.contact-method {
    background: var(--white);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.contact-method a {
    color: var(--secondary-green);
    font-weight: 500;
    text-decoration: none;
}

.contact-method a:hover {
    color: var(--primary-green);
}

/* Enhanced Mobile Responsive Styles */
@media (max-width: 768px) {
    /* Hero Section Mobile Fix */
    .hero-section > div {
        grid-template-columns: 1fr !important;
        padding: 1rem !important;
    }
    
    .hero-section img {
        width: 100% !important;
        max-width: 300px !important;
        margin: 0 auto !important;
    }
    
    .hero-content h1 {
        font-size: 2rem !important;
    }
    
    .hero-content p {
        font-size: 1.1rem !important;
    }
    
    /* Service Grid Mobile */
    .services-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* Contact Info Grid Mobile */
    .contact-info-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* Content Cards Mobile */
    .content-card {
        padding: 1.5rem !important;
    }
    
    /* Forms Mobile */
    .contact-form input,
    .contact-form textarea,
    .contact-form select {
        font-size: 16px !important; /* Prevents zoom on iOS */
    }
}

@media (max-width: 480px) {
    .contact-info-bar > .container > div > div:first-child {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    /* Hero Section Small Mobile */
    .hero-section {
        padding: 0.5rem 0 !important;
    }
    
    .hero-content h1 {
        font-size: 1.5rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    .hero-content p {
        font-size: 1rem !important;
        margin-bottom: 1rem !important;
    }
    
    .hero-content .btn {
        padding: 10px 20px !important;
        font-size: 0.9rem !important;
        width: 100% !important;
    }
    
    /* Contact Info Bar Small Mobile */
    .contact-info-bar a {
        font-size: 0.85rem !important;
    }
    
    .site-title {
        font-size: 1.5rem !important;
    }
    
    .site-description {
        font-size: 0.85rem !important;
    }
    
    /* Service Cards Small Mobile */
    .service-card,
    .service-item {
        padding: 1rem !important;
    }
    
    .service-card h3 {
        font-size: 1.2rem !important;
    }
    
    /* Contact Form Small Mobile */
    .contact-form {
        padding: 1rem !important;
    }
    
    .contact-form .btn {
        width: 100% !important;
    }
}

/* ========================================
   SOPHISTICATED DESIGN ENHANCEMENTS
   ======================================== */

/* Section Dividers - Wave Shape */
.section-divider {
    position: relative;
    height: 80px;
    overflow: hidden;
}

.section-divider svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.section-divider-top {
    transform: rotate(180deg);
}

/* Diagonal Section Background */
.diagonal-section {
    position: relative;
    padding: 5rem 0;
    margin: 4rem 0;
    background: linear-gradient(135deg, var(--light-gray) 0%, rgba(240, 244, 236, 0.6) 100%);
}

.diagonal-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: inherit;
    transform: skewY(-2deg);
    transform-origin: top left;
}

.diagonal-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: inherit;
    transform: skewY(2deg);
    transform-origin: bottom right;
}

/* Scroll Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Staggered Animation Delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

/* Enhanced Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.hero-content h1 {
    font-family: 'Playfair Display', Georgia, serif;
    letter-spacing: -0.02em;
}

.hero-content p {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 400;
    letter-spacing: 0.02em;
}

/* Enhanced Footer Design */
.site-footer {
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
}

.footer-header h3 {
    font-family: 'Playfair Display', Georgia, serif;
    letter-spacing: -0.01em;
}

/* Sophisticated CTA Section */
.cta-sophisticated {
    position: relative;
    padding: 4rem 3rem;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--logo-green) 100%);
    border-radius: 24px;
    overflow: hidden;
}

.cta-sophisticated::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(212, 175, 55, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.cta-sophisticated::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 40%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.cta-sophisticated h3 {
    font-family: 'Playfair Display', Georgia, serif;
    color: white;
    position: relative;
    z-index: 1;
}

.cta-sophisticated p {
    position: relative;
    z-index: 1;
}

/* Enhanced Button Styles */
.btn-sophisticated {
    position: relative;
    padding: 14px 32px;
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.02em;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-sophisticated::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-sophisticated:hover::before {
    left: 100%;
}

.btn-sophisticated:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Service Feature List Enhancement */
.service-features li {
    position: relative;
    padding: 0.6rem 0 0.6rem 1.75rem;
    transition: all 0.3s ease;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1rem;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.service-features li:hover {
    padding-left: 2rem;
    color: var(--primary-green);
}

.service-features li:hover::before {
    transform: scale(1.3);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.2);
}

/* Floating Action Indicator */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.floating {
    animation: float 3s ease-in-out infinite;
}

/* Grain Texture Overlay (subtle) */
.grain-overlay {
    position: relative;
}

.grain-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
}

/* Promo Card Hover Effects */
.promo-card {
    cursor: pointer;
}

.promo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(59, 67, 49, 0.25);
}

.promo-card img {
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.promo-card:hover img {
    transform: scale(1.05);
}

/* Mobile Adjustments for Sophisticated Design */
@media (max-width: 768px) {
    .services-grid .service-item:nth-child(2),
    .services-grid .service-item:nth-child(4) {
        transform: translateY(0);
    }

    .services-grid .service-item:nth-child(2):hover,
    .services-grid .service-item:nth-child(4):hover {
        transform: translateY(-8px);
    }

    .diagonal-section::before,
    .diagonal-section::after {
        display: none;
    }

    .cta-sophisticated {
        padding: 2.5rem 1.5rem;
        border-radius: 16px;
    }

    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    /* Hero section mobile */
    .hero-section > div {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        text-align: center !important;
    }

    .hero-section .hero-content {
        text-align: center !important;
    }

    .hero-section .hero-content h1 {
        font-size: 2.25rem !important;
    }

    .hero-section .hero-content > div:last-child {
        justify-content: center !important;
    }

    /* About page photo section mobile */
    .content-section > div[style*="grid-template-columns: 1fr 1.5fr"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .content-section > div[style*="grid-template-columns: 1fr 1.5fr"] > div:first-child {
        max-width: 350px;
        margin: 0 auto;
    }

    /* FIX MENU OVERLAY - ensure it's behind the menu */
    .menu-toggle {
        z-index: 10002 !important;
        position: relative !important;
    }

    .main-navigation {
        z-index: 10001 !important;
    }

    .menu-overlay {
        z-index: 9999 !important;
    }

    /* ============================================
       MOBILE STACK - Primary mobile layout fix
       ============================================ */
    .mobile-stack {
        display: block !important;
    }

    .mobile-stack > div {
        margin-bottom: 1.5rem !important;
        width: 100% !important;
        max-width: 100% !important;
        transform: translateY(0) !important;
    }

    .mobile-stack > div:last-child {
        margin-bottom: 0 !important;
    }

    /* CTA buttons stack on mobile */
    .mobile-stack-buttons {
        flex-direction: column !important;
        align-items: center !important;
        gap: 1rem !important;
    }

    .mobile-stack-buttons > a {
        width: 100% !important;
        max-width: 300px !important;
        text-align: center !important;
        justify-content: center !important;
    }

    /* Stats bar styling */
    .stats-bar {
        flex-direction: column !important;
        gap: 1.5rem !important;
        padding: 2rem 1.5rem !important;
    }

    .stats-bar .stats-divider {
        display: none !important;
    }

    /* Legacy attribute selectors for backward compatibility */
    div[style*="display: flex"][style*="gap: 4rem"] {
        flex-direction: column !important;
        gap: 1.5rem !important;
        padding: 2rem 1.5rem !important;
    }

    div[style*="width: 1px"][style*="background: rgba(255,255,255"] {
        display: none !important;
    }

    /* Contact page cards */
    div[style*="margin-top: -80px"] {
        margin-top: -40px !important;
    }

    /* Section padding adjustments */
    section[style*="padding: 5rem"],
    section[style*="padding: 6rem"] {
        padding: 2.5rem 0 !important;
    }

    section[style*="padding: 4rem"] {
        padding: 2rem 0 !important;
    }

    /* Hero text sizes */
    h1[style*="font-size: 3"],
    h1[style*="font-size: 3.5rem"] {
        font-size: 1.75rem !important;
        line-height: 1.2 !important;
    }

    h2[style*="font-size: 2.5rem"],
    h2[style*="font-size: 2.75rem"] {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
    }

    h3[style*="font-size: 2rem"],
    h3[style*="font-size: 2.5rem"] {
        font-size: 1.35rem !important;
    }

    /* Full-width sections */
    section[style*="margin: 4rem -20px"],
    section[style*="margin: 0 -20px"] {
        margin-left: -15px !important;
        margin-right: -15px !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* Card padding - more breathing room */
    div[style*="padding: 2.5rem"],
    div[style*="padding: 3rem"] {
        padding: 1.25rem !important;
    }

    div[style*="padding: 4rem"] {
        padding: 1.5rem !important;
    }

    /* Fix promo cards - button positioning */
    .promo-card {
        margin-bottom: 1.5rem !important;
    }

    .promo-card > div[style*="position: absolute"] {
        position: relative !important;
        background: var(--primary-green) !important;
        padding: 1rem !important;
        text-align: center !important;
    }

    /* Services page - How It Works steps */
    div[style*="display: grid"][style*="repeat(4"] {
        display: block !important;
    }

    div[style*="display: grid"][style*="repeat(4"] > div {
        margin-bottom: 1.5rem !important;
    }

    /* About page image */
    img[style*="border-radius: 16px"] {
        max-width: 280px !important;
        margin: 0 auto !important;
        display: block !important;
    }

    /* What You Can Expect list */
    ul[style*="list-style: none"] li {
        margin-bottom: 1rem !important;
    }

    /* Commitment section grid */
    div[style*="grid-template-columns: 1fr 1fr"][style*="gap: 1.5rem"] {
        display: block !important;
    }

    div[style*="grid-template-columns: 1fr 1fr"][style*="gap: 1.5rem"] > div {
        margin-bottom: 1rem !important;
    }

    /* Center the last item that spans 2 columns */
    div[style*="grid-column: span 2"] {
        grid-column: auto !important;
    }

    /* Service features list - keep left padding for bullets */
    .service-features li,
    ul.service-features li {
        padding: 0.4rem 0 0.4rem 1.5rem !important;
        font-size: 0.95rem !important;
    }

    .service-features li::before,
    ul.service-features li::before {
        top: 0.7rem !important;
        width: 6px !important;
        height: 6px !important;
    }

    /* Fix icon sizes */
    div[style*="width: 64px"][style*="height: 64px"] {
        width: 56px !important;
        height: 56px !important;
    }

    div[style*="width: 72px"][style*="height: 72px"],
    div[style*="width: 80px"][style*="height: 80px"] {
        width: 60px !important;
        height: 60px !important;
    }

    /* Quote section */
    div[style*="font-size: 6rem"] {
        font-size: 3rem !important;
        top: 10px !important;
        left: 15px !important;
    }

    p[style*="font-size: 1.5rem"][style*="font-style: italic"] {
        font-size: 1.1rem !important;
    }

    /* Container padding */
    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

/* Deployed via GitHub Actions */
/* v1.1 - Deployed 2026-01-12 */
