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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, 'Nunito Sans', 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #2c2c2c;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
    color: #4a4a4a;
}

a {
    color: #e91e63;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #c2185b;
    text-shadow: 0 0 5px rgba(233, 30, 99, 0.3);
}

/* Header */
.header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    width: 120px;
    height: 120px;
}

.logo-text {
    color: #e91e63;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.tagline {
    color: #a0a0a0;
    font-size: 0.8rem;
    font-style: italic;
}

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

.nav-link {
    color: #e0e0e0;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
    background: linear-gradient(45deg, #e91e63, #f06292);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.4);
}

.phone-link {
    background: linear-gradient(45deg, #4caf50, #66bb6a);
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    transform: scale(1);
    transition: all 0.3s ease;
}

.phone-link:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

/* Mobile Navigation */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: 2px solid transparent;
    color: #e0e0e0;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 8px 12px;
    min-width: 48px;
    min-height: 48px;
    line-height: 1;
    border-radius: 6px;
    transition: all 0.3s ease;
    z-index: 1002;
}

.mobile-nav-toggle:hover,
.mobile-nav-toggle:focus {
    color: #e91e63;
    border-color: #e91e63;
    background: rgba(233, 30, 99, 0.1);
}

/* Main Content */
.main {
    flex: 1;
    padding: 0;
}

.container {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.section {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 3rem 1rem;
}

.section-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .section-content {
        padding: 0 1rem;
    }
}

.container.narrow {
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(26,26,26,0.8), rgba(45,45,45,0.8)), 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="2" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.05"/><circle cx="50" cy="10" r="1.5" fill="%23ffffff" opacity="0.08"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    background-size: cover, 100px 100px;
    color: white;
    text-align: center;
    padding: 3rem 1rem;
    margin-bottom: 0;
    position: relative;
    width: 100%;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(233,30,99,0.1) 0%, rgba(76,175,80,0.1) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero h1 {
    color: #ffffff;
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.9), 1px 1px 2px rgba(0,0,0,0.8);
    font-weight: 700;
    text-align: center;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #e0e0e0;
    margin-bottom: 2rem;
    font-style: italic;
}

.quote-section {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    margin: 2rem 0;
    border: 1px solid rgba(255,255,255,0.2);
}

.quote {
    font-size: 1.1rem;
    font-style: italic;
    color: #f0f0f0;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.quote-author {
    color: #e91e63;
    font-weight: 700;
    font-size: 1.1rem;
}

/* Product Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
    padding: 0 1rem;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: contain;
    background-color: #f8f9fa;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-info {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #2c2c2c;
}

.product-description {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.product-price {
    font-size: 2rem;
    font-weight: 700;
    color: #e91e63;
    margin-bottom: 1rem;
}

.btn-primary {
    background: linear-gradient(45deg, #e91e63, #f06292);
    color: white;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: auto;
    display: inline-block;
    min-width: 120px;
    text-align: center;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(233, 30, 99, 0.4);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #f0f0f0;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

/* Ensure ALL footer text is light for accessibility */
.footer, .footer *, .footer h1, .footer h2, .footer h3, .footer h4, .footer h5, .footer h6, .footer p, .footer li, .footer span {
    color: #f0f0f0 !important;
}

.footer h3 {
    color: #e91e63 !important;
}

.footer a {
    color: #ffffff !important;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #e91e63 !important;
}

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

.footer-section ul {
    list-style: none;
}

.map-container {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 1rem;
}

.footer-bottom {
    text-align: center;
    padding: 2rem 1rem 1rem;
    border-top: 1px solid #555;
    color: #ffffff !important;
    font-size: 0.9rem;
}

.footer-bottom * {
    color: #ffffff !important;
}

.footer-bottom a {
    color: #ffffff !important;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #e91e63 !important;
    text-decoration: underline;
}


.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #4caf50;
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
    transition: all 0.3s ease;
    font-size: 1.5rem;
    opacity: 0;
    visibility: hidden;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: scale(1.1) translateY(-2px);
    background: #388e3c;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.95);
    color: white;
    padding: 1rem;
    text-align: center;
    z-index: 1001;
    backdrop-filter: blur(10px);
    border-top: 2px solid #e91e63;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-consent.visible {
    transform: translateY(0);
}

.cookie-consent p {
    margin-bottom: 1rem;
    color: #e0e0e0;
}

