/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

/* Header & Navigation */
header {
    background-color: #2563eb;
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
    padding-bottom: 0.25rem;
    border-bottom: 2px solid transparent;
}

nav a:hover {
    opacity: 0.8;
}

nav a.active {
    border-bottom-color: white;
    font-weight: 600;
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

main > * {
    padding: 2rem;
}

h1 {
    color: #1e3a8a;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h2 {
    color: #2563eb;
    font-size: 2rem;
    margin: 2rem 0 1rem;
}

h3 {
    color: #1e40af;
    font-size: 1.5rem;
    margin: 1.5rem 0 0.5rem;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.hero h1 {
    color: white;
    font-size: 3rem;
}

.hero p {
    font-size: 1.25rem;
    margin: 0.5rem 0;
}

/* Features Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.feature {
    padding: 1.5rem;
    background-color: #f8fafc;
    border-radius: 8px;
    border-left: 4px solid #2563eb;
}

/* Service Categories */
.service-category {
    background-color: #f8fafc;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.service-category ul {
    margin: 1rem 0 1rem 2rem;
}

.service-category li {
    margin: 0.5rem 0;
}

/* Team Members */
.team-member {
    background-color: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    border-left: 4px solid #2563eb;
}

/* Pricing */
.pricing-tier, .pricing-category {
    background-color: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.pricing-tier h3 {
    color: #2563eb;
    font-size: 1.75rem;
}

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

.contact-info > div {
    background-color: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
}

.hours-table {
    width: 100%;
    margin: 1rem 0;
    border-collapse: collapse;
}

.hours-table tr {
    border-bottom: 1px solid #e2e8f0;
}

.hours-table td {
    padding: 0.75rem;
}

.hours-table td:first-child {
    font-weight: bold;
    color: #2563eb;
}

/* Lists */
ul {
    margin: 1rem 0 1rem 2rem;
}

li {
    margin: 0.5rem 0;
}

/* Call to Action */
.cta {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    border-radius: 8px;
    margin: 2rem 0;
}

.cta h2 {
    color: white;
}

.cta p {
    font-size: 1.25rem;
    margin: 1rem 0;
}

.button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: white;
    color: #2563eb;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 1rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Footer */
footer {
    background-color: #1e293b;
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 2rem;
}

footer p {
    margin: 0.5rem 0;
}

/* ===========================
   DEMO NOTICE BANNER STYLES
   =========================== */

/* Demo Notice Banner at Top */
.demo-notice-banner {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #78350f;
    padding: 12px 20px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 2px solid #d97706;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1001;
}

.demo-notice-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.demo-icon {
    flex-shrink: 0;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.demo-notice-banner strong {
    color: #92400e;
}

/* Demo Badge in Logo */
.demo-badge {
    display: inline-block;
    background: #fbbf24;
    color: #78350f;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    margin-right: 6px;
    letter-spacing: 0.5px;
    vertical-align: middle;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* ===========================
   NEW HEADER COMPONENT STYLES
   =========================== */

/* Header Container */
.site-header {
    background-color: #2563eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

.site-header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

/* Logo */
.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo-text:hover {
    opacity: 0.9;
}

.logo-accent {
    color: #60a5fa;
    font-weight: 800;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 30px;
    height: 3px;
    background-color: white;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Main Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.75rem 1rem;
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-radius: 6px;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link:focus {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-link.active {
    background-color: rgba(255, 255, 255, 0.15);
    font-weight: 600;
}

/* Dropdown Styles */
.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.75rem 1rem;
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: background-color 0.3s ease;
    border-radius: 6px;
    cursor: pointer;
    background: transparent;
    border: none;
    white-space: nowrap;
}

.dropdown-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.dropdown-icon {
    width: 12px;
    height: 12px;
    transition: transform 0.3s ease;
}

.has-dropdown.active .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 220px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 0.75rem 1.25rem;
    color: #1e293b;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-link:hover {
    background-color: #f1f5f9;
    color: #2563eb;
}

/* CTA Button */
.nav-cta-desktop {
    margin-left: 0.5rem;
}

.btn-cta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background-color: white;
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-cta:hover {
    background-color: #f1f5f9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-cta svg {
    width: 16px;
    height: 16px;
}

.nav-cta-mobile {
    display: none;
}

.btn-cta-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.875rem;
    background-color: white;
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.btn-cta-mobile:hover {
    background-color: #f1f5f9;
}

/* ===========================
   NEW FOOTER COMPONENT STYLES
   =========================== */

.site-footer {
    background-color: #1e293b;
    color: #e2e8f0;
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

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

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-title {
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #cbd5e1;
    margin-bottom: 1rem;
}

/* Footer Rating */
.footer-rating {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.rating-stars {
    color: #fbbf24;
    font-size: 1.125rem;
    letter-spacing: 2px;
}

.rating-text {
    font-size: 0.85rem;
    color: #94a3b8;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.625rem;
}

.footer-link {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
}

.footer-link:hover {
    color: #60a5fa;
    padding-left: 4px;
}

/* Footer Contact */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #cbd5e1;
}

.footer-icon {
    flex-shrink: 0;
    margin-top: 2px;
    color: #60a5fa;
}

/* Footer Hours */
.footer-hours {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-hours li {
    display: flex;
    justify-content: space-between;
    padding: 0.625rem 0;
    border-bottom: 1px solid #334155;
    font-size: 0.9rem;
}

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

.hours-day {
    color: #cbd5e1;
    font-weight: 500;
}

.hours-time {
    color: #94a3b8;
}

.emergency-line {
    margin-top: 0.5rem;
    padding-top: 1rem !important;
    border-top: 2px solid #334155 !important;
}

.emergency-line .hours-day {
    color: #fbbf24;
    font-weight: 600;
}

.emergency-line .hours-time {
    color: #fbbf24;
}

/* Footer Bottom */
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem 0;
    border-top: 1px solid #334155;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    font-size: 0.875rem;
    color: #94a3b8;
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #334155;
    color: #cbd5e1;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #2563eb;
    color: white;
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    /* DEMO NOTICE - Mobile */
    .demo-notice-banner {
        padding: 10px 15px;
        font-size: 12px;
    }

    .demo-notice-content {
        flex-direction: row;
        gap: 6px;
    }

    .demo-notice-content span {
        font-size: 11px;
        line-height: 1.4;
    }

    .demo-badge {
        font-size: 0.6rem;
        padding: 1px 4px;
    }

    /* OLD STYLES - Keep for backward compatibility */
    nav {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .hero h1 {
        font-size: 2rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    /* NEW HEADER - Mobile Styles */
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-container {
        height: 60px;
        padding: 0 1rem;
    }

    .logo-text {
        font-size: 1.25rem;
    }

    .nav-menu {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background-color: #2563eb;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.4s ease, opacity 0.3s ease;
        gap: 0;
    }

    body.menu-open .nav-menu {
        max-height: calc(100vh - 60px);
        opacity: 1;
        overflow-y: auto;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-item:last-child {
        border-bottom: none;
    }

    .nav-link {
        width: 100%;
        padding: 1rem;
        border-radius: 0;
    }

    .dropdown-toggle {
        width: 100%;
        padding: 1rem;
        justify-content: space-between;
        border-radius: 0;
    }

    .has-dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: rgba(0, 0, 0, 0.1);
        margin: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .has-dropdown.active .dropdown-menu {
        max-height: 500px;
    }

    .dropdown-link {
        padding: 0.875rem 1.5rem;
        color: white;
        font-size: 0.875rem;
    }

    .dropdown-link:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: white;
    }

    .nav-cta-desktop {
        display: none;
    }

    .nav-cta-mobile {
        display: block;
        padding: 0 1rem 1rem;
    }

    /* NEW FOOTER - Mobile Styles */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-copyright {
        order: 2;
    }

    .footer-social {
        order: 1;
    }
}

/* Tablet Responsive */
@media (min-width: 769px) and (max-width: 1024px) {
    .nav-container {
        padding: 0 1.5rem;
    }

    .nav-menu {
        gap: 0;
    }

    .nav-link,
    .dropdown-toggle {
        padding: 0.625rem 0.75rem;
        font-size: 0.875rem;
    }

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