/*!
Theme Name: SiteLink Storage Theme
Description: A comprehensive WordPress theme for boat and RV storage businesses that replicates SiteLink Store functionality and design.
Version: 1.0.1
Author: WordPress SiteLink Theme Developer
Text Domain: sitelink-storage
Domain Path: /languages
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.1
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: storage, business, elementor, responsive, iframe-integration

SiteLink Storage Theme, Copyright 2024
SiteLink Storage Theme is distributed under the terms of the GNU GPL v2 or later.

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
*/

/* Theme Foundation Styles - SiteLink Store Replica */
:root {
    --primary-blue: #4A90E2;
    --secondary-blue: #2E5D8A;
    --accent-green: #4CAF50;
    --light-green: #5CB85C;
    --text-dark: #333;
    --text-light: #666;
    --text-muted: #999;
    --background-white: #fff;
    --background-light: #f8f9fa;
    --border-color: #e2e8f0;
    --border-radius: 0.375rem;
    --shadow: 0 2px 4px rgb(0 0 0 / 10%);
    --font-sans: -apple-system, blinkmacsystemfont, "Segoe UI", roboto, "Helvetica Neue", arial, sans-serif;
}

/* Reset and Base Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-white);
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

/* Basic Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
}

/* Generic anchor styles moved to specific sections */

/* Header Styles - Matching SiteLink Store */
.site-header {
    background: var(--background-white);
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgb(0 0 0 / 10%);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 3fr 1fr;
    align-items: center;
    gap: 2rem;
}

.site-branding {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.custom-logo-link {
    display: block;
    line-height: 0;
}

.custom-logo {
    max-height: 120px;
    width: auto;
    max-width: 500px;
}

.site-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-decoration: none;
    margin: 0;
    letter-spacing: -0.02em;
}