.cookie-consent button {
    background: #e91e63;
    color: white;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
}

.cookie-consent button:hover {
    background: #c2185b;
    transform: translateY(-2px);
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin: 2rem 0;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c2c2c;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e91e63;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: row;
        gap: 0.5rem;
        padding: 0.5rem 1rem;
    }
    
    .logo {
        width: 60px;
        height: 60px;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }
    
    .tagline {
        font-size: 0.7rem;
    }
    
    .nav {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(26, 26, 26, 0.98);
        padding: 0;
        gap: 0;
        z-index: 1001;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
        border-top: 2px solid #e91e63;
        max-height: 0;
        overflow: hidden;
        visibility: hidden;
        opacity: 0;
        transition: max-height 0.35s ease, padding 0.35s ease, opacity 0.25s ease, visibility 0s linear 0.35s;
    }
    
    .mobile-nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .nav.mobile-open {
        max-height: 500px;
        padding: 1rem 0;
        overflow: visible;
        visibility: visible;
        opacity: 1;
        transition: max-height 0.35s ease, padding 0.35s ease, opacity 0.25s ease, visibility 0s linear 0s;
    }
    
    .nav.mobile-open .nav-link {
        display: block;
        width: 100%;
        text-align: center;
        padding: 0.9rem 1.5rem;
        border-radius: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        font-size: 1.05rem;
    }
    
    .nav.mobile-open .nav-link:last-of-type {
        border-bottom: none;
    }
    
    .nav.mobile-open .nav-link:hover,
    .nav.mobile-open .nav-link.active {
        background: linear-gradient(45deg, #e91e63, #f06292);
        color: #fff;
        transform: none;
        box-shadow: none;
    }
    
    .nav.mobile-open .phone-link {
        display: block;
        text-align: center;
        margin: 0.75rem 1.5rem 0.25rem;
        border-radius: 30px;
        padding: 0.8rem 1.5rem;
    }
    
    .hero {
        padding: 2rem 1rem;
        min-height: 50vh;
    }
    
    .hero h1 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 1rem 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .accessibility-widget {
        width: 280px;
        max-width: calc(100vw - 40px);
    }
    
    .accessibility-controls {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    
    .accessibility-button {
        padding: 6px 10px;
        font-size: 11px;
    }
    
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.4rem; }
    h3 { font-size: 1.1rem; }
    
    /* Reduce margins and padding on mobile */
    section {
        margin: 1rem 0 !important;
        padding: 1rem !important;
    }
    
    .container {
        padding: 0 0.5rem;
    }
}

/* High contrast mode for accessibility */
body.high-contrast {
    background: #000;
    color: #fff;
}

body.high-contrast .product-card,
body.high-contrast .contact-form {
    background: #333;
    color: #fff;
}

body.high-contrast .form-group input,
body.high-contrast .form-group textarea {
    background: #222;
    color: #fff;
    border-color: #666;
}

/* WCAG 2.1 Accessibility Utilities - AppWT LLC Standards */

/* Screen reader only content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Skip link for keyboard navigation */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #1B4332;
    color: #FFFFFF;
    padding: 8px 16px;
    z-index: 10001;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 6px;
    outline: 3px solid #F4A261;
    outline-offset: 2px;
}

/* Enhanced focus indicators (WCAG 2.1 Level AA) */
.focus-visible,
*:focus-visible {
    outline: 3px solid #F4A261 !important;
    outline-offset: 2px !important;
    box-shadow: 0 0 0 4px rgba(244, 162, 97, 0.1) !important;
}

/* Keyboard focus for interactive elements */
button:focus,
a:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 3px solid #F4A261;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(244, 162, 97, 0.1);
}

/* High contrast mode support */
body.high-contrast {
    background: #000000 !important;
    color: #FFFFFF !important;
}

body.high-contrast * {
    background: #000000 !important;
    color: #FFFFFF !important;
    border-color: #FFFFFF !important;
}

body.high-contrast .product-card,
body.high-contrast .contact-form,
body.high-contrast .footer-section {
    background: #1a1a1a !important;
    border: 2px solid #FFFFFF !important;
}

body.high-contrast .btn-primary {
    background: #FFFFFF !important;
    color: #000000 !important;
    border: 2px solid #FFFFFF !important;
}

body.high-contrast .hero {
    background: #000000 !important;
}

/* Text sizing utilities */
body.text-larger {
    font-size: 1.25rem;
}

