/**
 * Legal Pages Styles (Privacy Policy & Terms & Conditions)
 * My Best Windows & Glass Child Theme
 */

/* ========================================
   LEGAL HERO
   ======================================== */
.bwg-legal-hero {
    position: relative;
    padding: 120px 0 80px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.bwg-legal-hero .bwg-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.85) 0%, rgba(0, 61, 122, 0.85) 100%);
    z-index: 1;
}

.bwg-legal-hero-content {
    position: relative;
    z-index: 2;
}

.bwg-legal-hero-content h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.bwg-legal-subtitle {
    font-size: 22px;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
    line-height: 1.6;
}

/* ========================================
   LEGAL CONTENT
   ======================================== */
.bwg-legal-content {
    padding: 80px 0;
    background: #ffffff;
    position: relative;
}

.bwg-legal-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.bwg-legal-main {
    background: #ffffff;
}

.bwg-legal-intro {
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--bwg-border);
}

.bwg-legal-intro p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--bwg-text);
    margin-bottom: 15px;
}

.bwg-legal-intro p:last-child {
    margin-bottom: 0;
}

.bwg-legal-intro strong {
    color: var(--bwg-primary);
}

/* Legal Sections */
.bwg-legal-section {
    margin-bottom: 50px;
}

.bwg-legal-section:last-child {
    margin-bottom: 0;
}

.bwg-legal-section h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--bwg-primary);
    margin-bottom: 20px;
    line-height: 1.3;
}

.bwg-legal-section p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--bwg-text);
    margin-bottom: 15px;
}

.bwg-legal-section p:last-child {
    margin-bottom: 0;
}

.bwg-legal-section ul {
    margin: 20px 0;
    padding-left: 30px;
    list-style: none;
}

.bwg-legal-section ul li {
    font-size: 16px;
    line-height: 1.8;
    color: var(--bwg-text);
    margin-bottom: 12px;
    position: relative;
    padding-left: 25px;
}

.bwg-legal-section ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--bwg-primary);
    font-weight: bold;
    font-size: 20px;
}

.bwg-legal-section ul li:last-child {
    margin-bottom: 0;
}

.bwg-legal-section strong {
    color: var(--bwg-primary);
    font-weight: 600;
}

.bwg-legal-section a {
    color: var(--bwg-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.bwg-legal-section a:hover {
    color: var(--bwg-primary-dark);
    text-decoration: underline;
}

/* Contact Box */
.bwg-legal-contact {
    background: var(--bwg-light-gray);
    padding: 30px;
    border-radius: 8px;
    margin-top: 20px;
    border-left: 4px solid var(--bwg-primary);
}

.bwg-legal-contact p {
    margin: 0;
    font-size: 16px;
    line-height: 1.8;
    color: var(--bwg-text);
}

.bwg-legal-contact strong {
    color: var(--bwg-primary);
    font-size: 18px;
    display: block;
    margin-bottom: 10px;
}

.bwg-legal-contact a {
    color: var(--bwg-primary);
    text-decoration: none;
}

.bwg-legal-contact a:hover {
    text-decoration: underline;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 968px) {
    .bwg-legal-hero-content h1 {
        font-size: 42px;
    }
    
    .bwg-legal-subtitle {
        font-size: 20px;
    }
    
    .bwg-legal-section h2 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .bwg-legal-hero {
        padding: 100px 0 60px;
    }
    
    .bwg-legal-hero-content h1 {
        font-size: 36px;
    }
    
    .bwg-legal-subtitle {
        font-size: 18px;
    }
    
    .bwg-legal-content {
        padding: 60px 0;
    }
    
    .bwg-legal-section {
        margin-bottom: 40px;
    }
    
    .bwg-legal-section h2 {
        font-size: 26px;
    }
    
    .bwg-legal-section p,
    .bwg-legal-section ul li {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .bwg-legal-hero {
        padding: 80px 0 50px;
    }
    
    .bwg-legal-hero-content h1 {
        font-size: 32px;
    }
    
    .bwg-legal-subtitle {
        font-size: 16px;
    }
    
    .bwg-legal-content {
        padding: 50px 0;
    }
    
    .bwg-legal-intro {
        margin-bottom: 40px;
        padding-bottom: 25px;
    }
    
    .bwg-legal-section {
        margin-bottom: 35px;
    }
    
    .bwg-legal-section h2 {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .bwg-legal-contact {
        padding: 20px;
    }
}

