/* ClientPlaza Components CSS */
/* Consolidates homepage.css, footer.css, backend.css styling with responsive design */

/* ==========================================================================
   TYPOGRAPHY - RESPONSIVE
   ========================================================================== */

/* Base typography using responsive units */
.BlackGiantNon-bold {
    font-family: "Century Gothic", "Trebuchet MS", Arial, sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: normal;
    color: #000;
    line-height: 1.2;
    margin: 1rem 0;
}

.NewBlueVeryLargeNon-bold {
    font-family: "Century Gothic", "Trebuchet MS", Arial, sans-serif;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: normal;
    color: #0066cc;
    line-height: 1.3;
    margin: 0.5rem 0;
}

.BlackLargeNon-bold {
    font-family: "Century Gothic", "Trebuchet MS", Arial, sans-serif;
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: normal;
    color: #000;
    line-height: 1.4;
}

.BlackTitleNon-bold {
    font-family: "Century Gothic", "Trebuchet MS", Arial, sans-serif;
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: normal;
    color: #000;
    line-height: 1.3;
    margin: 1rem 0;
}

.Black17ptNon-bold {
    font-family: "Century Gothic", "Trebuchet MS", Arial, sans-serif;
    font-size: 1.125rem;
    font-weight: normal;
    color: #000;
    line-height: 1.4;
}

.DarkblackSubtitle {
    font-family: "Century Gothic", "Trebuchet MS", Arial, sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-weight: normal;
    color: #333;
    line-height: 1.4;
    margin: 0.5rem 0;
}

.WaVvWebBlue {
    color: #0066cc;
    font-family: "Century Gothic", "Trebuchet MS", Arial, sans-serif;
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    font-weight: normal;
    line-height: 1.4;
}

.CPBlue {
    color: #0066cc;
}

.greentitlebold {
    color: #009900;
    font-family: "Century Gothic", "Trebuchet MS", Arial, sans-serif;
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: bold;
    line-height: 1.2;
}

.greentexthomepage {
    color: #009900;
    font-family: "Century Gothic", "Trebuchet MS", Arial, sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-weight: normal;
    line-height: 1.4;
}

.redtexthomepage {
    color: #ff0000;
    font-family: "Century Gothic", "Trebuchet MS", Arial, sans-serif;
    font-size: clamp(0.875rem, 2vw, 1rem);
    font-weight: normal;
    line-height: 1.4;
}

/* ==========================================================================
   HOMEPAGE QUOTE SECTIONS - RESPONSIVE
   ========================================================================== */

.HomePageQuote {
    font-family: "Century Gothic", "Trebuchet MS", Arial, sans-serif;
    font-size: clamp(0.875rem, 2vw, 1rem);
    font-style: italic;
    color: #333;
    line-height: 1.5;
    margin: 1rem 0;
    padding: 1rem;
    background: rgba(240, 240, 240, 0.5);
    border-radius: 8px;
    border-left: 4px solid #0066cc;
}

.QuoteID {
    font-family: "Century Gothic", "Trebuchet MS", Arial, sans-serif;
    font-size: clamp(0.75rem, 1.5vw, 0.875rem);
    color: #666;
    text-align: right;
    margin-top: 0.5rem;
    font-weight: bold;
}

/* Testimonials layout */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ==========================================================================
   LINKS & BUTTONS - RESPONSIVE
   ========================================================================== */

/* Homepage links */
a.HomePageLinks, 
a:visited.HomePageLinks {
    color: #000000;
    font-family: "Century Gothic", "Trebuchet MS", Arial, sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    text-decoration: none;
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0.25rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid transparent;
}