body.text-larger h1 { font-size: 3.125rem; }
body.text-larger h2 { font-size: 2.5rem; }
body.text-larger h3 { font-size: 1.875rem; }

body.text-largest {
    font-size: 1.5rem;
}

body.text-largest h1 { font-size: 3.75rem; }
body.text-largest h2 { font-size: 3rem; }
body.text-largest h3 { font-size: 2.25rem; }

/* Reading mode */
body.reading-mode {
    background: #FFFEF7 !important;
    color: #1B4332 !important;
    line-height: 1.8 !important;
}

body.reading-mode * {
    background: transparent !important;
    color: #1B4332 !important;
}

body.reading-mode .header,
body.reading-mode .footer {
    background: #F8F9FA !important;
    border-bottom: 1px solid #1B4332;
}

/* Color blind friendly mode */
body.colorblind-mode {
    filter: grayscale(100%);
}

/* Dark mode */
body.dark-mode {
    background: #1a1a1a !important;
    color: #e0e0e0 !important;
}

body.dark-mode .header,
body.dark-mode .footer {
    background: #2d2d2d !important;
}

body.dark-mode .product-card,
body.dark-mode .contact-form {
    background: #333333 !important;
    color: #e0e0e0 !important;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .hero::before {
        animation: none !important;
    }
}

/* Enhanced accessibility tools widget */
.accessibility-tools {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 10000;
    font-family: Arial, sans-serif;
    max-width: calc(100vw - 40px);
}

.accessibility-widget {
    background: #1B4332;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    width: 300px;
    max-width: calc(100vw - 40px);
    transform: translateY(calc(100% - 34px));
    transition: transform 0.3s ease;
}

.accessibility-widget.expanded {
    transform: translateY(0);
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}

.accessibility-toggle {
    background: #1B4332;
    color: #FFFFFF;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    width: 100%;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.accessibility-toggle:hover,
.accessibility-toggle:focus {
    background: #2D5A45;
    outline: 3px solid #F4A261;
    outline-offset: -3px;
}

.accessibility-panel {
    background: #FFFFFF;
    padding: 20px;
    border-top: 2px solid #F4A261;
}

.accessibility-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 15px;
}

.accessibility-button {
    background: #F8F9FA;
    border: 2px solid #1B4332;
    color: #1B4332;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    transition: all 0.2s ease;
}

.accessibility-button:hover,
.accessibility-button:focus {
    background: #1B4332;
    color: #FFFFFF;
    outline: 2px solid #F4A261;
    outline-offset: 1px;
}

.accessibility-button.active {
    background: #2D5A45;
    color: #FFFFFF;
    border-color: #2D5A45;
}

.accessibility-credits {
    font-size: 10px;
    color: #666;
    text-align: center;
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid #e0e0e0;
}

.accessibility-credits a {
    color: #1B4332;
    text-decoration: none;
    font-weight: 600;
}

.accessibility-credits a:hover,
.accessibility-credits a:focus {
    text-decoration: underline;
    outline: 1px solid #F4A261;
}

/* Live region for screen reader announcements */
.live-region {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Keyboard navigation indicators */
.keyboard-focus {
    outline: 3px solid #F4A261 !important;
    outline-offset: 2px !important;
    background: rgba(244, 162, 97, 0.1) !important;
}

/* Animation pause controls */
.animation-controls {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 9999;
    background: rgba(27, 67, 50, 0.9);
    padding: 10px;
    border-radius: 4px;
    display: none;
}

body.animations-detected .animation-controls {
    display: block;
}

.pause-animations {
    background: #F4A261;
    color: #1B4332;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
}

/* Error and success message styling */
.alert {
    padding: 15px;
    border-radius: 4px;
    margin: 15px 0;
    font-weight: 600;
}

.alert-error {
    background: #FFF5F5;
    color: #C53030;
    border: 2px solid #FEB2B2;
}

.alert-success {
    background: #F0FFF4;
    color: #22543D;
    border: 2px solid #9AE6B4;
}

.alert-warning {
    background: #FFFBEB;
    color: #C05621;
    border: 2px solid #F6E05E;
}

/* Print styles */
@media print {
    .header,
    .footer,
    .accessibility-tools,
    .back-to-top,
    .cookie-consent {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .product-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

/* About Grid Responsive Design */
@media (max-width: 768px) {
    #about-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        padding: 0 1rem !important;
    }
}