/* Sea Level Infant Swim Custom Styles */

/* FORCE light theme - override ALL theme settings */
:root,
:root.theme-auto,
:root.theme-dark,
:root.theme-light {
    color-scheme: light only !important;
}

/* Clean white background with subtle gradient to match branding */
body,
:root.theme-auto body,
:root.theme-dark body,
:root.theme-light body {
    background: linear-gradient(to bottom, #f8fbff 0%, #ffffff 50%, #f8fbff 100%) !important;
    background-color: #ffffff !important;
    background-image: linear-gradient(to bottom, #f8fbff 0%, #ffffff 50%, #f8fbff 100%) !important;
}

/* Override dark mode styles */
@media (prefers-color-scheme: dark) {
    :root.theme-auto body {
        background: linear-gradient(to bottom, #f8fbff 0%, #ffffff 50%, #f8fbff 100%) !important;
        background-color: #ffffff !important;
    }
}

/* Text color fixes - Force visibility for ALL theme modes */
body,
:root.theme-auto body,
:root.theme-dark body,
.container,
.container h1,
.container h1 div,
.container p,
.column,
.column p,
.column h1,
.column h1 div {
    color: #10425b !important;
}

/* Description text styling - Must be visible! */
.container > .column > p,
.column > p {
    color: #10425b !important;
    font-size: 1.1rem !important;
    font-weight: 500 !important;
    margin-bottom: 2rem !important;
    line-height: 1.6 !important;
}

/* Logo styling and centering */
.avatar {
    margin: 0 auto 1.5rem auto !important;
    display: block !important;
    text-align: center !important;
}

/* Ensure container and column are centered */
.container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

.column {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 37.5rem !important;
}

/* Button stack centering */
.button-stack {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
}

/* Button Borders - Add elegant borders to all buttons */
.button {
    border: 2px solid rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.3s ease !important;
    font-weight: 700 !important;
    font-family: "Inter", system-ui !important;
    letter-spacing: 0 !important;
}

.button:hover,
.button:focus {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15) !important;
    border-color: rgba(0, 0, 0, 0.2) !important;
}

/* Default Button Gradient - Brand Colors */
.button-default {
    background: linear-gradient(-135deg, #0a2e3f, #10425b, #1e6b7a, #2d8a8c) !important;
    color: #ffffff !important;
    border: 2px solid #73c3da !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.2) !important;
}

.button-default:hover,
.button-default:focus {
    background: linear-gradient(-135deg, #081f2a, #0d3449, #185560, #247570) !important;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.4), 0 2px 4px rgba(0, 0, 0, 0.25) !important;
}

/* Google Business Profile button - Brand gradient with accent */
.button-google-business {
    background: linear-gradient(-135deg, #96c7a7 0%, #73c3da 50%, #38a3cf 100%) !important;
    color: #ffffff !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
}

.button-google-business:hover,
.button-google-business:focus {
    background: linear-gradient(-135deg, #85b998 0%, #5ab0c9 50%, #2b8cb8 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(150, 199, 167, 0.4) !important;
}

/* Amazon Button - Styled to match site aesthetic with orange Amazon icon */
.button-amazon {
    background: linear-gradient(-135deg, #0a2e3f, #10425b, #1e6b7a, #2d8a8c) !important;
    color: #ffffff !important;
    border: 2px solid #73c3da !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.2) !important;
}

.button-amazon:hover,
.button-amazon:focus {
    background: linear-gradient(-135deg, #081f2a, #0d3449, #185560, #247570) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.4), 0 2px 4px rgba(0, 0, 0, 0.25) !important;
}

/* Amazon icon - no filter needed, using ImageKit hosted icon with correct colors */

/* Footer Improvements */
footer {
    margin-top: 3rem !important;
    padding: 2rem 1rem !important;
    border-top: 2px solid #e2e8f0 !important;
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px) !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 37.5rem !important;
}

footer a {
    color: #2563eb !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    transition: color 0.3s ease !important;
}

footer a:hover,
footer a:focus {
    color: #1d4ed8 !important;
    text-decoration: underline !important;
}

/* Locations Section */
.locations-section {
    margin-top: 3rem !important;
    padding: 0 1rem 2rem 1rem !important;
    width: 100% !important;
    max-width: 37.5rem !important;
}

.locations-title {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 2rem !important;
    color: #10425b !important;
    text-align: center !important;
    letter-spacing: -0.02em !important;
}

.locations-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    width: 100% !important;
}

@media (min-width: 640px) {
    .locations-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.25rem !important;
    }
}

.location-card {
    background: #ffffff !important;
    border: 1.5px solid #e5e7eb !important;
    border-radius: 16px !important;
    padding: 1.5rem !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3), 0 1px 3px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
    position: relative !important;
    overflow: hidden !important;
}

.location-card::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 3px !important;
    background: linear-gradient(90deg, #e5e7eb 0%, #e5e7eb 100%) !important;
    transition: background 0.2s ease !important;
}

.location-card-highlight::before {
    background: linear-gradient(90deg, #2563eb 0%, #1d4ed8 100%) !important;
}

.location-card:hover {
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.4), 0 2px 4px rgba(0, 0, 0, 0.25) !important;
    transform: translateY(-1px) !important;
    border-color: #d1d5db !important;
}

.location-card-highlight {
    border-color: #2563eb !important;
    background: linear-gradient(to bottom, #ffffff 0%, #f8fbff 100%) !important;
}

.location-card-highlight:hover {
    border-color: #1d4ed8 !important;
    box-shadow: 0 6px 12px rgba(37, 99, 235, 0.3), 0 2px 4px rgba(37, 99, 235, 0.2) !important;
}

.location-icon {
    width: 48px !important;
    height: 48px !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #4b5563 !important;
    flex-shrink: 0 !important;
}

.location-icon img {
    filter: brightness(0) saturate(100%) invert(39%) sepia(4%) saturate(1573%) hue-rotate(195deg) brightness(96%) contrast(88%) !important;
    width: 24px !important;
    height: 24px !important;
}

.location-card-highlight .location-icon {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%) !important;
    color: #2563eb !important;
}

.location-card-highlight .location-icon img {
    filter: brightness(0) saturate(100%) invert(39%) sepia(96%) saturate(2153%) hue-rotate(210deg) brightness(95%) contrast(96%) !important;
}

.location-content {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
}

.location-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 0.75rem !important;
    flex-wrap: wrap !important;
}

.location-name {
    font-size: 1.0625rem !important;
    font-weight: 600 !important;
    margin: 0 !important;
    color: #10425b !important;
    line-height: 1.35 !important;
    letter-spacing: -0.01em !important;
    flex: 1 !important;
}

.location-city {
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    color: #6b7280 !important;
    display: block !important;
    margin-top: 0.125rem !important;
}

.location-badge {
    display: inline-flex !important;
    align-items: center !important;
    padding: 0.375rem 0.75rem !important;
    border-radius: 12px !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    background-color: #f3f4f6 !important;
    color: #4b5563 !important;
    white-space: nowrap !important;
    letter-spacing: 0.025em !important;
    text-transform: uppercase !important;
    flex-shrink: 0 !important;
}

.location-badge-year-round {
    background-color: #2563eb !important;
    color: #ffffff !important;
}

.location-details {
    margin: 0 !important;
    color: #374151 !important;
    font-size: 0.9375rem !important;
    line-height: 1.5 !important;
    font-weight: 500 !important;
}

.location-schedule {
    margin: 0 !important;
    color: #6b7280 !important;
    font-size: 0.875rem !important;
    line-height: 1.5 !important;
    font-style: italic !important;
}

/* Footer Component Styles */
.container footer,
.column footer,
footer {
    display: block !important;
    margin-top: 3rem !important;
    padding-top: 1rem !important;
    border-top: 2px solid #e5e7eb !important;
    width: 100% !important;
    background-color: transparent !important;
}

.container .footer-location,
.column .footer-location,
.footer-location {
    display: block !important;
    margin: 0 0 1rem 0 !important;
    color: #6b7280 !important;
    font-size: 0.9rem !important;
    text-align: center !important;
    line-height: 1.5 !important;
}

.container .footer-links,
.column .footer-links,
.footer-links {
    display: block !important;
    margin: 0.5rem 0 0 0 !important;
    text-align: center !important;
    font-size: 0.9rem !important;
}

.container .footer-links a,
.column .footer-links a,
.footer-links a {
    color: #10425b !important;
    text-decoration: underline !important;
    font-weight: 500 !important;
    transition: color 0.2s ease !important;
}

.container .footer-links a:hover,
.column .footer-links a:hover,
.footer-links a:hover {
    color: #2563eb !important;
}

.container .footer-separator,
.column .footer-separator,
.footer-separator {
    display: inline !important;
    color: #2563eb !important;
    margin: 0 0.5rem !important;
}

.container .footer-copyright,
.column .footer-copyright,
.footer-copyright {
    display: block !important;
    margin: 1rem 0 0 0 !important;
    color: #6b7280 !important;
    font-size: 0.875rem !important;
    text-align: center !important;
    line-height: 1.5 !important;
}