a:hover.HomePageLinks {
    color: #ff0000;
    background: rgba(255, 255, 255, 1);
    border-color: #ff0000;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Footer links */
a.Footer, 
a:visited.Footer {
    color: #ffffff;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover.Footer, 
a:active.Footer {
    color: #ffcc00;
    text-decoration: underline;
}

/* ==========================================================================
   FEATURED SERVICES - RESPONSIVE
   ========================================================================== */

#FeaturedServicesBox {
    background: linear-gradient(135deg, #f8f9f0, #e8f4e8);
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin: 2rem auto;
    padding: 2rem;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

@media (min-width: 480px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ==========================================================================
   BACKGROUND SECTIONS - RESPONSIVE
   ========================================================================== */

/* Blue background sections */
#CPNewBlueBackground {
    background: linear-gradient(135deg, #003399, #0066cc);
    margin: 2rem auto;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    color: white;
}

.CPNewBlueBackground1 {
    font-family: "Century Gothic", "Trebuchet MS", Arial, sans-serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: #ffffff;
    text-align: center;
    line-height: 1.3;
    margin: 1rem 0;
}

.CPNewBlueBackground2 {
    font-family: "Century Gothic", "Trebuchet MS", Arial, sans-serif;
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    color: #ffffff;
    text-align: center;
    line-height: 1.4;
    margin: 0.75rem 0;
}

.CPNewBlueBackground3 {
    font-family: "Century Gothic", "Trebuchet MS", Arial, sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: #cccccc;
    text-align: center;
    line-height: 1.5;
    margin: 0.5rem 0;
}

/* Light background sections */
#lightbackground {
    background: linear-gradient(to bottom, #f8f9fa, #e9ecef);
    padding: 2rem 0;
}

/* ==========================================================================
   CHECKMARKED LISTS - RESPONSIVE
   ========================================================================== */

ul.Checkmarked {
    list-style: none;
    padding-left: 0;
}

ul.Checkmarked li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    font-family: "Century Gothic", "Trebuchet MS", Arial, sans-serif;
    font-size: clamp(0.875rem, 2vw, 1rem);
    line-height: 1.5;
}

ul.Checkmarked li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #009900;
    font-weight: bold;
    font-size: 1.2em;
}

ul.Checkmarked li span {
    font-weight: bold;
    color: #009900;
}

/* ==========================================================================
   ADMIN/BACKEND STYLES - RESPONSIVE
   ========================================================================== */

table.AdminTables {
    width: 100%;
    background: #e9f1fb;
    border-collapse: collapse;
    margin: 1rem 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

td.AdminCells {
    border: 1px solid #2673d2;
    background: #e9f1fb;
    padding: 1rem;
    text-align: left;
    vertical-align: top;
}

td.CustomerCells {
    background: #ffffff;
    padding: 1rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid #eee;
}

/* ==========================================================================
   UTILITY CLASSES - RESPONSIVE
   ========================================================================== */

.center {
    text-align: center;
    margin: 0 auto;
}

.BelowLogin {
    font-family: "Century Gothic", "Trebuchet MS", Arial, sans-serif;
    font-size: clamp(0.875rem, 2vw, 1rem);
    line-height: 1.6;
    margin: 1rem 0;
    text-align: center;
}

.whitefont {
    color: #ffffff;
}

.PricingGreen {
    color: #009b00;
    font-family: "Century Gothic", "Trebuchet MS", Arial, sans-serif;
    font-size: clamp(0.875rem, 2vw, 1rem);
    font-weight: bold;
    line-height: 1.4;
}

/* ==========================================================================
   RESPONSIVE IMAGES & MEDIA
   ========================================================================== */

img {
    max-width: 100%;
    height: auto;
    border: none;
}

.responsive-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

/* ==========================================================================
   LOADING & ANIMATION STATES
   ========================================================================== */

.loading {
    opacity: 0.6;
    pointer-events: none;
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-in {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

/* ==========================================================================
   ACCESSIBILITY IMPROVEMENTS
   ========================================================================== */

/* Focus states for keyboard navigation */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
}

/* Skip link for screen readers */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #0066cc;
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 9999;
}

.skip-link:focus {
    top: 6px;
}

/* 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;
}

/* ==========================================================================
   PRINT STYLES
   ========================================================================== */

@media print {
    .nav-area,
    .hamburger-menu,
    .sidenav,
    #FeaturedServicesBox {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
        background: white;
    }
    
    a::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        color: #666;
    }
    
    .HomePageQuote {
        border: 1px solid #ccc;
        background: none;
    }
}

/* ==========================================================================
   DARK MODE SUPPORT (Future Enhancement)
   ========================================================================== */

@media (prefers-color-scheme: dark) {
    /* Future dark mode styles can be added here */
}

/* ==========================================================================
   HIGH CONTRAST MODE SUPPORT
   ========================================================================== */

@media (prefers-contrast: high) {
    .HomePageQuote {
        border: 2px solid #000;
        background: #fff;
    }
    
    a.HomePageLinks {
        border: 2px solid #000;
    }
}

/* ==========================================================================
   HOMEPAGE SPECIFIC COMPONENTS - RESPONSIVE
   ========================================================================== */

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

@media (max-width: 768px) {
    .hero-section {
        min-height: 50vh;
        background-attachment: scroll;
    }
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

/* Service Request Section */
.service-request-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.form-step {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    margin: 2rem auto;
    max-width: 700px;
}

.form-title {
    color: #0066cc;
    font-family: "Century Gothic", "Trebuchet MS", Arial, sans-serif;
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    margin-bottom: 1.5rem;
    text-align: center;
}

.request-summary {
    background: #f8f9fa;
    border-left: 4px solid #0066cc;
    padding: 1rem;
    margin-bottom: 2rem;
    border-radius: 0 8px 8px 0;
}

.request-text {
    font-style: italic;
    color: #555;
    margin: 0.5rem 0 0 0;
}

/* Success Message */
.success-message-container {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    border-radius: 12px;
    margin: 2rem auto;
    max-width: 500px;
}

/* Value Proposition Section */
.value-proposition {
    padding: 3rem 0;
    background: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

@media (min-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.benefit-item {
    text-align: center;
    padding: 1.5rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.benefit-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #0066cc;
}

.cta-section {
    text-align: center;
    margin-top: 3rem;
}

/* Featured Services Section */
.featured-services {
    padding: 3rem 0;
    background: linear-gradient(135deg, #e8f4fd, #d1ecf1);
}

/* Testimonials Section */
.testimonials {
    padding: 3rem 0;
    background: white;
}

.testimonial {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    border-left: 4px solid #0066cc;
    margin-bottom: 1rem;
}

/* Service Categories Section */
.service-categories {
    padding: 3rem 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.categories-text {
    max-width: 800px;
    margin: 2rem auto;
    text-align: center;
}

.categories-text p {
    margin: 1rem 0;
    font-size: clamp(0.875rem, 2vw, 1rem);
    line-height: 1.6;
}

/* Social Sharing */
.social-sharing {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #dee2e6;
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.social-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 100px;
    text-align: center;
}

.social-btn.facebook { background: #1877f2; color: white; }
.social-btn.twitter { background: #1da1f2; color: white; }
.social-btn.linkedin { background: #0077b5; color: white; }
.social-btn.email { background: #6c757d; color: white; }

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* ==========================================================================
   BUTTON SYSTEM - ENHANCED
   ========================================================================== */

.btn-primary {
    background: linear-gradient(135deg, #0066cc, #004499);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-family: "Century Gothic", "Trebuchet MS", Arial, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    min-height: 48px;
    line-height: 1.5;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #004499, #003366);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 102, 204, 0.3);
}

.btn-secondary {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-family: "Century Gothic", "Trebuchet MS", Arial, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    min-height: 48px;
    line-height: 1.5;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #218838, #1ea080);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(40, 167, 69, 0.3);
}