:root {
    /* Updated accessible color palette */
    --primary: #1A4B7E;       /* Dark blue (was #2A5C8B) */
    --primary-light: #2A5C8B; /* Slightly lighter blue */
    --secondary: #D45B13;     /* Dark orange (was #FF6B35) */
    --dark: #0E1A26;          /* Near-black (was #1A2B3C) */
    --light: #FFFFFF;         /* Pure white */
    --gray: #5A6268;         /* Dark gray (was #6C757D) */
    --light-gray: #E9ECEF;    /* Light gray */
    --contact-bar: #0E1A26;   /* Dark background for top bar */
}

/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    font-size: 1rem;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--primary);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Contact Bar */
.contact-bar {
    background-color: var(--contact-bar);
    color: var(--light);
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.contact-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.contact-links a {
    color: var(--light);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.9;
    font-weight: 600;
}

.contact-links a:hover {
    opacity: 1;
}

/* Header */
header {
    background-color: var(--primary);
    color: white;
    padding: 1.5rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-text h1 {
    font-size: 1.8rem;
    margin-bottom: 0.25rem;
    text-align: center;
    color: var(--light);
}

.tagline {
    font-style: italic;
    opacity: 0.9;
    font-size: 0.9rem;
    text-align: center;
    color: var(--light);
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    margin: 2rem 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.hero-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 16/9;
}

.hero-content {
    padding: 2rem;
    background-color: white;
}

.hero-content h2 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.hero-content p {
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.cta-button {
    display: inline-block;
    background-color: var(--secondary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: var(--primary);
    transform: translateY(-2px);
}

/* About Section */
.about {
    margin: 3rem 0;
}

.about-content h2 {
    color: var(--primary);
    margin-bottom: 1rem;
    text-align: center;
}

.about-content p {
    color: var(--dark);
    margin-bottom: 1rem;
    line-height: 1.7;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Section */
.contact {
    margin: 3rem 0;
}

.contact h2 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.contact-card {
    flex: 1;
    min-width: 250px;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease;
    color: var(--dark);
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.contact-card h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.contact-card a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: var(--secondary);
}

/* Hours Section */
.hours {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin: 3rem 0;
}

.hours h2 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 2rem;
}

.hours-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.day {
    font-weight: 600;
    color: var(--primary);
}

.time {
    color: var(--dark);
}

/* Map Section */
.map {
    margin: 3rem 0;
}

.map h2 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 2rem;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-info {
    text-align: center;
}

.footer-info p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.footer-reviews {
    text-align: center;
    min-width: 250px;
}

.footer-reviews h3 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.google-reviews-badge {
    display: inline-block;
    margin: 0 auto;
}

.reviews-link {
    display: inline-block;
    margin-top: 0.5rem;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.reviews-link:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-reviews {
        margin-top: 1.5rem;
    }
}

/* Accessibility Improvements */
a:focus, button:focus {
    outline: 2px solid var(--secondary);
    outline-offset: 2px;
}

/* Responsive Design */
@media (min-width: 768px) {
    .hero {
        flex-direction: row;
        height: 350px;
    }
    
    .hero-image, .hero-content {
        flex: 1;
        height: 100%;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 3rem;
    }
    
    .header-text h1 {
        font-size: 2.2rem;
    }
    
    .contact-bar {
        font-size: 1rem;
    }
    
    .contact-links {
        justify-content: flex-end;
    }
    
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .footer-info {
        text-align: right;
    }
}

@media (max-width: 480px) {
    .contact-links {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
    
    .hero-image {
        height: 200px;
    }
}

/* Google branding styles */
.google-branding {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}

.google-branding img {
    width: 20px;
    height: 20px;
}

.google-branding span {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Adjust badge positioning */
.google-reviews-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

/* Make the badge blend better */
.g-review {
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 4px 8px;
}

/* Reviews Section */
.footer-reviews {
    text-align: center;
    min-width: 250px;
    background: rgba(255,255,255,0.05);
    padding: 1.5rem;
    border-radius: 12px;
}

.reviews-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
}

.reviews-header h3 {
    color: white;
    font-size: 1.1rem;
    margin: 0;
    font-weight: 600;
}

.reviews-header img {
    width: 20px;
    height: 20px;
}

/* Review Button */
.review-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: var(--primary) !important;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 15px;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.review-button:hover {
    background: transparent;
    color: white !important;
    border-color: white;
}

.review-button i {
    font-size: 0.8rem;
}

/* Google Badge Adjustments */
.g-review {
    margin: 0 auto;
    width: fit-content;
}
