/**
 * Aqua Paints - Weather Resilient Painting System Styles
 * Modern, responsive presentation for environmental coating systems
 */

/* Page Level Layout & Alignment (matches navbar 1400px max-width) */
.is-paint-system-page {
    background: #f8fafc;
}

.is-paint-system-page .navigation {
    float: none;
}

.aq-paint-system-page {
    clear: both;
    padding: 36px 0 70px;
}

@media (min-width: 992px) {
    .is-paint-system-page .container {
        width: 100% !important;
        max-width: 1400px !important;
        padding-left: 30px !important;
        padding-right: 30px !important;
    }
}

@media (max-width: 991px) {
    .is-paint-system-page {
        padding-top: 68px;
    }
    .aq-paint-system-page {
        padding: 24px 0 40px;
    }
}

/* Header Heading */
.aq-paint-system-header,
.aq-about-heading {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 22px;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 32px;
}

.aq-paint-system-icon,
.aq-paint-system-header .aq-about-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    color: #009d87;
    background: #e6f7f3;
    border-radius: 12px;
    font-size: 22px;
}

.aq-paint-system-header h1,
.aq-about-heading h1 {
    margin: 0;
    font-size: clamp(24px, 3.5vw, 32px);
    font-weight: 700;
    color: #13382c;
    line-height: 1.3;
}

.aq-paint-system-content {
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
    color: #334155;
    font-size: 15.5px;
    line-height: 1.8;
}

/* Summernote & Rich Text Responsive Media Rules */
.aq-paint-system-content img,
.aq-paint-system-content video,
.aq-paint-system-content iframe {
    max-width: 100% !important;
    height: auto !important;
}

.aq-paint-system-content table {
    max-width: 100% !important;
    width: 100% !important;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-collapse: collapse;
    margin: 20px 0;
}

/* Introduction / Executive Summary Banner */
.ps-intro-hero {
    background: linear-gradient(135deg, #f0fdf9 0%, #e6f7f3 100%);
    border: 1px solid #ccefe7;
    border-left: 5px solid #009d87;
    border-radius: 12px;
    padding: 24px 28px;
    margin-bottom: 36px;
}

.ps-intro-hero p {
    margin-bottom: 0;
    color: #1e3a34;
    font-size: 16px;
    line-height: 1.8;
}

/* Zone Section Blocks */
.ps-zone-section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px 30px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s ease;
}

.ps-zone-section:hover {
    box-shadow: 0 8px 30px rgba(0, 157, 135, 0.08);
}

.ps-zone-header {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f1f5f9;
    margin-bottom: 26px;
}

.ps-zone-badge-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #ffffff;
    background: #009d87;
    box-shadow: 0 4px 14px rgba(0, 157, 135, 0.25);
}

.ps-zone-saline .ps-zone-badge-icon {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
}

.ps-zone-rain .ps-zone-badge-icon {
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.3);
}

.ps-zone-heat .ps-zone-badge-icon {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    box-shadow: 0 4px 14px rgba(234, 88, 12, 0.3);
}

.ps-zone-info h2 {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px 0 !important;
    letter-spacing: -0.2px;
}

.ps-zone-location {
    font-size: 14.5px;
    color: #64748b;
    margin-bottom: 0;
}

.ps-zone-location strong {
    color: #334155;
}

/* Impact & Alert Box */
.ps-impact-box {
    background: #fffbeb;
    border: 1px solid #fef3c7;
    border-left: 4px solid #f59e0b;
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 24px;
    font-size: 14.5px;
    color: #92400e;
}

.ps-impact-box ul {
    margin: 6px 0 0 0;
    padding-left: 20px;
}

/* Solution Cards Grid */
.ps-solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 22px;
    margin-top: 20px;
}

.ps-solution-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.ps-solution-card:hover {
    background: #ffffff;
    border-color: #009d87;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 157, 135, 0.12);
}

.ps-solution-title {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 14px 0 !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ps-solution-title i {
    color: #009d87;
    font-size: 18px;
}

/* Coating Schedule Sequence */
.ps-coating-schedule {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ps-coating-step {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 14px;
    color: #1e293b;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.ps-solution-card:hover .ps-coating-step {
    border-color: #e2e8f0;
}

.ps-coat-badge {
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 8px;
    border-radius: 6px;
    background: #e6f7f3;
    color: #008779;
}

.ps-coat-product {
    font-weight: 600;
    color: #0f172a;
}

.ps-solution-note {
    font-size: 12.5px;
    color: #64748b;
    background: #f1f5f9;
    padding: 6px 10px;
    border-radius: 6px;
    margin-top: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .ps-zone-section {
        padding: 22px 18px;
        border-radius: 12px;
    }
    .ps-zone-header {
        gap: 14px;
    }
    .ps-zone-badge-icon {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }
    .ps-zone-info h2 {
        font-size: 19px;
    }
    .ps-solutions-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* Summernote Editor Specific Enhancements in Admin Panel */
.note-editable .ps-intro-hero {
    margin-bottom: 24px;
}

.note-editable .ps-zone-section {
    position: relative;
    margin-bottom: 28px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.note-editable .ps-coating-schedule {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 16px 0 !important;
}

.note-editable .ps-coating-schedule li {
    list-style-type: none !important;
}

.note-editable .ps-solutions-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
    gap: 16px !important;
}

.note-editable .ps-impact-box {
    margin-bottom: 20px;
}