.site-title:hover {
    color: var(--secondary-blue);
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-success {
    background: var(--accent-green);
    color: var(--background-white);
}

.btn-success:hover {
    background: #45a049;
    color: var(--background-white);
}

.btn-light-green {
    background: var(--light-green);
    color: var(--background-white);
}

.btn-light-green:hover {
    background: #5aa85a;
    color: var(--background-white);
}

/* Navigation Tabs - Matching SiteLink Store */
.main-navigation {
    background: var(--primary-blue);
    padding: 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--background-white);
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

/* Anchor styles with lower specificity come first */
.contact-item a {
    color: var(--accent-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-menu a {
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

/* Higher specificity selectors come after */
.nav-menu a:hover,
.nav-menu a.current-menu-item {
    background: rgb(255 255 255 / 20%);
    color: var(--background-white);
}

.contact-item a:hover {
    color: #fff;
}

/* Content Area Styles */
.content-area {
    padding: 2rem 0;
}

/* Full width for Elementor pages */
.elementor-page .content-area {
    max-width: none;
    margin: 0;
    padding: 0;
}

/* Full width for page template */
.page-template-page-fullwidth .content-area {
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
}

/* Container for non-Elementor pages - most specific last */
body:not(.elementor-page) .content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Full width for all pages */
.page .site-main {
    max-width: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

/* Ensure page content is truly full width */
.page .entry-content {
    max-width: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

/* Override any container constraints for pages */
.page .container {
    max-width: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

/* Ensure the main site wrapper doesn't constrain pages */
.page #page,
.page .site {
    max-width: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

/* Make sure articles on pages are full width */
.page article {
    max-width: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

/* Full Width Page Template Styles */
.fullwidth-main {
    max-width: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.fullwidth-article {
    max-width: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.fullwidth-content {
    max-width: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.fullwidth-header {
    background: var(--background-light);
    padding: 2rem 0;
    margin-bottom: 0;
}

.fullwidth-header .entry-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.fullwidth-comments {
    background: var(--background-light);
    padding: 2rem 0;
    margin-top: 2rem;
}

/* Override any container constraints for full-width template */
.page-template-page-fullwidth #page,
.page-template-page-fullwidth .site,
.page-template-page-fullwidth .site-main,
.page-template-page-fullwidth .container,
.page-template-page-fullwidth .content-wrapper,
.page-template-page-fullwidth article,
.page-template-page-fullwidth .entry-content {
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
}

/* Full width content for Elementor pages */
.elementor-page .content-wrapper {
    display: block;
    max-width: none;
    margin: 0;
    padding: 0;
}

/* Content wrapper for non-Elementor pages */
body:not(.elementor-page) .content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.main-content {
    background: var(--background-white);
}

/* Responsive content wrapper */
@media (width <= 768px) {
    body:not(.elementor-page) .content-wrapper {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
}

/* Facility Image Section */
.facility-image {
    margin: 2rem 0;
    text-align: center;
}

.facility-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* Info Section */
.info-section {
    background: var(--background-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin: 2rem 0;
}

.info-section h2 {
    color: var(--text-dark);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.info-section p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.contact-info {
    margin-top: 1rem;
}

.contact-info strong {
    color: var(--text-dark);
}

/* Sidebar Styles */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.widget {
    background: var(--background-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.widget-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

/* Generic list item styles */
.tab-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Generic list styles */
.hours-list {
    line-height: 1.6;
}

/* List item base styles moved to specific sections */

/* Business Hours Widget */
.business-hours .hours-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* List item styles with lower specificity come first */
.services-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgb(255 255 255 / 10%);
    transition: color 0.3s ease;
}

.footer-menu li {
    display: flex;
    align-items: center;
    margin: 0;
}

/* Higher specificity list selectors come after */
.business-hours .hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.services-list li:last-child {
    border-bottom: none;
}

.services-list li:hover {
    color: var(--accent-green);
}

.business-hours .hours-list li:last-child {
    border-bottom: none;
}

/* Contact Items - Generic styles first */
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgb(255 255 255 / 3%);
    border-radius: 8px;
    border-left: 3px solid var(--accent-green);
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item .icon {
    color: var(--accent-green);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    color: #fff;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

/* Contact item anchor styles moved after nav-menu a:hover */

/* Contact Info Widget - More specific overrides */
.contact-info .contact-item {
    margin-bottom: 0.75rem;
}

.contact-info .contact-item:last-child {
    margin-bottom: 0;
}

/* Responsive Design */
@media (width <= 768px) {
    .site-header {
        padding: 1rem 0;
        margin: 0;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    
    .header-container {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 1rem !important;
        text-align: center;
        padding: 0 1rem;
        margin: 0;
        max-width: 100%;
        width: 100%;
        grid-template-columns: none !important;
    }
    
    .site-branding {
        justify-content: center !important;
        order: 1;
        width: 100% !important;
        margin-bottom: 0.5rem;
        display: flex !important;
        align-items: center !important;
        text-align: center;
    }
    
    .header-actions {
        justify-content: center !important;
        order: 2;
        width: 100% !important;
        margin: 0 auto;
        display: flex !important;
        align-items: center !important;
        gap: 0.75rem;
        text-align: center;
        flex-wrap: wrap;
    }
    
    /* Ensure buttons are centered on mobile */
    .header-actions .btn {
        flex-shrink: 0;
    }
    
    .nav-menu {
        flex-direction: column;
    }
    
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    /* Mobile logo sizing - centered */
    .site-title {
        font-size: 1.8rem;
        text-align: center;
    }
    
    .custom-logo {
        max-height: 90px;
        width: 90%;
        max-width: 400px;
        margin: 0 auto;
        display: block;
    }
    
    .custom-logo-link {
        display: block;
        text-align: center;
        width: 100%;
    }
    
    /* Remove any unwanted margins on mobile */
    body {
        margin: 0;
        padding: 0;
    }
    
    #page,
    .site {
        margin: 0;
        padding: 0;
        width: 100%;
    }
}

/* WordPress Core Alignment */
.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

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

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

/* Screen Reader Text */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgb(0 0 0 / 60%);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}


/* Skip Links */
.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-link:focus {
    position: absolute;
    left: 6px;
    top: 7px;
    z-index: 999999;
    width: auto;
    height: auto;
    padding: 8px 16px;
    background: #000;
    color: #fff;
    text-decoration: none;
    border-radius: var(--border-radius);
}

/* Iframe Responsive Wrapper */
.iframe-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
}

.iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Utility Classes */
.visually-hidden {
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    overflow: hidden;
    height: 1px;
    width: 1px;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* Hero Section Styles */
.hero-section {
    position: relative;
    min-height: 60vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero section - optimize height and ensure proper centering */
.hero-section,
section[class*="min-h-"] {
    min-height: 40vh !important;  /* Reduced from 60vh to 40vh for better proportions */
    max-height: 70vh !important;  /* Prevent excessive height on large screens */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / 40%);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero overlay - simplified selectors */
.hero-overlay,
.absolute[class*="inset-0"] {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(0, 0, 0, 0.4) !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--background-white);
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

/* Hero content - simplified selectors */
.hero-content,
.relative[class*="z-10"] {
    text-align: center !important;
    width: 100% !important;
    max-width: 800px !important;
    margin: 0 auto !important;
    color: white !important;
    position: relative !important;
    z-index: 10 !important;
}

/* Hero container - simplified selectors */
.hero-container,
.max-w-6xl,
div[class*="max-w-"] {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 2rem !important;
}

.max-w-6xl.mx-auto.px-4.w-full > .relative.z-10.text-center.text-white {
    width: 100% !important;
    max-width: 800px !important;
    margin: 0 auto !important;
    text-align: center !important;
}

/* Force centering for all hero text elements */
.relative.z-10.text-center.text-white h1,
.relative.z-10.text-center.text-white p,
.relative.z-10.text-center.text-white .hero-cta {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.relative.z-10.text-center.text-white * {
    text-align: center !important;
}

/* Override any container constraints for hero section */
section.relative.min-h-\\[60vh\\] .max-w-6xl {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 2rem !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

/* Force the hero text container to be centered */
section.relative.min-h-\\[60vh\\] .relative.z-10 {
    width: 100% !important;
    display: block !important;
    text-align: center !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

/* Force hero elements to be centered */
section.relative.min-h-\\[60vh\\] h1,
section.relative.min-h-\\[60vh\\] p,
section.relative.min-h-\\[60vh\\] .hero-cta {
    text-align: center !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
}

/* Ensure hero section itself has no constraints */
section.relative.min-h-\\[60vh\\] {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    left: 0 !important;
    right: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
}

/* Ultimate centering fix for hero content */
section.relative.min-h-\\[60vh\\] .absolute.inset-0 {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
}

section.relative.min-h-\\[60vh\\] .absolute.inset-0 .max-w-6xl {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 2rem !important;
}

/* Center the inner content container */
section.relative.min-h-\\[60vh\\] .relative.z-10.text-center.text-white {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 800px !important;
    margin: 0 auto !important;
}

/* Hero Text Styling - Simplified selectors that WordPress can process */
.hero-section h1,
section[class*="min-h-"] h1 {
    font-size: 3rem !important;          /* 48px - equivalent to text-5xl */
    font-weight: 700 !important;
    color: white !important;
    margin-bottom: 1rem !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6) !important;
    text-align: center !important;
    line-height: 1.1 !important;
}

.hero-section p,
section[class*="min-h-"] p {
    font-size: 1.25rem !important;       /* 20px - equivalent to text-xl */
    font-weight: 400 !important;
    color: white !important;
    margin-bottom: 2rem !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5) !important;
    text-align: center !important;
    line-height: 1.4 !important;
    max-width: 600px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Responsive hero text sizing */
@media (min-width: 768px) {
    .hero-section h1,
    section[class*="min-h-"] h1 {
        font-size: 3.75rem !important;   /* 60px - equivalent to text-6xl on md+ screens */
    }
    
    .hero-section p,
    section[class*="min-h-"] p {
        font-size: 1.5rem !important;    /* 24px - equivalent to text-2xl on md+ screens */
    }
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgb(0 0 0 / 50%);
    text-align: center;
}

/* Hero title with Tailwind classes */
h1.text-5xl.md\\:text-6xl.font-bold {
    text-align: center !important;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgb(0 0 0 / 50%);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* Hero subtitle with Tailwind classes */
p.text-xl.md\\:text-2xl.mb-8.text-shadow-md.max-w-2xl.mx-auto {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.hero-cta .btn {
    font-size: 1.1rem;
    padding: 1rem 2rem;
    background: var(--accent-green);
    color: var(--background-white);
    border: none;
    border-radius: var(--border-radius);
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgb(0 0 0 / 20%);
}

.hero-cta .btn:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgb(0 0 0 / 30%);
}

/* Hero CTA Button - Support for Tailwind classes */
.hero-cta a.bg-accent-green,
.hero-cta .bg-accent-green {
    background-color: var(--accent-green) !important;
    color: white !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: var(--border-radius) !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    text-align: center !important;
}

.hero-cta a.bg-accent-green:hover,
.hero-cta .bg-accent-green:hover {
    background-color: #45a049 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 8px rgb(0 0 0 / 20%) !important;
}

/* Hero CTA centering */
.hero-cta {
    text-align: center;
    margin-top: 1rem;
}

@media (width <= 768px) {
    .hero-section {
        min-height: 50vh;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
}

/* Tabbed Content Styles */
.sitelink-tabbed-content {
    background: var(--background-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin: 2rem 0;
}

.tab-navigation {
    display: flex;
    background: var(--background-light);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    overflow: hidden;
}

.tab-button {
    flex: 1;
    padding: 1rem 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-light);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.tab-button:hover {
    background: rgb(74 144 226 / 10%);
    color: var(--primary-blue);
}

.tab-button.active {
    background: var(--background-white);
    color: var(--primary-blue);
    border-bottom-color: var(--primary-blue);
    font-weight: 600;
}

.tab-content-wrapper {
    padding: 2rem;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-content h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.tab-content h4 {
    color: var(--primary-blue);
    margin: 1.5rem 0 1rem;
    font-size: 1.25rem;
}

.tab-content ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.directions-map {
    margin-top: 2rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.units-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.unit-card {
    background: var(--background-light);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    text-align: center;
}

.unit-card h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.unit-card p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

@media (width <= 768px) {
    .tab-navigation {
        flex-direction: column;
    }
    
    .tab-button {
        text-align: center;
        border-bottom: 1px solid var(--border-color);
        border-radius: 0;
    }
    
    .tab-button.active {
        border-bottom-color: var(--primary-blue);
    }
    
    .tab-content-wrapper {
        padding: 1rem;
    }
    
    .units-grid {
        grid-template-columns: 1fr;
    }
}

/* Compact Footer Styles */
.compact-footer {
    background: var(--text-dark);
    color: #e2e8f0;
    padding: 3rem 0 0;
    margin-top: 4rem;
    position: relative;
}

.compact-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--accent-green) 100%);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Trust Statistics - Consistent with Footer Sections */
.trust-banner {
    background: rgb(255 255 255 / 8%);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 3px solid var(--primary-blue);
    margin-bottom: 2rem;
    text-align: center;
    width: 100%;
    
    /* Consistent styling with other footer widget boxes */
}

/* WordPress widget wrapper - reset to natural flow */
.trust-banner .widget,
.trust-banner .footer-widget,
.trust-banner .widget-block {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    width: 100% !important;
    
    /* Remove all grid properties from widget wrappers */
}

/* Footer Trust Section Wrapper - Clean Integration */
.footer-trust-section {
    margin-bottom: 2rem;
    padding: 0;
    border-bottom: none;
}

/* Single Grid Layer - Only the container that actually needs it */
.trust-stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Trust stat items - simplified structure */
.trust-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.5rem;
    width: 100%;
    box-sizing: border-box;
}

/* Additional WordPress widget area overrides */
.compact-footer .widget {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
}

/* Fix WordPress widget wrappers for other footer sections */
.footer-section .widget,
.footer-section .footer-widget,
#footer-get-started .widget,
#footer-why-choose .widget,
#footer-quick-access .widget {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    display: block !important;
    width: 100% !important;
}

/* Ensure footer sections maintain grid structure */

/* Ensure footer widget titles are hidden (using block h3 instead) */
.compact-footer .widget-title,
.footer-section .widget .widget-title {
    display: none !important;
}


.trust-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.25rem;
    display: block;
}

.trust-label {
    font-size: 0.85rem;
    color: #cbd5e0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2.5rem;
    
    /* Auto-fit columns with minimum width of 300px */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Specific layouts for different column counts */
.footer-grid-1 {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.footer-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.footer-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* Enhanced responsive behavior for better column distribution */
@media (width <= 1200px) {
    .footer-grid-3 {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (width <= 900px) {
    .footer-grid-2,
    .footer-grid-3 {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

.footer-section {
    background: rgb(255 255 255 / 8%);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 3px solid var(--primary-blue);
}

.footer-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-icon {
    width: 20px;
    height: 20px;
    color: var(--primary-blue);
}

.footer-section h4 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Contact & CTA Section */
.contact-cta {
    text-align: center;
}

.primary-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--primary-blue);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
    width: 100%;
    max-width: 280px;
}

.primary-cta:hover {
    background: var(--secondary-blue);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgb(0 0 0 / 20%);
}

.primary-cta svg {
    width: 18px;
    height: 18px;
}

/* Contact Items - moved to avoid duplicate */

.contact-item svg {
    width: 16px;
    height: 16px;
    color: var(--primary-blue);
    flex-shrink: 0;
}


/* Why Choose Us Section */
.features-list {
    list-style: none;
    display: grid;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgb(255 255 255 / 5%);
    border-radius: 6px;
    color: #cbd5e0;
    font-size: 0.9rem;
}

.feature-item svg {
    width: 16px;
    height: 16px;
    color: var(--accent-green);
    flex-shrink: 0;
}

.trust-badges {
    display: flex;
    gap: 1rem;
    margin-top: 1.25rem;
    justify-content: center;
}

.trust-badge {
    background: rgb(255 255 255 / 5%);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: #fff;
    border: 1px solid rgb(255 255 255 / 10%);
}

.trust-badge svg {
    width: 14px;
    height: 14px;
    color: var(--accent-green);
}

/* Connect Section */
.connect-section {
    text-align: center;
}

.quick-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.quick-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: transparent;
    color: #cbd5e0;
    text-decoration: none;
    border: 1px solid rgb(255 255 255 / 20%);
    border-radius: 6px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.quick-link:hover {
    background: rgb(255 255 255 / 10%);
    color: #fff;
    border-color: var(--primary-blue);
}

.quick-link svg {
    width: 16px;
    height: 16px;
}

/* Quick Actions */
.quick-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cta-button {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: var(--accent-green);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cta-button:hover {
    background: #45a049;
    transform: translateX(4px);
    box-shadow: 0 4px 15px rgb(76 175 80 / 30%);
}

.cta-button.secondary {
    background: transparent;
    border-color: rgb(255 255 255 / 30%);
    color: #e2e8f0;
}

.cta-button.secondary:hover {
    background: rgb(255 255 255 / 10%);
    border-color: var(--accent-green);
    color: var(--accent-green);
}

.cta-button .icon {
    flex-shrink: 0;
}


.contact-item address {
    font-style: normal;
    line-height: 1.6;
}

.emergency-note {
    font-size: 0.85rem;
    color: var(--accent-green);
    font-weight: 500;
    margin-top: 0.25rem;
}

/* Services List */
.services-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}

/* Services list item styles moved after business-hours */

.services-list .icon {
    color: var(--accent-green);
    flex-shrink: 0;
}

/* Trust Signals */
.trust-signals {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgb(76 175 80 / 20%);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--accent-green);
}

.trust-item .icon {
    flex-shrink: 0;
}

/* Newsletter Signup */
.newsletter-signup {
    margin-bottom: 2rem;
}

.newsletter-signup p {
    margin-bottom: 1rem;
    color: #cbd5e0;
}

.newsletter-form .input-group {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 0.75rem 1rem;
    background: rgb(255 255 255 / 10%);
    border: 1px solid rgb(255 255 255 / 20%);
    border-radius: 6px;
    color: #fff;
    font-size: 0.95rem;
}

.newsletter-form input[type="email"]::placeholder {
    color: #a0aec0;
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: var(--accent-green);
    background: rgb(255 255 255 / 15%);
}

.newsletter-form .submit-btn {
    padding: 0.75rem 1.5rem;
    background: var(--accent-green);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form .submit-btn:hover {
    background: #45a049;
    transform: translateY(-1px);
}

/* Social Media */
.social-media h4 {
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 33px;
    height: 33px;
    background: rgb(255 255 255 / 10%);
    border-radius: 50%;
    color: #e2e8f0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent-green);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgb(76 175 80 / 30%);
}

/* Footer Bottom - Full Width */
.footer-bottom {
    width: 100%;
    border-top: 1px solid rgb(255 255 255 / 10%);
    padding: 2rem 0;
    background: rgb(0 0 0 / 20%);
}

.footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom .copyright p {
    margin: 0;
    color: #a0aec0;
    font-size: 0.9rem;
}

.footer-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

/* Footer menu list item styles moved after business-hours */

.footer-menu a:hover {
    color: var(--accent-green);
}

/* Desktop Grid Layout Enforcement */
@media (width >= 769px) {
    .trust-banner {
        grid-template-columns: 1fr 1fr 1fr 1fr !important;
        gap: 0 !important;
    }
    
    .trust-banner .widget,
    .trust-banner .widget-block {
        grid-template-columns: 1fr 1fr 1fr 1fr !important;
        gap: 0 !important;
    }
    
    .trust-stats-container,
    .trust-banner .widget .trust-stats-container,
    .trust-banner .widget-block .trust-stats-container {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 0 !important;
        display: grid !important;
        width: 100% !important;
    }
    
    .footer-grid,
    .footer-grid-1,
    .footer-grid-2,
    .footer-grid-3 {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
        max-width: none !important;
    }
}

/* Responsive Design */
@media (width <= 768px) {
    .compact-footer {
        padding: 2rem 0 0;
        margin-top: 2rem;
    }
    
    .trust-banner {
        padding: 1.25rem 1rem;
    }
    
    .trust-stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .trust-number {
        font-size: 1.75rem;
    }
    
    .footer-grid,
    .footer-grid-1,
    .footer-grid-2,
    .footer-grid-3 {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
        max-width: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .footer-section {
        padding: 1.25rem;
    }
    
    .primary-cta {
        width: 100%;
        max-width: none;
    }
    
    .trust-badges {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
}

@media (width <= 480px) {
    .compact-footer {
        padding: 2rem 0 0;
    }
    
    .footer-container {
        padding: 0 0.75rem;
    }
    
    .trust-banner {
        text-align: center;
    }
    
    .trust-stats-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .footer-section {
        padding: 1rem;
    }
    
    .contact-item {
        font-size: 0.9rem;
    }
    
    .quick-links {
        gap: 0.5rem;
    }
    
    .social-links {
        gap: 0.75rem;
    }
}

/* Print Styles */
@media print {
    .no-print,
    .compact-footer {
        display: none !important;
    }
}

/* Custom hero section styles - enforce 400px height with background cover center */
.hero-section h1,
section[class*="min-h-"] h1 {
    font-size: 3rem !important;          /* 48px - equivalent to text-5xl */
    font-weight: 700 !important;
    color: white !important;
    margin-bottom: 1rem !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6) !important;
    text-align: center !important;
    line-height: 1.1 !important;
}

/* Optimize hero section height - enforce consistent 400px max height with highest specificity */
body .hero-section,
body section.relative.min-h-\[60vh\],
body section[class*="min-h-"][class*="relative"],
body section[class*="min-h-"] {
    height: 400px !important;      /* Fixed height at 400px */
    min-height: 400px !important;  /* Override Tailwind min-h-[60vh] */
    max-height: 400px !important;  /* Enforce maximum to prevent expansion */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;  /* Ensure content doesn't expand the section */
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

/* Hero overlay and content styling with high specificity */
body .hero-section .absolute,
body section[class*="min-h-"] .absolute,
body section.relative .absolute {
    background: rgba(0, 0, 0, 0.4) !important;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    height: 400px !important;      /* Match parent section height exactly */
    max-height: 400px !important;  /* Prevent expansion */
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
}

/* Hero content container */
.hero-section .max-w-6xl,
section[class*="min-h-"] .max-w-6xl {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 1rem !important;
    width: 100% !important;
}

/* Hero text content */
.hero-section .text-center,
section[class*="min-h-"] .text-center {
    text-align: center !important;
    color: white !important;
}

/* Hero subtitle styling */
.hero-section p,
section[class*="min-h-"] p {
    font-size: 1.25rem !important;        /* text-xl equivalent */
    color: white !important;
    margin-bottom: 2rem !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5) !important;
    max-width: 42rem !important;          /* max-w-2xl equivalent */
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .hero-section h1,
    section[class*="min-h-"] h1 {
        font-size: 3.75rem !important;    /* text-6xl equivalent for md+ screens */
    }
    
    .hero-section p,
    section[class*="min-h-"] p {
        font-size: 1.5rem !important;     /* text-2xl equivalent for md+ screens */
    }
}